fond
Model Checking Contest 2022
12th edition, Bergen, Norway, June 21, 2022
Execution of r114-smll-165264477300142
Last Updated
Jun 22, 2022

About the Execution of ITS-Tools for HealthRecord-PT-09

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
1105.800 93566.00 163476.00 364.10 TFFFTFFTFFFTTFTF normal

Execution Chart

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

Trace from the execution

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

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 476K
-rw-r--r-- 1 mcc users 5.6K Apr 30 11:18 CTLCardinality.txt
-rw-r--r-- 1 mcc users 59K Apr 30 11:18 CTLCardinality.xml
-rw-r--r-- 1 mcc users 6.2K Apr 30 11:13 CTLFireability.txt
-rw-r--r-- 1 mcc users 63K Apr 30 11:13 CTLFireability.xml
-rw-r--r-- 1 mcc users 3.6K May 9 07:59 LTLCardinality.txt
-rw-r--r-- 1 mcc users 26K May 9 07:59 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.2K May 9 07:59 LTLFireability.txt
-rw-r--r-- 1 mcc users 16K May 9 07:59 LTLFireability.xml
-rw-r--r-- 1 mcc users 12K Apr 30 11:20 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 132K Apr 30 11:20 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 5.7K Apr 30 11:19 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 43K Apr 30 11:19 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.6K May 9 07:59 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.7K May 9 07:59 UpperBounds.xml
-rw-r--r-- 1 mcc users 6 May 10 09:34 equiv_col
-rw-r--r-- 1 mcc users 3 May 10 09:34 instance
-rw-r--r-- 1 mcc users 6 May 10 09:34 iscolored
-rw-r--r-- 1 mcc users 68K May 10 09:34 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 HealthRecord-PT-09-ReachabilityCardinality-00
FORMULA_NAME HealthRecord-PT-09-ReachabilityCardinality-01
FORMULA_NAME HealthRecord-PT-09-ReachabilityCardinality-02
FORMULA_NAME HealthRecord-PT-09-ReachabilityCardinality-03
FORMULA_NAME HealthRecord-PT-09-ReachabilityCardinality-04
FORMULA_NAME HealthRecord-PT-09-ReachabilityCardinality-05
FORMULA_NAME HealthRecord-PT-09-ReachabilityCardinality-06
FORMULA_NAME HealthRecord-PT-09-ReachabilityCardinality-07
FORMULA_NAME HealthRecord-PT-09-ReachabilityCardinality-08
FORMULA_NAME HealthRecord-PT-09-ReachabilityCardinality-09
FORMULA_NAME HealthRecord-PT-09-ReachabilityCardinality-10
FORMULA_NAME HealthRecord-PT-09-ReachabilityCardinality-11
FORMULA_NAME HealthRecord-PT-09-ReachabilityCardinality-12
FORMULA_NAME HealthRecord-PT-09-ReachabilityCardinality-13
FORMULA_NAME HealthRecord-PT-09-ReachabilityCardinality-14
FORMULA_NAME HealthRecord-PT-09-ReachabilityCardinality-15

=== Now, execution of the tool begins

BK_START 1654186860464

