fond
Model Checking Contest 2024
14th edition, Geneva, Switzerland, June 25, 2024
Execution of r180-tall-171640604100751
Last Updated
July 7, 2024

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

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
353.907 6569.00 19405.00 55.70 TTFTTFTTTTFTTTFF normal

Execution Chart

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

Trace from the execution

Formatting '/data/fkordon/mcc2024-input.r180-tall-171640604100751.qcow2', fmt=qcow2 size=4294967296 backing_file=/data/fkordon/mcc2024-input.qcow2 backing_fmt=qcow2 cluster_size=65536 lazy_refcounts=off refcount_bits=16
Waiting for the VM to be ready (probing ssh)
.................
=====================================================================
Generated by BenchKit 2-5568
Executing tool itstools
Input is HealthRecord-PT-07, examination is ReachabilityFireability
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r180-tall-171640604100751
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 544K
-rw-r--r-- 1 mcc users 7.1K May 14 13:22 CTLCardinality.txt
-rw-r--r-- 1 mcc users 81K May 14 13:22 CTLCardinality.xml
-rw-r--r-- 1 mcc users 6.5K May 14 13:22 CTLFireability.txt
-rw-r--r-- 1 mcc users 65K May 14 13:22 CTLFireability.xml
-rw-r--r-- 1 mcc users 3.5K Apr 22 14:48 LTLCardinality.txt
-rw-r--r-- 1 mcc users 25K Apr 22 14:48 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.2K Apr 22 14:48 LTLFireability.txt
-rw-r--r-- 1 mcc users 16K Apr 22 14:48 LTLFireability.xml
-rw-r--r-- 1 mcc users 14K Apr 12 20:17 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 149K Apr 12 20:17 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 7.1K Apr 12 20:15 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 59K Apr 12 20:15 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.6K Apr 22 14:48 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.7K Apr 22 14:48 UpperBounds.xml
-rw-r--r-- 1 mcc users 6 May 18 16:42 equiv_col
-rw-r--r-- 1 mcc users 3 May 18 16:42 instance
-rw-r--r-- 1 mcc users 6 May 18 16:42 iscolored
-rw-r--r-- 1 mcc users 67K May 18 16:42 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-07-ReachabilityFireability-2024-00
FORMULA_NAME HealthRecord-PT-07-ReachabilityFireability-2024-01
FORMULA_NAME HealthRecord-PT-07-ReachabilityFireability-2024-02
FORMULA_NAME HealthRecord-PT-07-ReachabilityFireability-2024-03
FORMULA_NAME HealthRecord-PT-07-ReachabilityFireability-2024-04
FORMULA_NAME HealthRecord-PT-07-ReachabilityFireability-2024-05
FORMULA_NAME HealthRecord-PT-07-ReachabilityFireability-2024-06
FORMULA_NAME HealthRecord-PT-07-ReachabilityFireability-2024-07
FORMULA_NAME HealthRecord-PT-07-ReachabilityFireability-2024-08
FORMULA_NAME HealthRecord-PT-07-ReachabilityFireability-2024-09
FORMULA_NAME HealthRecord-PT-07-ReachabilityFireability-2024-10
FORMULA_NAME HealthRecord-PT-07-ReachabilityFireability-2024-11
FORMULA_NAME HealthRecord-PT-07-ReachabilityFireability-2024-12
FORMULA_NAME HealthRecord-PT-07-ReachabilityFireability-2024-13
FORMULA_NAME HealthRecord-PT-07-ReachabilityFireability-2024-14
FORMULA_NAME HealthRecord-PT-07-ReachabilityFireability-2024-15

=== Now, execution of the tool begins

BK_START 1716519842125

