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

About the Execution of LoLa+red for Medical-PT-18

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
596.367 11854.00 22126.00 336.00 FFFFTTFTFFTTTFTF 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.r231-tall-167856416500715.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 Medical-PT-18, examination is LTLCardinality
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r231-tall-167856416500715
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 3.6M
-rw-r--r-- 1 mcc users 6.9K Feb 25 14:29 CTLCardinality.txt
-rw-r--r-- 1 mcc users 67K Feb 25 14:29 CTLCardinality.xml
-rw-r--r-- 1 mcc users 4.7K Feb 25 14:27 CTLFireability.txt
-rw-r--r-- 1 mcc users 39K Feb 25 14:27 CTLFireability.xml
-rw-r--r-- 1 mcc users 3.6K Feb 25 16:23 LTLCardinality.txt
-rw-r--r-- 1 mcc users 22K Feb 25 16:23 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.2K Feb 25 16:23 LTLFireability.txt
-rw-r--r-- 1 mcc users 17K Feb 25 16:23 LTLFireability.xml
-rw-r--r-- 1 mcc users 19K Feb 25 14:33 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 197K Feb 25 14:32 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 9.7K Feb 25 14:31 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 84K Feb 25 14:31 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.6K Feb 25 16:23 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.7K Feb 25 16:23 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 3.1M 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 Medical-PT-18-LTLCardinality-00
FORMULA_NAME Medical-PT-18-LTLCardinality-01
FORMULA_NAME Medical-PT-18-LTLCardinality-02
FORMULA_NAME Medical-PT-18-LTLCardinality-03
FORMULA_NAME Medical-PT-18-LTLCardinality-04
FORMULA_NAME Medical-PT-18-LTLCardinality-05
FORMULA_NAME Medical-PT-18-LTLCardinality-06
FORMULA_NAME Medical-PT-18-LTLCardinality-07
FORMULA_NAME Medical-PT-18-LTLCardinality-08
FORMULA_NAME Medical-PT-18-LTLCardinality-09
FORMULA_NAME Medical-PT-18-LTLCardinality-10
FORMULA_NAME Medical-PT-18-LTLCardinality-11
FORMULA_NAME Medical-PT-18-LTLCardinality-12
FORMULA_NAME Medical-PT-18-LTLCardinality-13
FORMULA_NAME Medical-PT-18-LTLCardinality-14
FORMULA_NAME Medical-PT-18-LTLCardinality-15

=== Now, execution of the tool begins

