fond
Model Checking Contest 2023
13th edition, Paris, France, April 26, 2023 (at TOOLympics II)
Execution of r201-smll-167840347900502
Last Updated
May 14, 2023

About the Execution of LTSMin+red for HirschbergSinclair-PT-50

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
2687.516 3594847.00 14305774.00 682.20 FFTFTTTFTFFTTTTF normal

Execution Chart

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

Trace from the execution

Formatting '/data/fkordon/mcc2023-input.r201-smll-167840347900502.qcow2', fmt=qcow2 size=4294967296 backing_file=/data/fkordon/mcc2023-input.qcow2 cluster_size=65536 lazy_refcounts=off refcount_bits=16
Waiting for the VM to be ready (probing ssh)
..........................
=====================================================================
Generated by BenchKit 2-5348
Executing tool ltsminxred
Input is HirschbergSinclair-PT-50, examination is ReachabilityCardinality
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r201-smll-167840347900502
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 1.1M
-rw-r--r-- 1 mcc users 13K Feb 26 02:12 CTLCardinality.txt
-rw-r--r-- 1 mcc users 95K Feb 26 02:12 CTLCardinality.xml
-rw-r--r-- 1 mcc users 8.0K Feb 26 02:11 CTLFireability.txt
-rw-r--r-- 1 mcc users 56K Feb 26 02:11 CTLFireability.xml
-rw-r--r-- 1 mcc users 5.4K Feb 25 16:15 LTLCardinality.txt
-rw-r--r-- 1 mcc users 28K Feb 25 16:15 LTLCardinality.xml
-rw-r--r-- 1 mcc users 3.5K Feb 25 16:15 LTLFireability.txt
-rw-r--r-- 1 mcc users 18K Feb 25 16:15 LTLFireability.xml
-rw-r--r-- 1 mcc users 14K Feb 26 02:12 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 101K Feb 26 02:12 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 8.8K Feb 26 02:12 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 47K Feb 26 02:12 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 2.0K Feb 25 16:15 UpperBounds.txt
-rw-r--r-- 1 mcc users 4.0K Feb 25 16:15 UpperBounds.xml
-rw-r--r-- 1 mcc users 6 Mar 5 18:22 equiv_col
-rw-r--r-- 1 mcc users 3 Mar 5 18:22 instance
-rw-r--r-- 1 mcc users 6 Mar 5 18:22 iscolored
-rw-r--r-- 1 mcc users 652K Mar 5 18:22 model.pnml

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

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

The expected result is a vector of booleans
BOOL_VECTOR

here is the order used to build the result vector(from text file)
FORMULA_NAME HirschbergSinclair-PT-50-ReachabilityCardinality-00
FORMULA_NAME HirschbergSinclair-PT-50-ReachabilityCardinality-01
FORMULA_NAME HirschbergSinclair-PT-50-ReachabilityCardinality-02
FORMULA_NAME HirschbergSinclair-PT-50-ReachabilityCardinality-03
FORMULA_NAME HirschbergSinclair-PT-50-ReachabilityCardinality-04
FORMULA_NAME HirschbergSinclair-PT-50-ReachabilityCardinality-05
FORMULA_NAME HirschbergSinclair-PT-50-ReachabilityCardinality-06
FORMULA_NAME HirschbergSinclair-PT-50-ReachabilityCardinality-07
FORMULA_NAME HirschbergSinclair-PT-50-ReachabilityCardinality-08
FORMULA_NAME HirschbergSinclair-PT-50-ReachabilityCardinality-09
FORMULA_NAME HirschbergSinclair-PT-50-ReachabilityCardinality-10
FORMULA_NAME HirschbergSinclair-PT-50-ReachabilityCardinality-11
FORMULA_NAME HirschbergSinclair-PT-50-ReachabilityCardinality-12
FORMULA_NAME HirschbergSinclair-PT-50-ReachabilityCardinality-13
FORMULA_NAME HirschbergSinclair-PT-50-ReachabilityCardinality-14
FORMULA_NAME HirschbergSinclair-PT-50-ReachabilityCardinality-15

=== Now, execution of the tool begins

