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

About the Execution of LoLa+red for RingSingleMessageInMbox-PT-d0m010

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
284.247 4973.00 9631.00 317.30 TFTTFTFFFTTTTTFF 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.r327-tall-167889200100793.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 lolaxred
Input is RingSingleMessageInMbox-PT-d0m010, examination is CTLCardinality
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r327-tall-167889200100793
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 536K
-rw-r--r-- 1 mcc users 7.6K Feb 26 04:58 CTLCardinality.txt
-rw-r--r-- 1 mcc users 86K Feb 26 04:58 CTLCardinality.xml
-rw-r--r-- 1 mcc users 6.0K Feb 26 04:58 CTLFireability.txt
-rw-r--r-- 1 mcc users 57K Feb 26 04:58 CTLFireability.xml
-rw-r--r-- 1 mcc users 3.8K Feb 25 16:45 LTLCardinality.txt
-rw-r--r-- 1 mcc users 26K Feb 25 16:45 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.3K Feb 25 16:45 LTLFireability.txt
-rw-r--r-- 1 mcc users 16K Feb 25 16:45 LTLFireability.xml
-rw-r--r-- 1 mcc users 13K Feb 26 04:59 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 132K Feb 26 04:59 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 8.5K Feb 26 04:59 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 74K Feb 26 04:59 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.9K Feb 25 16:45 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.9K Feb 25 16:45 UpperBounds.xml
-rw-r--r-- 1 mcc users 6 Mar 5 18:23 equiv_col
-rw-r--r-- 1 mcc users 7 Mar 5 18:23 instance
-rw-r--r-- 1 mcc users 6 Mar 5 18:23 iscolored
-rw-r--r-- 1 mcc users 64K Mar 5 18:23 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 RingSingleMessageInMbox-PT-d0m010-CTLCardinality-00
FORMULA_NAME RingSingleMessageInMbox-PT-d0m010-CTLCardinality-01
FORMULA_NAME RingSingleMessageInMbox-PT-d0m010-CTLCardinality-02
FORMULA_NAME RingSingleMessageInMbox-PT-d0m010-CTLCardinality-03
FORMULA_NAME RingSingleMessageInMbox-PT-d0m010-CTLCardinality-04
FORMULA_NAME RingSingleMessageInMbox-PT-d0m010-CTLCardinality-05
FORMULA_NAME RingSingleMessageInMbox-PT-d0m010-CTLCardinality-06
FORMULA_NAME RingSingleMessageInMbox-PT-d0m010-CTLCardinality-07
FORMULA_NAME RingSingleMessageInMbox-PT-d0m010-CTLCardinality-08
FORMULA_NAME RingSingleMessageInMbox-PT-d0m010-CTLCardinality-09
FORMULA_NAME RingSingleMessageInMbox-PT-d0m010-CTLCardinality-10
FORMULA_NAME RingSingleMessageInMbox-PT-d0m010-CTLCardinality-11
FORMULA_NAME RingSingleMessageInMbox-PT-d0m010-CTLCardinality-12
FORMULA_NAME RingSingleMessageInMbox-PT-d0m010-CTLCardinality-13
FORMULA_NAME RingSingleMessageInMbox-PT-d0m010-CTLCardinality-14
FORMULA_NAME RingSingleMessageInMbox-PT-d0m010-CTLCardinality-15

=== Now, execution of the tool begins

