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

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

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
318.172 24803.00 47980.00 200.90 FTFTTFFTTTFFFFFT 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-165264477200079.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-01, examination is ReachabilityFireability
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r114-smll-165264477200079
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 444K
-rw-r--r-- 1 mcc users 8.0K Apr 30 11:21 CTLCardinality.txt
-rw-r--r-- 1 mcc users 94K Apr 30 11:21 CTLCardinality.xml
-rw-r--r-- 1 mcc users 4.3K Apr 30 11:18 CTLFireability.txt
-rw-r--r-- 1 mcc users 35K Apr 30 11:18 CTLFireability.xml
-rw-r--r-- 1 mcc users 3.3K May 9 07:58 LTLCardinality.txt
-rw-r--r-- 1 mcc users 23K 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 15K May 9 07:58 LTLFireability.xml
-rw-r--r-- 1 mcc users 9.2K Apr 30 11:22 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 97K Apr 30 11:22 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 6.9K Apr 30 11:21 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 58K Apr 30 11:21 ReachabilityFireability.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 46K 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-01-ReachabilityFireability-00
FORMULA_NAME HealthRecord-PT-01-ReachabilityFireability-01
FORMULA_NAME HealthRecord-PT-01-ReachabilityFireability-02
FORMULA_NAME HealthRecord-PT-01-ReachabilityFireability-03
FORMULA_NAME HealthRecord-PT-01-ReachabilityFireability-04
FORMULA_NAME HealthRecord-PT-01-ReachabilityFireability-05
FORMULA_NAME HealthRecord-PT-01-ReachabilityFireability-06
FORMULA_NAME HealthRecord-PT-01-ReachabilityFireability-07
FORMULA_NAME HealthRecord-PT-01-ReachabilityFireability-08
FORMULA_NAME HealthRecord-PT-01-ReachabilityFireability-09
FORMULA_NAME HealthRecord-PT-01-ReachabilityFireability-10
FORMULA_NAME HealthRecord-PT-01-ReachabilityFireability-11
FORMULA_NAME HealthRecord-PT-01-ReachabilityFireability-12
FORMULA_NAME HealthRecord-PT-01-ReachabilityFireability-13
FORMULA_NAME HealthRecord-PT-01-ReachabilityFireability-14
FORMULA_NAME HealthRecord-PT-01-ReachabilityFireability-15

=== Now, execution of the tool begins

BK_START 1654186644906