BK_START 1678754879471

bash -c /home/mcc/BenchKit/BenchKit_head.sh 2> STDERR ; echo ; echo -n "BK_STOP " ; date -u +%s%3N
Invoking MCC driver with
BK_TOOL=ltsminxred
BK_EXAMINATION=ReachabilityCardinality
BK_BIN_PATH=/home/mcc/BenchKit/bin/
BK_TIME_CONFINEMENT=3600
BK_INPUT=HirschbergSinclair-PT-50
Applying reductions before tool ltsmin
Invoking reducer
Running Version 202303021504
[2023-03-14 00:48:03] [INFO ] Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, ReachabilityCardinality, -timeout, 360, -rebuildPNML]
[2023-03-14 00:48:03] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2023-03-14 00:48:03] [INFO ] Load time of PNML (sax parser for PT used): 253 ms
[2023-03-14 00:48:03] [INFO ] Transformed 1208 places.
[2023-03-14 00:48:03] [INFO ] Transformed 1102 transitions.
[2023-03-14 00:48:03] [INFO ] Parsed PT model containing 1208 places and 1102 transitions and 3361 arcs in 415 ms.
Parsed 16 properties from file /home/mcc/execution/ReachabilityCardinality.xml in 35 ms.
Working with output stream class java.io.PrintStream
Incomplete random walk after 10000 steps, including 9 resets, run finished after 862 ms. (steps per millisecond=11 ) properties (out of 16) seen :9
FORMULA HirschbergSinclair-PT-50-ReachabilityCardinality-15 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA HirschbergSinclair-PT-50-ReachabilityCardinality-14 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA HirschbergSinclair-PT-50-ReachabilityCardinality-09 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA HirschbergSinclair-PT-50-ReachabilityCardinality-07 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA HirschbergSinclair-PT-50-ReachabilityCardinality-05 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA HirschbergSinclair-PT-50-ReachabilityCardinality-04 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA HirschbergSinclair-PT-50-ReachabilityCardinality-03 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA HirschbergSinclair-PT-50-ReachabilityCardinality-01 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA HirschbergSinclair-PT-50-ReachabilityCardinality-00 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 85 ms. (steps per millisecond=117 ) properties (out of 7) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 77 ms. (steps per millisecond=129 ) properties (out of 7) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 50 ms. (steps per millisecond=200 ) properties (out of 7) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 67 ms. (steps per millisecond=149 ) properties (out of 7) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 40 ms. (steps per millisecond=250 ) properties (out of 7) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 54 ms. (steps per millisecond=185 ) properties (out of 7) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 61 ms. (steps per millisecond=163 ) properties (out of 7) seen :0
Running SMT prover for 7 properties.
// Phase 1: matrix 1102 rows 1208 cols
[2023-03-14 00:48:05] [INFO ] Computed 106 place invariants in 76 ms
[2023-03-14 00:48:06] [INFO ] After 1133ms SMT Verify possible using all constraints in real domain returned unsat :0 sat :0 real:7
[2023-03-14 00:48:07] [INFO ] [Nat]Absence check using 100 positive place invariants in 79 ms returned sat
[2023-03-14 00:48:07] [INFO ] [Nat]Absence check using 100 positive and 6 generalized place invariants in 7 ms returned sat
[2023-03-14 00:48:10] [INFO ] After 3776ms SMT Verify possible using state equation in natural domain returned unsat :5 sat :2
[2023-03-14 00:48:12] [INFO ] Deduced a trap composed of 184 places in 837 ms of which 29 ms to minimize.
[2023-03-14 00:48:12] [INFO ] Trap strengthening (SAT) tested/added 2/1 trap constraints in 1234 ms
[2023-03-14 00:48:14] [INFO ] Deduced a trap composed of 13 places in 646 ms of which 3 ms to minimize.
[2023-03-14 00:48:16] [INFO ] Deduced a trap composed of 95 places in 731 ms of which 3 ms to minimize.
[2023-03-14 00:48:17] [INFO ] Deduced a trap composed of 105 places in 803 ms of which 2 ms to minimize.
[2023-03-14 00:48:18] [INFO ] Trap strengthening (SAT) tested/added 4/3 trap constraints in 4048 ms
[2023-03-14 00:48:18] [INFO ] After 11272ms SMT Verify possible using trap constraints in natural domain returned unsat :5 sat :2
Attempting to minimize the solution found.
Minimization took 2010 ms.
[2023-03-14 00:48:20] [INFO ] After 14046ms SMT Verify possible using all constraints in natural domain returned unsat :5 sat :2
FORMULA HirschbergSinclair-PT-50-ReachabilityCardinality-13 TRUE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA HirschbergSinclair-PT-50-ReachabilityCardinality-12 TRUE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA HirschbergSinclair-PT-50-ReachabilityCardinality-11 TRUE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA HirschbergSinclair-PT-50-ReachabilityCardinality-08 TRUE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA HirschbergSinclair-PT-50-ReachabilityCardinality-06 TRUE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
Fused 7 Parikh solutions to 2 different solutions.
Parikh walk visited 0 properties in 77 ms.
Support contains 55 out of 1208 places. Attempting structural reductions.
Starting structural reductions in REACHABILITY mode, iteration 0 : 1208/1208 places, 1102/1102 transitions.
Graph (complete) has 2314 edges and 1208 vertex of which 1157 are kept as prefixes of interest. Removing 51 places using SCC suffix rule.6 ms
Discarding 51 places :
Also discarding 0 output transitions
Drop transitions removed 2 transitions
Reduce isomorphic transitions removed 2 transitions.
Drop transitions removed 415 transitions
Trivial Post-agglo rules discarded 415 transitions
Performed 415 trivial Post agglomeration. Transition count delta: 415
Iterating post reduction 0 with 417 rules applied. Total rules applied 418 place count 1157 transition count 685
Reduce places removed 415 places and 0 transitions.
Graph (complete) has 1246 edges and 742 vertex of which 617 are kept as prefixes of interest. Removing 125 places using SCC suffix rule.2 ms
Discarding 125 places :
Also discarding 0 output transitions
Performed 24 Post agglomeration using F-continuation condition.Transition count delta: 24
Iterating post reduction 1 with 440 rules applied. Total rules applied 858 place count 617 transition count 661
Reduce places removed 24 places and 0 transitions.
Drop transitions removed 125 transitions
Reduce isomorphic transitions removed 125 transitions.
Iterating post reduction 2 with 149 rules applied. Total rules applied 1007 place count 593 transition count 536
Discarding 4 places :
Symmetric choice reduction at 3 with 4 rule applications. Total rules 1011 place count 589 transition count 532
Iterating global reduction 3 with 4 rules applied. Total rules applied 1015 place count 589 transition count 532
Discarding 4 places :
Symmetric choice reduction at 3 with 4 rule applications. Total rules 1019 place count 585 transition count 528
Iterating global reduction 3 with 4 rules applied. Total rules applied 1023 place count 585 transition count 528
Free-agglomeration rule (complex) applied 62 times.
Iterating global reduction 3 with 62 rules applied. Total rules applied 1085 place count 585 transition count 466
Reduce places removed 62 places and 0 transitions.
Iterating post reduction 3 with 62 rules applied. Total rules applied 1147 place count 523 transition count 466
Reduce places removed 43 places and 43 transitions.
Iterating global reduction 4 with 43 rules applied. Total rules applied 1190 place count 480 transition count 423
Reduce places removed 1 places and 0 transitions.
Iterating post reduction 4 with 1 rules applied. Total rules applied 1191 place count 479 transition count 423
Performed 11 Pre agglomeration using Quasi-Persistent + Divergent Free condition..
Pre-agglomeration after 5 with 11 Pre rules applied. Total rules applied 1191 place count 479 transition count 412
Deduced a syphon composed of 11 places in 15 ms
Reduce places removed 11 places and 0 transitions.
Iterating global reduction 5 with 22 rules applied. Total rules applied 1213 place count 468 transition count 412
Applied a total of 1213 rules in 399 ms. Remains 468 /1208 variables (removed 740) and now considering 412/1102 (removed 690) transitions.
Finished structural reductions in REACHABILITY mode , in 1 iterations and 400 ms. Remains : 468/1208 places, 412/1102 transitions.
Incomplete random walk after 10000 steps, including 24 resets, run finished after 249 ms. (steps per millisecond=40 ) properties (out of 2) seen :0
Incomplete Best-First random walk after 10001 steps, including 5 resets, run finished after 60 ms. (steps per millisecond=166 ) properties (out of 2) seen :1
FORMULA HirschbergSinclair-PT-50-ReachabilityCardinality-02 TRUE TECHNIQUES TOPOLOGICAL BESTFIRST_WALK
Finished Best-First random walk after 1029 steps, including 0 resets, run visited all 1 properties in 8 ms. (steps per millisecond=128 )
FORMULA HirschbergSinclair-PT-50-ReachabilityCardinality-10 FALSE TECHNIQUES TOPOLOGICAL BESTFIRST_WALK
All properties solved without resorting to model-checking.
Total runtime 18243 ms.
pnml2lts-sym model.pnml --lace-workers=4 --vset=lddmc --saturation=sat -rbs,w2W,ru,hf --sylvan-sizes=20,28,20,28 --invariant=/tmp/472/inv_0_ --invariant=/tmp/472/inv_1_ --invariant=/tmp/472/inv_2_ --invariant=/tmp/472/inv_3_ --invariant=/tmp/472/inv_4_ --invariant=/tmp/472/inv_5_ --invariant=/tmp/472/inv_6_ --invariant=/tmp/472/inv_7_ --invariant=/tmp/472/inv_8_ --invariant=/tmp/472/inv_9_ --invariant=/tmp/472/inv_10_ --invariant=/tmp/472/inv_11_ --invariant=/tmp/472/inv_12_ --invariant=/tmp/472/inv_13_ --invariant=/tmp/472/inv_14_ --invariant=/tmp/472/inv_15_ --inv-par
TIME LIMIT: Killed by timeout after 3570 seconds
MemTotal: 16393216 kB
MemFree: 13459628 kB
After kill :
MemTotal: 16393216 kB
MemFree: 16097944 kB
Could not compute solution for formula : HirschbergSinclair-PT-50-ReachabilityCardinality-00
Could not compute solution for formula : HirschbergSinclair-PT-50-ReachabilityCardinality-01
Could not compute solution for formula : HirschbergSinclair-PT-50-ReachabilityCardinality-02
Could not compute solution for formula : HirschbergSinclair-PT-50-ReachabilityCardinality-03
Could not compute solution for formula : HirschbergSinclair-PT-50-ReachabilityCardinality-04
Could not compute solution for formula : HirschbergSinclair-PT-50-ReachabilityCardinality-05
Could not compute solution for formula : HirschbergSinclair-PT-50-ReachabilityCardinality-06
Could not compute solution for formula : HirschbergSinclair-PT-50-ReachabilityCardinality-07
Could not compute solution for formula : HirschbergSinclair-PT-50-ReachabilityCardinality-08
Could not compute solution for formula : HirschbergSinclair-PT-50-ReachabilityCardinality-09
Could not compute solution for formula : HirschbergSinclair-PT-50-ReachabilityCardinality-10
Could not compute solution for formula : HirschbergSinclair-PT-50-ReachabilityCardinality-11
Could not compute solution for formula : HirschbergSinclair-PT-50-ReachabilityCardinality-12
Could not compute solution for formula : HirschbergSinclair-PT-50-ReachabilityCardinality-13
Could not compute solution for formula : HirschbergSinclair-PT-50-ReachabilityCardinality-14
Could not compute solution for formula : HirschbergSinclair-PT-50-ReachabilityCardinality-15

