fond
Model Checking Contest 2020
10th edition, Paris, France, June 23, 2020
Execution of r193-csrt-159033389100687
Last Updated
Jun 28, 2020

About the Execution of ITS-Tools for ResAllocation-PT-R003C050

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
15746.770 100064.00 137070.00 104.20 FFFTFTTTFTTTTFTF normal

Execution Chart

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

Trace from the execution

Formatting '/local/x2003239/mcc2020-input.r193-csrt-159033389100687.qcow2', fmt=qcow2 size=4294967296 backing_file=/local/x2003239/mcc2020-input.qcow2 encryption=off 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 ResAllocation-PT-R003C050, examination is ReachabilityFireability
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r193-csrt-159033389100687
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 532K
-rw-r--r-- 1 mcc users 3.8K May 14 00:24 CTLCardinality.txt
-rw-r--r-- 1 mcc users 21K May 14 00:24 CTLCardinality.xml
-rw-r--r-- 1 mcc users 3.0K May 13 17:35 CTLFireability.txt
-rw-r--r-- 1 mcc users 20K May 13 17:35 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.0K May 12 20:53 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 6.3K May 12 20:53 GenericPropertiesVerdict.xml
-rw-r--r-- 1 mcc users 3.4K May 14 10:00 LTLCardinality.txt
-rw-r--r-- 1 mcc users 23K May 14 10:00 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.2K May 14 10:00 LTLFireability.txt
-rw-r--r-- 1 mcc users 16K May 14 10:00 LTLFireability.xml
-rw-r--r-- 1 mcc users 3.3K May 13 13:05 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 15K May 13 13:05 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 2.8K May 13 07:34 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 16K May 13 07:34 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.8K May 13 16:53 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.8K May 13 16:53 UpperBounds.xml
-rw-r--r-- 1 mcc users 6 May 12 20:53 equiv_col
-rw-r--r-- 1 mcc users 9 May 12 20:53 instance
-rw-r--r-- 1 mcc users 6 May 12 20:53 iscolored
-rw-r--r-- 1 mcc users 360K May 12 20:53 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 ResAllocation-PT-R003C050-ReachabilityFireability-00
FORMULA_NAME ResAllocation-PT-R003C050-ReachabilityFireability-01
FORMULA_NAME ResAllocation-PT-R003C050-ReachabilityFireability-02
FORMULA_NAME ResAllocation-PT-R003C050-ReachabilityFireability-03
FORMULA_NAME ResAllocation-PT-R003C050-ReachabilityFireability-04
FORMULA_NAME ResAllocation-PT-R003C050-ReachabilityFireability-05
FORMULA_NAME ResAllocation-PT-R003C050-ReachabilityFireability-06
FORMULA_NAME ResAllocation-PT-R003C050-ReachabilityFireability-07
FORMULA_NAME ResAllocation-PT-R003C050-ReachabilityFireability-08
FORMULA_NAME ResAllocation-PT-R003C050-ReachabilityFireability-09
FORMULA_NAME ResAllocation-PT-R003C050-ReachabilityFireability-10
FORMULA_NAME ResAllocation-PT-R003C050-ReachabilityFireability-11
FORMULA_NAME ResAllocation-PT-R003C050-ReachabilityFireability-12
FORMULA_NAME ResAllocation-PT-R003C050-ReachabilityFireability-13
FORMULA_NAME ResAllocation-PT-R003C050-ReachabilityFireability-14
FORMULA_NAME ResAllocation-PT-R003C050-ReachabilityFireability-15

=== Now, execution of the tool begins

BK_START 1590540034710

