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

About the Execution of ITS-Tools for DatabaseWithMutex-PT-04

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
433.092 42278.00 58579.00 1218.20 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.r088-smll-177946995100034.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 DatabaseWithMutex-PT-04, examination is Liveness
Time confinement is 1800 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r088-smll-177946995100034
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 1.3M
-rw-r--r-- 1 mcc users 21K Mar 5 14:34 CTLCardinality.txt
-rw-r--r-- 1 mcc users 131K Mar 5 14:34 CTLCardinality.xml
-rw-r--r-- 1 mcc users 15K Mar 5 14:33 CTLFireability.txt
-rw-r--r-- 1 mcc users 88K Mar 5 14:33 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.2K Mar 3 18:30 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 12K Mar 15 08:43 LTLCardinality.txt
-rw-r--r-- 1 mcc users 50K Mar 15 08:43 LTLCardinality.xml
-rw-r--r-- 1 mcc users 9.6K Mar 15 08:43 LTLFireability.txt
-rw-r--r-- 1 mcc users 45K Mar 15 08:43 LTLFireability.xml
-rw-r--r-- 1 mcc users 73K Mar 5 14:34 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 439K Mar 5 14:34 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 49K Mar 5 14:34 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 278K Mar 5 14:34 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 3.4K Mar 15 08:43 UpperBounds.txt
-rw-r--r-- 1 mcc users 7.6K Mar 15 08:43 UpperBounds.xml
-rw-r--r-- 1 mcc users 5 Mar 3 18:30 equiv_col
-rw-r--r-- 1 mcc users 3 Mar 3 18:30 instance
-rw-r--r-- 1 mcc users 6 Mar 3 18:30 iscolored
-rw-r--r-- 1 mcc users 61K 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 1779485416825