BK_START 1679480585973

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=LTLCardinality
BK_BIN_PATH=/home/mcc/BenchKit/bin/
BK_TIME_CONFINEMENT=3600
BK_INPUT=Medical-PT-18
Applying reductions before tool lola
Invoking reducer
Running Version 202303021504
[2023-03-22 10:23:07] [INFO ] Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, LTLCardinality, -timeout, 360, -rebuildPNML]
[2023-03-22 10:23:07] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2023-03-22 10:23:07] [INFO ] Load time of PNML (sax parser for PT used): 246 ms
[2023-03-22 10:23:07] [INFO ] Transformed 312 places.
[2023-03-22 10:23:07] [INFO ] Transformed 5431 transitions.
[2023-03-22 10:23:07] [INFO ] Parsed PT model containing 312 places and 5431 transitions and 28790 arcs in 342 ms.
Parsed 16 properties from file /home/mcc/execution/LTLCardinality.xml in 8 ms.
Working with output stream class java.io.PrintStream
Initial state reduction rules removed 4 formulas.
Deduced a syphon composed of 242 places in 19 ms
Reduce places removed 242 places and 5204 transitions.
Reduce places removed 1 places and 0 transitions.
Initial state reduction rules removed 1 formulas.
FORMULA Medical-PT-18-LTLCardinality-02 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA Medical-PT-18-LTLCardinality-03 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA Medical-PT-18-LTLCardinality-04 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA Medical-PT-18-LTLCardinality-05 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA Medical-PT-18-LTLCardinality-06 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA Medical-PT-18-LTLCardinality-08 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA Medical-PT-18-LTLCardinality-10 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA Medical-PT-18-LTLCardinality-11 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA Medical-PT-18-LTLCardinality-12 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA Medical-PT-18-LTLCardinality-13 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA Medical-PT-18-LTLCardinality-14 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA Medical-PT-18-LTLCardinality-15 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA Medical-PT-18-LTLCardinality-00 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA Medical-PT-18-LTLCardinality-07 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
Support contains 2 out of 69 places. Attempting structural reductions.
Starting structural reductions in LTL mode, iteration 0 : 69/69 places, 227/227 transitions.
Reduce places removed 2 places and 0 transitions.
Iterating post reduction 0 with 2 rules applied. Total rules applied 2 place count 67 transition count 227
Applied a total of 2 rules in 18 ms. Remains 67 /69 variables (removed 2) and now considering 227/227 (removed 0) transitions.
[2023-03-22 10:23:08] [INFO ] Flow matrix only has 182 transitions (discarded 45 similar events)
// Phase 1: matrix 182 rows 67 cols
[2023-03-22 10:23:08] [INFO ] Computed 8 place invariants in 14 ms
[2023-03-22 10:23:08] [INFO ] Implicit Places using invariants in 202 ms returned []
[2023-03-22 10:23:08] [INFO ] Flow matrix only has 182 transitions (discarded 45 similar events)
[2023-03-22 10:23:08] [INFO ] Invariant cache hit.
[2023-03-22 10:23:08] [INFO ] State equation strengthened by 56 read => feed constraints.
[2023-03-22 10:23:08] [INFO ] Implicit Places using invariants and state equation in 169 ms returned []
Implicit Place search using SMT with State Equation took 396 ms to find 0 implicit places.
[2023-03-22 10:23:08] [INFO ] Flow matrix only has 182 transitions (discarded 45 similar events)
[2023-03-22 10:23:08] [INFO ] Invariant cache hit.
[2023-03-22 10:23:08] [INFO ] Dead Transitions using invariants and state equation in 120 ms found 0 transitions.
Starting structural reductions in LTL mode, iteration 1 : 67/69 places, 227/227 transitions.
Finished structural reductions in LTL mode , in 1 iterations and 537 ms. Remains : 67/69 places, 227/227 transitions.
Support contains 2 out of 67 places after structural reductions.
[2023-03-22 10:23:08] [INFO ] Flatten gal took : 48 ms
[2023-03-22 10:23:08] [INFO ] Flatten gal took : 20 ms
[2023-03-22 10:23:08] [INFO ] Input system was already deterministic with 227 transitions.
Incomplete random walk after 10013 steps, including 38 resets, run finished after 145 ms. (steps per millisecond=69 ) properties (out of 2) seen :0
Incomplete Best-First random walk after 10001 steps, including 11 resets, run finished after 45 ms. (steps per millisecond=222 ) properties (out of 2) seen :0
Incomplete Best-First random walk after 10001 steps, including 9 resets, run finished after 29 ms. (steps per millisecond=344 ) properties (out of 2) seen :0
Interrupted probabilistic random walk after 555360 steps, run timeout after 3001 ms. (steps per millisecond=185 ) properties seen :{}
Probabilistic random walk after 555360 steps, saw 339331 distinct states, run finished after 3003 ms. (steps per millisecond=184 ) properties seen :0
Running SMT prover for 2 properties.
[2023-03-22 10:23:12] [INFO ] Flow matrix only has 182 transitions (discarded 45 similar events)
[2023-03-22 10:23:12] [INFO ] Invariant cache hit.
[2023-03-22 10:23:12] [INFO ] [Real]Absence check using 8 positive place invariants in 3 ms returned sat
[2023-03-22 10:23:12] [INFO ] After 59ms SMT Verify possible using all constraints in real domain returned unsat :1 sat :0 real:1
[2023-03-22 10:23:12] [INFO ] [Nat]Absence check using 8 positive place invariants in 5 ms returned sat
[2023-03-22 10:23:12] [INFO ] After 38ms SMT Verify possible using state equation in natural domain returned unsat :1 sat :1
[2023-03-22 10:23:12] [INFO ] State equation strengthened by 56 read => feed constraints.
[2023-03-22 10:23:12] [INFO ] After 14ms SMT Verify possible using 56 Read/Feed constraints in natural domain returned unsat :1 sat :1
[2023-03-22 10:23:12] [INFO ] After 36ms SMT Verify possible using trap constraints in natural domain returned unsat :1 sat :1
Attempting to minimize the solution found.
Minimization took 10 ms.
[2023-03-22 10:23:12] [INFO ] After 129ms SMT Verify possible using all constraints in natural domain returned unsat :1 sat :1
Fused 2 Parikh solutions to 1 different solutions.
Parikh walk visited 0 properties in 3 ms.
Support contains 1 out of 67 places. Attempting structural reductions.
Starting structural reductions in REACHABILITY mode, iteration 0 : 67/67 places, 227/227 transitions.
Performed 3 Pre agglomeration using Quasi-Persistent + Divergent Free condition..
Pre-agglomeration after 0 with 3 Pre rules applied. Total rules applied 0 place count 67 transition count 224
Deduced a syphon composed of 3 places in 0 ms
Reduce places removed 3 places and 0 transitions.
Iterating global reduction 0 with 6 rules applied. Total rules applied 6 place count 64 transition count 224
Performed 1 Post agglomeration using F-continuation condition.Transition count delta: 0
Deduced a syphon composed of 1 places in 0 ms
Reduce places removed 1 places and 0 transitions.
Iterating global reduction 0 with 2 rules applied. Total rules applied 8 place count 63 transition count 224
Free-agglomeration rule applied 2 times.
Iterating global reduction 0 with 2 rules applied. Total rules applied 10 place count 63 transition count 222
Reduce places removed 2 places and 0 transitions.
Iterating post reduction 0 with 2 rules applied. Total rules applied 12 place count 61 transition count 222
Applied a total of 12 rules in 27 ms. Remains 61 /67 variables (removed 6) and now considering 222/227 (removed 5) transitions.
Finished structural reductions in REACHABILITY mode , in 1 iterations and 27 ms. Remains : 61/67 places, 222/227 transitions.
Incomplete random walk after 10007 steps, including 2 resets, run finished after 10 ms. (steps per millisecond=1000 ) properties (out of 1) seen :0
Incomplete Best-First random walk after 10000 steps, including 2 resets, run finished after 11 ms. (steps per millisecond=909 ) properties (out of 1) seen :0
Interrupted probabilistic random walk after 1376353 steps, run timeout after 3001 ms. (steps per millisecond=458 ) properties seen :{}
Probabilistic random walk after 1376353 steps, saw 787095 distinct states, run finished after 3004 ms. (steps per millisecond=458 ) properties seen :0
Running SMT prover for 1 properties.
[2023-03-22 10:23:15] [INFO ] Flow matrix only has 176 transitions (discarded 46 similar events)
// Phase 1: matrix 176 rows 61 cols
[2023-03-22 10:23:15] [INFO ] Computed 8 place invariants in 15 ms
[2023-03-22 10:23:15] [INFO ] After 28ms SMT Verify possible using all constraints in real domain returned unsat :0 sat :0 real:1
[2023-03-22 10:23:15] [INFO ] [Nat]Absence check using 8 positive place invariants in 4 ms returned sat
[2023-03-22 10:23:15] [INFO ] After 68ms SMT Verify possible using state equation in natural domain returned unsat :0 sat :1
[2023-03-22 10:23:15] [INFO ] State equation strengthened by 57 read => feed constraints.
[2023-03-22 10:23:15] [INFO ] After 17ms SMT Verify possible using 57 Read/Feed constraints in natural domain returned unsat :0 sat :1
[2023-03-22 10:23:15] [INFO ] After 41ms SMT Verify possible using trap constraints in natural domain returned unsat :0 sat :1
Attempting to minimize the solution found.
Minimization took 11 ms.
[2023-03-22 10:23:15] [INFO ] After 185ms SMT Verify possible using all constraints in natural domain returned unsat :0 sat :1
Parikh walk visited 0 properties in 0 ms.
Support contains 1 out of 61 places. Attempting structural reductions.
Starting structural reductions in REACHABILITY mode, iteration 0 : 61/61 places, 222/222 transitions.
Applied a total of 0 rules in 8 ms. Remains 61 /61 variables (removed 0) and now considering 222/222 (removed 0) transitions.
Finished structural reductions in REACHABILITY mode , in 1 iterations and 8 ms. Remains : 61/61 places, 222/222 transitions.
Starting structural reductions in REACHABILITY mode, iteration 0 : 61/61 places, 222/222 transitions.
Applied a total of 0 rules in 6 ms. Remains 61 /61 variables (removed 0) and now considering 222/222 (removed 0) transitions.
[2023-03-22 10:23:15] [INFO ] Flow matrix only has 176 transitions (discarded 46 similar events)
[2023-03-22 10:23:15] [INFO ] Invariant cache hit.
[2023-03-22 10:23:15] [INFO ] Implicit Places using invariants in 55 ms returned []
[2023-03-22 10:23:15] [INFO ] Flow matrix only has 176 transitions (discarded 46 similar events)
[2023-03-22 10:23:15] [INFO ] Invariant cache hit.
[2023-03-22 10:23:15] [INFO ] State equation strengthened by 57 read => feed constraints.
[2023-03-22 10:23:15] [INFO ] Implicit Places using invariants and state equation in 254 ms returned []
Implicit Place search using SMT with State Equation took 312 ms to find 0 implicit places.
[2023-03-22 10:23:15] [INFO ] Redundant transitions in 7 ms returned []
[2023-03-22 10:23:15] [INFO ] Flow matrix only has 176 transitions (discarded 46 similar events)
[2023-03-22 10:23:15] [INFO ] Invariant cache hit.
[2023-03-22 10:23:15] [INFO ] Dead Transitions using invariants and state equation in 126 ms found 0 transitions.
Finished structural reductions in REACHABILITY mode , in 1 iterations and 470 ms. Remains : 61/61 places, 222/222 transitions.
Drop transitions removed 13 transitions
Ensure Unique test removed 39 transitions
Reduce isomorphic transitions removed 52 transitions.
Iterating post reduction 0 with 52 rules applied. Total rules applied 52 place count 61 transition count 170
Performed 1 Pre agglomeration using Quasi-Persistent + Divergent Free condition..
Pre-agglomeration after 1 with 1 Pre rules applied. Total rules applied 52 place count 61 transition count 169
Deduced a syphon composed of 1 places in 0 ms
Reduce places removed 1 places and 0 transitions.
Iterating global reduction 1 with 2 rules applied. Total rules applied 54 place count 60 transition count 169
Performed 1 Post agglomeration using F-continuation condition.Transition count delta: 1
Deduced a syphon composed of 1 places in 0 ms
Reduce places removed 1 places and 0 transitions.
Iterating global reduction 1 with 2 rules applied. Total rules applied 56 place count 59 transition count 168
Performed 2 Post agglomeration using F-continuation condition.Transition count delta: -31
Deduced a syphon composed of 2 places in 0 ms
Reduce places removed 3 places and 0 transitions.
Iterating global reduction 1 with 5 rules applied. Total rules applied 61 place count 56 transition count 199
Free-agglomeration rule applied 1 times.
Iterating global reduction 1 with 1 rules applied. Total rules applied 62 place count 56 transition count 198
Reduce places removed 1 places and 0 transitions.
Iterating post reduction 1 with 1 rules applied. Total rules applied 63 place count 55 transition count 198
Free-agglomeration rule (complex) applied 1 times.
Iterating global reduction 2 with 1 rules applied. Total rules applied 64 place count 55 transition count 221
Reduce places removed 1 places and 0 transitions.
Iterating post reduction 2 with 1 rules applied. Total rules applied 65 place count 54 transition count 221
Applied a total of 65 rules in 25 ms. Remains 54 /61 variables (removed 7) and now considering 221/222 (removed 1) transitions.
Running SMT prover for 1 properties.
// Phase 1: matrix 221 rows 54 cols
[2023-03-22 10:23:16] [INFO ] Computed 9 place invariants in 3 ms
[2023-03-22 10:23:16] [INFO ] After 46ms SMT Verify possible using all constraints in real domain returned unsat :0 sat :0 real:1
[2023-03-22 10:23:16] [INFO ] [Nat]Absence check using 9 positive place invariants in 1 ms returned sat
[2023-03-22 10:23:16] [INFO ] After 42ms SMT Verify possible using state equation in natural domain returned unsat :0 sat :1
[2023-03-22 10:23:16] [INFO ] State equation strengthened by 7 read => feed constraints.
[2023-03-22 10:23:16] [INFO ] After 6ms SMT Verify possible using 7 Read/Feed constraints in natural domain returned unsat :0 sat :1
[2023-03-22 10:23:16] [INFO ] After 19ms SMT Verify possible using trap constraints in natural domain returned unsat :0 sat :1
Attempting to minimize the solution found.
Minimization took 10 ms.
[2023-03-22 10:23:16] [INFO ] After 107ms SMT Verify possible using all constraints in natural domain returned unsat :0 sat :1
Successfully simplified 1 atomic propositions for a total of 2 simplifications.
FORMULA Medical-PT-18-LTLCardinality-01 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
Computed a total of 6 stabilizing places and 33 stable transitions
Running Spot : '/home/mcc/BenchKit/itstools/itstools/plugins/fr.lip6.ltl.spot.binaries_1.0.0.202303021504/bin/ltl2tgba-linux64' '--check=stutter' '--hoaf=tv' '-f' '!(X(X(F(p0))))'
Support contains 1 out of 67 places. Attempting structural reductions.
Starting structural reductions in LTL mode, iteration 0 : 67/67 places, 227/227 transitions.
Applied a total of 0 rules in 1 ms. Remains 67 /67 variables (removed 0) and now considering 227/227 (removed 0) transitions.
[2023-03-22 10:23:16] [INFO ] Flow matrix only has 182 transitions (discarded 45 similar events)
// Phase 1: matrix 182 rows 67 cols
[2023-03-22 10:23:16] [INFO ] Computed 8 place invariants in 2 ms
[2023-03-22 10:23:16] [INFO ] Implicit Places using invariants in 70 ms returned []
[2023-03-22 10:23:16] [INFO ] Flow matrix only has 182 transitions (discarded 45 similar events)
[2023-03-22 10:23:16] [INFO ] Invariant cache hit.
[2023-03-22 10:23:16] [INFO ] State equation strengthened by 56 read => feed constraints.
[2023-03-22 10:23:16] [INFO ] Implicit Places using invariants and state equation in 206 ms returned []
Implicit Place search using SMT with State Equation took 278 ms to find 0 implicit places.
[2023-03-22 10:23:16] [INFO ] Flow matrix only has 182 transitions (discarded 45 similar events)
[2023-03-22 10:23:16] [INFO ] Invariant cache hit.
[2023-03-22 10:23:16] [INFO ] Dead Transitions using invariants and state equation in 85 ms found 0 transitions.
Finished structural reductions in LTL mode , in 1 iterations and 366 ms. Remains : 67/67 places, 227/227 transitions.
Stuttering acceptance computed with spot in 241 ms :[(NOT p0), (NOT p0), (NOT p0)]
Running random walk in product with property : Medical-PT-18-LTLCardinality-09 automaton TGBA Formula[mat=[[{ cond=(NOT p0), acceptance={0} source=0 dest: 0}], [{ cond=true, acceptance={} source=1 dest: 0}], [{ cond=true, acceptance={} source=2 dest: 1}]], initial=2, aps=[p0:(GT s31 0)], nbAcceptance=1, properties=[trans-labels, explicit-labels, trans-acc, deterministic, no-univ-branch, unambiguous, semi-deterministic, stutter-sensitive, very-weak, weak, inherently-weak], stateDesc=[null, null, null][false, false, false]]
Stuttering criterion allowed to conclude after 177 steps with 0 reset in 5 ms.
FORMULA Medical-PT-18-LTLCardinality-09 FALSE TECHNIQUES STUTTER_TEST
Treatment of property Medical-PT-18-LTLCardinality-09 finished in 662 ms.
All properties solved by simple procedures.
Total runtime 9509 ms.
ITS solved all properties within timeout

BK_STOP 1679480597827

--------------------
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 LTLCardinality -timeout 360 -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="Medical-PT-18"
export BK_EXAMINATION="LTLCardinality"
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 Medical-PT-18, examination is LTLCardinality"
echo " Time confinement is $BK_TIME_CONFINEMENT seconds"
echo " Memory confinement is 16384 MBytes"
echo " Number of cores is 4"
echo " Run identifier is r231-tall-167856416500715"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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