Running Version 202205111006
[2022-06-02 16:17:27] [INFO ] Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, ReachabilityFireability, -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:17:27] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2022-06-02 16:17:27] [INFO ] Load time of PNML (sax parser for PT used): 174 ms
[2022-06-02 16:17:27] [INFO ] Transformed 117 places.
[2022-06-02 16:17:27] [INFO ] Transformed 218 transitions.
[2022-06-02 16:17:27] [INFO ] Found NUPN structural information;
[2022-06-02 16:17:27] [INFO ] Parsed PT model containing 117 places and 218 transitions in 422 ms.
Parsed 16 properties from file /home/mcc/execution/ReachabilityFireability.xml in 31 ms.
Working with output stream class java.io.PrintStream
Ensure Unique test removed 5 transitions
Reduce redundant transitions removed 5 transitions.
Incomplete random walk after 10000 steps, including 536 resets, run finished after 1015 ms. (steps per millisecond=9 ) properties (out of 16) seen :2
FORMULA HealthRecord-PT-01-ReachabilityFireability-10 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA HealthRecord-PT-01-ReachabilityFireability-00 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
Incomplete Best-First random walk after 10001 steps, including 85 resets, run finished after 144 ms. (steps per millisecond=69 ) properties (out of 14) seen :0
Incomplete Best-First random walk after 10000 steps, including 2 resets, run finished after 276 ms. (steps per millisecond=36 ) properties (out of 14) seen :0
Incomplete Best-First random walk after 10001 steps, including 78 resets, run finished after 85 ms. (steps per millisecond=117 ) properties (out of 14) seen :0
Incomplete Best-First random walk after 10001 steps, including 81 resets, run finished after 66 ms. (steps per millisecond=151 ) properties (out of 14) seen :0
Incomplete Best-First random walk after 10001 steps, including 75 resets, run finished after 130 ms. (steps per millisecond=76 ) properties (out of 14) seen :0
Incomplete Best-First random walk after 10001 steps, including 81 resets, run finished after 167 ms. (steps per millisecond=59 ) properties (out of 14) seen :0
Incomplete Best-First random walk after 10001 steps, including 57 resets, run finished after 53 ms. (steps per millisecond=188 ) properties (out of 14) seen :0
Incomplete Best-First random walk after 10001 steps, including 78 resets, run finished after 58 ms. (steps per millisecond=172 ) properties (out of 14) seen :0
Incomplete Best-First random walk after 10001 steps, including 81 resets, run finished after 65 ms. (steps per millisecond=153 ) properties (out of 14) seen :0
Incomplete Best-First random walk after 10001 steps, including 84 resets, run finished after 75 ms. (steps per millisecond=133 ) properties (out of 14) seen :0
Incomplete Best-First random walk after 10001 steps, including 84 resets, run finished after 68 ms. (steps per millisecond=147 ) properties (out of 14) seen :0
Incomplete Best-First random walk after 10000 steps, including 139 resets, run finished after 79 ms. (steps per millisecond=126 ) properties (out of 14) seen :0
Incomplete Best-First random walk after 10001 steps, including 81 resets, run finished after 70 ms. (steps per millisecond=142 ) properties (out of 14) seen :0
Incomplete Best-First random walk after 10001 steps, including 81 resets, run finished after 72 ms. (steps per millisecond=138 ) properties (out of 14) seen :0
Running SMT prover for 14 properties.
[2022-06-02 16:17:30] [INFO ] Flow matrix only has 205 transitions (discarded 8 similar events)
// Phase 1: matrix 205 rows 117 cols
[2022-06-02 16:17:30] [INFO ] Computed 14 place invariants in 13 ms
[2022-06-02 16:17:31] [INFO ] After 487ms SMT Verify possible using all constraints in real domain returned unsat :0 sat :0 real:14
[2022-06-02 16:17:31] [INFO ] [Nat]Absence check using 8 positive place invariants in 19 ms returned sat
[2022-06-02 16:17:31] [INFO ] [Nat]Absence check using 8 positive and 6 generalized place invariants in 16 ms returned sat
[2022-06-02 16:17:31] [INFO ] After 383ms SMT Verify possible using state equation in natural domain returned unsat :5 sat :9
[2022-06-02 16:17:31] [INFO ] State equation strengthened by 1 read => feed constraints.
[2022-06-02 16:17:31] [INFO ] After 168ms SMT Verify possible using 1 Read/Feed constraints in natural domain returned unsat :5 sat :9
[2022-06-02 16:17:32] [INFO ] Deduced a trap composed of 40 places in 91 ms of which 10 ms to minimize.
[2022-06-02 16:17:32] [INFO ] Trap strengthening (SAT) tested/added 2/1 trap constraints in 116 ms
[2022-06-02 16:17:32] [INFO ] Deduced a trap composed of 32 places in 90 ms of which 5 ms to minimize.
[2022-06-02 16:17:32] [INFO ] Trap strengthening (SAT) tested/added 2/1 trap constraints in 129 ms
[2022-06-02 16:17:32] [INFO ] Deduced a trap composed of 37 places in 95 ms of which 2 ms to minimize.
[2022-06-02 16:17:32] [INFO ] Deduced a trap composed of 44 places in 89 ms of which 2 ms to minimize.
[2022-06-02 16:17:32] [INFO ] Trap strengthening procedure managed to obtain unsat after adding 2 trap constraints in 211 ms
[2022-06-02 16:17:32] [INFO ] After 848ms SMT Verify possible using trap constraints in natural domain returned unsat :6 sat :8
Attempting to minimize the solution found.
Minimization took 192 ms.
[2022-06-02 16:17:32] [INFO ] After 1760ms SMT Verify possible using all constraints in natural domain returned unsat :6 sat :8
FORMULA HealthRecord-PT-01-ReachabilityFireability-13 FALSE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA HealthRecord-PT-01-ReachabilityFireability-12 FALSE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA HealthRecord-PT-01-ReachabilityFireability-11 FALSE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA HealthRecord-PT-01-ReachabilityFireability-07 TRUE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA HealthRecord-PT-01-ReachabilityFireability-05 FALSE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA HealthRecord-PT-01-ReachabilityFireability-01 TRUE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
Fused 14 Parikh solutions to 8 different solutions.
FORMULA HealthRecord-PT-01-ReachabilityFireability-14 FALSE TECHNIQUES TOPOLOGICAL PARIKH_WALK
FORMULA HealthRecord-PT-01-ReachabilityFireability-06 FALSE TECHNIQUES TOPOLOGICAL PARIKH_WALK
FORMULA HealthRecord-PT-01-ReachabilityFireability-15 TRUE TECHNIQUES TOPOLOGICAL PARIKH_WALK
FORMULA HealthRecord-PT-01-ReachabilityFireability-09 TRUE TECHNIQUES TOPOLOGICAL PARIKH_WALK
Parikh walk visited 4 properties in 1138 ms.
Support contains 34 out of 117 places. Attempting structural reductions.
Starting structural reductions in SAFETY mode, iteration 0 : 117/117 places, 213/213 transitions.
Graph (trivial) has 35 edges and 117 vertex of which 8 / 117 are part of one of the 4 SCC in 4 ms
Free SCC test removed 4 places
Drop transitions removed 17 transitions
Reduce isomorphic transitions removed 17 transitions.
Graph (complete) has 407 edges and 113 vertex of which 106 are kept as prefixes of interest. Removing 7 places using SCC suffix rule.4 ms
Discarding 7 places :
Also discarding 0 output 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 0 with 2 rules applied. Total rules applied 4 place count 106 transition count 194
Reduce places removed 2 places and 0 transitions.
Ensure Unique test removed 2 transitions
Reduce isomorphic transitions removed 2 transitions.
Iterating post reduction 1 with 4 rules applied. Total rules applied 8 place count 104 transition count 192
Discarding 33 places :
Symmetric choice reduction at 2 with 33 rule applications. Total rules 41 place count 71 transition count 127
Iterating global reduction 2 with 33 rules applied. Total rules applied 74 place count 71 transition count 127
Ensure Unique test removed 1 transitions
Reduce isomorphic transitions removed 1 transitions.
Iterating post reduction 2 with 1 rules applied. Total rules applied 75 place count 71 transition count 126
Discarding 4 places :
Symmetric choice reduction at 3 with 4 rule applications. Total rules 79 place count 67 transition count 118
Iterating global reduction 3 with 4 rules applied. Total rules applied 83 place count 67 transition count 118
Ensure Unique test removed 2 transitions
Reduce isomorphic transitions removed 2 transitions.
Iterating post reduction 3 with 2 rules applied. Total rules applied 85 place count 67 transition count 116
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 4 with 2 rules applied. Total rules applied 87 place count 66 transition count 115
Drop transitions removed 2 transitions
Redundant transition composition rules discarded 2 transitions
Iterating global reduction 4 with 2 rules applied. Total rules applied 89 place count 66 transition count 113
Performed 2 Pre agglomeration using Quasi-Persistent + Divergent Free condition..
Pre-agglomeration after 4 with 2 Pre rules applied. Total rules applied 89 place count 66 transition count 111
Deduced a syphon composed of 2 places in 1 ms
Reduce places removed 2 places and 0 transitions.
Iterating global reduction 4 with 4 rules applied. Total rules applied 93 place count 64 transition count 111
Partial Free-agglomeration rule applied 2 times.
Drop transitions removed 2 transitions
Iterating global reduction 4 with 2 rules applied. Total rules applied 95 place count 64 transition count 111
Drop transitions removed 1 transitions
Redundant transition composition rules discarded 1 transitions
Iterating global reduction 4 with 1 rules applied. Total rules applied 96 place count 64 transition count 110
Discarding 1 places :
Symmetric choice reduction at 4 with 1 rule applications. Total rules 97 place count 63 transition count 109
Iterating global reduction 4 with 1 rules applied. Total rules applied 98 place count 63 transition count 109
Applied a total of 98 rules in 80 ms. Remains 63 /117 variables (removed 54) and now considering 109/213 (removed 104) transitions.
Finished structural reductions, in 1 iterations. Remains : 63/117 places, 109/213 transitions.
Incomplete random walk after 1000000 steps, including 62891 resets, run finished after 10977 ms. (steps per millisecond=91 ) properties (out of 4) seen :3
FORMULA HealthRecord-PT-01-ReachabilityFireability-08 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA HealthRecord-PT-01-ReachabilityFireability-04 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA HealthRecord-PT-01-ReachabilityFireability-02 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
Incomplete Best-First random walk after 1000001 steps, including 11162 resets, run finished after 1310 ms. (steps per millisecond=763 ) properties (out of 1) seen :0
Running SMT prover for 1 properties.
// Phase 1: matrix 109 rows 63 cols
[2022-06-02 16:17:46] [INFO ] Computed 7 place invariants in 5 ms
[2022-06-02 16:17:46] [INFO ] After 31ms SMT Verify possible using all constraints in real domain returned unsat :0 sat :0 real:1
[2022-06-02 16:17:46] [INFO ] [Nat]Absence check using 7 positive place invariants in 3 ms returned sat
[2022-06-02 16:17:46] [INFO ] After 45ms SMT Verify possible using state equation in natural domain returned unsat :0 sat :1
[2022-06-02 16:17:46] [INFO ] After 59ms 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:17:46] [INFO ] After 103ms SMT Verify possible using all constraints in natural domain returned unsat :0 sat :1
Parikh walk visited 0 properties in 6 ms.
Support contains 12 out of 63 places. Attempting structural reductions.
Starting structural reductions in SAFETY mode, iteration 0 : 63/63 places, 109/109 transitions.
Graph (complete) has 202 edges and 63 vertex of which 62 are kept as prefixes of interest. Removing 1 places using SCC suffix rule.1 ms
Discarding 1 places :
Also discarding 0 output transitions
Performed 2 Pre agglomeration using Quasi-Persistent + Divergent Free condition..
Pre-agglomeration after 0 with 2 Pre rules applied. Total rules applied 1 place count 62 transition count 107
Deduced a syphon composed of 2 places in 0 ms
Ensure Unique test removed 1 places
Reduce places removed 3 places and 0 transitions.
Iterating global reduction 0 with 5 rules applied. Total rules applied 6 place count 59 transition count 107
Discarding 8 places :
Symmetric choice reduction at 0 with 8 rule applications. Total rules 14 place count 51 transition count 91
Iterating global reduction 0 with 8 rules applied. Total rules applied 22 place count 51 transition count 91
Discarding 2 places :
Symmetric choice reduction at 0 with 2 rule applications. Total rules 24 place count 49 transition count 86
Iterating global reduction 0 with 2 rules applied. Total rules applied 26 place count 49 transition count 86
Performed 4 Post agglomeration using F-continuation condition.Transition count delta: -17
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 34 place count 45 transition count 103
Drop transitions removed 2 transitions
Redundant transition composition rules discarded 2 transitions
Iterating global reduction 0 with 2 rules applied. Total rules applied 36 place count 45 transition count 101
Free-agglomeration rule applied 1 times.
Iterating global reduction 0 with 1 rules applied. Total rules applied 37 place count 45 transition count 100
Reduce places removed 1 places and 0 transitions.
Iterating post reduction 0 with 1 rules applied. Total rules applied 38 place count 44 transition count 100
Partial Free-agglomeration rule applied 18 times.
Drop transitions removed 18 transitions
Iterating global reduction 1 with 18 rules applied. Total rules applied 56 place count 44 transition count 100
Partial Free-agglomeration rule applied 17 times.
Drop transitions removed 17 transitions
Iterating global reduction 1 with 17 rules applied. Total rules applied 73 place count 44 transition count 100
Applied a total of 73 rules in 38 ms. Remains 44 /63 variables (removed 19) and now considering 100/109 (removed 9) transitions.
Finished structural reductions, in 1 iterations. Remains : 44/63 places, 100/109 transitions.
Incomplete random walk after 1000000 steps, including 2 resets, run finished after 1793 ms. (steps per millisecond=557 ) properties (out of 1) seen :0
Incomplete Best-First random walk after 1000000 steps, including 2 resets, run finished after 1247 ms. (steps per millisecond=801 ) properties (out of 1) seen :0
Finished probabilistic random walk after 1878 steps, run visited all 1 properties in 18 ms. (steps per millisecond=104 )
Probabilistic random walk after 1878 steps, saw 531 distinct states, run finished after 19 ms. (steps per millisecond=98 ) properties seen :1
FORMULA HealthRecord-PT-01-ReachabilityFireability-03 TRUE TECHNIQUES TOPOLOGICAL PROBABILISTIC_WALK
All properties solved without resorting to model-checking.
Total runtime 22256 ms.

BK_STOP 1654186669709

--------------------
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
+ [[ ReachabilityFireability = StateSpace ]]
+ /home/mcc/BenchKit/bin//..//runeclipse.sh /home/mcc/execution ReachabilityFireability -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 ReachabilityFireability -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-01"
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-4028"
echo " Executing tool itstools"
echo " Input is HealthRecord-PT-01, 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 r114-smll-165264477200079"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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