Invoking MCC driver with
BK_TOOL=itstools
BK_EXAMINATION=Liveness
BK_BIN_PATH=/home/mcc/BenchKit/bin/
BK_TIME_CONFINEMENT=1800
BK_INPUT=DatabaseWithMutex-PT-04
BK_MEMORY_CONFINEMENT=16384
Not applying reductions.
Model is PT
Liveness PT
Running Version 202604301425
[2026-05-22 21:30:18] [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 21:30:18] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2026-05-22 21:30:19] [INFO ] Load time of PNML (sax parser for PT used): 113 ms
[2026-05-22 21:30:19] [INFO ] Transformed 140 places.
[2026-05-22 21:30:19] [INFO ] Transformed 128 transitions.
[2026-05-22 21:30:19] [INFO ] Found NUPN structural information;
[2026-05-22 21:30:19] [INFO ] Parsed PT model containing 140 places and 128 transitions and 416 arcs in 282 ms.
Discarding 12 transitions out of 128. Remains 116
Built sparse matrix representations for Structural reductions in 10 ms.17411KB memory used
Starting structural reductions in DEADLOCK mode, iteration 0 : 140/140 places, 128/128 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 41 ms. Remains 140 /140 variables (removed 0) and now considering 128/128 (removed 0) transitions.
Finished structural reductions in DEADLOCK mode , in 1 iterations and 62 ms. Remains : 140/140 places, 128/128 transitions.
Starting structural reductions in DEADLOCK mode, iteration 0 : 140/140 places, 128/128 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 12 ms. Remains 140 /140 variables (removed 0) and now considering 128/128 (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-15714627856461382461.kers' '--Pflows' '--basisKERS=/tmp/petrispot-output-4341458563191630910.kers'
[2026-05-22 21:30:19] [INFO ] Running PetriSpot with arguments : [--loadKERS=/tmp/petrispot-input-15714627856461382461.kers, --Pflows, --basisKERS=/tmp/petrispot-output-4341458563191630910.kers]
Culled 0 columns in 0 ms.
// Phase 1: matrix 128 rows 140 cols 416 entries
Finished phase 1 with 96 SingleSign rule and 16 generalized
[2026-05-22 21:30:19] [INFO ] Computed 28 invariants in 1 ms
Computed 28 P flows in 2 ms.
Exported basis to /tmp/petrispot-output-4341458563191630910.kers
Total runtime 2 ms.
[2026-05-22 21:30:19] [INFO ] Implicit Places using invariants in 478 ms returned []
[2026-05-22 21:30:20] [INFO ] Invariant cache hit.
[2026-05-22 21:30:20] [INFO ] Implicit Places using invariants and state equation in 360 ms returned []
Implicit Place search using SMT with State Equation took 905 ms to find 0 implicit places.
[2026-05-22 21:30:20] [INFO ] Redundant transitions in 7 ms returned []
Running 112 sub problems to find dead transitions.
[2026-05-22 21:30:20] [INFO ] Invariant cache hit.
At refinement iteration 0 (INCLUDED_ONLY) 0/136 variables, 136/136 constraints. Problems are: Problem set: 0 solved, 112 unsolved
At refinement iteration 1 (INCLUDED_ONLY) 0/136 variables, 9/145 constraints. Problems are: Problem set: 0 solved, 112 unsolved
At refinement iteration 2 (INCLUDED_ONLY) 0/136 variables, 10/155 constraints. Problems are: Problem set: 0 solved, 112 unsolved
At refinement iteration 3 (INCLUDED_ONLY) 0/136 variables, 0/155 constraints. Problems are: Problem set: 0 solved, 112 unsolved
At refinement iteration 4 (OVERLAPS) 4/140 variables, 9/164 constraints. Problems are: Problem set: 0 solved, 112 unsolved
At refinement iteration 5 (INCLUDED_ONLY) 0/140 variables, 4/168 constraints. Problems are: Problem set: 0 solved, 112 unsolved
At refinement iteration 6 (INCLUDED_ONLY) 0/140 variables, 0/168 constraints. Problems are: Problem set: 0 solved, 112 unsolved
At refinement iteration 7 (OVERLAPS) 128/268 variables, 140/308 constraints. Problems are: Problem set: 0 solved, 112 unsolved
At refinement iteration 8 (INCLUDED_ONLY) 0/268 variables, 0/308 constraints. Problems are: Problem set: 0 solved, 112 unsolved
At refinement iteration 9 (OVERLAPS) 0/268 variables, 0/308 constraints. Problems are: Problem set: 0 solved, 112 unsolved
No progress, stopping.
After SMT solving in domain Real declared 268/268 variables, and 308 constraints, problems are : Problem set: 0 solved, 112 unsolved in 12809 ms.
Refiners :[Domain max(s): 140/140 constraints, Positive P Invariants (semi-flows): 9/9 constraints, Generalized P Invariants (flows): 19/19 constraints, State Equation: 140/140 constraints, PredecessorRefiner: 112/112 constraints, Known Traps: 0/0 constraints, Known Traps Along Path: 0/0 constraints]
Escalating to Integer solving :Problem set: 0 solved, 112 unsolved
At refinement iteration 0 (INCLUDED_ONLY) 0/136 variables, 136/136 constraints. Problems are: Problem set: 0 solved, 112 unsolved
At refinement iteration 1 (INCLUDED_ONLY) 0/136 variables, 9/145 constraints. Problems are: Problem set: 0 solved, 112 unsolved
At refinement iteration 2 (INCLUDED_ONLY) 0/136 variables, 10/155 constraints. Problems are: Problem set: 0 solved, 112 unsolved
At refinement iteration 3 (INCLUDED_ONLY) 0/136 variables, 0/155 constraints. Problems are: Problem set: 0 solved, 112 unsolved
At refinement iteration 4 (OVERLAPS) 4/140 variables, 9/164 constraints. Problems are: Problem set: 0 solved, 112 unsolved
At refinement iteration 5 (INCLUDED_ONLY) 0/140 variables, 4/168 constraints. Problems are: Problem set: 0 solved, 112 unsolved
At refinement iteration 6 (INCLUDED_ONLY) 0/140 variables, 0/168 constraints. Problems are: Problem set: 0 solved, 112 unsolved
At refinement iteration 7 (OVERLAPS) 128/268 variables, 140/308 constraints. Problems are: Problem set: 0 solved, 112 unsolved
At refinement iteration 8 (INCLUDED_ONLY) 0/268 variables, 112/420 constraints. Problems are: Problem set: 0 solved, 112 unsolved
At refinement iteration 9 (INCLUDED_ONLY) 0/268 variables, 0/420 constraints. Problems are: Problem set: 0 solved, 112 unsolved
At refinement iteration 10 (OVERLAPS) 0/268 variables, 0/420 constraints. Problems are: Problem set: 0 solved, 112 unsolved
No progress, stopping.
After SMT solving in domain Int declared 268/268 variables, and 420 constraints, problems are : Problem set: 0 solved, 112 unsolved in 20487 ms.
Refiners :[Domain max(s): 140/140 constraints, Positive P Invariants (semi-flows): 9/9 constraints, Generalized P Invariants (flows): 19/19 constraints, State Equation: 140/140 constraints, PredecessorRefiner: 112/112 constraints, Known Traps: 0/0 constraints, Known Traps Along Path: 0/0 constraints]
After SMT, in 33418ms problems are : Problem set: 0 solved, 112 unsolved
Search for dead transitions found 0 dead transitions in 33458ms
Finished structural reductions in DEADLOCK mode , in 1 iterations and 34447 ms. Remains : 140/140 places, 128/128 transitions.
Random walk for 1250000 steps, including 0 resets, run took 2415 ms (no deadlock found). (steps per millisecond=517 )
Random directed walk for 1250001 steps, including 0 resets, run took 1476 ms (no deadlock found). (steps per millisecond=846 )
[2026-05-22 21:30:57] [INFO ] Invariant cache hit.
[2026-05-22 21:30:57] [INFO ] [Real]Absence check using 9 positive place invariants in 6 ms returned sat
[2026-05-22 21:30:57] [INFO ] [Real]Absence check using 9 positive and 19 generalized place invariants in 66 ms returned unsat
Starting structural reductions in LIVENESS mode, iteration 0 : 140/140 places, 128/128 transitions.
Drop transitions (Trivial Post-Agglo cleanup.) removed 32 transitions
Trivial Post-agglo rules discarded 32 transitions
Performed 32 trivial Post agglomeration. Transition count delta: 32
Iterating post reduction 0 with 32 rules applied. Total rules applied 32 place count 140 transition count 96
Reduce places removed 36 places and 0 transitions.
Drop transitions (Trivial Post-Agglo cleanup.) removed 32 transitions
Trivial Post-agglo rules discarded 32 transitions
Performed 32 trivial Post agglomeration. Transition count delta: 32
Iterating post reduction 1 with 68 rules applied. Total rules applied 100 place count 104 transition count 64
Reduce places removed 32 places and 0 transitions.
Iterating post reduction 2 with 32 rules applied. Total rules applied 132 place count 72 transition count 64
Performed 16 Pre agglomeration using Quasi-Persistent + Divergent Free condition..
Pre-agglomeration after 3 with 16 Pre rules applied. Total rules applied 132 place count 72 transition count 48
Deduced a syphon composed of 16 places in 0 ms
Reduce places removed 16 places and 0 transitions.
Iterating global reduction 3 with 32 rules applied. Total rules applied 164 place count 56 transition count 48
Applied a total of 164 rules in 28 ms. Remains 56 /140 variables (removed 84) and now considering 48/128 (removed 80) transitions.
Running PetriSpot : '/home/mcc/BenchKit/itstools/itstools/plugins/fr.lip6.petrispot.binaries_1.0.0.202604301425/bin/petri64' '--loadKERS=/tmp/petrispot-input-7775740956496300618.kers' '--Pflows' '--basisKERS=/tmp/petrispot-output-2219386963919440046.kers'
[2026-05-22 21:30:58] [INFO ] Running PetriSpot with arguments : [--loadKERS=/tmp/petrispot-input-7775740956496300618.kers, --Pflows, --basisKERS=/tmp/petrispot-output-2219386963919440046.kers]
Culled 0 columns in 0 ms.
// Phase 1: matrix 48 rows 56 cols 224 entries
Finished phase 1 with 16 SingleSign rule and 16 generalized
[2026-05-22 21:30:58] [INFO ] Computed 24 invariants in 0 ms
Computed 24 P flows in 0 ms.
Exported basis to /tmp/petrispot-output-2219386963919440046.kers
Total runtime 0 ms.
[2026-05-22 21:30:58] [INFO ] Implicit Places using invariants in 205 ms returned [0, 2, 4, 5, 6, 9, 10, 11, 12, 14, 15, 16, 18, 19, 20, 25, 28, 31, 32, 33, 34, 35, 36, 37, 38, 43, 46, 47, 48, 49, 50, 54]
[2026-05-22 21:30:58] [INFO ] Actually due to overlaps returned [0, 6, 14, 20, 19, 32, 36, 54]
Discarding 8 places :
Implicit Place search using SMT only with invariants took 213 ms to find 8 implicit places.
Starting structural reductions in LIVENESS mode, iteration 1 : 48/140 places, 48/128 transitions.
Applied a total of 0 rules in 2 ms. Remains 48 /48 variables (removed 0) and now considering 48/48 (removed 0) transitions.
Finished structural reductions in LIVENESS mode , in 2 iterations and 243 ms. Remains : 48/140 places, 48/128 transitions.
Discarding 12 transitions out of 48. Remains 36
Initial state reduction rules removed 4 formulas.
RANDOM walk for 517 steps (0 resets) in 155 ms. (3 steps per ms) remains 0/32 properties
[2026-05-22 21:30:58] [INFO ] Flatten gal took : 50 ms
[2026-05-22 21:30:58] [INFO ] Flatten gal took : 15 ms
[2026-05-22 21:30:58] [INFO ] Time to serialize gal into /tmp/ReachabilityCardinality1113993433687855953.gal : 12 ms
[2026-05-22 21:30:58] [INFO ] Time to serialize properties into /tmp/ReachabilityCardinality6266845839536678075.prop : 0 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/ReachabilityCardinality1113993433687855953.gal' '-t' 'CGAL' '-reachable-file' '/tmp/ReachabilityCardinality6266845839536678075.prop' '--nowitness' '--gen-order' 'FOLLOW'

ITS runner timed out or was interrupted.
its-reach command run as :

/home/mcc/BenchKit/itstools/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202604301425/bin/its-reach-linux64 --gc-threshold 2000000 --quiet ...328
ITS tools runner thread asked to quit. Dying gracefully.
Able to resolve query QuasiLiveness after proving 36 properties.
Starting structural reductions in LIVENESS mode, iteration 0 : 140/140 places, 128/128 transitions.
Drop transitions (Trivial Post-Agglo cleanup.) removed 32 transitions
Trivial Post-agglo rules discarded 32 transitions
Performed 32 trivial Post agglomeration. Transition count delta: 32
Iterating post reduction 0 with 32 rules applied. Total rules applied 32 place count 140 transition count 96
Reduce places removed 36 places and 0 transitions.
Drop transitions (Trivial Post-Agglo cleanup.) removed 32 transitions
Trivial Post-agglo rules discarded 32 transitions
Performed 32 trivial Post agglomeration. Transition count delta: 32
Iterating post reduction 1 with 68 rules applied. Total rules applied 100 place count 104 transition count 64
Reduce places removed 32 places and 0 transitions.
Iterating post reduction 2 with 32 rules applied. Total rules applied 132 place count 72 transition count 64
Performed 16 Pre agglomeration using Quasi-Persistent + Divergent Free condition..
Pre-agglomeration after 3 with 16 Pre rules applied. Total rules applied 132 place count 72 transition count 48
Deduced a syphon composed of 16 places in 0 ms
Reduce places removed 16 places and 0 transitions.
Iterating global reduction 3 with 32 rules applied. Total rules applied 164 place count 56 transition count 48
Applied a total of 164 rules in 8 ms. Remains 56 /140 variables (removed 84) and now considering 48/128 (removed 80) transitions.
[2026-05-22 21:30:58] [INFO ] Invariant cache hit.
[2026-05-22 21:30:58] [INFO ] Implicit Places using invariants in 204 ms returned [0, 2, 4, 5, 6, 9, 10, 11, 12, 14, 15, 16, 18, 19, 20, 25, 28, 31, 32, 33, 34, 35, 36, 37, 38, 43, 46, 47, 48, 49, 50, 54]
[2026-05-22 21:30:58] [INFO ] Actually due to overlaps returned [0, 6, 14, 20, 19, 32, 36, 54]
Discarding 8 places :
Implicit Place search using SMT only with invariants took 207 ms to find 8 implicit places.
Starting structural reductions in LIVENESS mode, iteration 1 : 48/140 places, 48/128 transitions.
Applied a total of 0 rules in 1 ms. Remains 48 /48 variables (removed 0) and now considering 48/48 (removed 0) transitions.
Finished structural reductions in LIVENESS mode , in 2 iterations and 217 ms. Remains : 48/140 places, 48/128 transitions.
Discarding 12 transitions out of 48. Remains 36
Net is quasi-live, checking if it is reversible to establish liveness.
[2026-05-22 21:30:58] [INFO ] Flatten gal took : 10 ms
[2026-05-22 21:30:58] [INFO ] Flatten gal took : 8 ms
[2026-05-22 21:30:58] [INFO ] Time to serialize gal into /tmp/CTLFireability5783964934473781796.gal : 7 ms
[2026-05-22 21:30:58] [INFO ] Time to serialize properties into /tmp/CTLFireability5351675125133629493.ctl : 3 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/CTLFireability5783964934473781796.gal' '-t' 'CGAL' '-ctl' '/tmp/CTLFireability5351675125133629493.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 -...283
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,4929,0.049552,4724,2,852,5,4382,6,0,243,3261,0


Converting to forward existential form...Done !
original formula: AG(EF((((((((WaitMutex_4_2==0)&&(Active_1_4==0))&&((WaitMutex_4_1==0)&&(Active_3_2==0)))&&(((Active_2_4==0)&&(WaitMutex_3_3==0))&&((Mutex...990
=> equivalent forward existential formula: [(FwdU(Init,TRUE) * !(E(TRUE U (((((((WaitMutex_4_2==0)&&(Active_1_4==0))&&((WaitMutex_4_1==0)&&(Active_3_2==0))...1050
Reverse transition relation is exact ! Faster fixpoint algorithm enabled.
(forward)formula 0,1,0.171177,8304,1,0,5,24497,14,0,1342,7912,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 40097 ms.

BK_STOP 1779485459103

--------------------
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="DatabaseWithMutex-PT-04"
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 DatabaseWithMutex-PT-04, 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 r088-smll-177946995100034"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

tar xzf /home/mcc/BenchKit/INPUTS/DatabaseWithMutex-PT-04.tgz
mv DatabaseWithMutex-PT-04 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 ;