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

About the Execution of ITS-Tools for CloudDeployment-PT-2b

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
226.615 46821.00 96783.00 265.50 TTTFTFFFTTTFFTTT 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.r042-smll-165252095100014.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 CloudDeployment-PT-2b, examination is ReachabilityCardinality
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r042-smll-165252095100014
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 596K
-rw-r--r-- 1 mcc users 8.2K Apr 30 10:55 CTLCardinality.txt
-rw-r--r-- 1 mcc users 90K Apr 30 10:55 CTLCardinality.xml
-rw-r--r-- 1 mcc users 5.4K Apr 30 10:55 CTLFireability.txt
-rw-r--r-- 1 mcc users 48K Apr 30 10:55 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.2K May 10 09:33 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 6.8K May 10 09:33 GenericPropertiesVerdict.xml
-rw-r--r-- 1 mcc users 3.7K May 9 07:16 LTLCardinality.txt
-rw-r--r-- 1 mcc users 26K May 9 07:16 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.2K May 9 07:16 LTLFireability.txt
-rw-r--r-- 1 mcc users 16K May 9 07:16 LTLFireability.xml
-rw-r--r-- 1 mcc users 7.8K Apr 30 10:56 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 77K Apr 30 10:56 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 8.9K Apr 30 10:56 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 78K Apr 30 10:56 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.7K May 9 07:16 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.7K May 9 07:16 UpperBounds.xml
-rw-r--r-- 1 mcc users 6 May 10 09:33 equiv_col
-rw-r--r-- 1 mcc users 3 May 10 09:33 instance
-rw-r--r-- 1 mcc users 6 May 10 09:33 iscolored
-rw-r--r-- 1 mcc users 166K May 10 09:33 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 CloudDeployment-PT-2b-ReachabilityCardinality-00
FORMULA_NAME CloudDeployment-PT-2b-ReachabilityCardinality-01
FORMULA_NAME CloudDeployment-PT-2b-ReachabilityCardinality-02
FORMULA_NAME CloudDeployment-PT-2b-ReachabilityCardinality-03
FORMULA_NAME CloudDeployment-PT-2b-ReachabilityCardinality-04
FORMULA_NAME CloudDeployment-PT-2b-ReachabilityCardinality-05
FORMULA_NAME CloudDeployment-PT-2b-ReachabilityCardinality-06
FORMULA_NAME CloudDeployment-PT-2b-ReachabilityCardinality-07
FORMULA_NAME CloudDeployment-PT-2b-ReachabilityCardinality-08
FORMULA_NAME CloudDeployment-PT-2b-ReachabilityCardinality-09
FORMULA_NAME CloudDeployment-PT-2b-ReachabilityCardinality-10
FORMULA_NAME CloudDeployment-PT-2b-ReachabilityCardinality-11
FORMULA_NAME CloudDeployment-PT-2b-ReachabilityCardinality-12
FORMULA_NAME CloudDeployment-PT-2b-ReachabilityCardinality-13
FORMULA_NAME CloudDeployment-PT-2b-ReachabilityCardinality-14
FORMULA_NAME CloudDeployment-PT-2b-ReachabilityCardinality-15

=== Now, execution of the tool begins

BK_START 1654180435947

