lps2torx is intended to do model based testing using the JTorx environment. It can be invoked (on a Windows environment) by:

"lps2torx.exe" "your-mcrl2-model.lps"

You should note the following

  1. Ensure that lps2torx.exe is in your system path.

  2. Start up JTorX with the “jtorx” shell script or with “jtorx.bat”. Navigate to the “Config Items” tab (should be active by default). Set the “Model” field to the location of the helper file (see Listing 1), e.g. “D:/jtorx-helper.tx.bat”.

  3. Set the “Implementation” field to “real program, comm. labels via tcp, JTorX is server”. Set the text field below to the address of your SUT, e.g. “”.

  4. Set “Timeout” appropriately.

  5. Set “Interpretation” to “action names below”.

  6. Set “Trace kind” to “Straces”.

The picture below shows the setup screen of JTorx. .. image:: _pictures/jtorx-setup.png



lps2torx   [OPTION]... INFILE


Provide a TorX explorer interface to the LPS in INFILE.

The LPS can be explored using TorX as described in torx_explorer(5).

Command line options

-y , --dummy

replace free variables in the LPS with dummy values

-QNUM , --qlimit=NUM

limit enumeration of quantifiers to NUM iterations. (Default NUM=1000, NUM=0 for unlimited).

-rNAME , --rewriter=NAME

use rewrite strategy NAME:


jitty rewriting


compiled jitty rewriting


jitty rewriting with prover


append timing measurements to FILE. Measurements are written to standard error if no FILE is provided

Standard options

-q , --quiet

do not display warning messages

-v , --verbose

display short intermediate messages

-d , --debug

display detailed intermediate messages


display intermediate messages up to and including level

-h , --help

display help information


display version information


display help information, including hidden and experimental options


Muck van Weerdenburg, Frank Stappers