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

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

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
15741.900 97888.00 138379.00 100.00 TFTFFTTTTFFTFTFT 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-159033389200727.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-R020C002, examination is ReachabilityFireability
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r193-csrt-159033389200727
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 264K
-rw-r--r-- 1 mcc users 3.3K May 14 00:25 CTLCardinality.txt
-rw-r--r-- 1 mcc users 17K May 14 00:25 CTLCardinality.xml
-rw-r--r-- 1 mcc users 2.5K May 13 17:36 CTLFireability.txt
-rw-r--r-- 1 mcc users 15K May 13 17:36 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 24K 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 18K May 14 10:00 LTLFireability.xml
-rw-r--r-- 1 mcc users 3.8K May 13 13:05 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 19K May 13 13:05 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 3.0K May 13 07:35 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 17K May 13 07:35 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 85K 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-R020C002-ReachabilityFireability-00
FORMULA_NAME ResAllocation-PT-R020C002-ReachabilityFireability-01
FORMULA_NAME ResAllocation-PT-R020C002-ReachabilityFireability-02
FORMULA_NAME ResAllocation-PT-R020C002-ReachabilityFireability-03
FORMULA_NAME ResAllocation-PT-R020C002-ReachabilityFireability-04
FORMULA_NAME ResAllocation-PT-R020C002-ReachabilityFireability-05
FORMULA_NAME ResAllocation-PT-R020C002-ReachabilityFireability-06
FORMULA_NAME ResAllocation-PT-R020C002-ReachabilityFireability-07
FORMULA_NAME ResAllocation-PT-R020C002-ReachabilityFireability-08
FORMULA_NAME ResAllocation-PT-R020C002-ReachabilityFireability-09
FORMULA_NAME ResAllocation-PT-R020C002-ReachabilityFireability-10
FORMULA_NAME ResAllocation-PT-R020C002-ReachabilityFireability-11
FORMULA_NAME ResAllocation-PT-R020C002-ReachabilityFireability-12
FORMULA_NAME ResAllocation-PT-R020C002-ReachabilityFireability-13
FORMULA_NAME ResAllocation-PT-R020C002-ReachabilityFireability-14
FORMULA_NAME ResAllocation-PT-R020C002-ReachabilityFireability-15

=== Now, execution of the tool begins

BK_START 1590556235799