BK_START 1679058297593

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=lolaxred
BK_EXAMINATION=CTLCardinality
BK_BIN_PATH=/home/mcc/BenchKit/bin/
BK_TIME_CONFINEMENT=3600
BK_INPUT=RingSingleMessageInMbox-PT-d0m010
Applying reductions before tool lola
Invoking reducer
Running Version 202303021504
[2023-03-17 13:04:59] [INFO ] Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, CTLCardinality, -timeout, 360, -rebuildPNML]
[2023-03-17 13:04:59] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2023-03-17 13:04:59] [INFO ] Load time of PNML (sax parser for PT used): 46 ms
[2023-03-17 13:04:59] [INFO ] Transformed 385 places.
[2023-03-17 13:04:59] [INFO ] Transformed 59 transitions.
[2023-03-17 13:04:59] [INFO ] Parsed PT model containing 385 places and 59 transitions and 236 arcs in 104 ms.
Parsed 16 properties from file /home/mcc/execution/CTLCardinality.xml in 13 ms.
Deduced a syphon composed of 329 places in 1 ms
Reduce places removed 329 places and 0 transitions.
Initial state reduction rules removed 1 formulas.
FORMULA RingSingleMessageInMbox-PT-d0m010-CTLCardinality-04 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA RingSingleMessageInMbox-PT-d0m010-CTLCardinality-08 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA RingSingleMessageInMbox-PT-d0m010-CTLCardinality-13 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
Support contains 7 out of 56 places. Attempting structural reductions.
Starting structural reductions in LTL mode, iteration 0 : 56/56 places, 59/59 transitions.
Reduce places removed 1 places and 0 transitions.
Iterating post reduction 0 with 1 rules applied. Total rules applied 1 place count 55 transition count 59
Discarding 7 places :
Symmetric choice reduction at 1 with 7 rule applications. Total rules 8 place count 48 transition count 50
Iterating global reduction 1 with 7 rules applied. Total rules applied 15 place count 48 transition count 50
Discarding 1 places :
Symmetric choice reduction at 1 with 1 rule applications. Total rules 16 place count 47 transition count 49
Iterating global reduction 1 with 1 rules applied. Total rules applied 17 place count 47 transition count 49
Applied a total of 17 rules in 17 ms. Remains 47 /56 variables (removed 9) and now considering 49/59 (removed 10) transitions.
// Phase 1: matrix 49 rows 47 cols
[2023-03-17 13:04:59] [INFO ] Computed 4 place invariants in 8 ms
[2023-03-17 13:04:59] [INFO ] Implicit Places using invariants in 183 ms returned []
[2023-03-17 13:04:59] [INFO ] Invariant cache hit.
[2023-03-17 13:04:59] [INFO ] State equation strengthened by 21 read => feed constraints.
[2023-03-17 13:04:59] [INFO ] Implicit Places using invariants and state equation in 111 ms returned []
Implicit Place search using SMT with State Equation took 319 ms to find 0 implicit places.
[2023-03-17 13:04:59] [INFO ] Invariant cache hit.
[2023-03-17 13:04:59] [INFO ] Dead Transitions using invariants and state equation in 61 ms found 0 transitions.
Starting structural reductions in LTL mode, iteration 1 : 47/56 places, 49/59 transitions.
Finished structural reductions in LTL mode , in 1 iterations and 397 ms. Remains : 47/56 places, 49/59 transitions.
Support contains 7 out of 47 places after structural reductions.
[2023-03-17 13:04:59] [INFO ] Initial state reduction rules for CTL removed 3 formulas.
[2023-03-17 13:04:59] [INFO ] Flatten gal took : 22 ms
[2023-03-17 13:04:59] [INFO ] Initial state reduction rules for CTL removed 1 formulas.
FORMULA RingSingleMessageInMbox-PT-d0m010-CTLCardinality-15 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA RingSingleMessageInMbox-PT-d0m010-CTLCardinality-14 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA RingSingleMessageInMbox-PT-d0m010-CTLCardinality-05 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA RingSingleMessageInMbox-PT-d0m010-CTLCardinality-00 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
[2023-03-17 13:04:59] [INFO ] Flatten gal took : 8 ms
[2023-03-17 13:04:59] [INFO ] Input system was already deterministic with 49 transitions.
Support contains 4 out of 47 places (down from 7) after GAL structural reductions.
FORMULA RingSingleMessageInMbox-PT-d0m010-CTLCardinality-02 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA RingSingleMessageInMbox-PT-d0m010-CTLCardinality-12 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
Incomplete random walk after 10000 steps, including 2162 resets, run finished after 251 ms. (steps per millisecond=39 ) properties (out of 3) seen :0
Incomplete Best-First random walk after 10000 steps, including 975 resets, run finished after 84 ms. (steps per millisecond=119 ) properties (out of 3) seen :0
Incomplete Best-First random walk after 10001 steps, including 939 resets, run finished after 84 ms. (steps per millisecond=119 ) properties (out of 3) seen :0
Incomplete Best-First random walk after 10000 steps, including 932 resets, run finished after 76 ms. (steps per millisecond=131 ) properties (out of 3) seen :0
Probably explored full state space saw : 27639 states, properties seen :0
Probabilistic random walk after 71445 steps, saw 27639 distinct states, run finished after 550 ms. (steps per millisecond=129 ) properties seen :0
Explored full state space saw : 27639 states, properties seen :0
Exhaustive walk after 71445 steps, saw 27639 distinct states, run finished after 314 ms. (steps per millisecond=227 ) properties seen :0
Successfully simplified 3 atomic propositions for a total of 3 simplifications.
FORMULA RingSingleMessageInMbox-PT-d0m010-CTLCardinality-11 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
[2023-03-17 13:05:01] [INFO ] Initial state reduction rules for CTL removed 1 formulas.
[2023-03-17 13:05:01] [INFO ] Flatten gal took : 8 ms
FORMULA RingSingleMessageInMbox-PT-d0m010-CTLCardinality-07 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
[2023-03-17 13:05:01] [INFO ] Flatten gal took : 6 ms
[2023-03-17 13:05:01] [INFO ] Input system was already deterministic with 49 transitions.
Computed a total of 4 stabilizing places and 5 stable transitions
Graph (complete) has 146 edges and 47 vertex of which 46 are kept as prefixes of interest. Removing 1 places using SCC suffix rule.2 ms
Starting structural reductions in LTL mode, iteration 0 : 47/47 places, 49/49 transitions.
Reduce places removed 1 places and 0 transitions.
Iterating post reduction 0 with 1 rules applied. Total rules applied 1 place count 46 transition count 49
Applied a total of 1 rules in 2 ms. Remains 46 /47 variables (removed 1) and now considering 49/49 (removed 0) transitions.
Finished structural reductions in LTL mode , in 1 iterations and 2 ms. Remains : 46/47 places, 49/49 transitions.
[2023-03-17 13:05:01] [INFO ] Flatten gal took : 4 ms
[2023-03-17 13:05:01] [INFO ] Flatten gal took : 4 ms
[2023-03-17 13:05:01] [INFO ] Input system was already deterministic with 49 transitions.
Starting structural reductions in LTL mode, iteration 0 : 47/47 places, 49/49 transitions.
Reduce places removed 1 places and 0 transitions.
Iterating post reduction 0 with 1 rules applied. Total rules applied 1 place count 46 transition count 49
Applied a total of 1 rules in 1 ms. Remains 46 /47 variables (removed 1) and now considering 49/49 (removed 0) transitions.
Finished structural reductions in LTL mode , in 1 iterations and 1 ms. Remains : 46/47 places, 49/49 transitions.
[2023-03-17 13:05:01] [INFO ] Flatten gal took : 4 ms
[2023-03-17 13:05:01] [INFO ] Flatten gal took : 3 ms
[2023-03-17 13:05:01] [INFO ] Input system was already deterministic with 49 transitions.
Starting structural reductions in LTL mode, iteration 0 : 47/47 places, 49/49 transitions.
Reduce places removed 1 places and 0 transitions.
Iterating post reduction 0 with 1 rules applied. Total rules applied 1 place count 46 transition count 49
Applied a total of 1 rules in 2 ms. Remains 46 /47 variables (removed 1) and now considering 49/49 (removed 0) transitions.
Finished structural reductions in LTL mode , in 1 iterations and 2 ms. Remains : 46/47 places, 49/49 transitions.
[2023-03-17 13:05:01] [INFO ] Flatten gal took : 2 ms
[2023-03-17 13:05:01] [INFO ] Flatten gal took : 3 ms
[2023-03-17 13:05:01] [INFO ] Input system was already deterministic with 49 transitions.
Starting structural reductions in LTL mode, iteration 0 : 47/47 places, 49/49 transitions.
Reduce places removed 1 places and 0 transitions.
Iterating post reduction 0 with 1 rules applied. Total rules applied 1 place count 46 transition count 49
Applied a total of 1 rules in 2 ms. Remains 46 /47 variables (removed 1) and now considering 49/49 (removed 0) transitions.
Finished structural reductions in LTL mode , in 1 iterations and 2 ms. Remains : 46/47 places, 49/49 transitions.
[2023-03-17 13:05:01] [INFO ] Flatten gal took : 2 ms
[2023-03-17 13:05:01] [INFO ] Flatten gal took : 3 ms
[2023-03-17 13:05:01] [INFO ] Input system was already deterministic with 49 transitions.
Starting structural reductions in LTL mode, iteration 0 : 47/47 places, 49/49 transitions.
Reduce places removed 1 places and 0 transitions.
Iterating post reduction 0 with 1 rules applied. Total rules applied 1 place count 46 transition count 49
Applied a total of 1 rules in 1 ms. Remains 46 /47 variables (removed 1) and now considering 49/49 (removed 0) transitions.
Finished structural reductions in LTL mode , in 1 iterations and 1 ms. Remains : 46/47 places, 49/49 transitions.
[2023-03-17 13:05:01] [INFO ] Flatten gal took : 2 ms
[2023-03-17 13:05:01] [INFO ] Flatten gal took : 3 ms
[2023-03-17 13:05:01] [INFO ] Input system was already deterministic with 49 transitions.
[2023-03-17 13:05:01] [INFO ] Flatten gal took : 3 ms
[2023-03-17 13:05:01] [INFO ] Flatten gal took : 3 ms
[2023-03-17 13:05:01] [INFO ] Export to MCC of 5 properties in file /home/mcc/execution/CTLCardinality.sr.xml took 2 ms.
[2023-03-17 13:05:01] [INFO ] Export to PNML in file /home/mcc/execution/model.sr.pnml of net with 47 places, 49 transitions and 195 arcs took 2 ms.
Total runtime 2247 ms.
There are residual formulas that ITS could not solve within timeout
starting LoLA
BK_INPUT RingSingleMessageInMbox-PT-d0m010
BK_EXAMINATION: CTLCardinality
bin directory: /home/mcc/BenchKit/bin//../reducer/bin//../../lola/bin/
current directory: /home/mcc/execution/371