Running Version 202205111006
[2022-06-02 16:21:02] [INFO ] Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, ReachabilityCardinality, -spotpath, /home/mcc/BenchKit/bin//..//ltlfilt, -z3path, /home/mcc/BenchKit/bin//..//z3/bin/z3, -yices2path, /home/mcc/BenchKit/bin//..//yices/bin/yices, -its, -ltsmin, -greatspnpath, /home/mcc/BenchKit/bin//..//greatspn/, -order, META, -manyOrder, -smt, -timeout, 3600]
[2022-06-02 16:21:02] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2022-06-02 16:21:02] [INFO ] Load time of PNML (sax parser for PT used): 148 ms
[2022-06-02 16:21:02] [INFO ] Transformed 157 places.
[2022-06-02 16:21:02] [INFO ] Transformed 327 transitions.
[2022-06-02 16:21:02] [INFO ] Found NUPN structural information;
[2022-06-02 16:21:02] [INFO ] Parsed PT model containing 157 places and 327 transitions in 333 ms.
Parsed 16 properties from file /home/mcc/execution/ReachabilityCardinality.xml in 31 ms.
Working with output stream class java.io.PrintStream
Ensure Unique test removed 26 transitions
Reduce redundant transitions removed 26 transitions.
FORMULA HealthRecord-PT-09-ReachabilityCardinality-08 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA HealthRecord-PT-09-ReachabilityCardinality-10 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA HealthRecord-PT-09-ReachabilityCardinality-15 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
Incomplete random walk after 10000 steps, including 588 resets, run finished after 907 ms. (steps per millisecond=11 ) properties (out of 13) seen :3
FORMULA HealthRecord-PT-09-ReachabilityCardinality-14 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA HealthRecord-PT-09-ReachabilityCardinality-05 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA HealthRecord-PT-09-ReachabilityCardinality-03 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
Incomplete Best-First random walk after 10001 steps, including 90 resets, run finished after 180 ms. (steps per millisecond=55 ) properties (out of 10) seen :0
Incomplete Best-First random walk after 10001 steps, including 85 resets, run finished after 134 ms. (steps per millisecond=74 ) properties (out of 10) seen :1
FORMULA HealthRecord-PT-09-ReachabilityCardinality-01 FALSE TECHNIQUES TOPOLOGICAL BESTFIRST_WALK
Incomplete Best-First random walk after 10001 steps, including 96 resets, run finished after 94 ms. (steps per millisecond=106 ) properties (out of 9) seen :0
Incomplete Best-First random walk after 10001 steps, including 88 resets, run finished after 166 ms. (steps per millisecond=60 ) properties (out of 9) seen :0
Incomplete Best-First random walk after 10001 steps, including 91 resets, run finished after 101 ms. (steps per millisecond=99 ) properties (out of 9) seen :0
Incomplete Best-First random walk after 10000 steps, including 85 resets, run finished after 80 ms. (steps per millisecond=125 ) properties (out of 9) seen :0
Incomplete Best-First random walk after 10001 steps, including 91 resets, run finished after 89 ms. (steps per millisecond=112 ) properties (out of 9) seen :0
Incomplete Best-First random walk after 10001 steps, including 89 resets, run finished after 51 ms. (steps per millisecond=196 ) properties (out of 9) seen :1
FORMULA HealthRecord-PT-09-ReachabilityCardinality-07 TRUE TECHNIQUES TOPOLOGICAL BESTFIRST_WALK
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 121 ms. (steps per millisecond=82 ) properties (out of 8) seen :0
Incomplete Best-First random walk after 10001 steps, including 93 resets, run finished after 63 ms. (steps per millisecond=158 ) properties (out of 8) seen :0
Running SMT prover for 8 properties.
[2022-06-02 16:21:04] [INFO ] Flow matrix only has 289 transitions (discarded 12 similar events)
// Phase 1: matrix 289 rows 157 cols
[2022-06-02 16:21:04] [INFO ] Computed 18 place invariants in 24 ms
[2022-06-02 16:21:05] [INFO ] After 353ms SMT Verify possible using all constraints in real domain returned unsat :0 sat :0 real:8
[2022-06-02 16:21:05] [INFO ] [Nat]Absence check using 10 positive place invariants in 16 ms returned sat
[2022-06-02 16:21:05] [INFO ] [Nat]Absence check using 10 positive and 8 generalized place invariants in 16 ms returned sat
[2022-06-02 16:21:05] [INFO ] After 342ms SMT Verify possible using state equation in natural domain returned unsat :1 sat :7
[2022-06-02 16:21:06] [INFO ] State equation strengthened by 1 read => feed constraints.
[2022-06-02 16:21:06] [INFO ] After 182ms SMT Verify possible using 1 Read/Feed constraints in natural domain returned unsat :1 sat :7
[2022-06-02 16:21:06] [INFO ] Deduced a trap composed of 41 places in 132 ms of which 8 ms to minimize.
[2022-06-02 16:21:06] [INFO ] Deduced a trap composed of 39 places in 107 ms of which 1 ms to minimize.
[2022-06-02 16:21:06] [INFO ] Deduced a trap composed of 30 places in 54 ms of which 1 ms to minimize.
[2022-06-02 16:21:06] [INFO ] Deduced a trap composed of 30 places in 173 ms of which 3 ms to minimize.
[2022-06-02 16:21:06] [INFO ] Trap strengthening (SAT) tested/added 5/4 trap constraints in 592 ms
[2022-06-02 16:21:07] [INFO ] Deduced a trap composed of 30 places in 131 ms of which 1 ms to minimize.
[2022-06-02 16:21:07] [INFO ] Deduced a trap composed of 44 places in 114 ms of which 0 ms to minimize.
[2022-06-02 16:21:07] [INFO ] Deduced a trap composed of 38 places in 73 ms of which 1 ms to minimize.
[2022-06-02 16:21:07] [INFO ] Deduced a trap composed of 30 places in 70 ms of which 0 ms to minimize.
[2022-06-02 16:21:07] [INFO ] Deduced a trap composed of 39 places in 70 ms of which 1 ms to minimize.
[2022-06-02 16:21:07] [INFO ] Trap strengthening (SAT) tested/added 6/5 trap constraints in 554 ms
[2022-06-02 16:21:07] [INFO ] Deduced a trap composed of 30 places in 50 ms of which 1 ms to minimize.
[2022-06-02 16:21:07] [INFO ] Trap strengthening procedure managed to obtain unsat after adding 1 trap constraints in 63 ms
[2022-06-02 16:21:07] [INFO ] After 1636ms SMT Verify possible using trap constraints in natural domain returned unsat :2 sat :6
Attempting to minimize the solution found.
Minimization took 183 ms.
[2022-06-02 16:21:07] [INFO ] After 2443ms SMT Verify possible using all constraints in natural domain returned unsat :2 sat :6
FORMULA HealthRecord-PT-09-ReachabilityCardinality-12 TRUE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA HealthRecord-PT-09-ReachabilityCardinality-11 TRUE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
Fused 8 Parikh solutions to 6 different solutions.
FORMULA HealthRecord-PT-09-ReachabilityCardinality-13 FALSE TECHNIQUES TOPOLOGICAL PARIKH_WALK
Parikh walk visited 1 properties in 893 ms.
Support contains 65 out of 157 places. Attempting structural reductions.
Starting structural reductions in SAFETY mode, iteration 0 : 157/157 places, 301/301 transitions.
Graph (trivial) has 91 edges and 157 vertex of which 6 / 157 are part of one of the 3 SCC in 15 ms
Free SCC test removed 3 places
Drop transitions removed 19 transitions
Reduce isomorphic transitions removed 19 transitions.
Graph (complete) has 659 edges and 154 vertex of which 149 are kept as prefixes of interest. Removing 5 places using SCC suffix rule.6 ms
Discarding 5 places :
Also discarding 0 output transitions
Drop transitions removed 1 transitions
Trivial Post-agglo rules discarded 1 transitions
Performed 1 trivial Post agglomeration. Transition count delta: 1
Iterating post reduction 0 with 1 rules applied. Total rules applied 3 place count 149 transition count 281
Reduce places removed 1 places and 0 transitions.
Ensure Unique test removed 1 transitions
Reduce isomorphic transitions removed 1 transitions.
Performed 1 Post agglomeration using F-continuation condition.Transition count delta: 1
Iterating post reduction 1 with 3 rules applied. Total rules applied 6 place count 148 transition count 279
Reduce places removed 1 places and 0 transitions.
Ensure Unique test removed 1 transitions
Reduce isomorphic transitions removed 1 transitions.
Iterating post reduction 2 with 2 rules applied. Total rules applied 8 place count 147 transition count 278
Performed 1 Pre agglomeration using Quasi-Persistent + Divergent Free condition..
Pre-agglomeration after 3 with 1 Pre rules applied. Total rules applied 8 place count 147 transition count 277
Deduced a syphon composed of 1 places in 1 ms
Reduce places removed 1 places and 0 transitions.
Iterating global reduction 3 with 2 rules applied. Total rules applied 10 place count 146 transition count 277
Discarding 41 places :
Symmetric choice reduction at 3 with 41 rule applications. Total rules 51 place count 105 transition count 195
Iterating global reduction 3 with 41 rules applied. Total rules applied 92 place count 105 transition count 195
Performed 1 Post agglomeration using F-continuation condition.Transition count delta: 1
Deduced a syphon composed of 1 places in 1 ms
Reduce places removed 1 places and 0 transitions.
Iterating global reduction 3 with 2 rules applied. Total rules applied 94 place count 104 transition count 194
Performed 2 Post agglomeration using F-continuation condition.Transition count delta: -11
Deduced a syphon composed of 2 places in 0 ms
Reduce places removed 2 places and 0 transitions.
Iterating global reduction 3 with 4 rules applied. Total rules applied 98 place count 102 transition count 205
Drop transitions removed 1 transitions
Redundant transition composition rules discarded 1 transitions
Iterating global reduction 3 with 1 rules applied. Total rules applied 99 place count 102 transition count 204
Performed 1 Pre agglomeration using Quasi-Persistent + Divergent Free condition..
Pre-agglomeration after 3 with 1 Pre rules applied. Total rules applied 99 place count 102 transition count 203
Deduced a syphon composed of 1 places in 1 ms
Reduce places removed 1 places and 0 transitions.
Iterating global reduction 3 with 2 rules applied. Total rules applied 101 place count 101 transition count 203
Applied a total of 101 rules in 112 ms. Remains 101 /157 variables (removed 56) and now considering 203/301 (removed 98) transitions.
Finished structural reductions, in 1 iterations. Remains : 101/157 places, 203/301 transitions.
Incomplete random walk after 1000000 steps, including 92358 resets, run finished after 20143 ms. (steps per millisecond=49 ) properties (out of 5) seen :1
FORMULA HealthRecord-PT-09-ReachabilityCardinality-00 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
Incomplete Best-First random walk after 1000001 steps, including 16001 resets, run finished after 4383 ms. (steps per millisecond=228 ) properties (out of 4) seen :0
Interrupted Best-First random walk after 773857 steps, including 12121 resets, run timeout after 5001 ms. (steps per millisecond=154 ) properties seen 0
Incomplete Best-First random walk after 1000001 steps, including 15995 resets, run finished after 4331 ms. (steps per millisecond=230 ) properties (out of 4) seen :0
Incomplete Best-First random walk after 1000001 steps, including 15990 resets, run finished after 4112 ms. (steps per millisecond=243 ) properties (out of 4) seen :0
Running SMT prover for 4 properties.
// Phase 1: matrix 203 rows 101 cols
[2022-06-02 16:21:46] [INFO ] Computed 13 place invariants in 3 ms
[2022-06-02 16:21:46] [INFO ] After 53ms SMT Verify possible using all constraints in real domain returned unsat :0 sat :0 real:4
[2022-06-02 16:21:46] [INFO ] [Nat]Absence check using 5 positive place invariants in 4 ms returned sat
[2022-06-02 16:21:46] [INFO ] [Nat]Absence check using 5 positive and 8 generalized place invariants in 8 ms returned sat
[2022-06-02 16:21:47] [INFO ] After 154ms SMT Verify possible using state equation in natural domain returned unsat :0 sat :4
[2022-06-02 16:21:47] [INFO ] State equation strengthened by 9 read => feed constraints.
[2022-06-02 16:21:47] [INFO ] After 73ms SMT Verify possible using 9 Read/Feed constraints in natural domain returned unsat :0 sat :4
[2022-06-02 16:21:47] [INFO ] Deduced a trap composed of 23 places in 97 ms of which 1 ms to minimize.
[2022-06-02 16:21:47] [INFO ] Trap strengthening (SAT) tested/added 2/1 trap constraints in 131 ms
[2022-06-02 16:21:47] [INFO ] After 342ms SMT Verify possible using trap constraints in natural domain returned unsat :0 sat :4
Attempting to minimize the solution found.
Minimization took 108 ms.
[2022-06-02 16:21:47] [INFO ] After 679ms SMT Verify possible using all constraints in natural domain returned unsat :0 sat :4
FORMULA HealthRecord-PT-09-ReachabilityCardinality-09 FALSE TECHNIQUES TOPOLOGICAL PARIKH_WALK
FORMULA HealthRecord-PT-09-ReachabilityCardinality-06 FALSE TECHNIQUES TOPOLOGICAL PARIKH_WALK
Parikh walk visited 2 properties in 389 ms.
Support contains 43 out of 101 places. Attempting structural reductions.
Starting structural reductions in SAFETY mode, iteration 0 : 101/101 places, 203/203 transitions.
Graph (trivial) has 41 edges and 101 vertex of which 2 / 101 are part of one of the 1 SCC in 0 ms
Free SCC test removed 1 places
Drop transitions removed 2 transitions
Reduce isomorphic transitions removed 2 transitions.
Graph (complete) has 446 edges and 100 vertex of which 99 are kept as prefixes of interest. Removing 1 places using SCC suffix rule.1 ms
Discarding 1 places :
Also discarding 0 output transitions
Performed 1 Post agglomeration using F-continuation condition.Transition count delta: 1
Iterating post reduction 0 with 1 rules applied. Total rules applied 3 place count 99 transition count 200
Reduce places removed 1 places and 0 transitions.
Ensure Unique test removed 1 transitions
Reduce isomorphic transitions removed 1 transitions.
Iterating post reduction 1 with 2 rules applied. Total rules applied 5 place count 98 transition count 199
Discarding 11 places :
Symmetric choice reduction at 2 with 11 rule applications. Total rules 16 place count 87 transition count 176
Iterating global reduction 2 with 11 rules applied. Total rules applied 27 place count 87 transition count 176
Performed 2 Post agglomeration using F-continuation condition.Transition count delta: 2
Deduced a syphon composed of 2 places in 1 ms
Reduce places removed 2 places and 0 transitions.
Iterating global reduction 2 with 4 rules applied. Total rules applied 31 place count 85 transition count 174
Discarding 1 places :
Symmetric choice reduction at 2 with 1 rule applications. Total rules 32 place count 84 transition count 171
Iterating global reduction 2 with 1 rules applied. Total rules applied 33 place count 84 transition count 171
Free-agglomeration rule applied 1 times.
Iterating global reduction 2 with 1 rules applied. Total rules applied 34 place count 84 transition count 170
Reduce places removed 1 places and 0 transitions.
Iterating post reduction 2 with 1 rules applied. Total rules applied 35 place count 83 transition count 170
Applied a total of 35 rules in 37 ms. Remains 83 /101 variables (removed 18) and now considering 170/203 (removed 33) transitions.
Finished structural reductions, in 1 iterations. Remains : 83/101 places, 170/203 transitions.
Incomplete random walk after 1000000 steps, including 116703 resets, run finished after 12659 ms. (steps per millisecond=78 ) properties (out of 2) seen :0
Incomplete Best-First random walk after 1000001 steps, including 21720 resets, run finished after 2372 ms. (steps per millisecond=421 ) properties (out of 2) seen :0
Incomplete Best-First random walk after 1000001 steps, including 20710 resets, run finished after 4177 ms. (steps per millisecond=239 ) properties (out of 2) seen :0
Probably explored full state space saw : 1200248 states, properties seen :1
Probabilistic random walk after 11552372 steps, saw 1200248 distinct states, run finished after 13471 ms. (steps per millisecond=857 ) properties seen :1
FORMULA HealthRecord-PT-09-ReachabilityCardinality-02 FALSE TECHNIQUES TOPOLOGICAL PROBABILISTIC_WALK
Explored full state space saw : 1200248 states, properties seen :0
Exhaustive walk after 11552372 steps, saw 1200248 distinct states, run finished after 13231 ms. (steps per millisecond=873 ) properties seen :0
FORMULA HealthRecord-PT-09-ReachabilityCardinality-04 TRUE TECHNIQUES TOPOLOGICAL EXHAUSTIVE_WALK
All properties solved without resorting to model-checking.
Total runtime 91568 ms.