Invoking MCC driver with
BK_TOOL=itstools
BK_EXAMINATION=ReachabilityFireability
BK_BIN_PATH=/home/mcc/BenchKit/bin/
BK_TIME_CONFINEMENT=3600
BK_INPUT=HealthRecord-PT-07
BK_MEMORY_CONFINEMENT=16384
Not applying reductions.
Model is PT
ReachabilityFireability PT
Running Version 202405141337
[2024-05-24 03:04:03] [INFO ] Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, ReachabilityFireability, -its, -ltsmin, -greatspnpath, /home/mcc/BenchKit/bin//../itstools/bin//..//greatspn/, -order, META, -manyOrder, -smt, -timeout, 3600]
[2024-05-24 03:04:03] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2024-05-24 03:04:03] [INFO ] Load time of PNML (sax parser for PT used): 77 ms
[2024-05-24 03:04:03] [INFO ] Transformed 155 places.
[2024-05-24 03:04:03] [INFO ] Transformed 320 transitions.
[2024-05-24 03:04:03] [INFO ] Found NUPN structural information;
[2024-05-24 03:04:03] [INFO ] Parsed PT model containing 155 places and 320 transitions and 839 arcs in 177 ms.
Parsed 16 properties from file /home/mcc/execution/ReachabilityFireability.xml in 13 ms.
Working with output stream class java.io.PrintStream
Ensure Unique test removed 25 transitions
Reduce redundant transitions removed 25 transitions.
[2024-05-24 03:04:03] [INFO ] Flatten gal took : 94 ms
[2024-05-24 03:04:04] [INFO ] Flatten gal took : 50 ms
[2024-05-24 03:04:04] [INFO ] Time to serialize gal into /tmp/ReachabilityCardinality6242902846283020097.gal : 16 ms
[2024-05-24 03:04:04] [INFO ] Time to serialize properties into /tmp/ReachabilityCardinality11588484746415189297.prop : 8 ms
Invoking ITS tools like this :cd /home/mcc/execution;'/home/mcc/BenchKit/itstools/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202405141337/bin/its-reach-linux64' '--gc-threshold' '2000000' '--quiet' '-i' '/tmp/ReachabilityCardinality6242902846283020097.gal' '-t' 'CGAL' '-reachable-file' '/tmp/ReachabilityCardinality11588484746415189297.prop' '--nowitness' '--gen-order' 'FOLLOW'

its-reach command run as :