BK_STOP 1678758474318

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

+ ulimit -s 65536
+ [[ -z '' ]]
+ export LTSMIN_MEM_SIZE=8589934592
+ LTSMIN_MEM_SIZE=8589934592
+ export PYTHONPATH=/home/mcc/BenchKit/itstools/pylibs
+ PYTHONPATH=/home/mcc/BenchKit/itstools/pylibs
+ export LD_LIBRARY_PATH=/home/mcc/BenchKit/itstools/pylibs:
+ LD_LIBRARY_PATH=/home/mcc/BenchKit/itstools/pylibs:
++ sed s/.jar//
++ perl -pe 's/.*\.//g'
++ ls /home/mcc/BenchKit/bin//../reducer/bin//../../itstools//itstools/plugins/fr.lip6.move.gal.application.pnmcc_1.0.0.202303021504.jar
+ VERSION=202303021504
+ echo 'Running Version 202303021504'
+ /home/mcc/BenchKit/bin//../reducer/bin//../../itstools//itstools/its-tools -pnfolder /home/mcc/execution -examination ReachabilityCardinality -timeout 360 -rebuildPNML
mcc2023
rfs formula name HirschbergSinclair-PT-50-ReachabilityCardinality-00
rfs formula type AG
rfs formula formula --invariant=/tmp/472/inv_0_
rfs formula name HirschbergSinclair-PT-50-ReachabilityCardinality-01
rfs formula type AG
rfs formula formula --invariant=/tmp/472/inv_1_
rfs formula name HirschbergSinclair-PT-50-ReachabilityCardinality-02
rfs formula type EF
rfs formula formula --invariant=/tmp/472/inv_2_
rfs formula name HirschbergSinclair-PT-50-ReachabilityCardinality-03
rfs formula type AG
rfs formula formula --invariant=/tmp/472/inv_3_
rfs formula name HirschbergSinclair-PT-50-ReachabilityCardinality-04
rfs formula type EF
rfs formula formula --invariant=/tmp/472/inv_4_
rfs formula name HirschbergSinclair-PT-50-ReachabilityCardinality-05
rfs formula type EF
rfs formula formula --invariant=/tmp/472/inv_5_
rfs formula name HirschbergSinclair-PT-50-ReachabilityCardinality-06
rfs formula type AG
rfs formula formula --invariant=/tmp/472/inv_6_
rfs formula name HirschbergSinclair-PT-50-ReachabilityCardinality-07
rfs formula type AG
rfs formula formula --invariant=/tmp/472/inv_7_
rfs formula name HirschbergSinclair-PT-50-ReachabilityCardinality-08
rfs formula type AG
rfs formula formula --invariant=/tmp/472/inv_8_
rfs formula name HirschbergSinclair-PT-50-ReachabilityCardinality-09
rfs formula type AG
rfs formula formula --invariant=/tmp/472/inv_9_
rfs formula name HirschbergSinclair-PT-50-ReachabilityCardinality-10
rfs formula type AG
rfs formula formula --invariant=/tmp/472/inv_10_
rfs formula name HirschbergSinclair-PT-50-ReachabilityCardinality-11
rfs formula type AG
rfs formula formula --invariant=/tmp/472/inv_11_
rfs formula name HirschbergSinclair-PT-50-ReachabilityCardinality-12
rfs formula type AG
rfs formula formula --invariant=/tmp/472/inv_12_
rfs formula name HirschbergSinclair-PT-50-ReachabilityCardinality-13
rfs formula type AG
rfs formula formula --invariant=/tmp/472/inv_13_
rfs formula name HirschbergSinclair-PT-50-ReachabilityCardinality-14
rfs formula type EF
rfs formula formula --invariant=/tmp/472/inv_14_
rfs formula name HirschbergSinclair-PT-50-ReachabilityCardinality-15
rfs formula type AG
rfs formula formula --invariant=/tmp/472/inv_15_
pnml2lts-sym: Exploration order is bfs-prev
pnml2lts-sym: Saturation strategy is sat
pnml2lts-sym: Guided search strategy is unguided
pnml2lts-sym: Attractor strategy is default
pnml2lts-sym: opening model.pnml
pnml2lts-sym: Edge label is id
Warning: program compiled against libxml 210 using older 209
pnml2lts-sym: Petri net has 1208 places, 1102 transitions and 3361 arcs
pnml2lts-sym: Petri net leader analyzed
pnml2lts-sym: There are no safe places
pnml2lts-sym: Loading Petri net took 0.020 real 0.020 user 0.000 sys
pnml2lts-sym: Initializing regrouping layer
pnml2lts-sym: Regroup specification: bs,w2W,ru,hf
pnml2lts-sym: Regroup Boost's Sloan
pnml2lts-sym: Regroup over-approximate must-write to may-write
pnml2lts-sym: Regroup Row sUbsume
pnml2lts-sym: Reqroup Horizontal Flip
pnml2lts-sym: Regrouping: 1102->1052 groups
pnml2lts-sym: Regrouping took 1.800 real 1.800 user 0.000 sys
pnml2lts-sym: state vector length is 1208; there are 1052 groups
pnml2lts-sym: Creating a multi-core ListDD domain.
pnml2lts-sym: Sylvan allocates 15.000 GB virtual memory for nodes table and operation cache.
pnml2lts-sym: Initial nodes table and operation cache requires 60.00 MB.
pnml2lts-sym: Using GBgetTransitionsShortR2W as next-state function
pnml2lts-sym: got initial state
pnml2lts-sym: vset_sylvan: starting garbage collection
pnml2lts-sym: vset_sylvan: garbage collection done
pnml2lts-sym: vset_sylvan: starting garbage collection
pnml2lts-sym: vset_sylvan: garbage collection done
pnml2lts-sym: vset_sylvan: starting garbage collection
pnml2lts-sym: vset_sylvan: garbage collection done
pnml2lts-sym: vset_sylvan: starting garbage collection
pnml2lts-sym: vset_sylvan: garbage collection done
pnml2lts-sym: vset_sylvan: starting garbage collection
pnml2lts-sym: vset_sylvan: garbage collection done
Killing (15) : 478
Killing (9) : 478

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="HirschbergSinclair-PT-50"
export BK_EXAMINATION="ReachabilityCardinality"
export BK_TOOL="ltsminxred"
export BK_RESULT_DIR="/tmp/BK_RESULTS/OUTPUTS"
export BK_TIME_CONFINEMENT="3600"
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-5348"
echo " Executing tool ltsminxred"
echo " Input is HirschbergSinclair-PT-50, examination is ReachabilityCardinality"
echo " Time confinement is $BK_TIME_CONFINEMENT seconds"
echo " Memory confinement is 16384 MBytes"
echo " Number of cores is 4"
echo " Run identifier is r201-smll-167840347900502"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