BK_STOP 1654186954030

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

+ export LANG=C
+ LANG=C
+ export BINDIR=/home/mcc/BenchKit/bin//../
+ BINDIR=/home/mcc/BenchKit/bin//../
++ pwd
+ export MODEL=/home/mcc/execution
+ MODEL=/home/mcc/execution
+ [[ ReachabilityCardinality = StateSpace ]]
+ /home/mcc/BenchKit/bin//..//runeclipse.sh /home/mcc/execution ReachabilityCardinality -its -ltsmin -greatspnpath /home/mcc/BenchKit/bin//..//greatspn/ -order META -manyOrder -smt -timeout 3600
+ ulimit -s 65536
+ export PYTHONPATH=/usr/lib/python3.9/site-packages/
+ PYTHONPATH=/usr/lib/python3.9/site-packages/
+ export LD_LIBRARY_PATH=/usr/local/lib:
+ LD_LIBRARY_PATH=/usr/local/lib:
+ [[ -z '' ]]
+ export LTSMIN_MEM_SIZE=8589934592
+ LTSMIN_MEM_SIZE=8589934592
++ sed s/.jar//
++ perl -pe 's/.*\.//g'
++ ls /home/mcc/BenchKit/bin//..//itstools/plugins/fr.lip6.move.gal.application.pnmcc_1.0.0.202205111006.jar
+ VERSION=202205111006
+ echo 'Running Version 202205111006'
+ /home/mcc/BenchKit/bin//..//itstools/its-tools -data @none -pnfolder /home/mcc/execution -examination ReachabilityCardinality -spotpath /home/mcc/BenchKit/bin//..//ltlfilt -z3path /home/mcc/BenchKit/bin//..//z3/bin/z3 -yices2path /home/mcc/BenchKit/bin//..//yices/bin/yices -its -ltsmin -greatspnpath /home/mcc/BenchKit/bin//..//greatspn/ -order META -manyOrder -smt -timeout 3600 -vmargs -Dosgi.locking=none -Declipse.stateSaveDelayInterval=-1 -Dosgi.configuration.area=@none -Xss128m -Xms40m -Xmx8192m

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="HealthRecord-PT-09"
export BK_EXAMINATION="ReachabilityCardinality"
export BK_TOOL="itstools"
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-4028"
echo " Executing tool itstools"
echo " Input is HealthRecord-PT-09, examination is ReachabilityCardinality"
echo " Time confinement is $BK_TIME_CONFINEMENT seconds"
echo " Memory confinement is 16384 MBytes"
echo " Number of cores is 4"
echo " Run identifier is r114-smll-165264477300142"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

