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

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

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
447.607 78676.00 149988.00 291.40 TTTTFFFTTTFFFFFF 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-165264477300190.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-15, examination is ReachabilityCardinality
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r114-smll-165264477300190
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 568K
-rw-r--r-- 1 mcc users 6.1K Apr 30 11:06 CTLCardinality.txt
-rw-r--r-- 1 mcc users 64K Apr 30 11:06 CTLCardinality.xml
-rw-r--r-- 1 mcc users 6.0K Apr 30 11:04 CTLFireability.txt
-rw-r--r-- 1 mcc users 55K Apr 30 11:04 CTLFireability.xml
-rw-r--r-- 1 mcc users 3.9K May 9 08:00 LTLCardinality.txt
-rw-r--r-- 1 mcc users 30K May 9 08:00 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.2K May 9 08:00 LTLFireability.txt
-rw-r--r-- 1 mcc users 16K May 9 08:00 LTLFireability.xml
-rw-r--r-- 1 mcc users 13K Apr 30 11:08 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 140K Apr 30 11:08 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 12K Apr 30 11:07 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 109K Apr 30 11:07 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.6K May 9 08:00 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.7K May 9 08:00 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 73K 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-15-ReachabilityCardinality-00
FORMULA_NAME HealthRecord-PT-15-ReachabilityCardinality-01
FORMULA_NAME HealthRecord-PT-15-ReachabilityCardinality-02
FORMULA_NAME HealthRecord-PT-15-ReachabilityCardinality-03
FORMULA_NAME HealthRecord-PT-15-ReachabilityCardinality-04
FORMULA_NAME HealthRecord-PT-15-ReachabilityCardinality-05
FORMULA_NAME HealthRecord-PT-15-ReachabilityCardinality-06
FORMULA_NAME HealthRecord-PT-15-ReachabilityCardinality-07
FORMULA_NAME HealthRecord-PT-15-ReachabilityCardinality-08
FORMULA_NAME HealthRecord-PT-15-ReachabilityCardinality-09
FORMULA_NAME HealthRecord-PT-15-ReachabilityCardinality-10
FORMULA_NAME HealthRecord-PT-15-ReachabilityCardinality-11
FORMULA_NAME HealthRecord-PT-15-ReachabilityCardinality-12
FORMULA_NAME HealthRecord-PT-15-ReachabilityCardinality-13
FORMULA_NAME HealthRecord-PT-15-ReachabilityCardinality-14
FORMULA_NAME HealthRecord-PT-15-ReachabilityCardinality-15

=== Now, execution of the tool begins

BK_START 1654187312314