tar xzf /home/mcc/BenchKit/INPUTS/HirschbergSinclair-PT-50.tgz
mv HirschbergSinclair-PT-50 execution
cd execution
if [ "ReachabilityCardinality" = "ReachabilityDeadlock" ] || [ "ReachabilityCardinality" = "UpperBounds" ] || [ "ReachabilityCardinality" = "QuasiLiveness" ] || [ "ReachabilityCardinality" = "StableMarking" ] || [ "ReachabilityCardinality" = "Liveness" ] || [ "ReachabilityCardinality" = "OneSafe" ] || [ "ReachabilityCardinality" = "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 [ "ReachabilityCardinality" = "UpperBounds" ] ; then
echo "The expected result is a vector of positive values"
echo NUM_VECTOR
elif [ "ReachabilityCardinality" != "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 "ReachabilityCardinality.txt" ] ; then
echo "here is the order used to build the result vector(from text file)"
for x in $(grep Property ReachabilityCardinality.txt | cut -d ' ' -f 2 | sort -u) ; do
echo "FORMULA_NAME $x"
done
elif [ -f "ReachabilityCardinality.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 '' ReachabilityCardinality.xml | cut -d '>' -f 2 | cut -d '<' -f 1 | sort -u) ; do
echo "FORMULA_NAME $x"
done
elif [ "ReachabilityCardinality" = "ReachabilityDeadlock" ] || [ "ReachabilityCardinality" = "QuasiLiveness" ] || [ "ReachabilityCardinality" = "StableMarking" ] || [ "ReachabilityCardinality" = "Liveness" ] || [ "ReachabilityCardinality" = "OneSafe" ] ; then
echo "FORMULA_NAME ReachabilityCardinality"
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 ;