Running Version 202205111006
[2022-06-02 14:33:58] [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 14:33:58] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2022-06-02 14:33:59] [INFO ] Load time of PNML (sax parser for PT used): 417 ms
[2022-06-02 14:33:59] [INFO ] Transformed 556 places.
[2022-06-02 14:33:59] [INFO ] Transformed 684 transitions.
[2022-06-02 14:33:59] [INFO ] Found NUPN structural information;
[2022-06-02 14:33:59] [INFO ] Parsed PT model containing 556 places and 684 transitions in 673 ms.
Parsed 16 properties from file /home/mcc/execution/ReachabilityCardinality.xml in 34 ms.
Working with output stream class java.io.PrintStream
FORMULA CloudDeployment-PT-2b-ReachabilityCardinality-11 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
Incomplete random walk after 10000 steps, including 168 resets, run finished after 1299 ms. (steps per millisecond=7 ) properties (out of 15) seen :2
FORMULA CloudDeployment-PT-2b-ReachabilityCardinality-03 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA CloudDeployment-PT-2b-ReachabilityCardinality-01 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
Incomplete Best-First random walk after 10000 steps, including 38 resets, run finished after 60 ms. (steps per millisecond=166 ) properties (out of 13) seen :0
Incomplete Best-First random walk after 10000 steps, including 36 resets, run finished after 120 ms. (steps per millisecond=83 ) properties (out of 13) seen :0
Incomplete Best-First random walk after 10001 steps, including 33 resets, run finished after 135 ms. (steps per millisecond=74 ) properties (out of 13) seen :0
Incomplete Best-First random walk after 10001 steps, including 34 resets, run finished after 133 ms. (steps per millisecond=75 ) properties (out of 13) seen :0
Incomplete Best-First random walk after 10000 steps, including 35 resets, run finished after 148 ms. (steps per millisecond=67 ) properties (out of 13) seen :0
Incomplete Best-First random walk after 10001 steps, including 38 resets, run finished after 100 ms. (steps per millisecond=100 ) properties (out of 13) seen :0
Incomplete Best-First random walk after 10001 steps, including 36 resets, run finished after 215 ms. (steps per millisecond=46 ) properties (out of 13) seen :0
Incomplete Best-First random walk after 10001 steps, including 38 resets, run finished after 119 ms. (steps per millisecond=84 ) properties (out of 13) seen :0
Incomplete Best-First random walk after 10001 steps, including 36 resets, run finished after 90 ms. (steps per millisecond=111 ) properties (out of 13) seen :0
Incomplete Best-First random walk after 10000 steps, including 36 resets, run finished after 103 ms. (steps per millisecond=97 ) properties (out of 13) seen :0
Incomplete Best-First random walk after 10001 steps, including 33 resets, run finished after 124 ms. (steps per millisecond=80 ) properties (out of 13) seen :0
Incomplete Best-First random walk after 10001 steps, including 35 resets, run finished after 134 ms. (steps per millisecond=74 ) properties (out of 13) seen :0
Incomplete Best-First random walk after 10001 steps, including 35 resets, run finished after 130 ms. (steps per millisecond=76 ) properties (out of 13) seen :0
Running SMT prover for 13 properties.
// Phase 1: matrix 684 rows 556 cols
[2022-06-02 14:34:02] [INFO ] Computed 9 place invariants in 35 ms
[2022-06-02 14:34:03] [INFO ] After 787ms SMT Verify possible using all constraints in real domain returned unsat :0 sat :0 real:13
[2022-06-02 14:34:03] [INFO ] [Nat]Absence check using 0 positive and 9 generalized place invariants in 32 ms returned sat
[2022-06-02 14:34:04] [INFO ] After 637ms SMT Verify possible using state equation in natural domain returned unsat :9 sat :4
[2022-06-02 14:34:04] [INFO ] After 1056ms SMT Verify possible using trap constraints in natural domain returned unsat :9 sat :4
Attempting to minimize the solution found.
Minimization took 235 ms.
[2022-06-02 14:34:05] [INFO ] After 1816ms SMT Verify possible using all constraints in natural domain returned unsat :9 sat :4
FORMULA CloudDeployment-PT-2b-ReachabilityCardinality-15 TRUE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA CloudDeployment-PT-2b-ReachabilityCardinality-13 TRUE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA CloudDeployment-PT-2b-ReachabilityCardinality-10 TRUE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA CloudDeployment-PT-2b-ReachabilityCardinality-09 TRUE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA CloudDeployment-PT-2b-ReachabilityCardinality-08 TRUE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA CloudDeployment-PT-2b-ReachabilityCardinality-06 FALSE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA CloudDeployment-PT-2b-ReachabilityCardinality-04 TRUE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA CloudDeployment-PT-2b-ReachabilityCardinality-02 TRUE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA CloudDeployment-PT-2b-ReachabilityCardinality-00 TRUE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
Fused 13 Parikh solutions to 4 different solutions.
Parikh walk visited 0 properties in 1267 ms.
Support contains 12 out of 556 places. Attempting structural reductions.
Starting structural reductions in SAFETY mode, iteration 0 : 556/556 places, 684/684 transitions.
Graph (trivial) has 552 edges and 556 vertex of which 162 / 556 are part of one of the 16 SCC in 8 ms
Free SCC test removed 146 places
Drop transitions removed 194 transitions
Reduce isomorphic transitions removed 194 transitions.
Graph (complete) has 930 edges and 410 vertex of which 394 are kept as prefixes of interest. Removing 16 places using SCC suffix rule.6 ms
Discarding 16 places :
Also discarding 2 output transitions
Drop transitions removed 2 transitions
Drop transitions removed 8 transitions
Reduce isomorphic transitions removed 8 transitions.
Drop transitions removed 195 transitions
Trivial Post-agglo rules discarded 195 transitions
Performed 195 trivial Post agglomeration. Transition count delta: 195
Iterating post reduction 0 with 203 rules applied. Total rules applied 205 place count 394 transition count 285
Reduce places removed 195 places and 0 transitions.
Performed 4 Post agglomeration using F-continuation condition.Transition count delta: 4
Iterating post reduction 1 with 199 rules applied. Total rules applied 404 place count 199 transition count 281
Reduce places removed 4 places and 0 transitions.
Iterating post reduction 2 with 4 rules applied. Total rules applied 408 place count 195 transition count 281
Performed 9 Pre agglomeration using Quasi-Persistent + Divergent Free condition..
Pre-agglomeration after 3 with 9 Pre rules applied. Total rules applied 408 place count 195 transition count 272
Deduced a syphon composed of 9 places in 1 ms
Reduce places removed 9 places and 0 transitions.
Iterating global reduction 3 with 18 rules applied. Total rules applied 426 place count 186 transition count 272
Discarding 56 places :
Symmetric choice reduction at 3 with 56 rule applications. Total rules 482 place count 130 transition count 216
Iterating global reduction 3 with 56 rules applied. Total rules applied 538 place count 130 transition count 216
Ensure Unique test removed 1 transitions
Reduce isomorphic transitions removed 1 transitions.
Iterating post reduction 3 with 1 rules applied. Total rules applied 539 place count 130 transition count 215
Performed 7 Pre agglomeration using Quasi-Persistent + Divergent Free condition..
Pre-agglomeration after 4 with 7 Pre rules applied. Total rules applied 539 place count 130 transition count 208
Deduced a syphon composed of 7 places in 2 ms
Reduce places removed 7 places and 0 transitions.
Iterating global reduction 4 with 14 rules applied. Total rules applied 553 place count 123 transition count 208
Performed 29 Post agglomeration using F-continuation condition.Transition count delta: 29
Deduced a syphon composed of 29 places in 0 ms
Reduce places removed 29 places and 0 transitions.
Iterating global reduction 4 with 58 rules applied. Total rules applied 611 place count 94 transition count 179
Performed 14 Post agglomeration using F-continuation condition with reduction of 12 identical transitions.
Deduced a syphon composed of 14 places in 0 ms
Reduce places removed 14 places and 0 transitions.
Iterating global reduction 4 with 28 rules applied. Total rules applied 639 place count 80 transition count 206
Drop transitions removed 5 transitions
Reduce isomorphic transitions removed 5 transitions.
Iterating post reduction 4 with 5 rules applied. Total rules applied 644 place count 80 transition count 201
Drop transitions removed 34 transitions
Redundant transition composition rules discarded 34 transitions
Iterating global reduction 5 with 34 rules applied. Total rules applied 678 place count 80 transition count 167
Free-agglomeration rule applied 20 times with reduction of 2 identical transitions.
Iterating global reduction 5 with 20 rules applied. Total rules applied 698 place count 80 transition count 145
Reduce places removed 20 places and 0 transitions.
Drop transitions removed 12 transitions
Ensure Unique test removed 6 transitions
Reduce isomorphic transitions removed 18 transitions.
Graph (complete) has 252 edges and 60 vertex of which 59 are kept as prefixes of interest. Removing 1 places using SCC suffix rule.1 ms
Discarding 1 places :
Also discarding 0 output transitions
Iterating post reduction 5 with 39 rules applied. Total rules applied 737 place count 59 transition count 127
Drop transitions removed 1 transitions
Reduce isomorphic transitions removed 1 transitions.
Iterating post reduction 6 with 1 rules applied. Total rules applied 738 place count 59 transition count 126
Drop transitions removed 12 transitions
Redundant transition composition rules discarded 12 transitions
Iterating global reduction 7 with 12 rules applied. Total rules applied 750 place count 59 transition count 114
Free-agglomeration rule (complex) applied 1 times.
Iterating global reduction 7 with 1 rules applied. Total rules applied 751 place count 59 transition count 113
Reduce places removed 1 places and 0 transitions.
Iterating post reduction 7 with 1 rules applied. Total rules applied 752 place count 58 transition count 113
Reduce places removed 1 places and 1 transitions.
Iterating global reduction 8 with 1 rules applied. Total rules applied 753 place count 57 transition count 112
Applied a total of 753 rules in 155 ms. Remains 57 /556 variables (removed 499) and now considering 112/684 (removed 572) transitions.
Finished structural reductions, in 1 iterations. Remains : 57/556 places, 112/684 transitions.
Incomplete random walk after 1000000 steps, including 2 resets, run finished after 20753 ms. (steps per millisecond=48 ) properties (out of 4) seen :0
Interrupted Best-First random walk after 282688 steps, including 0 resets, run timeout after 5001 ms. (steps per millisecond=56 ) properties seen 0
Incomplete Best-First random walk after 1000001 steps, including 2 resets, run finished after 4932 ms. (steps per millisecond=202 ) properties (out of 4) seen :2
FORMULA CloudDeployment-PT-2b-ReachabilityCardinality-14 TRUE TECHNIQUES TOPOLOGICAL BESTFIRST_WALK
FORMULA CloudDeployment-PT-2b-ReachabilityCardinality-07 FALSE TECHNIQUES TOPOLOGICAL BESTFIRST_WALK
Interrupted Best-First random walk after 433253 steps, including 1 resets, run timeout after 5001 ms. (steps per millisecond=86 ) properties seen 0
Running SMT prover for 2 properties.
[2022-06-02 14:34:42] [INFO ] Flow matrix only has 81 transitions (discarded 31 similar events)
// Phase 1: matrix 81 rows 57 cols
[2022-06-02 14:34:42] [INFO ] Computed 7 place invariants in 1 ms
[2022-06-02 14:34:42] [INFO ] After 60ms SMT Verify possible using all constraints in real domain returned unsat :0 sat :0 real:2
[2022-06-02 14:34:42] [INFO ] [Nat]Absence check using 2 positive place invariants in 1 ms returned sat
[2022-06-02 14:34:42] [INFO ] [Nat]Absence check using 2 positive and 5 generalized place invariants in 3 ms returned sat
[2022-06-02 14:34:42] [INFO ] After 69ms SMT Verify possible using state equation in natural domain returned unsat :0 sat :2
[2022-06-02 14:34:42] [INFO ] State equation strengthened by 26 read => feed constraints.
[2022-06-02 14:34:42] [INFO ] After 24ms SMT Verify possible using 26 Read/Feed constraints in natural domain returned unsat :0 sat :2
[2022-06-02 14:34:42] [INFO ] After 58ms SMT Verify possible using trap constraints in natural domain returned unsat :0 sat :2
Attempting to minimize the solution found.
Minimization took 29 ms.
[2022-06-02 14:34:42] [INFO ] After 217ms SMT Verify possible using all constraints in natural domain returned unsat :0 sat :2
Parikh walk visited 0 properties in 68 ms.
Support contains 6 out of 57 places. Attempting structural reductions.
Starting structural reductions in SAFETY mode, iteration 0 : 57/57 places, 112/112 transitions.
Graph (trivial) has 22 edges and 57 vertex of which 2 / 57 are part of one of the 1 SCC in 0 ms
Free SCC test removed 1 places
Drop transitions removed 3 transitions
Reduce isomorphic transitions removed 3 transitions.
Graph (complete) has 224 edges and 56 vertex of which 55 are kept as prefixes of interest. Removing 1 places using SCC suffix rule.1 ms
Discarding 1 places :
Also discarding 0 output transitions
Drop transitions removed 1 transitions
Trivial Post-agglo rules discarded 1 transitions
Performed 1 trivial Post agglomeration. Transition count delta: 1
Iterating post reduction 0 with 1 rules applied. Total rules applied 3 place count 55 transition count 108
Reduce places removed 1 places and 0 transitions.
Iterating post reduction 1 with 1 rules applied. Total rules applied 4 place count 54 transition count 108
Performed 1 Pre agglomeration using Quasi-Persistent + Divergent Free condition..
Pre-agglomeration after 2 with 1 Pre rules applied. Total rules applied 4 place count 54 transition count 107
Deduced a syphon composed of 1 places in 0 ms
Reduce places removed 1 places and 0 transitions.
Iterating global reduction 2 with 2 rules applied. Total rules applied 6 place count 53 transition count 107
Performed 2 Post agglomeration using F-continuation condition.Transition count delta: 2
Deduced a syphon composed of 2 places in 0 ms
Reduce places removed 2 places and 0 transitions.
Iterating global reduction 2 with 4 rules applied. Total rules applied 10 place count 51 transition count 105
Drop transitions removed 2 transitions
Reduce isomorphic transitions removed 2 transitions.
Iterating post reduction 2 with 2 rules applied. Total rules applied 12 place count 51 transition count 103
Applied a total of 12 rules in 22 ms. Remains 51 /57 variables (removed 6) and now considering 103/112 (removed 9) transitions.
Finished structural reductions, in 1 iterations. Remains : 51/57 places, 103/112 transitions.
Finished random walk after 7889 steps, including 210 resets, run visited all 2 properties in 22 ms. (steps per millisecond=358 )
FORMULA CloudDeployment-PT-2b-ReachabilityCardinality-12 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA CloudDeployment-PT-2b-ReachabilityCardinality-05 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
All properties solved without resorting to model-checking.
Total runtime 44113 ms.

BK_STOP 1654180482768

--------------------
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
++ perl -pe 's/.*\.//g'
++ sed s/.jar//
++ 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="CloudDeployment-PT-2b"
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 CloudDeployment-PT-2b, 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 r042-smll-165252095100014"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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