/home/mcc/BenchKit/itstools/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202405141337/bin/its-reach-linux64 --gc-threshold 2000000 --quiet ...329
Loading property file /tmp/ReachabilityCardinality11588484746415189297.prop.
RANDOM walk for 40000 steps (2142 resets) in 1916 ms. (20 steps per ms) remains 11/16 properties
FORMULA HealthRecord-PT-07-ReachabilityFireability-2024-12 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA HealthRecord-PT-07-ReachabilityFireability-2024-08 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA HealthRecord-PT-07-ReachabilityFireability-2024-06 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA HealthRecord-PT-07-ReachabilityFireability-2024-03 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA HealthRecord-PT-07-ReachabilityFireability-2024-00 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
BEST_FIRST walk for 40004 steps (327 resets) in 174 ms. (228 steps per ms) remains 10/11 properties
FORMULA HealthRecord-PT-07-ReachabilityFireability-2024-15 FALSE TECHNIQUES TOPOLOGICAL BESTFIRST_WALK
SDD proceeding with computation,16 properties remain. new max is 4
SDD size :1 after 4
SDD proceeding with computation,16 properties remain. new max is 8
SDD size :4 after 17
SDD proceeding with computation,16 properties remain. new max is 16
SDD size :17 after 193
SDD proceeding with computation,16 properties remain. new max is 32
SDD size :193 after 2305
BEST_FIRST walk for 40003 steps (224 resets) in 345 ms. (115 steps per ms) remains 10/10 properties
BEST_FIRST walk for 40002 steps (321 resets) in 88 ms. (449 steps per ms) remains 10/10 properties
SDD proceeding with computation,16 properties remain. new max is 64
SDD size :2305 after 20737
BEST_FIRST walk for 40004 steps (316 resets) in 82 ms. (481 steps per ms) remains 10/10 properties
BEST_FIRST walk for 40002 steps (312 resets) in 129 ms. (307 steps per ms) remains 10/10 properties
BEST_FIRST walk for 40003 steps (575 resets) in 130 ms. (305 steps per ms) remains 10/10 properties
SDD proceeding with computation,16 properties remain. new max is 128
SDD size :20737 after 25345
SDD proceeding with computation,16 properties remain. new max is 256
SDD size :25345 after 34561
BEST_FIRST walk for 40003 steps (224 resets) in 129 ms. (307 steps per ms) remains 10/10 properties
BEST_FIRST walk for 40004 steps (477 resets) in 255 ms. (156 steps per ms) remains 10/10 properties
BEST_FIRST walk for 40004 steps (225 resets) in 124 ms. (320 steps per ms) remains 10/10 properties
BEST_FIRST walk for 40002 steps (299 resets) in 75 ms. (526 steps per ms) remains 10/10 properties
[2024-05-24 03:04:04] [INFO ] Flow matrix only has 283 transitions (discarded 12 similar events)
// Phase 1: matrix 283 rows 155 cols
[2024-05-24 03:04:04] [INFO ] Computed 18 invariants in 26 ms
[2024-05-24 03:04:04] [INFO ] State equation strengthened by 1 read => feed constraints.
Reachability property HealthRecord-PT-07-ReachabilityFireability-2024-12 is true.
All remaining problems are real, not stopping.
At refinement iteration 0 (INCLUDED_ONLY) 0/95 variables, 95/95 constraints. Problems are: Problem set: 0 solved, 10 unsolved
At refinement iteration 1 (INCLUDED_ONLY) 0/95 variables, 0/95 constraints. Problems are: Problem set: 0 solved, 10 unsolved
At refinement iteration 2 (OVERLAPS) 30/125 variables, 10/105 constraints. Problems are: Problem set: 0 solved, 10 unsolved
At refinement iteration 3 (INCLUDED_ONLY) 0/125 variables, 30/135 constraints. Problems are: Problem set: 0 solved, 10 unsolved
At refinement iteration 4 (INCLUDED_ONLY) 0/125 variables, 1/136 constraints. Problems are: Problem set: 0 solved, 10 unsolved
At refinement iteration 5 (INCLUDED_ONLY) 0/125 variables, 0/136 constraints. Problems are: Problem set: 0 solved, 10 unsolved
Problem HealthRecord-PT-07-ReachabilityFireability-2024-02 is UNSAT
FORMULA HealthRecord-PT-07-ReachabilityFireability-2024-02 FALSE TECHNIQUES SMT_REFINEMENT
At refinement iteration 6 (OVERLAPS) 30/155 variables, 7/143 constraints. Problems are: Problem set: 1 solved, 9 unsolved
At refinement iteration 7 (INCLUDED_ONLY) 0/155 variables, 30/173 constraints. Problems are: Problem set: 1 solved, 9 unsolved
At refinement iteration 8 (INCLUDED_ONLY) 0/155 variables, 0/173 constraints. Problems are: Problem set: 1 solved, 9 unsolved
Problem HealthRecord-PT-07-ReachabilityFireability-2024-10 is UNSAT
FORMULA HealthRecord-PT-07-ReachabilityFireability-2024-10 FALSE TECHNIQUES SMT_REFINEMENT
Problem HealthRecord-PT-07-ReachabilityFireability-2024-14 is UNSAT
FORMULA HealthRecord-PT-07-ReachabilityFireability-2024-14 FALSE TECHNIQUES SMT_REFINEMENT
At refinement iteration 9 (OVERLAPS) 282/437 variables, 155/328 constraints. Problems are: Problem set: 3 solved, 7 unsolved
At refinement iteration 10 (INCLUDED_ONLY) 0/437 variables, 0/328 constraints. Problems are: Problem set: 3 solved, 7 unsolved
At refinement iteration 11 (OVERLAPS) 1/438 variables, 1/329 constraints. Problems are: Problem set: 3 solved, 7 unsolved
At refinement iteration 12 (INCLUDED_ONLY) 0/438 variables, 0/329 constraints. Problems are: Problem set: 3 solved, 7 unsolved
At refinement iteration 13 (OVERLAPS) 0/438 variables, 0/329 constraints. Problems are: Problem set: 3 solved, 7 unsolved
No progress, stopping.
After SMT solving in domain Real declared 438/438 variables, and 329 constraints, problems are : Problem set: 3 solved, 7 unsolved in 815 ms.
Refiners :[Domain max(s): 155/155 constraints, Positive P Invariants (semi-flows): 10/10 constraints, Generalized P Invariants (flows): 8/8 constraints, State Equation: 155/155 constraints, ReadFeed: 1/1 constraints, PredecessorRefiner: 10/10 constraints, Known Traps: 0/0 constraints]
Escalating to Integer solving :Problem set: 3 solved, 7 unsolved
At refinement iteration 0 (INCLUDED_ONLY) 0/55 variables, 55/55 constraints. Problems are: Problem set: 3 solved, 7 unsolved
At refinement iteration 1 (INCLUDED_ONLY) 0/55 variables, 0/55 constraints. Problems are: Problem set: 3 solved, 7 unsolved
Problem HealthRecord-PT-07-ReachabilityFireability-2024-11 is UNSAT
FORMULA HealthRecord-PT-07-ReachabilityFireability-2024-11 TRUE TECHNIQUES SMT_REFINEMENT
At refinement iteration 2 (OVERLAPS) 51/106 variables, 10/65 constraints. Problems are: Problem set: 4 solved, 6 unsolved
At refinement iteration 3 (INCLUDED_ONLY) 0/106 variables, 51/116 constraints. Problems are: Problem set: 4 solved, 6 unsolved
[2024-05-24 03:04:06] [INFO ] Deduced a trap composed of 40 places in 68 ms of which 11 ms to minimize.
[2024-05-24 03:04:06] [INFO ] Deduced a trap composed of 41 places in 61 ms of which 1 ms to minimize.
[2024-05-24 03:04:06] [INFO ] Deduced a trap composed of 40 places in 61 ms of which 1 ms to minimize.
[2024-05-24 03:04:06] [INFO ] Deduced a trap composed of 40 places in 59 ms of which 1 ms to minimize.
[2024-05-24 03:04:06] [INFO ] Deduced a trap composed of 22 places in 52 ms of which 1 ms to minimize.
At refinement iteration 4 (INCLUDED_ONLY) 0/106 variables, 5/121 constraints. Problems are: Problem set: 4 solved, 6 unsolved
At refinement iteration 5 (INCLUDED_ONLY) 0/106 variables, 0/121 constraints. Problems are: Problem set: 4 solved, 6 unsolved
At refinement iteration 6 (OVERLAPS) 49/155 variables, 8/129 constraints. Problems are: Problem set: 4 solved, 6 unsolved
At refinement iteration 7 (INCLUDED_ONLY) 0/155 variables, 49/178 constraints. Problems are: Problem set: 4 solved, 6 unsolved
At refinement iteration 8 (INCLUDED_ONLY) 0/155 variables, 0/178 constraints. Problems are: Problem set: 4 solved, 6 unsolved
Reachability property HealthRecord-PT-07-ReachabilityFireability-2024-06 is true.
At refinement iteration 9 (OVERLAPS) 282/437 variables, 155/333 constraints. Problems are: Problem set: 4 solved, 6 unsolved
Reachability property HealthRecord-PT-07-ReachabilityFireability-2024-00 is true.
SDD proceeding with computation,13 properties remain. new max is 256
SDD size :34561 after 159745
At refinement iteration 10 (INCLUDED_ONLY) 0/437 variables, 6/339 constraints. Problems are: Problem set: 4 solved, 6 unsolved
At refinement iteration 11 (INCLUDED_ONLY) 0/437 variables, 0/339 constraints. Problems are: Problem set: 4 solved, 6 unsolved
At refinement iteration 12 (OVERLAPS) 1/438 variables, 1/340 constraints. Problems are: Problem set: 4 solved, 6 unsolved
At refinement iteration 13 (INCLUDED_ONLY) 0/438 variables, 0/340 constraints. Problems are: Problem set: 4 solved, 6 unsolved
At refinement iteration 14 (OVERLAPS) 0/438 variables, 0/340 constraints. Problems are: Problem set: 4 solved, 6 unsolved
No progress, stopping.
After SMT solving in domain Int declared 438/438 variables, and 340 constraints, problems are : Problem set: 4 solved, 6 unsolved in 1346 ms.
Refiners :[Domain max(s): 155/155 constraints, Positive P Invariants (semi-flows): 10/10 constraints, Generalized P Invariants (flows): 8/8 constraints, State Equation: 155/155 constraints, ReadFeed: 1/1 constraints, PredecessorRefiner: 6/10 constraints, Known Traps: 5/5 constraints]
After SMT, in 2423ms problems are : Problem set: 4 solved, 6 unsolved
Fused 6 Parikh solutions to 5 different solutions.
FORMULA HealthRecord-PT-07-ReachabilityFireability-2024-13 TRUE TECHNIQUES PARIKH_WALK
FORMULA HealthRecord-PT-07-ReachabilityFireability-2024-01 TRUE TECHNIQUES PARIKH_WALK
FORMULA HealthRecord-PT-07-ReachabilityFireability-2024-04 TRUE TECHNIQUES PARIKH_WALK
Parikh walk visited 3 properties in 531 ms.
Support contains 48 out of 155 places. Attempting structural reductions.
Starting structural reductions in REACHABILITY mode, iteration 0 : 155/155 places, 295/295 transitions.
Graph (trivial) has 56 edges and 155 vertex of which 8 / 155 are part of one of the 4 SCC in 2 ms
Free SCC test removed 4 places
Drop transitions (Empty/Sink Transition effects.) removed 21 transitions
Reduce isomorphic transitions removed 21 transitions.
Graph (complete) has 645 edges and 151 vertex of which 143 are kept as prefixes of interest. Removing 8 places using SCC suffix rule.1 ms
Discarding 8 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 143 transition count 273
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 142 transition count 272
Discarding 55 places :
Symmetric choice reduction at 2 with 55 rule applications. Total rules 60 place count 87 transition count 162
Iterating global reduction 2 with 55 rules applied. Total rules applied 115 place count 87 transition count 162
Discarding 4 places :
Symmetric choice reduction at 2 with 4 rule applications. Total rules 119 place count 83 transition count 154
Iterating global reduction 2 with 4 rules applied. Total rules applied 123 place count 83 transition count 154
Ensure Unique test removed 3 transitions
Reduce isomorphic transitions removed 3 transitions.
Iterating post reduction 2 with 3 rules applied. Total rules applied 126 place count 83 transition count 151
Drop transitions (Redundant composition of simpler transitions.) removed 3 transitions
Redundant transition composition rules discarded 3 transitions
Iterating global reduction 3 with 3 rules applied. Total rules applied 129 place count 83 transition count 148
Performed 3 Pre agglomeration using Quasi-Persistent + Divergent Free condition..
Pre-agglomeration after 3 with 3 Pre rules applied. Total rules applied 129 place count 83 transition count 145
Deduced a syphon composed of 3 places in 1 ms
Reduce places removed 3 places and 0 transitions.
Iterating global reduction 3 with 6 rules applied. Total rules applied 135 place count 80 transition count 145
Applied a total of 135 rules in 51 ms. Remains 80 /155 variables (removed 75) and now considering 145/295 (removed 150) transitions.
Finished structural reductions in REACHABILITY mode , in 1 iterations and 61 ms. Remains : 80/155 places, 145/295 transitions.
RANDOM walk for 40000 steps (3108 resets) in 533 ms. (74 steps per ms) remains 3/3 properties
BEST_FIRST walk for 40003 steps (513 resets) in 30 ms. (1290 steps per ms) remains 3/3 properties
BEST_FIRST walk for 40002 steps (533 resets) in 114 ms. (347 steps per ms) remains 3/3 properties
BEST_FIRST walk for 40003 steps (671 resets) in 84 ms. (470 steps per ms) remains 3/3 properties
SDD proceeding with computation,13 properties remain. new max is 512
SDD size :159745 after 175105
Finished probabilistic random walk after 244574 steps, run visited all 3 properties in 537 ms. (steps per millisecond=455 )
Probabilistic random walk after 244574 steps, saw 36962 distinct states, run finished after 546 ms. (steps per millisecond=447 ) properties seen :3
FORMULA HealthRecord-PT-07-ReachabilityFireability-2024-09 TRUE TECHNIQUES TOPOLOGICAL PROBABILISTIC_WALK
FORMULA HealthRecord-PT-07-ReachabilityFireability-2024-07 TRUE TECHNIQUES TOPOLOGICAL PROBABILISTIC_WALK
FORMULA HealthRecord-PT-07-ReachabilityFireability-2024-05 FALSE TECHNIQUES TOPOLOGICAL PROBABILISTIC_WALK
ITS runner timed out or was interrupted.
ITS tools runner thread asked to quit. Dying gracefully.
All properties solved without resorting to model-checking.
Total runtime 5324 ms.

