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

About the Execution of LTSMin+red for FlexibleBarrier-PT-08b

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
305.979 49343.00 86170.00 1294.60 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/mcc2023-input.r183-tall-167838870200302.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 FlexibleBarrier-PT-08b, examination is QuasiLiveness
Time confinement is 1800 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r183-tall-167838870200302
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 668K
-rw-r--r-- 1 mcc users 6.5K Feb 25 12:29 CTLCardinality.txt
-rw-r--r-- 1 mcc users 68K Feb 25 12:29 CTLCardinality.xml
-rw-r--r-- 1 mcc users 4.9K Feb 25 12:28 CTLFireability.txt
-rw-r--r-- 1 mcc users 41K Feb 25 12:28 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.2K Jan 29 11:40 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 3.9K Feb 25 16:07 LTLCardinality.txt
-rw-r--r-- 1 mcc users 28K Feb 25 16:07 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.3K Feb 25 16:07 LTLFireability.txt
-rw-r--r-- 1 mcc users 18K Feb 25 16:07 LTLFireability.xml
-rw-r--r-- 1 mcc users 12K Feb 25 12:29 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 127K Feb 25 12:29 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 7.5K Feb 25 12:29 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 61K Feb 25 12:29 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.7K Feb 25 16:07 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.7K Feb 25 16:07 UpperBounds.xml
-rw-r--r-- 1 mcc users 6 Mar 5 18:22 equiv_col
-rw-r--r-- 1 mcc users 4 Mar 5 18:22 instance
-rw-r--r-- 1 mcc users 6 Mar 5 18:22 iscolored
-rw-r--r-- 1 mcc users 241K 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

FORMULA_NAME QuasiLiveness

=== Now, execution of the tool begins

