fond
Model Checking Contest 2026
16th edition, Hamburg, Germany, June 23, 2026
Execution of r056-smll-177946902900149
Last Updated
Jun 17, 2026

About the Execution of ITS-Tools for CircularTrains-PT-048

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
384.172 16310.00 27543.00 190.40 T normal

Execution Chart

We display below the execution chart for this examination (boot time has been removed).

Trace from the execution

Formatting '/data/fkordon/mcc2026-input.r056-smll-177946902900149.qcow2', fmt=qcow2 size=4294967296 backing_file=/data/fkordon/mcc2026-input.qcow2 backing_fmt=qcow2 cluster_size=65536 lazy_refcounts=off refcount_bits=16
Waiting for the VM to be ready (probing ssh)
..............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
=====================================================================
Generated by BenchKit 2-5973
Executing tool itstools
Input is CircularTrains-PT-048, examination is Liveness
Time confinement is 1800 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r056-smll-177946902900149
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 508K
-rw-r--r-- 1 mcc users 7.9K Mar 5 14:29 CTLCardinality.txt
-rw-r--r-- 1 mcc users 83K Mar 5 14:29 CTLCardinality.xml
-rw-r--r-- 1 mcc users 6.8K Mar 5 14:29 CTLFireability.txt
-rw-r--r-- 1 mcc users 58K Mar 5 14:29 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.2K Mar 3 18:30 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 3.7K Mar 15 08:05 LTLCardinality.txt
-rw-r--r-- 1 mcc users 24K Mar 15 08:05 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.7K Mar 15 08:06 LTLFireability.txt
-rw-r--r-- 1 mcc users 19K Mar 15 08:06 LTLFireability.xml
-rw-r--r-- 1 mcc users 14K Mar 5 14:29 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 141K Mar 5 14:29 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 7.9K Mar 5 14:29 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 58K Mar 5 14:29 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.7K Mar 15 08:06 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.8K Mar 15 08:06 UpperBounds.xml
-rw-r--r-- 1 mcc users 6 Mar 3 18:30 equiv_col
-rw-r--r-- 1 mcc users 4 Mar 3 18:30 instance
-rw-r--r-- 1 mcc users 6 Mar 3 18:30 iscolored
-rw-r--r-- 1 mcc users 37K Mar 3 18:30 model.pnml

--------------------
content from stdout:

=== Data for post analysis generated by BenchKit (invocation template)

The expected result is a vector of booleans
BOOL_VECTOR

FORMULA_NAME Liveness

=== Now, execution of the tool begins

BK_START 1779475470975

