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

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

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
210.836 8697.00 16354.00 116.20 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 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-165264477200093.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-03, examination is UpperBounds
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r114-smll-165264477200093
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 256K
-rw-r--r-- 1 mcc users 7.2K Apr 30 11:06 CTLCardinality.txt
-rw-r--r-- 1 mcc users 84K Apr 30 11:06 CTLCardinality.xml
-rw-r--r-- 1 mcc users 3.9K Apr 30 11:05 CTLFireability.txt
-rw-r--r-- 1 mcc users 30K Apr 30 11:05 CTLFireability.xml
-rw-r--r-- 1 mcc users 3.5K May 9 07:58 LTLCardinality.txt
-rw-r--r-- 1 mcc users 26K May 9 07:58 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.2K May 9 07:58 LTLFireability.txt
-rw-r--r-- 1 mcc users 18K May 9 07:58 LTLFireability.xml
-rw-r--r-- 1 mcc users 1.6K May 9 07:58 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.7K May 9 07:58 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 49K 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 positive values
NUM_VECTOR

here is the order used to build the result vector(from text file)
FORMULA_NAME HealthRecord-PT-03-UpperBounds-00
FORMULA_NAME HealthRecord-PT-03-UpperBounds-01
FORMULA_NAME HealthRecord-PT-03-UpperBounds-02
FORMULA_NAME HealthRecord-PT-03-UpperBounds-03
FORMULA_NAME HealthRecord-PT-03-UpperBounds-04
FORMULA_NAME HealthRecord-PT-03-UpperBounds-05
FORMULA_NAME HealthRecord-PT-03-UpperBounds-06
FORMULA_NAME HealthRecord-PT-03-UpperBounds-07
FORMULA_NAME HealthRecord-PT-03-UpperBounds-08
FORMULA_NAME HealthRecord-PT-03-UpperBounds-09
FORMULA_NAME HealthRecord-PT-03-UpperBounds-10
FORMULA_NAME HealthRecord-PT-03-UpperBounds-11
FORMULA_NAME HealthRecord-PT-03-UpperBounds-12
FORMULA_NAME HealthRecord-PT-03-UpperBounds-13
FORMULA_NAME HealthRecord-PT-03-UpperBounds-14
FORMULA_NAME HealthRecord-PT-03-UpperBounds-15

=== Now, execution of the tool begins

BK_START 1652692676086