Running Version 202205111006
[2022-06-02 16:28:34] [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:28:34] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2022-06-02 16:28:34] [INFO ] Load time of PNML (sax parser for PT used): 152 ms
[2022-06-02 16:28:34] [INFO ] Transformed 163 places.
[2022-06-02 16:28:34] [INFO ] Transformed 348 transitions.
[2022-06-02 16:28:34] [INFO ] Found NUPN structural information;
[2022-06-02 16:28:34] [INFO ] Parsed PT model containing 163 places and 348 transitions in 334 ms.
Parsed 16 properties from file /home/mcc/execution/ReachabilityCardinality.xml in 32 ms.
Working with output stream class java.io.PrintStream
Ensure Unique test removed 29 transitions
Reduce redundant transitions removed 29 transitions.
FORMULA HealthRecord-PT-15-ReachabilityCardinality-04 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA HealthRecord-PT-15-ReachabilityCardinality-06 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA HealthRecord-PT-15-ReachabilityCardinality-14 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA HealthRecord-PT-15-ReachabilityCardinality-15 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
Incomplete random walk after 10000 steps, including 924 resets, run finished after 878 ms. (steps per millisecond=11 ) properties (out of 12) seen :0
Incomplete Best-First random walk after 10001 steps, including 123 resets, run finished after 72 ms. (steps per millisecond=138 ) properties (out of 12) seen :0
Incomplete Best-First random walk after 10001 steps, including 122 resets, run finished after 71 ms. (steps per millisecond=140 ) properties (out of 12) seen :0
Incomplete Best-First random walk after 10001 steps, including 121 resets, run finished after 71 ms. (steps per millisecond=140 ) properties (out of 12) seen :0
Incomplete Best-First random walk after 10001 steps, including 119 resets, run finished after 165 ms. (steps per millisecond=60 ) properties (out of 12) seen :1
FORMULA HealthRecord-PT-15-ReachabilityCardinality-01 TRUE TECHNIQUES TOPOLOGICAL BESTFIRST_WALK
Incomplete Best-First random walk after 10001 steps, including 118 resets, run finished after 158 ms. (steps per millisecond=63 ) properties (out of 11) seen :0
Incomplete Best-First random walk after 10001 steps, including 125 resets, run finished after 135 ms. (steps per millisecond=74 ) properties (out of 11) seen :0
Incomplete Best-First random walk after 10001 steps, including 153 resets, run finished after 119 ms. (steps per millisecond=84 ) properties (out of 11) seen :0
Incomplete Best-First random walk after 10000 steps, including 121 resets, run finished after 91 ms. (steps per millisecond=109 ) properties (out of 11) seen :0
Incomplete Best-First random walk after 10001 steps, including 124 resets, run finished after 73 ms. (steps per millisecond=137 ) properties (out of 11) seen :0
Incomplete Best-First random walk after 10001 steps, including 123 resets, run finished after 78 ms. (steps per millisecond=128 ) properties (out of 11) seen :0
Incomplete Best-First random walk after 10001 steps, including 116 resets, run finished after 71 ms. (steps per millisecond=140 ) properties (out of 11) seen :0
Incomplete Best-First random walk after 10001 steps, including 118 resets, run finished after 45 ms. (steps per millisecond=222 ) properties (out of 11) seen :0
Interrupted probabilistic random walk after 925669 steps, run timeout after 6001 ms. (steps per millisecond=154 ) properties seen :{2=1, 3=1, 5=1}
Probabilistic random walk after 925669 steps, saw 122611 distinct states, run finished after 6003 ms. (steps per millisecond=154 ) properties seen :3
FORMULA HealthRecord-PT-15-ReachabilityCardinality-08 TRUE TECHNIQUES TOPOLOGICAL PROBABILISTIC_WALK
FORMULA HealthRecord-PT-15-ReachabilityCardinality-05 FALSE TECHNIQUES TOPOLOGICAL PROBABILISTIC_WALK
FORMULA HealthRecord-PT-15-ReachabilityCardinality-03 TRUE TECHNIQUES TOPOLOGICAL PROBABILISTIC_WALK
Running SMT prover for 8 properties.
[2022-06-02 16:28:42] [INFO ] Flow matrix only has 307 transitions (discarded 12 similar events)
// Phase 1: matrix 307 rows 163 cols
[2022-06-02 16:28:42] [INFO ] Computed 18 place invariants in 17 ms
[2022-06-02 16:28:43] [INFO ] After 361ms SMT Verify possible using all constraints in real domain returned unsat :0 sat :0 real:8
[2022-06-02 16:28:43] [INFO ] [Nat]Absence check using 10 positive place invariants in 14 ms returned sat
[2022-06-02 16:28:43] [INFO ] [Nat]Absence check using 10 positive and 8 generalized place invariants in 17 ms returned sat
[2022-06-02 16:28:43] [INFO ] After 309ms SMT Verify possible using state equation in natural domain returned unsat :4 sat :4
[2022-06-02 16:28:43] [INFO ] State equation strengthened by 1 read => feed constraints.
[2022-06-02 16:28:43] [INFO ] After 140ms SMT Verify possible using 1 Read/Feed constraints in natural domain returned unsat :4 sat :4
[2022-06-02 16:28:43] [INFO ] Deduced a trap composed of 31 places in 89 ms of which 7 ms to minimize.
[2022-06-02 16:28:43] [INFO ] Trap strengthening (SAT) tested/added 2/1 trap constraints in 130 ms
[2022-06-02 16:28:44] [INFO ] Deduced a trap composed of 30 places in 68 ms of which 2 ms to minimize.
[2022-06-02 16:28:44] [INFO ] Trap strengthening (SAT) tested/added 2/1 trap constraints in 107 ms
[2022-06-02 16:28:44] [INFO ] Deduced a trap composed of 38 places in 108 ms of which 1 ms to minimize.
[2022-06-02 16:28:44] [INFO ] Deduced a trap composed of 40 places in 80 ms of which 2 ms to minimize.
[2022-06-02 16:28:44] [INFO ] Trap strengthening (SAT) tested/added 3/2 trap constraints in 237 ms
[2022-06-02 16:28:44] [INFO ] After 760ms SMT Verify possible using trap constraints in natural domain returned unsat :4 sat :4
Attempting to minimize the solution found.
Minimization took 125 ms.
[2022-06-02 16:28:44] [INFO ] After 1397ms SMT Verify possible using all constraints in natural domain returned unsat :4 sat :4
FORMULA HealthRecord-PT-15-ReachabilityCardinality-09 TRUE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA HealthRecord-PT-15-ReachabilityCardinality-07 TRUE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA HealthRecord-PT-15-ReachabilityCardinality-02 TRUE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA HealthRecord-PT-15-ReachabilityCardinality-00 TRUE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
Fused 8 Parikh solutions to 4 different solutions.
Parikh walk visited 0 properties in 814 ms.
Support contains 57 out of 163 places. Attempting structural reductions.
Starting structural reductions in SAFETY mode, iteration 0 : 163/163 places, 319/319 transitions.
Graph (complete) has 701 edges and 163 vertex of which 156 are kept as prefixes of interest. Removing 7 places using SCC suffix rule.6 ms
Discarding 7 places :
Also discarding 7 output transitions
Drop transitions removed 7 transitions
Drop transitions removed 6 transitions
Reduce isomorphic transitions removed 6 transitions.
Iterating post reduction 0 with 6 rules applied. Total rules applied 7 place count 156 transition count 306
Discarding 52 places :
Symmetric choice reduction at 1 with 52 rule applications. Total rules 59 place count 104 transition count 202
Iterating global reduction 1 with 52 rules applied. Total rules applied 111 place count 104 transition count 202
Discarding 4 places :
Symmetric choice reduction at 1 with 4 rule applications. Total rules 115 place count 100 transition count 194
Iterating global reduction 1 with 4 rules applied. Total rules applied 119 place count 100 transition count 194
Ensure Unique test removed 2 transitions
Reduce isomorphic transitions removed 2 transitions.
Iterating post reduction 1 with 2 rules applied. Total rules applied 121 place count 100 transition count 192
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 2 with 2 rules applied. Total rules applied 123 place count 99 transition count 191
Performed 4 Post agglomeration using F-continuation condition.Transition count delta: -12
Deduced a syphon composed of 4 places in 0 ms
Reduce places removed 4 places and 0 transitions.
Iterating global reduction 2 with 8 rules applied. Total rules applied 131 place count 95 transition count 203
Free-agglomeration rule applied 1 times.
Iterating global reduction 2 with 1 rules applied. Total rules applied 132 place count 95 transition count 202
Reduce places removed 1 places and 0 transitions.
Iterating post reduction 2 with 1 rules applied. Total rules applied 133 place count 94 transition count 202
Partial Free-agglomeration rule applied 2 times.
Drop transitions removed 2 transitions
Iterating global reduction 3 with 2 rules applied. Total rules applied 135 place count 94 transition count 202
Applied a total of 135 rules in 80 ms. Remains 94 /163 variables (removed 69) and now considering 202/319 (removed 117) transitions.
Finished structural reductions, in 1 iterations. Remains : 94/163 places, 202/319 transitions.
Incomplete random walk after 1000000 steps, including 115761 resets, run finished after 14893 ms. (steps per millisecond=67 ) properties (out of 4) seen :1
FORMULA HealthRecord-PT-15-ReachabilityCardinality-11 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
Incomplete Best-First random walk after 1000001 steps, including 19964 resets, run finished after 4153 ms. (steps per millisecond=240 ) properties (out of 3) seen :0
Incomplete Best-First random walk after 1000001 steps, including 19074 resets, run finished after 3804 ms. (steps per millisecond=262 ) properties (out of 3) seen :0
Interrupted Best-First random walk after 689202 steps, including 7559 resets, run timeout after 5001 ms. (steps per millisecond=137 ) properties seen 0
Running SMT prover for 3 properties.
[2022-06-02 16:29:13] [INFO ] Flow matrix only has 198 transitions (discarded 4 similar events)
// Phase 1: matrix 198 rows 94 cols
[2022-06-02 16:29:13] [INFO ] Computed 11 place invariants in 5 ms
[2022-06-02 16:29:13] [INFO ] After 60ms SMT Verify possible using all constraints in real domain returned unsat :0 sat :0 real:3
[2022-06-02 16:29:13] [INFO ] [Nat]Absence check using 3 positive place invariants in 2 ms returned sat
[2022-06-02 16:29:13] [INFO ] [Nat]Absence check using 3 positive and 8 generalized place invariants in 6 ms returned sat
[2022-06-02 16:29:13] [INFO ] After 125ms SMT Verify possible using state equation in natural domain returned unsat :0 sat :3
[2022-06-02 16:29:13] [INFO ] State equation strengthened by 17 read => feed constraints.
[2022-06-02 16:29:13] [INFO ] After 56ms SMT Verify possible using 17 Read/Feed constraints in natural domain returned unsat :0 sat :3
[2022-06-02 16:29:13] [INFO ] After 128ms SMT Verify possible using trap constraints in natural domain returned unsat :0 sat :3
Attempting to minimize the solution found.
Minimization took 56 ms.
[2022-06-02 16:29:13] [INFO ] After 380ms SMT Verify possible using all constraints in natural domain returned unsat :0 sat :3
Parikh walk visited 0 properties in 1 ms.
Support contains 40 out of 94 places. Attempting structural reductions.
Starting structural reductions in SAFETY mode, iteration 0 : 94/94 places, 202/202 transitions.
Graph (trivial) has 32 edges and 94 vertex of which 4 / 94 are part of one of the 2 SCC in 5 ms
Free SCC test removed 2 places
Drop transitions removed 4 transitions
Reduce isomorphic transitions removed 4 transitions.
Discarding 8 places :
Symmetric choice reduction at 0 with 8 rule applications. Total rules 9 place count 84 transition count 183
Iterating global reduction 0 with 8 rules applied. Total rules applied 17 place count 84 transition count 183
Discarding 1 places :
Symmetric choice reduction at 0 with 1 rule applications. Total rules 18 place count 83 transition count 180
Iterating global reduction 0 with 1 rules applied. Total rules applied 19 place count 83 transition count 180
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 0 with 2 rules applied. Total rules applied 21 place count 82 transition count 179
Performed 4 Post agglomeration using F-continuation condition.Transition count delta: -22
Deduced a syphon composed of 4 places in 0 ms
Reduce places removed 4 places and 0 transitions.
Iterating global reduction 0 with 8 rules applied. Total rules applied 29 place count 78 transition count 201
Drop transitions removed 4 transitions
Redundant transition composition rules discarded 4 transitions
Iterating global reduction 0 with 4 rules applied. Total rules applied 33 place count 78 transition count 197
Applied a total of 33 rules in 32 ms. Remains 78 /94 variables (removed 16) and now considering 197/202 (removed 5) transitions.
Finished structural reductions, in 1 iterations. Remains : 78/94 places, 197/202 transitions.
Incomplete random walk after 1000000 steps, including 21799 resets, run finished after 13664 ms. (steps per millisecond=73 ) properties (out of 3) seen :0
Incomplete Best-First random walk after 1000001 steps, including 24096 resets, run finished after 3769 ms. (steps per millisecond=265 ) properties (out of 3) seen :0
Incomplete Best-First random walk after 1000001 steps, including 23072 resets, run finished after 3736 ms. (steps per millisecond=267 ) properties (out of 3) seen :0
Incomplete Best-First random walk after 1000001 steps, including 22973 resets, run finished after 2647 ms. (steps per millisecond=377 ) properties (out of 3) seen :0
Finished probabilistic random walk after 11376619 steps, run visited all 3 properties in 13236 ms. (steps per millisecond=859 )
Probabilistic random walk after 11376619 steps, saw 1211452 distinct states, run finished after 13237 ms. (steps per millisecond=859 ) properties seen :3
FORMULA HealthRecord-PT-15-ReachabilityCardinality-13 FALSE TECHNIQUES TOPOLOGICAL PROBABILISTIC_WALK
FORMULA HealthRecord-PT-15-ReachabilityCardinality-12 FALSE TECHNIQUES TOPOLOGICAL PROBABILISTIC_WALK
FORMULA HealthRecord-PT-15-ReachabilityCardinality-10 FALSE TECHNIQUES TOPOLOGICAL PROBABILISTIC_WALK
All properties solved without resorting to model-checking.
Total runtime 76768 ms.

BK_STOP 1654187390990

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

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