FORMULA RingSingleMessageInMbox-PT-d0m010-CTLCardinality-10 TRUE TECHNIQUES COLLATERAL_PROCESSING EXPLICIT TOPOLOGICAL STATE_COMPRESSION STUBBORN_SETS USE_NUPN UNFOLDING_TO_PT

FORMULA RingSingleMessageInMbox-PT-d0m010-CTLCardinality-03 TRUE TECHNIQUES COLLATERAL_PROCESSING EXPLICIT TOPOLOGICAL STATE_COMPRESSION STUBBORN_SETS USE_NUPN UNFOLDING_TO_PT

FORMULA RingSingleMessageInMbox-PT-d0m010-CTLCardinality-09 TRUE TECHNIQUES COLLATERAL_PROCESSING EXPLICIT TOPOLOGICAL STATE_COMPRESSION STUBBORN_SETS USE_NUPN UNFOLDING_TO_PT

FORMULA RingSingleMessageInMbox-PT-d0m010-CTLCardinality-06 FALSE TECHNIQUES COLLATERAL_PROCESSING EXPLICIT TOPOLOGICAL STATE_COMPRESSION STUBBORN_SETS USE_NUPN UNFOLDING_TO_PT

FORMULA RingSingleMessageInMbox-PT-d0m010-CTLCardinality-01 FALSE TECHNIQUES COLLATERAL_PROCESSING EXPLICIT TOPOLOGICAL STATE_COMPRESSION STUBBORN_SETS USE_NUPN UNFOLDING_TO_PT