tar xzf /home/mcc/BenchKit/INPUTS/HealthRecord-PT-09.tgz
mv HealthRecord-PT-09 execution
cd execution
if [ "ReachabilityCardinality" = "ReachabilityDeadlock" ] || [ "ReachabilityCardinality" = "UpperBounds" ] || [ "ReachabilityCardinality" = "QuasiLiveness" ] || [ "ReachabilityCardinality" = "StableMarking" ] || [ "ReachabilityCardinality" = "Liveness" ] || [ "ReachabilityCardinality" = "OneSafe" ] || [ "ReachabilityCardinality" = "StateSpace" ]; then
rm -f GenericPropertiesVerdict.xml
fi
pwd
ls -lh

echo
echo "--------------------"
echo "content from stdout:"
echo
echo "=== Data for post analysis generated by BenchKit (invocation template)"
echo
if [ "ReachabilityCardinality" = "UpperBounds" ] ; then
echo "The expected result is a vector of positive values"
echo NUM_VECTOR
elif [ "ReachabilityCardinality" != "StateSpace" ] ; then
echo "The expected result is a vector of booleans"
echo BOOL_VECTOR
else
echo "no data necessary for post analysis"
fi
echo
if [ -f "ReachabilityCardinality.txt" ] ; then
echo "here is the order used to build the result vector(from text file)"
for x in $(grep Property ReachabilityCardinality.txt | cut -d ' ' -f 2 | sort -u) ; do
echo "FORMULA_NAME $x"
done
elif [ -f "ReachabilityCardinality.xml" ] ; then # for cunf (txt files deleted;-)
echo echo "here is the order used to build the result vector(from xml file)"
for x in $(grep '' ReachabilityCardinality.xml | cut -d '>' -f 2 | cut -d '<' -f 1 | sort -u) ; do
echo "FORMULA_NAME $x"
done
elif [ "ReachabilityCardinality" = "ReachabilityDeadlock" ] || [ "ReachabilityCardinality" = "QuasiLiveness" ] || [ "ReachabilityCardinality" = "StableMarking" ] || [ "ReachabilityCardinality" = "Liveness" ] || [ "ReachabilityCardinality" = "OneSafe" ] ; then
echo "FORMULA_NAME ReachabilityCardinality"
fi
echo
echo "=== Now, execution of the tool begins"
echo
echo -n "BK_START "
date -u +%s%3N
echo
timeout -s 9 $BK_TIME_CONFINEMENT bash -c "/home/mcc/BenchKit/BenchKit_head.sh 2> STDERR ; echo ; echo -n \"BK_STOP \" ; date -u +%s%3N"
if [ $? -eq 137 ] ; then
echo
echo "BK_TIME_CONFINEMENT_REACHED"
fi
echo
echo "--------------------"
echo "content from stderr:"
echo
cat STDERR ;