Invoking MCC driver with
BK_TOOL=itstools
BK_EXAMINATION=Liveness
BK_BIN_PATH=/home/mcc/BenchKit/bin/
BK_TIME_CONFINEMENT=1800
BK_INPUT=CircularTrains-PT-048
BK_MEMORY_CONFINEMENT=16384
Not applying reductions.
Model is PT
Liveness PT
Running Version 202604301425
[2026-05-22 18:44:33] [INFO ] Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, Liveness, -its, -ltsmin, -greatspnpath, /home/mcc/BenchKit/bin//../itstools/bin//..//greatspn/, -order, META, -manyOrder, -smt, -timeout, 1800]
[2026-05-22 18:44:33] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2026-05-22 18:44:33] [INFO ] Load time of PNML (sax parser for PT used): 138 ms
[2026-05-22 18:44:33] [INFO ] Transformed 96 places.
[2026-05-22 18:44:33] [INFO ] Transformed 48 transitions.
[2026-05-22 18:44:33] [INFO ] Parsed PT model containing 96 places and 48 transitions and 192 arcs in 386 ms.
Built sparse matrix representations for Structural reductions in 55 ms.15333KB memory used
Starting structural reductions in DEADLOCK mode, iteration 0 : 96/96 places, 48/48 transitions.
Computed a total of 0 stabilizing places and 0 stable transitions
Computed a total of 0 stabilizing places and 0 stable transitions
Computed a total of 0 stabilizing places and 0 stable transitions
Applied a total of 0 rules in 38 ms. Remains 96 /96 variables (removed 0) and now considering 48/48 (removed 0) transitions.
Finished structural reductions in DEADLOCK mode , in 1 iterations and 70 ms. Remains : 96/96 places, 48/48 transitions.
Starting structural reductions in DEADLOCK mode, iteration 0 : 96/96 places, 48/48 transitions.
Computed a total of 0 stabilizing places and 0 stable transitions
Computed a total of 0 stabilizing places and 0 stable transitions
Computed a total of 0 stabilizing places and 0 stable transitions
Applied a total of 0 rules in 16 ms. Remains 96 /96 variables (removed 0) and now considering 48/48 (removed 0) transitions.
Running PetriSpot : '/home/mcc/BenchKit/itstools/itstools/plugins/fr.lip6.petrispot.binaries_1.0.0.202604301425/bin/petri64' '--loadKERS=/tmp/petrispot-input-6781975174847452513.kers' '--Pflows' '--basisKERS=/tmp/petrispot-output-17333673462858873095.kers'
[2026-05-22 18:44:34] [INFO ] Running PetriSpot with arguments : [--loadKERS=/tmp/petrispot-input-6781975174847452513.kers, --Pflows, --basisKERS=/tmp/petrispot-output-17333673462858873095.kers]
Culled 0 columns in 0 ms.
// Phase 1: matrix 48 rows 96 cols 192 entries
Finished phase 1 with 0 SingleSign rule and 47 generalized
[2026-05-22 18:44:34] [INFO ] Computed 49 invariants in 1 ms
Computed 49 P flows in 2 ms.
Exported basis to /tmp/petrispot-output-17333673462858873095.kers
Total runtime 3 ms.
[2026-05-22 18:44:34] [INFO ] Implicit Places using invariants in 362 ms returned []
[2026-05-22 18:44:34] [INFO ] Invariant cache hit.
[2026-05-22 18:44:34] [INFO ] Implicit Places using invariants and state equation in 194 ms returned []
Implicit Place search using SMT with State Equation took 645 ms to find 0 implicit places.
[2026-05-22 18:44:34] [INFO ] Redundant transitions in 1 ms returned []
Running 32 sub problems to find dead transitions.
[2026-05-22 18:44:34] [INFO ] Invariant cache hit.
At refinement iteration 0 (INCLUDED_ONLY) 0/64 variables, 5/5 constraints. Problems are: Problem set: 0 solved, 32 unsolved
At refinement iteration 1 (INCLUDED_ONLY) 0/64 variables, 0/5 constraints. Problems are: Problem set: 0 solved, 32 unsolved
At refinement iteration 2 (OVERLAPS) 19/83 variables, 21/26 constraints. Problems are: Problem set: 0 solved, 32 unsolved
At refinement iteration 3 (INCLUDED_ONLY) 0/83 variables, 4/30 constraints. Problems are: Problem set: 0 solved, 32 unsolved
At refinement iteration 4 (INCLUDED_ONLY) 0/83 variables, 0/30 constraints. Problems are: Problem set: 0 solved, 32 unsolved
At refinement iteration 5 (OVERLAPS) 13/96 variables, 19/49 constraints. Problems are: Problem set: 0 solved, 32 unsolved
At refinement iteration 6 (INCLUDED_ONLY) 0/96 variables, 0/49 constraints. Problems are: Problem set: 0 solved, 32 unsolved
At refinement iteration 7 (OVERLAPS) 48/144 variables, 96/145 constraints. Problems are: Problem set: 0 solved, 32 unsolved
At refinement iteration 8 (INCLUDED_ONLY) 0/144 variables, 0/145 constraints. Problems are: Problem set: 0 solved, 32 unsolved
At refinement iteration 9 (OVERLAPS) 0/144 variables, 0/145 constraints. Problems are: Problem set: 0 solved, 32 unsolved
No progress, stopping.
After SMT solving in domain Real declared 144/144 variables, and 145 constraints, problems are : Problem set: 0 solved, 32 unsolved in 1948 ms.
Refiners :[Positive P Invariants (semi-flows): 21/21 constraints, Generalized P Invariants (flows): 28/28 constraints, State Equation: 96/96 constraints, PredecessorRefiner: 32/32 constraints, Known Traps: 0/0 constraints, Known Traps Along Path: 0/0 constraints]
Escalating to Integer solving :Problem set: 0 solved, 32 unsolved
At refinement iteration 0 (INCLUDED_ONLY) 0/64 variables, 5/5 constraints. Problems are: Problem set: 0 solved, 32 unsolved
At refinement iteration 1 (INCLUDED_ONLY) 0/64 variables, 0/5 constraints. Problems are: Problem set: 0 solved, 32 unsolved
At refinement iteration 2 (OVERLAPS) 19/83 variables, 21/26 constraints. Problems are: Problem set: 0 solved, 32 unsolved
At refinement iteration 3 (INCLUDED_ONLY) 0/83 variables, 4/30 constraints. Problems are: Problem set: 0 solved, 32 unsolved
At refinement iteration 4 (INCLUDED_ONLY) 0/83 variables, 0/30 constraints. Problems are: Problem set: 0 solved, 32 unsolved
At refinement iteration 5 (OVERLAPS) 13/96 variables, 19/49 constraints. Problems are: Problem set: 0 solved, 32 unsolved
At refinement iteration 6 (INCLUDED_ONLY) 0/96 variables, 0/49 constraints. Problems are: Problem set: 0 solved, 32 unsolved
At refinement iteration 7 (OVERLAPS) 48/144 variables, 96/145 constraints. Problems are: Problem set: 0 solved, 32 unsolved
At refinement iteration 8 (INCLUDED_ONLY) 0/144 variables, 32/177 constraints. Problems are: Problem set: 0 solved, 32 unsolved
At refinement iteration 9 (INCLUDED_ONLY) 0/144 variables, 0/177 constraints. Problems are: Problem set: 0 solved, 32 unsolved
At refinement iteration 10 (OVERLAPS) 0/144 variables, 0/177 constraints. Problems are: Problem set: 0 solved, 32 unsolved
No progress, stopping.
After SMT solving in domain Int declared 144/144 variables, and 177 constraints, problems are : Problem set: 0 solved, 32 unsolved in 1995 ms.
Refiners :[Positive P Invariants (semi-flows): 21/21 constraints, Generalized P Invariants (flows): 28/28 constraints, State Equation: 96/96 constraints, PredecessorRefiner: 32/32 constraints, Known Traps: 0/0 constraints, Known Traps Along Path: 0/0 constraints]
After SMT, in 3981ms problems are : Problem set: 0 solved, 32 unsolved
Search for dead transitions found 0 dead transitions in 3991ms
Finished structural reductions in DEADLOCK mode , in 1 iterations and 4703 ms. Remains : 96/96 places, 48/48 transitions.
Random walk for 1250000 steps, including 0 resets, run took 3585 ms (no deadlock found). (steps per millisecond=348 )
Random directed walk for 1250002 steps, including 0 resets, run took 3030 ms (no deadlock found). (steps per millisecond=412 )
[2026-05-22 18:44:45] [INFO ] Invariant cache hit.
[2026-05-22 18:44:45] [INFO ] [Real]Absence check using 21 positive place invariants in 10 ms returned sat
[2026-05-22 18:44:45] [INFO ] [Real]Absence check using 21 positive and 28 generalized place invariants in 28 ms returned unsat
Starting structural reductions in LIVENESS mode, iteration 0 : 96/96 places, 48/48 transitions.
Applied a total of 0 rules in 4 ms. Remains 96 /96 variables (removed 0) and now considering 48/48 (removed 0) transitions.
[2026-05-22 18:44:45] [INFO ] Invariant cache hit.
[2026-05-22 18:44:45] [INFO ] Implicit Places using invariants in 167 ms returned [1, 3, 13, 16, 22, 56, 63, 64, 81, 83, 84, 89, 90, 91, 92, 94]
Discarding 16 places :
Implicit Place search using SMT only with invariants took 172 ms to find 16 implicit places.
Starting structural reductions in LIVENESS mode, iteration 1 : 80/96 places, 48/48 transitions.
Drop transitions (Trivial Post-Agglo cleanup.) removed 16 transitions
Trivial Post-agglo rules discarded 16 transitions
Performed 16 trivial Post agglomeration. Transition count delta: 16
Iterating post reduction 0 with 16 rules applied. Total rules applied 16 place count 80 transition count 32
Reduce places removed 16 places and 0 transitions.
Iterating post reduction 1 with 16 rules applied. Total rules applied 32 place count 64 transition count 32
Applied a total of 32 rules in 17 ms. Remains 64 /80 variables (removed 16) and now considering 32/48 (removed 16) transitions.
Running PetriSpot : '/home/mcc/BenchKit/itstools/itstools/plugins/fr.lip6.petrispot.binaries_1.0.0.202604301425/bin/petri64' '--loadKERS=/tmp/petrispot-input-13210525817307890895.kers' '--Pflows' '--basisKERS=/tmp/petrispot-output-13510192326606102317.kers'
[2026-05-22 18:44:45] [INFO ] Running PetriSpot with arguments : [--loadKERS=/tmp/petrispot-input-13210525817307890895.kers, --Pflows, --basisKERS=/tmp/petrispot-output-13510192326606102317.kers]
Culling duplicate invariants (modulo rational): removing 32 columns.
Culled 32 columns in 0 ms.
// Phase 1: matrix 32 rows 32 cols 64 entries
Finished phase 1 with 24 SingleSign rule and 7 generalized
[2026-05-22 18:44:45] [INFO ] Computed 33 invariants in 0 ms
Computed 33 P flows in 0 ms.
Exported basis to /tmp/petrispot-output-13510192326606102317.kers
Total runtime 1 ms.
[2026-05-22 18:44:45] [INFO ] Implicit Places using invariants in 111 ms returned []
[2026-05-22 18:44:45] [INFO ] Invariant cache hit.
[2026-05-22 18:44:45] [INFO ] Implicit Places using invariants and state equation in 195 ms returned []
Implicit Place search using SMT with State Equation took 309 ms to find 0 implicit places.
Starting structural reductions in LIVENESS mode, iteration 2 : 64/96 places, 32/48 transitions.
Finished structural reductions in LIVENESS mode , in 2 iterations and 503 ms. Remains : 64/96 places, 32/48 transitions.
Initial state reduction rules removed 16 formulas.
RANDOM walk for 136 steps (0 resets) in 37 ms. (3 steps per ms) remains 0/16 properties
[2026-05-22 18:44:46] [INFO ] Flatten gal took : 55 ms
[2026-05-22 18:44:46] [INFO ] Flatten gal took : 17 ms
[2026-05-22 18:44:46] [INFO ] Time to serialize gal into /tmp/ReachabilityCardinality11568466740253311605.gal : 12 ms
[2026-05-22 18:44:46] [INFO ] Time to serialize properties into /tmp/ReachabilityCardinality8078419513429124319.prop : 1 ms
Invoking ITS tools like this :cd /home/mcc/execution;'/home/mcc/BenchKit/itstools/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202604301425/bin/its-reach-linux64' '--gc-threshold' '2000000' '--quiet' '-i' '/tmp/ReachabilityCardinality11568466740253311605.gal' '-t' 'CGAL' '-reachable-file' '/tmp/ReachabilityCardinality8078419513429124319.prop' '--nowitness' '--gen-order' 'FOLLOW'
ITS runner timed out or was interrupted.