Running Version 202205111006
[2022-05-16 09:17:57] [INFO ] Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, UpperBounds, -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-05-16 09:17:58] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2022-05-16 09:17:58] [INFO ] Load time of PNML (sax parser for PT used): 137 ms
[2022-05-16 09:17:58] [INFO ] Transformed 121 places.
[2022-05-16 09:17:58] [INFO ] Transformed 232 transitions.
[2022-05-16 09:17:58] [INFO ] Found NUPN structural information;
[2022-05-16 09:17:58] [INFO ] Parsed PT model containing 121 places and 232 transitions in 317 ms.
Parsed 16 properties from file /home/mcc/execution/UpperBounds.xml in 11 ms.
Ensure Unique test removed 7 transitions
Reduce redundant transitions removed 7 transitions.
FORMULA HealthRecord-PT-03-UpperBounds-01 1 TECHNIQUES TOPOLOGICAL INITIAL_STATE
Normalized transition count is 217 out of 225 initially.
// Phase 1: matrix 217 rows 121 cols
[2022-05-16 09:17:58] [INFO ] Computed 14 place invariants in 15 ms
Incomplete random walk after 10000 steps, including 672 resets, run finished after 42 ms. (steps per millisecond=238 ) properties (out of 15) seen :7
FORMULA HealthRecord-PT-03-UpperBounds-15 1 TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA HealthRecord-PT-03-UpperBounds-11 1 TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA HealthRecord-PT-03-UpperBounds-10 1 TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA HealthRecord-PT-03-UpperBounds-06 1 TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA HealthRecord-PT-03-UpperBounds-03 1 TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA HealthRecord-PT-03-UpperBounds-02 1 TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA HealthRecord-PT-03-UpperBounds-00 1 TECHNIQUES TOPOLOGICAL RANDOM_WALK
Incomplete Best-First random walk after 10001 steps, including 100 resets, run finished after 15 ms. (steps per millisecond=666 ) properties (out of 8) seen :0
Incomplete Best-First random walk after 10001 steps, including 100 resets, run finished after 27 ms. (steps per millisecond=370 ) properties (out of 8) seen :0
Incomplete Best-First random walk after 10000 steps, including 107 resets, run finished after 12 ms. (steps per millisecond=833 ) properties (out of 8) seen :2
FORMULA HealthRecord-PT-03-UpperBounds-13 1 TECHNIQUES TOPOLOGICAL BESTFIRST_WALK
FORMULA HealthRecord-PT-03-UpperBounds-09 1 TECHNIQUES TOPOLOGICAL BESTFIRST_WALK
Incomplete Best-First random walk after 10001 steps, including 97 resets, run finished after 11 ms. (steps per millisecond=909 ) properties (out of 6) seen :1
FORMULA HealthRecord-PT-03-UpperBounds-08 1 TECHNIQUES TOPOLOGICAL BESTFIRST_WALK
Incomplete Best-First random walk after 10001 steps, including 105 resets, run finished after 12 ms. (steps per millisecond=833 ) properties (out of 5) seen :0
[2022-05-16 09:17:58] [INFO ] Flow matrix only has 217 transitions (discarded 8 similar events)
// Phase 1: matrix 217 rows 121 cols
[2022-05-16 09:17:58] [INFO ] Computed 14 place invariants in 15 ms
[2022-05-16 09:17:58] [INFO ] [Real]Absence check using 8 positive place invariants in 12 ms returned sat
[2022-05-16 09:17:58] [INFO ] [Real]Absence check using 8 positive and 6 generalized place invariants in 6 ms returned sat
[2022-05-16 09:17:58] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2022-05-16 09:17:58] [INFO ] [Real]Absence check using state equation in 105 ms returned sat
[2022-05-16 09:17:58] [INFO ] Solution in real domain found non-integer solution.
[2022-05-16 09:17:59] [INFO ] [Nat]Absence check using 8 positive place invariants in 8 ms returned sat
[2022-05-16 09:17:59] [INFO ] [Nat]Absence check using 8 positive and 6 generalized place invariants in 20 ms returned sat
[2022-05-16 09:17:59] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2022-05-16 09:17:59] [INFO ] [Nat]Absence check using state equation in 157 ms returned sat
[2022-05-16 09:17:59] [INFO ] State equation strengthened by 1 read => feed constraints.
[2022-05-16 09:17:59] [INFO ] [Nat]Added 1 Read/Feed constraints in 3 ms returned sat
[2022-05-16 09:17:59] [INFO ] Computed and/alt/rep : 170/183/170 causal constraints (skipped 46 transitions) in 79 ms.
[2022-05-16 09:17:59] [INFO ] Added : 6 causal constraints over 2 iterations in 193 ms. Result :sat
Minimization took 50 ms.
[2022-05-16 09:17:59] [INFO ] [Real]Absence check using 8 positive place invariants in 7 ms returned sat
[2022-05-16 09:17:59] [INFO ] [Real]Absence check using 8 positive and 6 generalized place invariants in 4 ms returned sat
[2022-05-16 09:17:59] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2022-05-16 09:18:00] [INFO ] [Real]Absence check using state equation in 330 ms returned sat
[2022-05-16 09:18:00] [INFO ] Solution in real domain found non-integer solution.
[2022-05-16 09:18:00] [INFO ] [Nat]Absence check using 8 positive place invariants in 12 ms returned sat
[2022-05-16 09:18:00] [INFO ] [Nat]Absence check using 8 positive and 6 generalized place invariants in 7 ms returned sat
[2022-05-16 09:18:00] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2022-05-16 09:18:00] [INFO ] [Nat]Absence check using state equation in 142 ms returned sat
[2022-05-16 09:18:00] [INFO ] [Nat]Added 1 Read/Feed constraints in 2 ms returned sat
[2022-05-16 09:18:00] [INFO ] Computed and/alt/rep : 170/183/170 causal constraints (skipped 46 transitions) in 43 ms.
[2022-05-16 09:18:00] [INFO ] Added : 20 causal constraints over 4 iterations in 180 ms. Result :sat
Minimization took 39 ms.
[2022-05-16 09:18:00] [INFO ] [Real]Absence check using 8 positive place invariants in 10 ms returned sat
[2022-05-16 09:18:00] [INFO ] [Real]Absence check using 8 positive and 6 generalized place invariants in 4 ms returned sat
[2022-05-16 09:18:00] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2022-05-16 09:18:00] [INFO ] [Real]Absence check using state equation in 118 ms returned sat
[2022-05-16 09:18:00] [INFO ] Solution in real domain found non-integer solution.
[2022-05-16 09:18:00] [INFO ] [Nat]Absence check using 8 positive place invariants in 10 ms returned sat
[2022-05-16 09:18:00] [INFO ] [Nat]Absence check using 8 positive and 6 generalized place invariants in 5 ms returned sat
[2022-05-16 09:18:00] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2022-05-16 09:18:00] [INFO ] [Nat]Absence check using state equation in 106 ms returned sat
[2022-05-16 09:18:00] [INFO ] [Nat]Added 1 Read/Feed constraints in 2 ms returned sat
[2022-05-16 09:18:01] [INFO ] Deduced a trap composed of 34 places in 115 ms of which 7 ms to minimize.
[2022-05-16 09:18:01] [INFO ] Trap strengthening (SAT) tested/added 2/1 trap constraints in 151 ms
[2022-05-16 09:18:01] [INFO ] Computed and/alt/rep : 170/183/170 causal constraints (skipped 46 transitions) in 50 ms.
[2022-05-16 09:18:01] [INFO ] Added : 7 causal constraints over 2 iterations in 129 ms. Result :sat
Minimization took 36 ms.
[2022-05-16 09:18:01] [INFO ] [Real]Absence check using 8 positive place invariants in 11 ms returned sat
[2022-05-16 09:18:01] [INFO ] [Real]Absence check using 8 positive and 6 generalized place invariants in 6 ms returned sat
[2022-05-16 09:18:01] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2022-05-16 09:18:01] [INFO ] [Real]Absence check using state equation in 121 ms returned sat
[2022-05-16 09:18:01] [INFO ] Solution in real domain found non-integer solution.
[2022-05-16 09:18:01] [INFO ] [Nat]Absence check using 8 positive place invariants in 16 ms returned sat
[2022-05-16 09:18:01] [INFO ] [Nat]Absence check using 8 positive and 6 generalized place invariants in 8 ms returned sat
[2022-05-16 09:18:01] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2022-05-16 09:18:01] [INFO ] [Nat]Absence check using state equation in 92 ms returned sat
[2022-05-16 09:18:01] [INFO ] [Nat]Added 1 Read/Feed constraints in 9 ms returned sat
[2022-05-16 09:18:01] [INFO ] Deduced a trap composed of 45 places in 137 ms of which 1 ms to minimize.
[2022-05-16 09:18:02] [INFO ] Deduced a trap composed of 32 places in 65 ms of which 1 ms to minimize.
[2022-05-16 09:18:02] [INFO ] Trap strengthening (SAT) tested/added 3/2 trap constraints in 259 ms
[2022-05-16 09:18:02] [INFO ] Computed and/alt/rep : 170/183/170 causal constraints (skipped 46 transitions) in 22 ms.
[2022-05-16 09:18:02] [INFO ] Added : 5 causal constraints over 1 iterations in 75 ms. Result :sat
Minimization took 23 ms.
[2022-05-16 09:18:02] [INFO ] [Real]Absence check using 8 positive place invariants in 7 ms returned sat
[2022-05-16 09:18:02] [INFO ] [Real]Absence check using 8 positive and 6 generalized place invariants in 4 ms returned sat
[2022-05-16 09:18:02] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2022-05-16 09:18:02] [INFO ] [Real]Absence check using state equation in 77 ms returned sat
[2022-05-16 09:18:02] [INFO ] Solution in real domain found non-integer solution.
[2022-05-16 09:18:02] [INFO ] [Nat]Absence check using 8 positive place invariants in 7 ms returned sat
[2022-05-16 09:18:02] [INFO ] [Nat]Absence check using 8 positive and 6 generalized place invariants in 4 ms returned sat
[2022-05-16 09:18:02] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2022-05-16 09:18:02] [INFO ] [Nat]Absence check using state equation in 76 ms returned sat
[2022-05-16 09:18:02] [INFO ] [Nat]Added 1 Read/Feed constraints in 2 ms returned sat
[2022-05-16 09:18:02] [INFO ] Computed and/alt/rep : 170/183/170 causal constraints (skipped 46 transitions) in 22 ms.
[2022-05-16 09:18:02] [INFO ] Added : 8 causal constraints over 2 iterations in 80 ms. Result :sat
Minimization took 25 ms.
Current structural bounds on expressions (after SMT) : [1, 1, 1, 1, 1] Max seen :[0, 0, 0, 0, 0]
FORMULA HealthRecord-PT-03-UpperBounds-14 1 TECHNIQUES TOPOLOGICAL PARIKH_WALK
FORMULA HealthRecord-PT-03-UpperBounds-12 1 TECHNIQUES TOPOLOGICAL PARIKH_WALK
FORMULA HealthRecord-PT-03-UpperBounds-04 1 TECHNIQUES TOPOLOGICAL PARIKH_WALK
Support contains 2 out of 121 places. Attempting structural reductions.
Starting structural reductions in SAFETY mode, iteration 0 : 121/121 places, 225/225 transitions.
Graph (trivial) has 174 edges and 121 vertex of which 8 / 121 are part of one of the 4 SCC in 5 ms
Free SCC test removed 4 places
Drop transitions removed 17 transitions
Reduce isomorphic transitions removed 17 transitions.
Graph (complete) has 431 edges and 117 vertex of which 109 are kept as prefixes of interest. Removing 8 places using SCC suffix rule.3 ms
Discarding 8 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 109 transition count 204
Reduce places removed 4 places and 0 transitions.
Ensure Unique test removed 4 transitions
Reduce isomorphic transitions removed 4 transitions.
Drop transitions removed 2 transitions
Trivial Post-agglo rules discarded 2 transitions
Performed 2 trivial Post agglomeration. Transition count delta: 2
Iterating post reduction 1 with 10 rules applied. Total rules applied 16 place count 105 transition count 198
Reduce places removed 2 places and 0 transitions.
Ensure Unique test removed 1 transitions
Reduce isomorphic transitions removed 1 transitions.
Iterating post reduction 2 with 3 rules applied. Total rules applied 19 place count 103 transition count 197
Performed 2 Pre agglomeration using Quasi-Persistent + Divergent Free condition..
Pre-agglomeration after 3 with 2 Pre rules applied. Total rules applied 19 place count 103 transition count 195
Deduced a syphon composed of 2 places in 1 ms
Ensure Unique test removed 1 places
Reduce places removed 3 places and 0 transitions.
Iterating global reduction 3 with 5 rules applied. Total rules applied 24 place count 100 transition count 195
Discarding 51 places :
Symmetric choice reduction at 3 with 51 rule applications. Total rules 75 place count 49 transition count 93
Iterating global reduction 3 with 51 rules applied. Total rules applied 126 place count 49 transition count 93
Discarding 9 places :
Symmetric choice reduction at 3 with 9 rule applications. Total rules 135 place count 40 transition count 75
Iterating global reduction 3 with 9 rules applied. Total rules applied 144 place count 40 transition count 75
Ensure Unique test removed 3 transitions
Reduce isomorphic transitions removed 3 transitions.
Iterating post reduction 3 with 3 rules applied. Total rules applied 147 place count 40 transition count 72
Discarding 3 places :
Symmetric choice reduction at 4 with 3 rule applications. Total rules 150 place count 37 transition count 63
Iterating global reduction 4 with 3 rules applied. Total rules applied 153 place count 37 transition count 63
Discarding 3 places :
Symmetric choice reduction at 4 with 3 rule applications. Total rules 156 place count 34 transition count 57
Iterating global reduction 4 with 3 rules applied. Total rules applied 159 place count 34 transition count 57
Ensure Unique test removed 3 transitions
Reduce isomorphic transitions removed 3 transitions.
Iterating post reduction 4 with 3 rules applied. Total rules applied 162 place count 34 transition count 54
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 5 with 2 rules applied. Total rules applied 164 place count 33 transition count 53
Performed 5 Post agglomeration using F-continuation condition.Transition count delta: -26
Deduced a syphon composed of 5 places in 0 ms
Reduce places removed 5 places and 0 transitions.
Iterating global reduction 5 with 10 rules applied. Total rules applied 174 place count 28 transition count 79
Partial Free-agglomeration rule applied 12 times.
Drop transitions removed 12 transitions
Iterating global reduction 5 with 12 rules applied. Total rules applied 186 place count 28 transition count 79
Applied a total of 186 rules in 69 ms. Remains 28 /121 variables (removed 93) and now considering 79/225 (removed 146) transitions.
[2022-05-16 09:18:02] [INFO ] Flow matrix only has 72 transitions (discarded 7 similar events)
// Phase 1: matrix 72 rows 28 cols
[2022-05-16 09:18:02] [INFO ] Computed 5 place invariants in 5 ms
[2022-05-16 09:18:02] [INFO ] Dead Transitions using invariants and state equation in 75 ms found 0 transitions.
Finished structural reductions, in 1 iterations. Remains : 28/121 places, 79/225 transitions.
Normalized transition count is 72 out of 79 initially.
// Phase 1: matrix 72 rows 28 cols
[2022-05-16 09:18:02] [INFO ] Computed 5 place invariants in 1 ms
Incomplete random walk after 1000000 steps, including 187013 resets, run finished after 1795 ms. (steps per millisecond=557 ) properties (out of 2) seen :2
FORMULA HealthRecord-PT-03-UpperBounds-07 1 TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA HealthRecord-PT-03-UpperBounds-05 1 TECHNIQUES TOPOLOGICAL RANDOM_WALK
All properties solved without resorting to model-checking.
Total runtime 6659 ms.

BK_STOP 1652692684783

--------------------
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
+ [[ UpperBounds = StateSpace ]]
+ /home/mcc/BenchKit/bin//..//runeclipse.sh /home/mcc/execution UpperBounds -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 UpperBounds -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-03"
export BK_EXAMINATION="UpperBounds"
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-03, examination is UpperBounds"
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-165264477200093"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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