BK_STOP 1679058302566

--------------------
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 CTLCardinality -timeout 360 -rebuildPNML
lola: MEM LIMIT 32
lola: MEM LIMIT 5
lola: NET
lola: input: PNML file (--pnmlnet)
lola: reading net from /home/mcc/execution/371/model.pnml
lola: reading pnml
lola: PNML file contains place/transition net
lola: finished parsing
lola: closed net file /home/mcc/execution/371/model.pnml
lola: Reading formula.
lola: Using XML format (--xmlformula)
lola: reading XML formula
lola: reading formula from /home/mcc/execution/371/CTLCardinality.xml
lola: rewrite Frontend/Parser/formula_rewrite.k:96
lola: rewrite Frontend/Parser/formula_rewrite.k:138
lola: rewrite Frontend/Parser/formula_rewrite.k:96
lola: rewrite Frontend/Parser/formula_rewrite.k:138
lola: rewrite Frontend/Parser/formula_rewrite.k:98
lola: rewrite Frontend/Parser/formula_rewrite.k:129
lola: rewrite Frontend/Parser/formula_rewrite.k:196
lola: rewrite Frontend/Parser/formula_rewrite.k:150
lola: rewrite Frontend/Parser/formula_rewrite.k:96
lola: rewrite Frontend/Parser/formula_rewrite.k:138
lola: rewrite Frontend/Parser/formula_rewrite.k:98
lola: rewrite Frontend/Parser/formula_rewrite.k:129
lola: rewrite Frontend/Parser/formula_rewrite.k:196
lola: rewrite Frontend/Parser/formula_rewrite.k:147
lola: rewrite Frontend/Parser/formula_rewrite.k:98
lola: rewrite Frontend/Parser/formula_rewrite.k:129
lola: Created skeleton in 0.000000 secs.
lola: Created skeleton in 0.000000 secs.
lola: Created skeleton in 0.000000 secs.
lola: Created skeleton in 0.000000 secs.
lola: Rule S: 0 transitions removed,0 places removed
lola: LAUNCH INITIAL
lola: LAUNCH task # 13 (type CNST) for 12 RingSingleMessageInMbox-PT-d0m010-CTLCardinality-10
lola: time limit : 0 sec
lola: memory limit: 0 pages
lola: LAUNCH task # 4 (type EXCL) for 3 RingSingleMessageInMbox-PT-d0m010-CTLCardinality-03
lola: time limit : 720 sec
lola: memory limit: 32 pages
lola: FINISHED task # 13 (type CNST) for RingSingleMessageInMbox-PT-d0m010-CTLCardinality-10
lola: result : true
lola: rewrite Frontend/Parser/formula_rewrite.k:811
lola: rewrite Frontend/Parser/formula_rewrite.k:811
lola: FINISHED task # 4 (type EXCL) for RingSingleMessageInMbox-PT-d0m010-CTLCardinality-03
lola: result : true
lola: markings : 39
lola: fired transitions : 39
lola: time used : 0.000000
lola: memory pages used : 1
lola: rewrite Frontend/Parser/formula_rewrite.k:812
lola: LAUNCH task # 10 (type EXCL) for 9 RingSingleMessageInMbox-PT-d0m010-CTLCardinality-09
lola: time limit : 1200 sec
lola: memory limit: 32 pages
lola: FINISHED task # 10 (type EXCL) for RingSingleMessageInMbox-PT-d0m010-CTLCardinality-09
lola: result : true
lola: markings : 39
lola: fired transitions : 39
lola: time used : 0.000000
lola: memory pages used : 1
lola: LAUNCH task # 7 (type EXCL) for 6 RingSingleMessageInMbox-PT-d0m010-CTLCardinality-06
lola: time limit : 1800 sec
lola: memory limit: 32 pages
lola: FINISHED task # 7 (type EXCL) for RingSingleMessageInMbox-PT-d0m010-CTLCardinality-06
lola: result : false
lola: time used : 0.000000
lola: memory pages used : 1
lola: LAUNCH task # 1 (type EXCL) for 0 RingSingleMessageInMbox-PT-d0m010-CTLCardinality-01
lola: time limit : 3600 sec
lola: memory limit: 32 pages
lola: FINISHED task # 1 (type EXCL) for RingSingleMessageInMbox-PT-d0m010-CTLCardinality-01
lola: result : false
lola: markings : 58
lola: fired transitions : 138
lola: time used : 0.000000
lola: memory pages used : 1
lola: Portfolio finished: no open formulas

FINAL RESULTS
FINISHED FORMULA: CATEGORY VALUE PRODUCED BY
RingSingleMessageInMbox-PT-d0m010-CTLCardinality-01: CTL false CTL model checker
RingSingleMessageInMbox-PT-d0m010-CTLCardinality-03: EG true state space / EG
RingSingleMessageInMbox-PT-d0m010-CTLCardinality-06: LTL/CTL false CTL model checker
RingSingleMessageInMbox-PT-d0m010-CTLCardinality-09: EG true state space / EG
RingSingleMessageInMbox-PT-d0m010-CTLCardinality-10: INITIAL true preprocessing


Time elapsed: 0 secs. Pages in use: 1

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="RingSingleMessageInMbox-PT-d0m010"
export BK_EXAMINATION="CTLCardinality"
export BK_TOOL="lolaxred"
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 lolaxred"
echo " Input is RingSingleMessageInMbox-PT-d0m010, examination is CTLCardinality"
echo " Time confinement is $BK_TIME_CONFINEMENT seconds"
echo " Memory confinement is 16384 MBytes"
echo " Number of cores is 4"
echo " Run identifier is r327-tall-167889200100793"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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