[2020-05-27 05:10: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 05:10:37] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2020-05-27 05:10:38] [INFO ] Load time of PNML (sax parser for PT used): 72 ms
[2020-05-27 05:10:38] [INFO ] Transformed 80 places.
[2020-05-27 05:10:38] [INFO ] Transformed 42 transitions.
[2020-05-27 05:10:38] [INFO ] Parsed PT model containing 80 places and 42 transitions in 120 ms.
Parsed 16 properties from file /home/mcc/execution/ReachabilityFireability.xml in 18 ms.
Working with output stream class java.io.PrintStream
FORMULA ResAllocation-PT-R020C002-ReachabilityFireability-07 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
Incomplete random walk after 10000 steps, including 86 resets, run finished after 83 ms. (steps per millisecond=120 ) properties seen :[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
Incomplete Best-First random walk after 10001 steps, including 16 resets, run finished after 27 ms. (steps per millisecond=370 ) properties seen :[1, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0]
FORMULA ResAllocation-PT-R020C002-ReachabilityFireability-10 FALSE TECHNIQUES TOPOLOGICAL BESTFIRST_WALK
FORMULA ResAllocation-PT-R020C002-ReachabilityFireability-05 TRUE TECHNIQUES TOPOLOGICAL BESTFIRST_WALK
FORMULA ResAllocation-PT-R020C002-ReachabilityFireability-00 TRUE TECHNIQUES TOPOLOGICAL BESTFIRST_WALK
Incomplete Best-First random walk after 10001 steps, including 17 resets, run finished after 20 ms. (steps per millisecond=500 ) properties seen :[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
Incomplete Best-First random walk after 10001 steps, including 10 resets, run finished after 13 ms. (steps per millisecond=769 ) properties seen :[0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0]
FORMULA ResAllocation-PT-R020C002-ReachabilityFireability-06 TRUE TECHNIQUES TOPOLOGICAL BESTFIRST_WALK
FORMULA ResAllocation-PT-R020C002-ReachabilityFireability-02 TRUE TECHNIQUES TOPOLOGICAL BESTFIRST_WALK
Incomplete Best-First random walk after 10001 steps, including 13 resets, run finished after 49 ms. (steps per millisecond=204 ) properties seen :[0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
Incomplete Best-First random walk after 10000 steps, including 19 resets, run finished after 39 ms. (steps per millisecond=256 ) properties seen :[0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
Incomplete Best-First random walk after 10001 steps, including 8 resets, run finished after 12 ms. (steps per millisecond=833 ) properties seen :[0, 0, 0, 1, 0, 1, 0, 0, 0, 1]
FORMULA ResAllocation-PT-R020C002-ReachabilityFireability-15 TRUE TECHNIQUES TOPOLOGICAL BESTFIRST_WALK
FORMULA ResAllocation-PT-R020C002-ReachabilityFireability-11 TRUE TECHNIQUES TOPOLOGICAL BESTFIRST_WALK
FORMULA ResAllocation-PT-R020C002-ReachabilityFireability-08 TRUE TECHNIQUES TOPOLOGICAL BESTFIRST_WALK
Incomplete Best-First random walk after 10001 steps, including 19 resets, run finished after 11 ms. (steps per millisecond=909 ) properties seen :[0, 0, 0, 0, 0, 0, 0]
Incomplete Best-First random walk after 10001 steps, including 12 resets, run finished after 18 ms. (steps per millisecond=555 ) properties seen :[0, 0, 0, 0, 0, 0, 0]
Incomplete Best-First random walk after 10001 steps, including 19 resets, run finished after 18 ms. (steps per millisecond=555 ) properties seen :[0, 0, 0, 0, 0, 0, 0]
Incomplete Best-First random walk after 10001 steps, including 15 resets, run finished after 11 ms. (steps per millisecond=909 ) properties seen :[0, 0, 0, 0, 0, 0, 0]
// Phase 1: matrix 42 rows 80 cols
[2020-05-27 05:10:38] [INFO ] Computed 40 place invariants in 5 ms
[2020-05-27 05:10:38] [INFO ] [Real]Absence check using 40 positive place invariants in 29 ms returned unsat
[2020-05-27 05:10:38] [INFO ] [Real]Absence check using 40 positive place invariants in 6 ms returned unsat
[2020-05-27 05:10:38] [INFO ] [Real]Absence check using 40 positive place invariants in 17 ms returned sat
[2020-05-27 05:10:38] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2020-05-27 05:10:38] [INFO ] [Real]Absence check using state equation in 58 ms returned sat
[2020-05-27 05:10:38] [INFO ] Deduced a trap composed of 4 places in 46 ms
[2020-05-27 05:10:38] [INFO ] Trap strengthening (SAT) tested/added 2/1 trap constraints in 64 ms
[2020-05-27 05:10:38] [INFO ] Solution in real domain found non-integer solution.
[2020-05-27 05:10:38] [INFO ] [Nat]Absence check using 40 positive place invariants in 21 ms returned sat
[2020-05-27 05:10:38] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2020-05-27 05:10:38] [INFO ] [Nat]Absence check using state equation in 42 ms returned sat
[2020-05-27 05:10:38] [INFO ] Computed and/alt/rep : 40/40/40 causal constraints in 5 ms.
[2020-05-27 05:10:39] [INFO ] Added : 30 causal constraints over 6 iterations in 46 ms. Result :sat
Attempting to minimize the solution found.
Minimization took 3 ms.
[2020-05-27 05:10:39] [INFO ] [Real]Absence check using 40 positive place invariants in 13 ms returned sat
[2020-05-27 05:10:39] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2020-05-27 05:10:39] [INFO ] [Real]Absence check using state equation in 40 ms returned sat
[2020-05-27 05:10:39] [INFO ] Computed and/alt/rep : 40/40/40 causal constraints in 4 ms.
[2020-05-27 05:10:39] [INFO ] Added : 34 causal constraints over 7 iterations in 51 ms. Result :sat
Attempting to minimize the solution found.
Minimization took 3 ms.
[2020-05-27 05:10:39] [INFO ] [Real]Absence check using 40 positive place invariants in 11 ms returned sat
[2020-05-27 05:10:39] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2020-05-27 05:10:39] [INFO ] [Real]Absence check using state equation in 34 ms returned sat
[2020-05-27 05:10:39] [INFO ] Computed and/alt/rep : 40/40/40 causal constraints in 8 ms.
[2020-05-27 05:10:39] [INFO ] Added : 19 causal constraints over 4 iterations in 38 ms. Result :sat
Attempting to minimize the solution found.
Minimization took 3 ms.
[2020-05-27 05:10:39] [INFO ] [Real]Absence check using 40 positive place invariants in 10 ms returned unsat
[2020-05-27 05:10:39] [INFO ] [Real]Absence check using 40 positive place invariants in 7 ms returned unsat
FORMULA ResAllocation-PT-R020C002-ReachabilityFireability-14 FALSE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA ResAllocation-PT-R020C002-ReachabilityFireability-13 TRUE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA ResAllocation-PT-R020C002-ReachabilityFireability-03 FALSE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA ResAllocation-PT-R020C002-ReachabilityFireability-01 FALSE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
Incomplete Parikh walk after 8400 steps, including 98 resets, run finished after 20 ms. (steps per millisecond=420 ) properties seen :[0, 0, 1] could not realise parikh vector
FORMULA ResAllocation-PT-R020C002-ReachabilityFireability-12 FALSE TECHNIQUES TOPOLOGICAL PARIKH_WALK
Incomplete Parikh walk after 7700 steps, including 143 resets, run finished after 20 ms. (steps per millisecond=385 ) properties seen :[0, 0] could not realise parikh vector
Incomplete Parikh walk after 8700 steps, including 136 resets, run finished after 19 ms. (steps per millisecond=457 ) properties seen :[0, 0] could not realise parikh vector
Support contains 23 out of 80 places. Attempting structural reductions.
Starting structural reductions, iteration 0 : 80/80 places, 42/42 transitions.
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 2 place count 79 transition count 41
Free-agglomeration rule (complex) applied 1 times.
Iterating global reduction 0 with 1 rules applied. Total rules applied 3 place count 79 transition count 40
Reduce places removed 3 places and 0 transitions.
Iterating post reduction 0 with 3 rules applied. Total rules applied 6 place count 76 transition count 40
Performed 1 Post agglomeration using F-continuation condition.Transition count delta: 1
Deduced a syphon composed of 1 places in 0 ms
Reduce places removed 1 places and 0 transitions.
Iterating global reduction 1 with 2 rules applied. Total rules applied 8 place count 75 transition count 39
Applied a total of 8 rules in 23 ms. Remains 75 /80 variables (removed 5) and now considering 39/42 (removed 3) transitions.
Finished structural reductions, in 1 iterations. Remains : 75/80 places, 39/42 transitions.
Incomplete random walk after 1000000 steps, including 9478 resets, run finished after 1418 ms. (steps per millisecond=705 ) properties seen :[0, 0]
Incomplete Best-First random walk after 1000001 steps, including 2191 resets, run finished after 996 ms. (steps per millisecond=1004 ) properties seen :[0, 0]
Incomplete Best-First random walk after 1000001 steps, including 1942 resets, run finished after 783 ms. (steps per millisecond=1277 ) properties seen :[0, 0]
Interrupted probabilistic random walk after 27719464 steps, run timeout after 30001 ms. (steps per millisecond=923 ) properties seen :[0, 0]
Probabilistic random walk after 27719464 steps, saw 4262884 distinct states, run finished after 30001 ms. (steps per millisecond=923 ) properties seen :[0, 0]
// Phase 1: matrix 39 rows 75 cols
[2020-05-27 05:11:12] [INFO ] Computed 38 place invariants in 4 ms
[2020-05-27 05:11:12] [INFO ] [Real]Absence check using 38 positive place invariants in 18 ms returned sat
[2020-05-27 05:11:12] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2020-05-27 05:11:12] [INFO ] [Real]Absence check using state equation in 92 ms returned sat
[2020-05-27 05:11:12] [INFO ] Deduced a trap composed of 4 places in 41 ms
[2020-05-27 05:11:12] [INFO ] Trap strengthening (SAT) tested/added 2/1 trap constraints in 53 ms
[2020-05-27 05:11:12] [INFO ] Solution in real domain found non-integer solution.
[2020-05-27 05:11:12] [INFO ] [Nat]Absence check using 38 positive place invariants in 37 ms returned sat
[2020-05-27 05:11:12] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2020-05-27 05:11:13] [INFO ] [Nat]Absence check using state equation in 81 ms returned sat
[2020-05-27 05:11:13] [INFO ] Deduced a trap composed of 4 places in 14 ms
[2020-05-27 05:11:13] [INFO ] Trap strengthening (SAT) tested/added 2/1 trap constraints in 35 ms
[2020-05-27 05:11:13] [INFO ] Computed and/alt/rep : 37/37/37 causal constraints in 2 ms.
[2020-05-27 05:11:13] [INFO ] Added : 29 causal constraints over 6 iterations in 41 ms. Result :sat
Attempting to minimize the solution found.
Minimization took 2 ms.
[2020-05-27 05:11:13] [INFO ] [Real]Absence check using 38 positive place invariants in 13 ms returned sat
[2020-05-27 05:11:13] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2020-05-27 05:11:13] [INFO ] [Real]Absence check using state equation in 33 ms returned sat
[2020-05-27 05:11:13] [INFO ] Deduced a trap composed of 4 places in 13 ms
[2020-05-27 05:11:13] [INFO ] Trap strengthening (SAT) tested/added 2/1 trap constraints in 19 ms
[2020-05-27 05:11:13] [INFO ] Solution in real domain found non-integer solution.
[2020-05-27 05:11:13] [INFO ] [Nat]Absence check using 38 positive place invariants in 10 ms returned sat
[2020-05-27 05:11:13] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2020-05-27 05:11:13] [INFO ] [Nat]Absence check using state equation in 36 ms returned sat
[2020-05-27 05:11:13] [INFO ] Deduced a trap composed of 4 places in 19 ms
[2020-05-27 05:11:13] [INFO ] Deduced a trap composed of 4 places in 10 ms
[2020-05-27 05:11:13] [INFO ] Trap strengthening (SAT) tested/added 3/2 trap constraints in 38 ms
[2020-05-27 05:11:13] [INFO ] Computed and/alt/rep : 37/37/37 causal constraints in 3 ms.
[2020-05-27 05:11:13] [INFO ] Added : 33 causal constraints over 7 iterations in 32 ms. Result :sat
Attempting to minimize the solution found.
Minimization took 3 ms.
Incomplete Parikh walk after 8600 steps, including 150 resets, run finished after 19 ms. (steps per millisecond=452 ) properties seen :[0, 0] could not realise parikh vector
Incomplete Parikh walk after 7100 steps, including 146 resets, run finished after 12 ms. (steps per millisecond=591 ) properties seen :[0, 0] could not realise parikh vector
Support contains 23 out of 75 places. Attempting structural reductions.
Starting structural reductions, iteration 0 : 75/75 places, 39/39 transitions.
Applied a total of 0 rules in 3 ms. Remains 75 /75 variables (removed 0) and now considering 39/39 (removed 0) transitions.
Finished structural reductions, in 1 iterations. Remains : 75/75 places, 39/39 transitions.
Starting structural reductions, iteration 0 : 75/75 places, 39/39 transitions.
Applied a total of 0 rules in 2 ms. Remains 75 /75 variables (removed 0) and now considering 39/39 (removed 0) transitions.
// Phase 1: matrix 39 rows 75 cols
[2020-05-27 05:11:13] [INFO ] Computed 38 place invariants in 0 ms
[2020-05-27 05:11:13] [INFO ] Implicit Places using invariants in 61 ms returned [40, 42, 46, 48, 50, 52, 56, 58, 60, 62, 64, 66, 68, 70, 74]
Discarding 15 places :
Implicit Place search using SMT only with invariants took 62 ms to find 15 implicit places.
[2020-05-27 05:11:13] [INFO ] Redundant transitions in 0 ms returned []
// Phase 1: matrix 39 rows 60 cols
[2020-05-27 05:11:13] [INFO ] Computed 23 place invariants in 0 ms
[2020-05-27 05:11:13] [INFO ] Dead Transitions using invariants and state equation in 40 ms returned []
Starting structural reductions, iteration 1 : 60/75 places, 39/39 transitions.
Applied a total of 0 rules in 2 ms. Remains 60 /60 variables (removed 0) and now considering 39/39 (removed 0) transitions.
[2020-05-27 05:11:13] [INFO ] Redundant transitions in 1 ms returned []
// Phase 1: matrix 39 rows 60 cols
[2020-05-27 05:11:13] [INFO ] Computed 23 place invariants in 1 ms
[2020-05-27 05:11:13] [INFO ] Dead Transitions using invariants and state equation in 69 ms returned []
Finished structural reductions, in 2 iterations. Remains : 60/75 places, 39/39 transitions.
Incomplete random walk after 1000000 steps, including 9474 resets, run finished after 1078 ms. (steps per millisecond=927 ) properties seen :[0, 0]
Incomplete Best-First random walk after 1000000 steps, including 2202 resets, run finished after 808 ms. (steps per millisecond=1237 ) properties seen :[0, 0]
Incomplete Best-First random walk after 1000001 steps, including 1960 resets, run finished after 612 ms. (steps per millisecond=1633 ) properties seen :[0, 0]
Probably explored full state space saw : 5238920 states, properties seen :[0, 0]
Probabilistic random walk after 34250188 steps, saw 5238920 distinct states, run finished after 29596 ms. (steps per millisecond=1157 ) properties seen :[0, 0]
Explored full state space saw : 5242880 states, properties seen :[0, 0]
Exhaustive walk after 34275328 steps, saw 5242880 distinct states, run finished after 27740 ms. (steps per millisecond=1235 ) properties seen :[0, 0]
FORMULA ResAllocation-PT-R020C002-ReachabilityFireability-09 FALSE TECHNIQUES TOPOLOGICAL EXHAUSTIVE_WALK
FORMULA ResAllocation-PT-R020C002-ReachabilityFireability-04 FALSE TECHNIQUES TOPOLOGICAL EXHAUSTIVE_WALK
All properties solved without resorting to model-checking.

BK_STOP 1590556333687

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

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