ITS tools runner thread asked to quit. Dying gracefully.
Able to resolve query QuasiLiveness after proving 32 properties.
Starting structural reductions in LIVENESS mode, iteration 0 : 96/96 places, 48/48 transitions.
Applied a total of 0 rules in 3 ms. Remains 96 /96 variables (removed 0) and now considering 48/48 (removed 0) transitions.
Running PetriSpot : '/home/mcc/BenchKit/itstools/itstools/plugins/fr.lip6.petrispot.binaries_1.0.0.202604301425/bin/petri64' '--loadKERS=/tmp/petrispot-input-7773683097464961775.kers' '--Pflows' '--basisKERS=/tmp/petrispot-output-13128846162099774858.kers'
[2026-05-22 18:44:46] [INFO ] Running PetriSpot with arguments : [--loadKERS=/tmp/petrispot-input-7773683097464961775.kers, --Pflows, --basisKERS=/tmp/petrispot-output-13128846162099774858.kers]
Culled 0 columns in 0 ms.
// Phase 1: matrix 48 rows 96 cols 192 entries
Finished phase 1 with 0 SingleSign rule and 47 generalized
[2026-05-22 18:44:46] [INFO ] Computed 49 invariants in 1 ms
Computed 49 P flows in 1 ms.
Exported basis to /tmp/petrispot-output-13128846162099774858.kers
Total runtime 1 ms.
[2026-05-22 18:44:46] [INFO ] Implicit Places using invariants in 236 ms returned [1, 3, 13, 16, 22, 56, 63, 64, 81, 83, 84, 89, 90, 91, 92, 94]
Discarding 16 places :
Implicit Place search using SMT only with invariants took 237 ms to find 16 implicit places.
Starting structural reductions in LIVENESS mode, iteration 1 : 80/96 places, 48/48 transitions.
Drop transitions (Trivial Post-Agglo cleanup.) removed 16 transitions
Trivial Post-agglo rules discarded 16 transitions
Performed 16 trivial Post agglomeration. Transition count delta: 16
Iterating post reduction 0 with 16 rules applied. Total rules applied 16 place count 80 transition count 32
Reduce places removed 16 places and 0 transitions.
Iterating post reduction 1 with 16 rules applied. Total rules applied 32 place count 64 transition count 32
Applied a total of 32 rules in 3 ms. Remains 64 /80 variables (removed 16) and now considering 32/48 (removed 16) transitions.
Running PetriSpot : '/home/mcc/BenchKit/itstools/itstools/plugins/fr.lip6.petrispot.binaries_1.0.0.202604301425/bin/petri64' '--loadKERS=/tmp/petrispot-input-8789342035649203103.kers' '--Pflows' '--basisKERS=/tmp/petrispot-output-11528631053612556196.kers'
[2026-05-22 18:44:46] [INFO ] Running PetriSpot with arguments : [--loadKERS=/tmp/petrispot-input-8789342035649203103.kers, --Pflows, --basisKERS=/tmp/petrispot-output-11528631053612556196.kers]
Culling duplicate invariants (modulo rational): removing 32 columns.
Culled 32 columns in 0 ms.
// Phase 1: matrix 32 rows 32 cols 64 entries
Finished phase 1 with 24 SingleSign rule and 7 generalized
[2026-05-22 18:44:46] [INFO ] Computed 33 invariants in 0 ms
Computed 33 P flows in 0 ms.
Exported basis to /tmp/petrispot-output-11528631053612556196.kers
Total runtime 0 ms.
[2026-05-22 18:44:46] [INFO ] Implicit Places using invariants in 119 ms returned []
[2026-05-22 18:44:46] [INFO ] Invariant cache hit.
[2026-05-22 18:44:46] [INFO ] Implicit Places using invariants and state equation in 149 ms returned []
Implicit Place search using SMT with State Equation took 271 ms to find 0 implicit places.
Starting structural reductions in LIVENESS mode, iteration 2 : 64/96 places, 32/48 transitions.
Finished structural reductions in LIVENESS mode , in 2 iterations and 514 ms. Remains : 64/96 places, 32/48 transitions.
Net is quasi-live, checking if it is reversible to establish liveness.
Net is conservative; using simplified expression for initial state.
[2026-05-22 18:44:46] [INFO ] Flatten gal took : 9 ms
[2026-05-22 18:44:46] [INFO ] Flatten gal took : 7 ms
[2026-05-22 18:44:46] [INFO ] Time to serialize gal into /tmp/CTLFireability8944667533874855528.gal : 3 ms
[2026-05-22 18:44:46] [INFO ] Time to serialize properties into /tmp/CTLFireability17648641184230566482.ctl : 1 ms
Invoking ITS tools like this :cd /home/mcc/execution;'/home/mcc/BenchKit/itstools/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202604301425/bin/its-ctl-linux64' '--gc-threshold' '2000000' '--quiet' '-i' '/tmp/CTLFireability8944667533874855528.gal' '-t' 'CGAL' '-ctl' '/tmp/CTLFireability17648641184230566482.ctl' '--gen-order' 'FOLLOW'