BK_START 1678551322590

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=QuasiLiveness
BK_BIN_PATH=/home/mcc/BenchKit/bin/
BK_TIME_CONFINEMENT=1800
BK_INPUT=FlexibleBarrier-PT-08b
Applying reductions before tool ltsmin
Invoking reducer
Running Version 202303021504
[2023-03-11 16:15:24] [INFO ] Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, QuasiLiveness, -timeout, 180, -rebuildPNML]
[2023-03-11 16:15:24] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2023-03-11 16:15:24] [INFO ] Load time of PNML (sax parser for PT used): 79 ms
[2023-03-11 16:15:24] [INFO ] Transformed 920 places.
[2023-03-11 16:15:24] [INFO ] Transformed 1057 transitions.
[2023-03-11 16:15:24] [INFO ] Found NUPN structural information;
[2023-03-11 16:15:24] [INFO ] Parsed PT model containing 920 places and 1057 transitions and 2627 arcs in 145 ms.
Starting structural reductions in LIVENESS mode, iteration 0 : 920/920 places, 1057/1057 transitions.
Graph (trivial) has 894 edges and 920 vertex of which 50 / 920 are part of one of the 8 SCC in 7 ms
Free SCC test removed 42 places
Ensure Unique test removed 43 transitions
Reduce isomorphic transitions removed 43 transitions.
Drop transitions removed 241 transitions
Trivial Post-agglo rules discarded 241 transitions
Performed 241 trivial Post agglomeration. Transition count delta: 241
Iterating post reduction 0 with 241 rules applied. Total rules applied 242 place count 878 transition count 773
Reduce places removed 241 places and 0 transitions.
Iterating post reduction 1 with 241 rules applied. Total rules applied 483 place count 637 transition count 773
Performed 56 Pre agglomeration using Quasi-Persistent + Divergent Free condition..
Pre-agglomeration after 2 with 56 Pre rules applied. Total rules applied 483 place count 637 transition count 717
Deduced a syphon composed of 56 places in 4 ms
Reduce places removed 56 places and 0 transitions.
Iterating global reduction 2 with 112 rules applied. Total rules applied 595 place count 581 transition count 717
Performed 367 Post agglomeration using F-continuation condition.Transition count delta: 367
Deduced a syphon composed of 367 places in 1 ms
Reduce places removed 367 places and 0 transitions.
Iterating global reduction 2 with 734 rules applied. Total rules applied 1329 place count 214 transition count 350
Applied a total of 1329 rules in 102 ms. Remains 214 /920 variables (removed 706) and now considering 350/1057 (removed 707) transitions.
[2023-03-11 16:15:24] [INFO ] Flow matrix only has 327 transitions (discarded 23 similar events)
// Phase 1: matrix 327 rows 214 cols
[2023-03-11 16:15:24] [INFO ] Computed 10 place invariants in 24 ms
[2023-03-11 16:15:24] [INFO ] Implicit Places using invariants in 348 ms returned []
[2023-03-11 16:15:24] [INFO ] Flow matrix only has 327 transitions (discarded 23 similar events)
[2023-03-11 16:15:24] [INFO ] Invariant cache hit.
[2023-03-11 16:15:24] [INFO ] State equation strengthened by 49 read => feed constraints.
[2023-03-11 16:15:25] [INFO ] Implicit Places using invariants and state equation in 314 ms returned []
Implicit Place search using SMT with State Equation took 686 ms to find 0 implicit places.
[2023-03-11 16:15:25] [INFO ] Flow matrix only has 327 transitions (discarded 23 similar events)
[2023-03-11 16:15:25] [INFO ] Invariant cache hit.
[2023-03-11 16:15:25] [INFO ] Dead Transitions using invariants and state equation in 153 ms found 0 transitions.
Starting structural reductions in LIVENESS mode, iteration 1 : 214/920 places, 350/1057 transitions.
Finished structural reductions in LIVENESS mode , in 1 iterations and 943 ms. Remains : 214/920 places, 350/1057 transitions.
Discarding 195 transitions out of 350. Remains 155
Initial state reduction rules removed 1 formulas.
Incomplete random walk after 10000 steps, including 731 resets, run finished after 589 ms. (steps per millisecond=16 ) properties (out of 154) seen :40
Incomplete Best-First random walk after 101 steps, including 0 resets, run finished after 2 ms. (steps per millisecond=50 ) properties (out of 114) seen :0
Incomplete Best-First random walk after 101 steps, including 0 resets, run finished after 2 ms. (steps per millisecond=50 ) properties (out of 114) seen :0
Incomplete Best-First random walk after 101 steps, including 0 resets, run finished after 1 ms. (steps per millisecond=101 ) properties (out of 114) seen :0
Incomplete Best-First random walk after 101 steps, including 0 resets, run finished after 2 ms. (steps per millisecond=50 ) properties (out of 114) seen :0
Incomplete Best-First random walk after 101 steps, including 0 resets, run finished after 2 ms. (steps per millisecond=50 ) properties (out of 114) seen :0
Incomplete Best-First random walk after 101 steps, including 0 resets, run finished after 1 ms. (steps per millisecond=101 ) properties (out of 114) seen :0
Incomplete Best-First random walk after 101 steps, including 0 resets, run finished after 1 ms. (steps per millisecond=101 ) properties (out of 114) seen :0
Incomplete Best-First random walk after 101 steps, including 0 resets, run finished after 2 ms. (steps per millisecond=50 ) properties (out of 114) seen :0
Incomplete Best-First random walk after 101 steps, including 0 resets, run finished after 1 ms. (steps per millisecond=101 ) properties (out of 114) seen :0
Incomplete Best-First random walk after 101 steps, including 0 resets, run finished after 1 ms. (steps per millisecond=101 ) properties (out of 114) seen :0
Incomplete Best-First random walk after 101 steps, including 0 resets, run finished after 6 ms. (steps per millisecond=16 ) properties (out of 114) seen :0
Incomplete Best-First random walk after 101 steps, including 0 resets, run finished after 1 ms. (steps per millisecond=101 ) properties (out of 114) seen :0
Incomplete Best-First random walk after 101 steps, including 0 resets, run finished after 1 ms. (steps per millisecond=101 ) properties (out of 114) seen :0
Incomplete Best-First random walk after 101 steps, including 0 resets, run finished after 2 ms. (steps per millisecond=50 ) properties (out of 114) seen :0
Incomplete Best-First random walk after 101 steps, including 0 resets, run finished after 1 ms. (steps per millisecond=101 ) properties (out of 114) seen :0
Incomplete Best-First random walk after 101 steps, including 0 resets, run finished after 1 ms. (steps per millisecond=101 ) properties (out of 114) seen :0
Incomplete Best-First random walk after 101 steps, including 0 resets, run finished after 1 ms. (steps per millisecond=101 ) properties (out of 114) seen :0
Incomplete Best-First random walk after 101 steps, including 0 resets, run finished after 2 ms. (steps per millisecond=50 ) properties (out of 114) seen :0
Incomplete Best-First random walk after 101 steps, including 0 resets, run finished after 1 ms. (steps per millisecond=101 ) properties (out of 114) seen :0
Incomplete Best-First random walk after 101 steps, including 0 resets, run finished after 1 ms. (steps per millisecond=101 ) properties (out of 114) seen :0
Incomplete Best-First random walk after 101 steps, including 0 resets, run finished after 1 ms. (steps per millisecond=101 ) properties (out of 114) seen :0
Incomplete Best-First random walk after 101 steps, including 0 resets, run finished after 2 ms. (steps per millisecond=50 ) properties (out of 114) seen :0
Incomplete Best-First random walk after 101 steps, including 0 resets, run finished after 1 ms. (steps per millisecond=101 ) properties (out of 114) seen :0
Incomplete Best-First random walk after 101 steps, including 0 resets, run finished after 1 ms. (steps per millisecond=101 ) properties (out of 114) seen :0
Incomplete Best-First random walk after 101 steps, including 0 resets, run finished after 1 ms. (steps per millisecond=101 ) properties (out of 114) seen :0
Incomplete Best-First random walk after 101 steps, including 0 resets, run finished after 2 ms. (steps per millisecond=50 ) properties (out of 114) seen :0
Incomplete Best-First random walk after 101 steps, including 0 resets, run finished after 1 ms. (steps per millisecond=101 ) properties (out of 114) seen :0
Incomplete Best-First random walk after 101 steps, including 0 resets, run finished after 1 ms. (steps per millisecond=101 ) properties (out of 114) seen :0
Incomplete Best-First random walk after 101 steps, including 0 resets, run finished after 1 ms. (steps per millisecond=101 ) properties (out of 114) seen :0
Incomplete Best-First random walk after 101 steps, including 0 resets, run finished after 2 ms. (steps per millisecond=50 ) properties (out of 114) seen :0
Incomplete Best-First random walk after 101 steps, including 0 resets, run finished after 1 ms. (steps per millisecond=101 ) properties (out of 114) seen :0
Incomplete Best-First random walk after 101 steps, including 0 resets, run finished after 5 ms. (steps per millisecond=20 ) properties (out of 114) seen :0
Incomplete Best-First random walk after 101 steps, including 0 resets, run finished after 1 ms. (steps per millisecond=101 ) properties (out of 114) seen :0
Incomplete Best-First random walk after 101 steps, including 0 resets, run finished after 1 ms. (steps per millisecond=101 ) properties (out of 114) seen :0
Incomplete Best-First random walk after 101 steps, including 0 resets, run finished after 1 ms. (steps per millisecond=101 ) properties (out of 114) seen :0
Incomplete Best-First random walk after 101 steps, including 0 resets, run finished after 1 ms. (steps per millisecond=101 ) properties (out of 114) seen :0
Incomplete Best-First random walk after 101 steps, including 0 resets, run finished after 1 ms. (steps per millisecond=101 ) properties (out of 114) seen :0
Incomplete Best-First random walk after 101 steps, including 0 resets, run finished after 1 ms. (steps per millisecond=101 ) properties (out of 114) seen :0
Incomplete Best-First random walk after 101 steps, including 0 resets, run finished after 2 ms. (steps per millisecond=50 ) properties (out of 114) seen :0
Incomplete Best-First random walk after 101 steps, including 0 resets, run finished after 1 ms. (steps per millisecond=101 ) properties (out of 114) seen :0
Incomplete Best-First random walk after 101 steps, including 0 resets, run finished after 1 ms. (steps per millisecond=101 ) properties (out of 114) seen :0
Incomplete Best-First random walk after 101 steps, including 0 resets, run finished after 1 ms. (steps per millisecond=101 ) properties (out of 114) seen :0
Incomplete Best-First random walk after 101 steps, including 0 resets, run finished after 2 ms. (steps per millisecond=50 ) properties (out of 114) seen :0
Incomplete Best-First random walk after 101 steps, including 0 resets, run finished after 1 ms. (steps per millisecond=101 ) properties (out of 114) seen :0
Incomplete Best-First random walk after 101 steps, including 0 resets, run finished after 1 ms. (steps per millisecond=101 ) properties (out of 114) seen :0
Incomplete Best-First random walk after 101 steps, including 0 resets, run finished after 1 ms. (steps per millisecond=101 ) properties (out of 114) seen :0
Incomplete Best-First random walk after 101 steps, including 0 resets, run finished after 1 ms. (steps per millisecond=101 ) properties (out of 114) seen :0
Incomplete Best-First random walk after 101 steps, including 0 resets, run finished after 2 ms. (steps per millisecond=50 ) properties (out of 114) seen :0
Incomplete Best-First random walk after 101 steps, including 0 resets, run finished after 1 ms. (steps per millisecond=101 ) properties (out of 114) seen :0
Incomplete Best-First random walk after 101 steps, including 0 resets, run finished after 1 ms. (steps per millisecond=101 ) properties (out of 114) seen :0
Running SMT prover for 114 properties.
[2023-03-11 16:15:25] [INFO ] Flow matrix only has 327 transitions (discarded 23 similar events)
[2023-03-11 16:15:25] [INFO ] Invariant cache hit.
[2023-03-11 16:15:26] [INFO ] [Real]Absence check using 10 positive place invariants in 4 ms returned sat
[2023-03-11 16:15:28] [INFO ] After 1495ms SMT Verify possible using state equation in real domain returned unsat :0 sat :91 real:23
[2023-03-11 16:15:28] [INFO ] State equation strengthened by 49 read => feed constraints.
[2023-03-11 16:15:29] [INFO ] After 1431ms SMT Verify possible using 49 Read/Feed constraints in real domain returned unsat :0 sat :0 real:114
[2023-03-11 16:15:29] [INFO ] After 3839ms SMT Verify possible using all constraints in real domain returned unsat :0 sat :0 real:114
[2023-03-11 16:15:30] [INFO ] [Nat]Absence check using 10 positive place invariants in 4 ms returned sat
[2023-03-11 16:15:31] [INFO ] After 1296ms SMT Verify possible using state equation in natural domain returned unsat :0 sat :114
[2023-03-11 16:15:33] [INFO ] After 1406ms SMT Verify possible using 49 Read/Feed constraints in natural domain returned unsat :0 sat :114
[2023-03-11 16:15:35] [INFO ] After 3853ms SMT Verify possible using trap constraints in natural domain returned unsat :0 sat :114
Attempting to minimize the solution found.
Minimization took 1594 ms.
[2023-03-11 16:15:37] [INFO ] After 7533ms SMT Verify possible using all constraints in natural domain returned unsat :0 sat :114
Parikh walk visited 5 properties in 800 ms.
Support contains 165 out of 214 places. Attempting structural reductions.
Starting structural reductions in REACHABILITY mode, iteration 0 : 214/214 places, 350/350 transitions.
Drop transitions removed 24 transitions
Reduce isomorphic transitions removed 24 transitions.
Iterating post reduction 0 with 24 rules applied. Total rules applied 24 place count 214 transition count 326
Discarding 2 places :
Symmetric choice reduction at 1 with 2 rule applications. Total rules 26 place count 212 transition count 324
Iterating global reduction 1 with 2 rules applied. Total rules applied 28 place count 212 transition count 324
Ensure Unique test removed 2 transitions
Reduce isomorphic transitions removed 2 transitions.
Iterating post reduction 1 with 2 rules applied. Total rules applied 30 place count 212 transition count 322
Free-agglomeration rule applied 18 times.
Iterating global reduction 2 with 18 rules applied. Total rules applied 48 place count 212 transition count 304
Reduce places removed 18 places and 0 transitions.
Iterating post reduction 2 with 18 rules applied. Total rules applied 66 place count 194 transition count 304
Applied a total of 66 rules in 77 ms. Remains 194 /214 variables (removed 20) and now considering 304/350 (removed 46) transitions.
Finished structural reductions in REACHABILITY mode , in 1 iterations and 77 ms. Remains : 194/214 places, 304/350 transitions.
Incomplete random walk after 1000000 steps, including 82047 resets, run finished after 27595 ms. (steps per millisecond=36 ) properties (out of 109) seen :92
Incomplete Best-First random walk after 100001 steps, including 105 resets, run finished after 66 ms. (steps per millisecond=1515 ) properties (out of 17) seen :3
Incomplete Best-First random walk after 100001 steps, including 157 resets, run finished after 86 ms. (steps per millisecond=1162 ) properties (out of 14) seen :0
Incomplete Best-First random walk after 100001 steps, including 156 resets, run finished after 84 ms. (steps per millisecond=1190 ) properties (out of 14) seen :0
Incomplete Best-First random walk after 100001 steps, including 156 resets, run finished after 77 ms. (steps per millisecond=1298 ) properties (out of 14) seen :0
Incomplete Best-First random walk after 100001 steps, including 153 resets, run finished after 78 ms. (steps per millisecond=1282 ) properties (out of 14) seen :0
Incomplete Best-First random walk after 100001 steps, including 157 resets, run finished after 78 ms. (steps per millisecond=1282 ) properties (out of 14) seen :0
Incomplete Best-First random walk after 100001 steps, including 155 resets, run finished after 78 ms. (steps per millisecond=1282 ) properties (out of 14) seen :0
Incomplete Best-First random walk after 100001 steps, including 155 resets, run finished after 82 ms. (steps per millisecond=1219 ) properties (out of 14) seen :0
Incomplete Best-First random walk after 100001 steps, including 154 resets, run finished after 82 ms. (steps per millisecond=1219 ) properties (out of 14) seen :0
Incomplete Best-First random walk after 100001 steps, including 157 resets, run finished after 82 ms. (steps per millisecond=1219 ) properties (out of 14) seen :0
Incomplete Best-First random walk after 100001 steps, including 156 resets, run finished after 78 ms. (steps per millisecond=1282 ) properties (out of 14) seen :0
Incomplete Best-First random walk after 100001 steps, including 159 resets, run finished after 78 ms. (steps per millisecond=1282 ) properties (out of 14) seen :0
Incomplete Best-First random walk after 100001 steps, including 154 resets, run finished after 78 ms. (steps per millisecond=1282 ) properties (out of 14) seen :0
Incomplete Best-First random walk after 100001 steps, including 154 resets, run finished after 74 ms. (steps per millisecond=1351 ) properties (out of 14) seen :0
Incomplete Best-First random walk after 100001 steps, including 159 resets, run finished after 75 ms. (steps per millisecond=1333 ) properties (out of 14) seen :0
Running SMT prover for 14 properties.
// Phase 1: matrix 304 rows 194 cols
[2023-03-11 16:16:06] [INFO ] Computed 10 place invariants in 5 ms
[2023-03-11 16:16:07] [INFO ] [Real]Absence check using 10 positive place invariants in 3 ms returned sat
[2023-03-11 16:16:07] [INFO ] After 207ms SMT Verify possible using state equation in real domain returned unsat :0 sat :2 real:12
[2023-03-11 16:16:07] [INFO ] State equation strengthened by 58 read => feed constraints.
[2023-03-11 16:16:07] [INFO ] After 31ms SMT Verify possible using 58 Read/Feed constraints in real domain returned unsat :0 sat :1 real:13
[2023-03-11 16:16:07] [INFO ] After 51ms SMT Verify possible using trap constraints in real domain returned unsat :0 sat :0 real:14
[2023-03-11 16:16:07] [INFO ] After 392ms SMT Verify possible using all constraints in real domain returned unsat :0 sat :0 real:14
[2023-03-11 16:16:07] [INFO ] [Nat]Absence check using 10 positive place invariants in 2 ms returned sat
[2023-03-11 16:16:07] [INFO ] After 206ms SMT Verify possible using state equation in natural domain returned unsat :0 sat :14
[2023-03-11 16:16:07] [INFO ] After 162ms SMT Verify possible using 58 Read/Feed constraints in natural domain returned unsat :0 sat :14
[2023-03-11 16:16:08] [INFO ] After 392ms SMT Verify possible using trap constraints in natural domain returned unsat :0 sat :14
Attempting to minimize the solution found.
Minimization took 143 ms.
[2023-03-11 16:16:08] [INFO ] After 864ms SMT Verify possible using all constraints in natural domain returned unsat :0 sat :14
Finished Parikh walk after 1501 steps, including 58 resets, run visited all 1 properties in 4 ms. (steps per millisecond=375 )
Parikh walk visited 14 properties in 86 ms.
Able to resolve query QuasiLiveness after proving 155 properties.
FORMULA QuasiLiveness TRUE TECHNIQUES RANDOM_WALK PARIKH_WALK BESTFIRST_WALK TOPOLOGICAL INITIAL_STATE
Total runtime 44255 ms.
ITS solved all properties within timeout

BK_STOP 1678551371933

--------------------
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//
++ ls /home/mcc/BenchKit/bin//../reducer/bin//../../itstools//itstools/plugins/fr.lip6.move.gal.application.pnmcc_1.0.0.202303021504.jar
++ perl -pe 's/.*\.//g'
+ VERSION=202303021504
+ echo 'Running Version 202303021504'
+ /home/mcc/BenchKit/bin//../reducer/bin//../../itstools//itstools/its-tools -pnfolder /home/mcc/execution -examination QuasiLiveness -timeout 180 -rebuildPNML

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="FlexibleBarrier-PT-08b"
export BK_EXAMINATION="QuasiLiveness"
export BK_TOOL="ltsminxred"
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-5348"
echo " Executing tool ltsminxred"
echo " Input is FlexibleBarrier-PT-08b, examination is QuasiLiveness"
echo " Time confinement is $BK_TIME_CONFINEMENT seconds"
echo " Memory confinement is 16384 MBytes"
echo " Number of cores is 4"
echo " Run identifier is r183-tall-167838870200302"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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