[2020-05-27 00:40:37] [INFO ] Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, ReachabilityFireability, -z3path, /home/mcc/BenchKit//z3/bin/z3, -yices2path, /home/mcc/BenchKit//yices/bin/yices, -its, -ltsminpath, /home/mcc/BenchKit//lts_install_dir/, -greatspnpath, /home/mcc/BenchKit//greatspn/, -order, META, -manyOrder, -smt, -timeout, 3600]
[2020-05-27 00:40:37] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2020-05-27 00:40:37] [INFO ] Load time of PNML (sax parser for PT used): 129 ms
[2020-05-27 00:40:37] [INFO ] Transformed 300 places.
[2020-05-27 00:40:37] [INFO ] Transformed 200 transitions.
[2020-05-27 00:40:37] [INFO ] Parsed PT model containing 300 places and 200 transitions in 187 ms.
Parsed 16 properties from file /home/mcc/execution/ReachabilityFireability.xml in 19 ms.
Working with output stream class java.io.PrintStream
Incomplete random walk after 10000 steps, including 94 resets, run finished after 120 ms. (steps per millisecond=83 ) properties seen :[1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 1, 0, 1, 1]
FORMULA ResAllocation-PT-R003C050-ReachabilityFireability-15 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA ResAllocation-PT-R003C050-ReachabilityFireability-14 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA ResAllocation-PT-R003C050-ReachabilityFireability-12 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA ResAllocation-PT-R003C050-ReachabilityFireability-11 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA ResAllocation-PT-R003C050-ReachabilityFireability-09 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA ResAllocation-PT-R003C050-ReachabilityFireability-07 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA ResAllocation-PT-R003C050-ReachabilityFireability-06 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA ResAllocation-PT-R003C050-ReachabilityFireability-05 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA ResAllocation-PT-R003C050-ReachabilityFireability-04 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA ResAllocation-PT-R003C050-ReachabilityFireability-03 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA ResAllocation-PT-R003C050-ReachabilityFireability-02 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA ResAllocation-PT-R003C050-ReachabilityFireability-01 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA ResAllocation-PT-R003C050-ReachabilityFireability-00 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
Incomplete Best-First random walk after 10001 steps, including 1 resets, run finished after 45 ms. (steps per millisecond=222 ) properties seen :[0, 0, 0]
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 51 ms. (steps per millisecond=196 ) properties seen :[0, 1, 0]
FORMULA ResAllocation-PT-R003C050-ReachabilityFireability-10 TRUE TECHNIQUES TOPOLOGICAL BESTFIRST_WALK
Incomplete Best-First random walk after 10001 steps, including 3 resets, run finished after 47 ms. (steps per millisecond=212 ) properties seen :[0, 0]
// Phase 1: matrix 200 rows 300 cols
[2020-05-27 00:40:37] [INFO ] Computed 150 place invariants in 12 ms
[2020-05-27 00:40:38] [INFO ] [Real]Absence check using 150 positive place invariants in 114 ms returned sat
[2020-05-27 00:40:38] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2020-05-27 00:40:38] [INFO ] [Real]Absence check using state equation in 309 ms returned sat
[2020-05-27 00:40:38] [INFO ] Solution in real domain found non-integer solution.
[2020-05-27 00:40:38] [INFO ] [Nat]Absence check using 150 positive place invariants in 85 ms returned sat
[2020-05-27 00:40:38] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2020-05-27 00:40:38] [INFO ] [Nat]Absence check using state equation in 273 ms returned sat
[2020-05-27 00:40:39] [INFO ] Deduced a trap composed of 4 places in 178 ms
[2020-05-27 00:40:39] [INFO ] Deduced a trap composed of 4 places in 98 ms
[2020-05-27 00:40:39] [INFO ] Deduced a trap composed of 4 places in 156 ms
[2020-05-27 00:40:39] [INFO ] Deduced a trap composed of 4 places in 136 ms
[2020-05-27 00:40:39] [INFO ] Deduced a trap composed of 4 places in 44 ms
[2020-05-27 00:40:39] [INFO ] Trap strengthening (SAT) tested/added 6/5 trap constraints in 755 ms
[2020-05-27 00:40:39] [INFO ] Computed and/alt/rep : 150/150/150 causal constraints in 36 ms.
[2020-05-27 00:40:39] [INFO ] Added : 27 causal constraints over 6 iterations in 200 ms. Result :sat
Attempting to minimize the solution found.
Minimization took 7 ms.
[2020-05-27 00:40:40] [INFO ] [Real]Absence check using 150 positive place invariants in 122 ms returned sat
[2020-05-27 00:40:40] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2020-05-27 00:40:40] [INFO ] [Real]Absence check using state equation in 248 ms returned sat
[2020-05-27 00:40:40] [INFO ] Deduced a trap composed of 4 places in 43 ms
[2020-05-27 00:40:40] [INFO ] Deduced a trap composed of 4 places in 39 ms
[2020-05-27 00:40:40] [INFO ] Deduced a trap composed of 4 places in 36 ms
[2020-05-27 00:40:40] [INFO ] Deduced a trap composed of 4 places in 109 ms
[2020-05-27 00:40:40] [INFO ] Deduced a trap composed of 4 places in 41 ms
[2020-05-27 00:40:40] [INFO ] Deduced a trap composed of 4 places in 50 ms
[2020-05-27 00:40:40] [INFO ] Deduced a trap composed of 4 places in 31 ms
[2020-05-27 00:40:40] [INFO ] Trap strengthening (SAT) tested/added 8/7 trap constraints in 530 ms
[2020-05-27 00:40:40] [INFO ] Solution in real domain found non-integer solution.
[2020-05-27 00:40:41] [INFO ] [Nat]Absence check using 150 positive place invariants in 109 ms returned sat
[2020-05-27 00:40:41] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2020-05-27 00:40:41] [INFO ] [Nat]Absence check using state equation in 293 ms returned sat
[2020-05-27 00:40:41] [INFO ] Deduced a trap composed of 4 places in 41 ms
[2020-05-27 00:40:41] [INFO ] Deduced a trap composed of 4 places in 25 ms
[2020-05-27 00:40:41] [INFO ] Deduced a trap composed of 4 places in 17 ms
[2020-05-27 00:40:41] [INFO ] Deduced a trap composed of 4 places in 15 ms
[2020-05-27 00:40:41] [INFO ] Trap strengthening (SAT) tested/added 5/4 trap constraints in 175 ms
[2020-05-27 00:40:41] [INFO ] Computed and/alt/rep : 150/150/150 causal constraints in 23 ms.
[2020-05-27 00:40:41] [INFO ] Added : 19 causal constraints over 4 iterations in 116 ms. Result :sat
Attempting to minimize the solution found.
Minimization took 15 ms.
Incomplete Parikh walk after 5700 steps, including 102 resets, run finished after 34 ms. (steps per millisecond=167 ) properties seen :[0, 1] could not realise parikh vector
FORMULA ResAllocation-PT-R003C050-ReachabilityFireability-13 FALSE TECHNIQUES TOPOLOGICAL PARIKH_WALK
Incomplete Parikh walk after 7100 steps, including 102 resets, run finished after 58 ms. (steps per millisecond=122 ) properties seen :[0] could not realise parikh vector
Support contains 21 out of 300 places. Attempting structural reductions.
Starting structural reductions, iteration 0 : 300/300 places, 200/200 transitions.
Performed 43 Post agglomeration using F-continuation condition.Transition count delta: 43
Deduced a syphon composed of 43 places in 1 ms
Reduce places removed 44 places and 0 transitions.
Iterating global reduction 0 with 87 rules applied. Total rules applied 87 place count 256 transition count 157
Free-agglomeration rule applied 1 times.
Iterating global reduction 0 with 1 rules applied. Total rules applied 88 place count 256 transition count 156
Reduce places removed 2 places and 0 transitions.
Iterating post reduction 0 with 2 rules applied. Total rules applied 90 place count 254 transition count 156
Free-agglomeration rule applied 1 times.
Iterating global reduction 1 with 1 rules applied. Total rules applied 91 place count 254 transition count 155
Reduce places removed 1 places and 0 transitions.
Drop transitions removed 1 transitions
Reduce isomorphic transitions removed 1 transitions.
Iterating post reduction 1 with 2 rules applied. Total rules applied 93 place count 253 transition count 154
Free-agglomeration rule (complex) applied 42 times.
Iterating global reduction 2 with 42 rules applied. Total rules applied 135 place count 253 transition count 112
Discarding 2 places :
Also discarding 1 output transitions
Drop transitions removed 1 transitions
Remove reverse transitions (loop back) rule discarded transition t_1_1.t_1_0 and 2 places that fell out of Prefix Of Interest.
Drop transitions removed 1 transitions
Reduce isomorphic transitions removed 1 transitions.
Performed 25 Post agglomeration using F-continuation condition.Transition count delta: 25
Iterating post reduction 2 with 27 rules applied. Total rules applied 162 place count 133 transition count 85
Reduce places removed 46 places and 0 transitions.
Drop transitions removed 25 transitions
Reduce isomorphic transitions removed 25 transitions.
Iterating post reduction 3 with 71 rules applied. Total rules applied 233 place count 87 transition count 60
Performed 6 Post agglomeration using F-continuation condition.Transition count delta: 6
Deduced a syphon composed of 6 places in 0 ms
Reduce places removed 11 places and 0 transitions.
Iterating global reduction 4 with 17 rules applied. Total rules applied 250 place count 76 transition count 54
Drop transitions removed 5 transitions
Reduce isomorphic transitions removed 5 transitions.
Iterating post reduction 4 with 5 rules applied. Total rules applied 255 place count 76 transition count 49
Ensure Unique test removed 2 places
Iterating post reduction 5 with 2 rules applied. Total rules applied 257 place count 74 transition count 49
Performed 1 Pre agglomeration using Quasi-Persistent + Divergent Free condition..
Pre-agglomeration after 6 with 1 Pre rules applied. Total rules applied 257 place count 74 transition count 48
Deduced a syphon composed of 1 places in 0 ms
Reduce places removed 2 places and 0 transitions.
Iterating global reduction 6 with 3 rules applied. Total rules applied 260 place count 72 transition count 48
Free-agglomeration rule (complex) applied 2 times.
Iterating global reduction 6 with 2 rules applied. Total rules applied 262 place count 72 transition count 46
Reduce places removed 5 places and 0 transitions.
Drop transitions removed 1 transitions
Reduce isomorphic transitions removed 1 transitions.
Iterating post reduction 6 with 6 rules applied. Total rules applied 268 place count 67 transition count 45
Applied a total of 268 rules in 108 ms. Remains 67 /300 variables (removed 233) and now considering 45/200 (removed 155) transitions.
Finished structural reductions, in 1 iterations. Remains : 67/300 places, 45/200 transitions.
Incomplete random walk after 1000000 steps, including 0 resets, run finished after 999 ms. (steps per millisecond=1001 ) properties seen :[0]
Incomplete Best-First random walk after 1000001 steps, including 0 resets, run finished after 1131 ms. (steps per millisecond=884 ) properties seen :[0]
Interrupted probabilistic random walk after 24258029 steps, run timeout after 30001 ms. (steps per millisecond=808 ) properties seen :[0]
Probabilistic random walk after 24258029 steps, saw 1963436 distinct states, run finished after 30001 ms. (steps per millisecond=808 ) properties seen :[0]
// Phase 1: matrix 45 rows 67 cols
[2020-05-27 00:41:14] [INFO ] Computed 39 place invariants in 2 ms
[2020-05-27 00:41:14] [INFO ] [Real]Absence check using 39 positive place invariants in 125 ms returned sat
[2020-05-27 00:41:14] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2020-05-27 00:41:14] [INFO ] [Real]Absence check using state equation in 31 ms returned sat
[2020-05-27 00:41:14] [INFO ] Deduced a trap composed of 3 places in 9 ms
[2020-05-27 00:41:14] [INFO ] Deduced a trap composed of 3 places in 25 ms
[2020-05-27 00:41:14] [INFO ] Trap strengthening (SAT) tested/added 3/2 trap constraints in 47 ms
[2020-05-27 00:41:14] [INFO ] Solution in real domain found non-integer solution.
[2020-05-27 00:41:14] [INFO ] [Nat]Absence check using 39 positive place invariants in 12 ms returned sat
[2020-05-27 00:41:14] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2020-05-27 00:41:14] [INFO ] [Nat]Absence check using state equation in 28 ms returned sat
[2020-05-27 00:41:14] [INFO ] Deduced a trap composed of 3 places in 22 ms
[2020-05-27 00:41:14] [INFO ] Deduced a trap composed of 4 places in 17 ms
[2020-05-27 00:41:14] [INFO ] Trap strengthening (SAT) tested/added 3/2 trap constraints in 54 ms
[2020-05-27 00:41:14] [INFO ] Computed and/alt/rep : 28/28/28 causal constraints in 7 ms.
[2020-05-27 00:41:14] [INFO ] Added : 3 causal constraints over 1 iterations in 15 ms. Result :sat
Attempting to minimize the solution found.
Minimization took 2 ms.
Incomplete Parikh walk after 1300 steps, including 105 resets, run finished after 4 ms. (steps per millisecond=325 ) properties seen :[0] could not realise parikh vector
Support contains 21 out of 67 places. Attempting structural reductions.
Starting structural reductions, iteration 0 : 67/67 places, 45/45 transitions.
Applied a total of 0 rules in 3 ms. Remains 67 /67 variables (removed 0) and now considering 45/45 (removed 0) transitions.
Finished structural reductions, in 1 iterations. Remains : 67/67 places, 45/45 transitions.
Starting structural reductions, iteration 0 : 67/67 places, 45/45 transitions.
Applied a total of 0 rules in 2 ms. Remains 67 /67 variables (removed 0) and now considering 45/45 (removed 0) transitions.
// Phase 1: matrix 45 rows 67 cols
[2020-05-27 00:41:14] [INFO ] Computed 39 place invariants in 1 ms
[2020-05-27 00:41:14] [INFO ] Implicit Places using invariants in 98 ms returned [0, 24, 25, 34, 37, 38, 45, 47, 48, 66]
Discarding 10 places :
Implicit Place search using SMT only with invariants took 101 ms to find 10 implicit places.
[2020-05-27 00:41:14] [INFO ] Redundant transitions in 0 ms returned []
// Phase 1: matrix 45 rows 57 cols
[2020-05-27 00:41:14] [INFO ] Computed 29 place invariants in 7 ms
[2020-05-27 00:41:14] [INFO ] Dead Transitions using invariants and state equation in 72 ms returned []
Starting structural reductions, iteration 1 : 57/67 places, 45/45 transitions.
Applied a total of 0 rules in 15 ms. Remains 57 /57 variables (removed 0) and now considering 45/45 (removed 0) transitions.
[2020-05-27 00:41:14] [INFO ] Redundant transitions in 1 ms returned []
// Phase 1: matrix 45 rows 57 cols
[2020-05-27 00:41:14] [INFO ] Computed 29 place invariants in 1 ms
[2020-05-27 00:41:14] [INFO ] Dead Transitions using invariants and state equation in 133 ms returned []
Finished structural reductions, in 2 iterations. Remains : 57/67 places, 45/45 transitions.
Incomplete random walk after 1000000 steps, including 0 resets, run finished after 593 ms. (steps per millisecond=1686 ) properties seen :[0]
Incomplete Best-First random walk after 1000001 steps, including 0 resets, run finished after 908 ms. (steps per millisecond=1101 ) properties seen :[0]
Probably explored full state space saw : 2169878 states, properties seen :[0]
Probabilistic random walk after 27340866 steps, saw 2169878 distinct states, run finished after 28101 ms. (steps per millisecond=972 ) properties seen :[0]
Explored full state space saw : 2170560 states, properties seen :[0]
Exhaustive walk after 27349920 steps, saw 2170560 distinct states, run finished after 29790 ms. (steps per millisecond=918 ) properties seen :[0]
FORMULA ResAllocation-PT-R003C050-ReachabilityFireability-08 FALSE TECHNIQUES TOPOLOGICAL EXHAUSTIVE_WALK
All properties solved without resorting to model-checking.