its-ctl command run as :

/home/mcc/BenchKit/itstools/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202604301425/bin/its-ctl-linux64 --gc-threshold 2000000 --quiet -...284
No direction supplied, using forward translation only.
Parsed 1 CTL formulae.
Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
reachable,6.0108e+08,0.082127,6052,2,833,5,12861,6,0,291,13117,0


Converting to forward existential form...Done !
original formula: AG(EF(((((((F37==1)&&(F7==1))&&((Section_39==1)&&(Section_9==1)))&&(((F28==1)&&(Section_6==1))&&((F19==1)&&(F25==1))))&&((((F16==1)&&(F43...512
=> equivalent forward existential formula: [(FwdU(Init,TRUE) * !(E(TRUE U ((((((F37==1)&&(F7==1))&&((Section_39==1)&&(Section_9==1)))&&(((F28==1)&&(Section...572
Reverse transition relation is exact ! Faster fixpoint algorithm enabled.
(forward)formula 0,1,0.233525,9780,1,0,5,38412,14,0,1406,14679,5
Formula is TRUE !

***************************************

Able to resolve query Liveness after proving 1 properties.
FORMULA Liveness TRUE TECHNIQUES RANDOM_WALK DECISION_DIAGRAMS TOPOLOGICAL QUASI_LIVE_REVERSIBLE INITIAL_STATE
Total runtime 13921 ms.

BK_STOP 1779475487285

--------------------
content from stderr:

+ export BINDIR=/home/mcc/BenchKit/bin//../itstools/bin//../
+ BINDIR=/home/mcc/BenchKit/bin//../itstools/bin//../
++ pwd
+ export MODEL=/home/mcc/execution
+ MODEL=/home/mcc/execution
+ [[ Liveness = StateSpace ]]
+ /home/mcc/BenchKit/bin//../itstools/bin//..//runeclipse.sh /home/mcc/execution Liveness -its -ltsmin -greatspnpath /home/mcc/BenchKit/bin//../itstools/bin//..//greatspn/ -order META -manyOrder -smt -timeout 1800
+ ulimit -s 65536
+ [[ -z '' ]]
+ export LTSMIN_MEM_SIZE=8589934592
+ LTSMIN_MEM_SIZE=8589934592
++ sed s/.jar//
++ perl -pe 's/.*\.//g'
++ ls /home/mcc/BenchKit/bin//../itstools/bin//..//itstools/plugins/fr.lip6.move.gal.application.pnmcc_1.0.0.202604301425.jar
+ VERSION=202604301425
+ echo 'Running Version 202604301425'
+ /home/mcc/BenchKit/bin//../itstools/bin//..//itstools/its-tools -pnfolder /home/mcc/execution -examination Liveness -its -ltsmin -greatspnpath /home/mcc/BenchKit/bin//../itstools/bin//..//greatspn/ -order META -manyOrder -smt -timeout 1800

Sequence of Actions to be Executed by the VM

This is useful if one wants to reexecute the tool in the VM from the submitted image disk.

set -x
# this is for BenchKit: configuration of major elements for the test
export BK_INPUT="CircularTrains-PT-048"
export BK_EXAMINATION="Liveness"
export BK_TOOL="itstools"
export BK_RESULT_DIR="/tmp/BK_RESULTS/OUTPUTS"
export BK_TIME_CONFINEMENT="1800"
export BK_MEMORY_CONFINEMENT="16384"
export BK_BIN_PATH="/home/mcc/BenchKit/bin/"

# this is specific to your benchmark or test

export BIN_DIR="$HOME/BenchKit/bin"

# remove the execution directoty if it exists (to avoid increse of .vmdk images)
if [ -d execution ] ; then
rm -rf execution
fi

# this is for BenchKit: explicit launching of the test
echo "====================================================================="
echo " Generated by BenchKit 2-5973"
echo " Executing tool itstools"
echo " Input is CircularTrains-PT-048, examination is Liveness"
echo " Time confinement is $BK_TIME_CONFINEMENT seconds"
echo " Memory confinement is 16384 MBytes"
echo " Number of cores is 4"
echo " Run identifier is r056-smll-177946902900149"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

tar xzf /home/mcc/BenchKit/INPUTS/CircularTrains-PT-048.tgz
mv CircularTrains-PT-048 execution
cd execution
if [ "Liveness" = "ReachabilityDeadlock" ] || [ "Liveness" = "UpperBounds" ] || [ "Liveness" = "QuasiLiveness" ] || [ "Liveness" = "StableMarking" ] || [ "Liveness" = "Liveness" ] || [ "Liveness" = "OneSafe" ] || [ "Liveness" = "StateSpace" ]; then
rm -f GenericPropertiesVerdict.xml
fi
pwd
ls -lh

echo
echo "--------------------"
echo "content from stdout:"
echo
echo "=== Data for post analysis generated by BenchKit (invocation template)"
echo
if [ "Liveness" = "UpperBounds" ] ; then
echo "The expected result is a vector of positive values"
echo NUM_VECTOR
elif [ "Liveness" != "StateSpace" ] ; then
echo "The expected result is a vector of booleans"
echo BOOL_VECTOR
else
echo "no data necessary for post analysis"
fi
echo
if [ -f "Liveness.xml" ] ; then # for cunf (txt files deleted;-)
echo echo "here is the order used to build the result vector(from xml file)"
for x in $(grep '' Liveness.xml | cut -d '>' -f 2 | cut -d '<' -f 1 | sort -u) ; do
echo "FORMULA_NAME $x"
done
elif [ "Liveness" = "ReachabilityDeadlock" ] || [ "Liveness" = "QuasiLiveness" ] || [ "Liveness" = "StableMarking" ] || [ "Liveness" = "Liveness" ] || [ "Liveness" = "OneSafe" ] ; then
echo "FORMULA_NAME Liveness"
fi
echo
echo "=== Now, execution of the tool begins"
echo
echo -n "BK_START "
date -u +%s%3N
echo
timeout -s 9 $BK_TIME_CONFINEMENT bash -c "/home/mcc/BenchKit/BenchKit_head.sh 2> STDERR ; echo ; echo -n \"BK_STOP \" ; date -u +%s%3N"
if [ $? -eq 137 ] ; then
echo
echo "BK_TIME_CONFINEMENT_REACHED"
fi
echo
echo "--------------------"
echo "content from stderr:"
echo
cat STDERR ;