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

About the Execution of Marcie+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
336.168 42561.00 77560.00 1210.00 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.r184-tall-167838871100302.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 marciexred
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 r184-tall-167838871100302
=====================================================================

--------------------
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 1678551211787

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=marciexred
BK_EXAMINATION=QuasiLiveness
BK_BIN_PATH=/home/mcc/BenchKit/bin/
BK_TIME_CONFINEMENT=1800
BK_INPUT=FlexibleBarrier-PT-08b
Applying reductions before tool marcie
Invoking reducer
Running Version 202303021504
[2023-03-11 16:13:33] [INFO ] Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, QuasiLiveness, -timeout, 180, -rebuildPNML]
[2023-03-11 16:13:33] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2023-03-11 16:13:33] [INFO ] Load time of PNML (sax parser for PT used): 77 ms
[2023-03-11 16:13:33] [INFO ] Transformed 920 places.
[2023-03-11 16:13:33] [INFO ] Transformed 1057 transitions.
[2023-03-11 16:13:33] [INFO ] Found NUPN structural information;
[2023-03-11 16:13:33] [INFO ] Parsed PT model containing 920 places and 1057 transitions and 2627 arcs in 147 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 6 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 0 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 80 ms. Remains 214 /920 variables (removed 706) and now considering 350/1057 (removed 707) transitions.
[2023-03-11 16:13:33] [INFO ] Flow matrix only has 327 transitions (discarded 23 similar events)
// Phase 1: matrix 327 rows 214 cols
[2023-03-11 16:13:33] [INFO ] Computed 10 place invariants in 23 ms
[2023-03-11 16:13:33] [INFO ] Implicit Places using invariants in 329 ms returned []
[2023-03-11 16:13:33] [INFO ] Flow matrix only has 327 transitions (discarded 23 similar events)
[2023-03-11 16:13:33] [INFO ] Invariant cache hit.
[2023-03-11 16:13:33] [INFO ] State equation strengthened by 49 read => feed constraints.
[2023-03-11 16:13:34] [INFO ] Implicit Places using invariants and state equation in 294 ms returned []
Implicit Place search using SMT with State Equation took 647 ms to find 0 implicit places.
[2023-03-11 16:13:34] [INFO ] Flow matrix only has 327 transitions (discarded 23 similar events)
[2023-03-11 16:13:34] [INFO ] Invariant cache hit.
[2023-03-11 16:13:34] [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 882 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 728 resets, run finished after 538 ms. (steps per millisecond=18 ) properties (out of 154) seen :39
Incomplete Best-First random walk after 101 steps, including 0 resets, run finished after 1 ms. (steps per millisecond=101 ) properties (out of 115) 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 115) 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 115) 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 115) 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 115) 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 115) 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 115) 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 115) 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 115) 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 115) 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 115) 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 115) 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 115) 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 115) 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 115) 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 115) 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 115) 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 115) 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 115) 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 115) 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 115) 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 115) 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 115) 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 115) 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 115) 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 115) 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 115) 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 115) 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 115) 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 115) 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 115) 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 115) 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 115) 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 115) 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 115) 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 115) 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 115) 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 115) 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 115) 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 115) 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 115) 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 115) 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 115) 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 115) 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 115) 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 115) 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 115) 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 115) 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 115) 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 115) seen :0
Running SMT prover for 115 properties.
[2023-03-11 16:13:34] [INFO ] Flow matrix only has 327 transitions (discarded 23 similar events)
[2023-03-11 16:13:34] [INFO ] Invariant cache hit.
[2023-03-11 16:13:35] [INFO ] [Real]Absence check using 10 positive place invariants in 3 ms returned sat
[2023-03-11 16:13:37] [INFO ] After 1449ms SMT Verify possible using state equation in real domain returned unsat :0 sat :91 real:24
[2023-03-11 16:13:37] [INFO ] State equation strengthened by 49 read => feed constraints.
[2023-03-11 16:13:38] [INFO ] After 1156ms SMT Verify possible using 49 Read/Feed constraints in real domain returned unsat :0 sat :0 real:115
[2023-03-11 16:13:38] [INFO ] After 3521ms SMT Verify possible using all constraints in real domain returned unsat :0 sat :0 real:115
[2023-03-11 16:13:39] [INFO ] [Nat]Absence check using 10 positive place invariants in 3 ms returned sat
[2023-03-11 16:13:40] [INFO ] After 1266ms SMT Verify possible using state equation in natural domain returned unsat :0 sat :115
[2023-03-11 16:13:41] [INFO ] After 1338ms SMT Verify possible using 49 Read/Feed constraints in natural domain returned unsat :0 sat :115
[2023-03-11 16:13:44] [INFO ] After 3669ms SMT Verify possible using trap constraints in natural domain returned unsat :0 sat :115
Attempting to minimize the solution found.
Minimization took 1522 ms.
[2023-03-11 16:13:45] [INFO ] After 7341ms SMT Verify possible using all constraints in natural domain returned unsat :0 sat :115
Parikh walk visited 7 properties in 933 ms.
Support contains 164 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 20 times.
Iterating global reduction 2 with 20 rules applied. Total rules applied 50 place count 212 transition count 302
Reduce places removed 20 places and 0 transitions.
Iterating post reduction 2 with 20 rules applied. Total rules applied 70 place count 192 transition count 302
Applied a total of 70 rules in 54 ms. Remains 192 /214 variables (removed 22) and now considering 302/350 (removed 48) transitions.
Finished structural reductions in REACHABILITY mode , in 1 iterations and 55 ms. Remains : 192/214 places, 302/350 transitions.
Incomplete random walk after 1000000 steps, including 81994 resets, run finished after 19932 ms. (steps per millisecond=50 ) properties (out of 108) seen :91
Incomplete Best-First random walk after 100001 steps, including 106 resets, run finished after 61 ms. (steps per millisecond=1639 ) properties (out of 17) 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 17) seen :0
Incomplete Best-First random walk after 100001 steps, including 158 resets, run finished after 77 ms. (steps per millisecond=1298 ) properties (out of 17) seen :0
Incomplete Best-First random walk after 100001 steps, including 160 resets, run finished after 85 ms. (steps per millisecond=1176 ) properties (out of 17) seen :0
Incomplete Best-First random walk after 100000 steps, including 158 resets, run finished after 130 ms. (steps per millisecond=769 ) properties (out of 17) seen :0
Incomplete Best-First random walk after 100001 steps, including 159 resets, run finished after 120 ms. (steps per millisecond=833 ) properties (out of 17) seen :0
Incomplete Best-First random walk after 100001 steps, including 159 resets, run finished after 102 ms. (steps per millisecond=980 ) properties (out of 17) seen :0
Incomplete Best-First random walk after 100001 steps, including 161 resets, run finished after 102 ms. (steps per millisecond=980 ) properties (out of 17) seen :0
Incomplete Best-First random walk after 100001 steps, including 160 resets, run finished after 147 ms. (steps per millisecond=680 ) properties (out of 17) seen :0
Incomplete Best-First random walk after 100001 steps, including 160 resets, run finished after 103 ms. (steps per millisecond=970 ) properties (out of 17) seen :0
Incomplete Best-First random walk after 100001 steps, including 160 resets, run finished after 98 ms. (steps per millisecond=1020 ) properties (out of 17) seen :0
Incomplete Best-First random walk after 100001 steps, including 159 resets, run finished after 107 ms. (steps per millisecond=934 ) properties (out of 17) seen :0
Incomplete Best-First random walk after 100001 steps, including 162 resets, run finished after 85 ms. (steps per millisecond=1176 ) properties (out of 17) seen :0
Incomplete Best-First random walk after 100001 steps, including 160 resets, run finished after 78 ms. (steps per millisecond=1282 ) properties (out of 17) seen :0
Incomplete Best-First random walk after 100001 steps, including 159 resets, run finished after 83 ms. (steps per millisecond=1204 ) properties (out of 17) seen :0
Incomplete Best-First random walk after 100001 steps, including 158 resets, run finished after 84 ms. (steps per millisecond=1190 ) properties (out of 17) seen :0
Incomplete Best-First random walk after 100001 steps, including 159 resets, run finished after 85 ms. (steps per millisecond=1176 ) properties (out of 17) seen :0
Running SMT prover for 17 properties.
// Phase 1: matrix 302 rows 192 cols
[2023-03-11 16:14:08] [INFO ] Computed 10 place invariants in 3 ms
[2023-03-11 16:14:08] [INFO ] [Real]Absence check using 10 positive place invariants in 2 ms returned sat
[2023-03-11 16:14:08] [INFO ] After 247ms SMT Verify possible using state equation in real domain returned unsat :0 sat :3 real:14
[2023-03-11 16:14:08] [INFO ] State equation strengthened by 60 read => feed constraints.
[2023-03-11 16:14:08] [INFO ] After 60ms SMT Verify possible using 60 Read/Feed constraints in real domain returned unsat :0 sat :0 real:17
[2023-03-11 16:14:08] [INFO ] After 504ms SMT Verify possible using all constraints in real domain returned unsat :0 sat :0 real:17
[2023-03-11 16:14:08] [INFO ] [Nat]Absence check using 10 positive place invariants in 2 ms returned sat
[2023-03-11 16:14:09] [INFO ] After 226ms SMT Verify possible using state equation in natural domain returned unsat :0 sat :17
[2023-03-11 16:14:09] [INFO ] After 186ms SMT Verify possible using 60 Read/Feed constraints in natural domain returned unsat :0 sat :17
[2023-03-11 16:14:09] [INFO ] After 482ms SMT Verify possible using trap constraints in natural domain returned unsat :0 sat :17
Attempting to minimize the solution found.
Minimization took 202 ms.
[2023-03-11 16:14:09] [INFO ] After 1040ms SMT Verify possible using all constraints in natural domain returned unsat :0 sat :17
Finished Parikh walk after 2076 steps, including 126 resets, run visited all 4 properties in 28 ms. (steps per millisecond=74 )
Parikh walk visited 17 properties in 938 ms.
Able to resolve query QuasiLiveness after proving 155 properties.
FORMULA QuasiLiveness TRUE TECHNIQUES RANDOM_WALK PARIKH_WALK TOPOLOGICAL INITIAL_STATE
Total runtime 37654 ms.
ITS solved all properties within timeout

BK_STOP 1678551254348

--------------------
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="marciexred"
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 marciexred"
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 r184-tall-167838871100302"
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 ;