BK_STOP 1590540134774

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

+ export BINDIR=/home/mcc/BenchKit/
+ BINDIR=/home/mcc/BenchKit/
++ pwd
+ export MODEL=/home/mcc/execution
+ MODEL=/home/mcc/execution
+ [[ ReachabilityFireability = StateSpace ]]
+ /home/mcc/BenchKit//runeclipse.sh /home/mcc/execution ReachabilityFireability -its -ltsminpath /home/mcc/BenchKit//lts_install_dir/ -greatspnpath /home/mcc/BenchKit//greatspn/ -order META -manyOrder -smt -timeout 3600
+ ulimit -s 65536
+ [[ -z '' ]]
+ export LTSMIN_MEM_SIZE=8589934592
+ LTSMIN_MEM_SIZE=8589934592
+ /home/mcc/BenchKit//itstools/its-tools -data /home/mcc/execution/workspace -pnfolder /home/mcc/execution -examination ReachabilityFireability -z3path /home/mcc/BenchKit//z3/bin/z3 -yices2path /home/mcc/BenchKit//yices/bin/yices -its -ltsminpath /home/mcc/BenchKit//lts_install_dir/ -greatspnpath /home/mcc/BenchKit//greatspn/ -order META -manyOrder -smt -timeout 3600 -vmargs -Dosgi.locking=none -Declipse.stateSaveDelayInterval=-1 -Dosgi.configuration.area=/tmp/.eclipse -Xss128m -Xms40m -Xmx16000m -Dfile.encoding=UTF-8 -Dosgi.requiredJavaVersion=1.6

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="ResAllocation-PT-R003C050"
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"

# 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 ResAllocation-PT-R003C050, 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 r193-csrt-159033389100687"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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