BK_STOP 1716519848694

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

+ export BINDIR=/home/mcc/BenchKit/bin//../itstools/bin//../
+ BINDIR=/home/mcc/BenchKit/bin//../itstools/bin//../
++ pwd
+ export MODEL=/home/mcc/execution
+ MODEL=/home/mcc/execution
+ [[ ReachabilityFireability = StateSpace ]]
+ /home/mcc/BenchKit/bin//../itstools/bin//..//runeclipse.sh /home/mcc/execution ReachabilityFireability -its -ltsmin -greatspnpath /home/mcc/BenchKit/bin//../itstools/bin//..//greatspn/ -order META -manyOrder -smt -timeout 3600
+ 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//../itstools/bin//..//itstools/plugins/fr.lip6.move.gal.application.pnmcc_1.0.0.202405141337.jar
+ VERSION=202405141337
+ echo 'Running Version 202405141337'
+ /home/mcc/BenchKit/bin//../itstools/bin//..//itstools/its-tools -pnfolder /home/mcc/execution -examination ReachabilityFireability -its -ltsmin -greatspnpath /home/mcc/BenchKit/bin//../itstools/bin//..//greatspn/ -order META -manyOrder -smt -timeout 3600

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-07"
export BK_EXAMINATION="ReachabilityFireability"
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-5568"
echo " Executing tool itstools"
echo " Input is HealthRecord-PT-07, examination is ReachabilityFireability"
echo " Time confinement is $BK_TIME_CONFINEMENT seconds"
echo " Memory confinement is 16384 MBytes"
echo " Number of cores is 4"
echo " Run identifier is r180-tall-171640604100751"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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