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

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

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
461.352 18541.00 35443.00 161.80 FTFTTTFTTFFFFTTT 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-165264477300166.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-12, examination is ReachabilityCardinality
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r114-smll-165264477300166
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 452K
-rw-r--r-- 1 mcc users 6.2K Apr 30 11:28 CTLCardinality.txt
-rw-r--r-- 1 mcc users 68K Apr 30 11:28 CTLCardinality.xml
-rw-r--r-- 1 mcc users 5.6K Apr 30 11:21 CTLFireability.txt
-rw-r--r-- 1 mcc users 52K Apr 30 11:21 CTLFireability.xml
-rw-r--r-- 1 mcc users 3.9K May 9 07:59 LTLCardinality.txt
-rw-r--r-- 1 mcc users 28K 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 8.2K Apr 30 11:30 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 86K Apr 30 11:30 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 7.2K Apr 30 11:29 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 61K Apr 30 11:29 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 71K 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-12-ReachabilityCardinality-00
FORMULA_NAME HealthRecord-PT-12-ReachabilityCardinality-01
FORMULA_NAME HealthRecord-PT-12-ReachabilityCardinality-02
FORMULA_NAME HealthRecord-PT-12-ReachabilityCardinality-03
FORMULA_NAME HealthRecord-PT-12-ReachabilityCardinality-04
FORMULA_NAME HealthRecord-PT-12-ReachabilityCardinality-05
FORMULA_NAME HealthRecord-PT-12-ReachabilityCardinality-06
FORMULA_NAME HealthRecord-PT-12-ReachabilityCardinality-07
FORMULA_NAME HealthRecord-PT-12-ReachabilityCardinality-08
FORMULA_NAME HealthRecord-PT-12-ReachabilityCardinality-09
FORMULA_NAME HealthRecord-PT-12-ReachabilityCardinality-10
FORMULA_NAME HealthRecord-PT-12-ReachabilityCardinality-11
FORMULA_NAME HealthRecord-PT-12-ReachabilityCardinality-12
FORMULA_NAME HealthRecord-PT-12-ReachabilityCardinality-13
FORMULA_NAME HealthRecord-PT-12-ReachabilityCardinality-14
FORMULA_NAME HealthRecord-PT-12-ReachabilityCardinality-15

=== Now, execution of the tool begins

BK_START 1654187131304

Running Version 202205111006
[2022-06-02 16:25:33] [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:25:33] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2022-06-02 16:25:34] [INFO ] Load time of PNML (sax parser for PT used): 368 ms
[2022-06-02 16:25:34] [INFO ] Transformed 160 places.
[2022-06-02 16:25:34] [INFO ] Transformed 340 transitions.
[2022-06-02 16:25:34] [INFO ] Found NUPN structural information;
[2022-06-02 16:25:34] [INFO ] Parsed PT model containing 160 places and 340 transitions in 633 ms.
Parsed 16 properties from file /home/mcc/execution/ReachabilityCardinality.xml in 28 ms.
Working with output stream class java.io.PrintStream
Ensure Unique test removed 28 transitions
Reduce redundant transitions removed 28 transitions.
FORMULA HealthRecord-PT-12-ReachabilityCardinality-09 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
Incomplete random walk after 10000 steps, including 720 resets, run finished after 1132 ms. (steps per millisecond=8 ) properties (out of 15) seen :2
FORMULA HealthRecord-PT-12-ReachabilityCardinality-15 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA HealthRecord-PT-12-ReachabilityCardinality-12 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
Incomplete Best-First random walk after 10001 steps, including 95 resets, run finished after 115 ms. (steps per millisecond=86 ) properties (out of 13) seen :0
Incomplete Best-First random walk after 10001 steps, including 92 resets, run finished after 87 ms. (steps per millisecond=114 ) properties (out of 13) seen :0
Incomplete Best-First random walk after 10001 steps, including 87 resets, run finished after 78 ms. (steps per millisecond=128 ) properties (out of 13) seen :0
Incomplete Best-First random walk after 10001 steps, including 93 resets, run finished after 79 ms. (steps per millisecond=126 ) properties (out of 13) seen :0
Incomplete Best-First random walk after 10001 steps, including 88 resets, run finished after 93 ms. (steps per millisecond=107 ) properties (out of 13) seen :0
Incomplete Best-First random walk after 10001 steps, including 92 resets, run finished after 173 ms. (steps per millisecond=57 ) properties (out of 13) seen :0
Incomplete Best-First random walk after 10001 steps, including 89 resets, run finished after 104 ms. (steps per millisecond=96 ) properties (out of 13) seen :0
Incomplete Best-First random walk after 10000 steps, including 86 resets, run finished after 97 ms. (steps per millisecond=103 ) properties (out of 13) seen :0
Incomplete Best-First random walk after 10001 steps, including 92 resets, run finished after 135 ms. (steps per millisecond=74 ) properties (out of 13) seen :0
Incomplete Best-First random walk after 10001 steps, including 88 resets, run finished after 75 ms. (steps per millisecond=133 ) properties (out of 13) seen :0
Incomplete Best-First random walk after 10000 steps, including 87 resets, run finished after 62 ms. (steps per millisecond=161 ) properties (out of 13) seen :0
Incomplete Best-First random walk after 10001 steps, including 89 resets, run finished after 74 ms. (steps per millisecond=135 ) properties (out of 13) seen :0
Incomplete Best-First random walk after 10001 steps, including 85 resets, run finished after 59 ms. (steps per millisecond=169 ) properties (out of 13) seen :0
Running SMT prover for 13 properties.
[2022-06-02 16:25:36] [INFO ] Flow matrix only has 300 transitions (discarded 12 similar events)
// Phase 1: matrix 300 rows 160 cols
[2022-06-02 16:25:36] [INFO ] Computed 18 place invariants in 15 ms
[2022-06-02 16:25:37] [INFO ] After 432ms SMT Verify possible using all constraints in real domain returned unsat :0 sat :0 real:13
[2022-06-02 16:25:37] [INFO ] [Nat]Absence check using 10 positive place invariants in 17 ms returned sat
[2022-06-02 16:25:37] [INFO ] [Nat]Absence check using 10 positive and 8 generalized place invariants in 16 ms returned sat
[2022-06-02 16:25:37] [INFO ] After 280ms SMT Verify possible using state equation in natural domain returned unsat :7 sat :6
[2022-06-02 16:25:37] [INFO ] State equation strengthened by 1 read => feed constraints.
[2022-06-02 16:25:38] [INFO ] After 145ms SMT Verify possible using 1 Read/Feed constraints in natural domain returned unsat :7 sat :6
[2022-06-02 16:25:38] [INFO ] Deduced a trap composed of 44 places in 128 ms of which 12 ms to minimize.
[2022-06-02 16:25:38] [INFO ] Deduced a trap composed of 39 places in 99 ms of which 2 ms to minimize.
[2022-06-02 16:25:38] [INFO ] Deduced a trap composed of 40 places in 81 ms of which 2 ms to minimize.
[2022-06-02 16:25:38] [INFO ] Trap strengthening (SAT) tested/added 4/3 trap constraints in 396 ms
[2022-06-02 16:25:38] [INFO ] Deduced a trap composed of 30 places in 77 ms of which 2 ms to minimize.
[2022-06-02 16:25:38] [INFO ] Trap strengthening (SAT) tested/added 2/1 trap constraints in 117 ms
[2022-06-02 16:25:38] [INFO ] After 859ms SMT Verify possible using trap constraints in natural domain returned unsat :7 sat :6
Attempting to minimize the solution found.
Minimization took 162 ms.
[2022-06-02 16:25:38] [INFO ] After 1568ms SMT Verify possible using all constraints in natural domain returned unsat :7 sat :6
FORMULA HealthRecord-PT-12-ReachabilityCardinality-13 TRUE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA HealthRecord-PT-12-ReachabilityCardinality-08 TRUE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA HealthRecord-PT-12-ReachabilityCardinality-07 TRUE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA HealthRecord-PT-12-ReachabilityCardinality-05 TRUE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA HealthRecord-PT-12-ReachabilityCardinality-04 TRUE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA HealthRecord-PT-12-ReachabilityCardinality-02 FALSE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA HealthRecord-PT-12-ReachabilityCardinality-00 FALSE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
Fused 13 Parikh solutions to 5 different solutions.
FORMULA HealthRecord-PT-12-ReachabilityCardinality-01 TRUE TECHNIQUES TOPOLOGICAL PARIKH_WALK
Parikh walk visited 1 properties in 594 ms.
Support contains 13 out of 160 places. Attempting structural reductions.
Starting structural reductions in SAFETY mode, iteration 0 : 160/160 places, 312/312 transitions.
Graph (trivial) has 207 edges and 160 vertex of which 8 / 160 are part of one of the 4 SCC in 13 ms
Free SCC test removed 4 places
Drop transitions removed 21 transitions
Reduce isomorphic transitions removed 21 transitions.
Graph (complete) has 678 edges and 156 vertex of which 149 are kept as prefixes of interest. Removing 7 places using SCC suffix rule.6 ms
Discarding 7 places :
Also discarding 0 output transitions
Drop transitions removed 4 transitions
Trivial Post-agglo rules discarded 4 transitions
Performed 4 trivial Post agglomeration. Transition count delta: 4
Iterating post reduction 0 with 4 rules applied. Total rules applied 6 place count 149 transition count 287
Reduce places removed 4 places and 0 transitions.
Ensure Unique test removed 4 transitions
Reduce isomorphic transitions removed 4 transitions.
Iterating post reduction 1 with 8 rules applied. Total rules applied 14 place count 145 transition count 283
Performed 1 Pre agglomeration using Quasi-Persistent + Divergent Free condition..
Pre-agglomeration after 2 with 1 Pre rules applied. Total rules applied 14 place count 145 transition count 282
Deduced a syphon composed of 1 places in 1 ms
Reduce places removed 1 places and 0 transitions.
Iterating global reduction 2 with 2 rules applied. Total rules applied 16 place count 144 transition count 282
Discarding 77 places :
Symmetric choice reduction at 2 with 77 rule applications. Total rules 93 place count 67 transition count 129
Iterating global reduction 2 with 77 rules applied. Total rules applied 170 place count 67 transition count 129
Ensure Unique test removed 1 transitions
Reduce isomorphic transitions removed 1 transitions.
Iterating post reduction 2 with 1 rules applied. Total rules applied 171 place count 67 transition count 128
Discarding 6 places :
Symmetric choice reduction at 3 with 6 rule applications. Total rules 177 place count 61 transition count 116
Iterating global reduction 3 with 6 rules applied. Total rules applied 183 place count 61 transition count 116
Ensure Unique test removed 3 transitions
Reduce isomorphic transitions removed 3 transitions.
Iterating post reduction 3 with 3 rules applied. Total rules applied 186 place count 61 transition count 113
Performed 2 Post agglomeration using F-continuation condition.Transition count delta: 2
Deduced a syphon composed of 2 places in 0 ms
Reduce places removed 2 places and 0 transitions.
Iterating global reduction 4 with 4 rules applied. Total rules applied 190 place count 59 transition count 111
Performed 5 Post agglomeration using F-continuation condition.Transition count delta: -42
Deduced a syphon composed of 5 places in 0 ms
Reduce places removed 5 places and 0 transitions.
Iterating global reduction 4 with 10 rules applied. Total rules applied 200 place count 54 transition count 153
Drop transitions removed 1 transitions
Redundant transition composition rules discarded 1 transitions
Iterating global reduction 4 with 1 rules applied. Total rules applied 201 place count 54 transition count 152
Free-agglomeration rule applied 2 times.
Iterating global reduction 4 with 2 rules applied. Total rules applied 203 place count 54 transition count 150
Reduce places removed 2 places and 0 transitions.
Iterating post reduction 4 with 2 rules applied. Total rules applied 205 place count 52 transition count 150
Drop transitions removed 2 transitions
Redundant transition composition rules discarded 2 transitions
Iterating global reduction 5 with 2 rules applied. Total rules applied 207 place count 52 transition count 148
Partial Free-agglomeration rule applied 19 times.
Drop transitions removed 19 transitions
Iterating global reduction 5 with 19 rules applied. Total rules applied 226 place count 52 transition count 148
Applied a total of 226 rules in 110 ms. Remains 52 /160 variables (removed 108) and now considering 148/312 (removed 164) transitions.
Finished structural reductions, in 1 iterations. Remains : 52/160 places, 148/312 transitions.
Incomplete random walk after 1000000 steps, including 77944 resets, run finished after 5635 ms. (steps per millisecond=177 ) properties (out of 5) seen :4
FORMULA HealthRecord-PT-12-ReachabilityCardinality-14 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA HealthRecord-PT-12-ReachabilityCardinality-11 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA HealthRecord-PT-12-ReachabilityCardinality-10 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA HealthRecord-PT-12-ReachabilityCardinality-03 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
Incomplete Best-First random walk after 1000001 steps, including 13453 resets, run finished after 837 ms. (steps per millisecond=1194 ) properties (out of 1) seen :0
Running SMT prover for 1 properties.
[2022-06-02 16:25:46] [INFO ] Flow matrix only has 128 transitions (discarded 20 similar events)
// Phase 1: matrix 128 rows 52 cols
[2022-06-02 16:25:46] [INFO ] Computed 11 place invariants in 5 ms
[2022-06-02 16:25:46] [INFO ] After 52ms SMT Verify possible using all constraints in real domain returned unsat :0 sat :0 real:1
[2022-06-02 16:25:46] [INFO ] [Nat]Absence check using 3 positive place invariants in 3 ms returned sat
[2022-06-02 16:25:46] [INFO ] [Nat]Absence check using 3 positive and 8 generalized place invariants in 4 ms returned sat
[2022-06-02 16:25:46] [INFO ] After 60ms SMT Verify possible using state equation in natural domain returned unsat :0 sat :1
[2022-06-02 16:25:46] [INFO ] State equation strengthened by 27 read => feed constraints.
[2022-06-02 16:25:46] [INFO ] After 13ms SMT Verify possible using 27 Read/Feed constraints in natural domain returned unsat :0 sat :1
[2022-06-02 16:25:46] [INFO ] After 30ms SMT Verify possible using trap constraints in natural domain returned unsat :0 sat :1
Attempting to minimize the solution found.
Minimization took 10 ms.
[2022-06-02 16:25:46] [INFO ] After 141ms SMT Verify possible using all constraints in natural domain returned unsat :0 sat :1
Parikh walk visited 0 properties in 0 ms.
Support contains 6 out of 52 places. Attempting structural reductions.
Starting structural reductions in SAFETY mode, iteration 0 : 52/52 places, 148/148 transitions.
Graph (complete) has 304 edges and 52 vertex of which 50 are kept as prefixes of interest. Removing 2 places using SCC suffix rule.2 ms
Discarding 2 places :
Also discarding 0 output transitions
Discarding 1 places :
Symmetric choice reduction at 0 with 1 rule applications. Total rules 2 place count 49 transition count 146
Iterating global reduction 0 with 1 rules applied. Total rules applied 3 place count 49 transition count 146
Discarding 1 places :
Symmetric choice reduction at 0 with 1 rule applications. Total rules 4 place count 48 transition count 142
Iterating global reduction 0 with 1 rules applied. Total rules applied 5 place count 48 transition count 142
Discarding 1 places :
Symmetric choice reduction at 0 with 1 rule applications. Total rules 6 place count 47 transition count 140
Iterating global reduction 0 with 1 rules applied. Total rules applied 7 place count 47 transition count 140
Ensure Unique test removed 5 transitions
Reduce isomorphic transitions removed 5 transitions.
Iterating post reduction 0 with 5 rules applied. Total rules applied 12 place count 47 transition count 135
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 1 with 2 rules applied. Total rules applied 14 place count 46 transition count 134
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 1 with 2 rules applied. Total rules applied 16 place count 45 transition count 134
Discarding 1 places :
Symmetric choice reduction at 1 with 1 rule applications. Total rules 17 place count 44 transition count 128
Iterating global reduction 1 with 1 rules applied. Total rules applied 18 place count 44 transition count 128
Discarding 1 places :
Symmetric choice reduction at 1 with 1 rule applications. Total rules 19 place count 43 transition count 126
Iterating global reduction 1 with 1 rules applied. Total rules applied 20 place count 43 transition count 126
Ensure Unique test removed 5 transitions
Reduce isomorphic transitions removed 5 transitions.
Iterating post reduction 1 with 5 rules applied. Total rules applied 25 place count 43 transition count 121
Partial Free-agglomeration rule applied 1 times.
Drop transitions removed 1 transitions
Iterating global reduction 2 with 1 rules applied. Total rules applied 26 place count 43 transition count 121
Discarding 1 places :
Symmetric choice reduction at 2 with 1 rule applications. Total rules 27 place count 42 transition count 119
Iterating global reduction 2 with 1 rules applied. Total rules applied 28 place count 42 transition count 119
Applied a total of 28 rules in 32 ms. Remains 42 /52 variables (removed 10) and now considering 119/148 (removed 29) transitions.
Finished structural reductions, in 1 iterations. Remains : 42/52 places, 119/148 transitions.
Incomplete random walk after 1000000 steps, including 71627 resets, run finished after 2477 ms. (steps per millisecond=403 ) properties (out of 1) seen :0
Incomplete Best-First random walk after 1000001 steps, including 9033 resets, run finished after 778 ms. (steps per millisecond=1285 ) properties (out of 1) seen :0
Finished probabilistic random walk after 3150 steps, run visited all 1 properties in 19 ms. (steps per millisecond=165 )
Probabilistic random walk after 3150 steps, saw 953 distinct states, run finished after 20 ms. (steps per millisecond=157 ) properties seen :1
FORMULA HealthRecord-PT-12-ReachabilityCardinality-06 FALSE TECHNIQUES TOPOLOGICAL PROBABILISTIC_WALK
All properties solved without resorting to model-checking.
Total runtime 16118 ms.

BK_STOP 1654187149845

--------------------
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-12"
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-12, 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-165264477300166"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

tar xzf /home/mcc/BenchKit/INPUTS/HealthRecord-PT-12.tgz
mv HealthRecord-PT-12 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 ;