fond
Model Checking Contest 2023
13th edition, Paris, France, April 26, 2023 (at TOOLympics II)
Execution of r075-smll-167814401000414
Last Updated
May 14, 2023

About the Execution of Smart+red for CloudDeployment-PT-5a

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
366.983 49174.00 67846.00 720.10 TTFTTTFFTTFFTTTF normal

Execution Chart

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

Trace from the execution

Formatting '/data/fkordon/mcc2023-input.r075-smll-167814401000414.qcow2', fmt=qcow2 size=4294967296 backing_file=/data/fkordon/mcc2023-input.qcow2 cluster_size=65536 lazy_refcounts=off refcount_bits=16
Waiting for the VM to be ready (probing ssh)
...........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
=====================================================================
Generated by BenchKit 2-5348
Executing tool smartxred
Input is CloudDeployment-PT-5a, examination is ReachabilityCardinality
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r075-smll-167814401000414
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 676K
-rw-r--r-- 1 mcc users 7.0K Feb 25 15:04 CTLCardinality.txt
-rw-r--r-- 1 mcc users 78K Feb 25 15:04 CTLCardinality.xml
-rw-r--r-- 1 mcc users 5.6K Feb 25 14:57 CTLFireability.txt
-rw-r--r-- 1 mcc users 50K Feb 25 14:57 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.2K Jan 29 11:40 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 6.8K Jan 29 11:40 GenericPropertiesVerdict.xml
-rw-r--r-- 1 mcc users 3.6K Feb 25 15:45 LTLCardinality.txt
-rw-r--r-- 1 mcc users 25K Feb 25 15:45 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.2K Feb 25 15:45 LTLFireability.txt
-rw-r--r-- 1 mcc users 16K Feb 25 15:45 LTLFireability.xml
-rw-r--r-- 1 mcc users 9.0K Feb 25 15:17 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 95K Feb 25 15:17 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 9.5K Feb 25 15:10 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 85K Feb 25 15:10 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.7K Feb 25 15:45 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.7K Feb 25 15:45 UpperBounds.xml
-rw-r--r-- 1 mcc users 6 Mar 5 18:22 equiv_col
-rw-r--r-- 1 mcc users 3 Mar 5 18:22 instance
-rw-r--r-- 1 mcc users 6 Mar 5 18:22 iscolored
-rw-r--r-- 1 mcc users 230K Mar 5 18:22 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-5a-ReachabilityCardinality-00
FORMULA_NAME CloudDeployment-PT-5a-ReachabilityCardinality-01
FORMULA_NAME CloudDeployment-PT-5a-ReachabilityCardinality-02
FORMULA_NAME CloudDeployment-PT-5a-ReachabilityCardinality-03
FORMULA_NAME CloudDeployment-PT-5a-ReachabilityCardinality-04
FORMULA_NAME CloudDeployment-PT-5a-ReachabilityCardinality-05
FORMULA_NAME CloudDeployment-PT-5a-ReachabilityCardinality-06
FORMULA_NAME CloudDeployment-PT-5a-ReachabilityCardinality-07
FORMULA_NAME CloudDeployment-PT-5a-ReachabilityCardinality-08
FORMULA_NAME CloudDeployment-PT-5a-ReachabilityCardinality-09
FORMULA_NAME CloudDeployment-PT-5a-ReachabilityCardinality-10
FORMULA_NAME CloudDeployment-PT-5a-ReachabilityCardinality-11
FORMULA_NAME CloudDeployment-PT-5a-ReachabilityCardinality-12
FORMULA_NAME CloudDeployment-PT-5a-ReachabilityCardinality-13
FORMULA_NAME CloudDeployment-PT-5a-ReachabilityCardinality-14
FORMULA_NAME CloudDeployment-PT-5a-ReachabilityCardinality-15

=== Now, execution of the tool begins

BK_START 1678349038563

bash -c /home/mcc/BenchKit/BenchKit_head.sh 2> STDERR ; echo ; echo -n "BK_STOP " ; date -u +%s%3N
Invoking MCC driver with
BK_TOOL=smartxred
BK_EXAMINATION=ReachabilityCardinality
BK_BIN_PATH=/home/mcc/BenchKit/bin/
BK_TIME_CONFINEMENT=3600
BK_INPUT=CloudDeployment-PT-5a
Applying reductions before tool smart
Invoking reducer
Running Version 202303021504
[2023-03-09 08:04:02] [INFO ] Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, ReachabilityCardinality, -timeout, 360, -rebuildPNML]
[2023-03-09 08:04:02] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2023-03-09 08:04:02] [INFO ] Load time of PNML (sax parser for PT used): 202 ms
[2023-03-09 08:04:02] [INFO ] Transformed 180 places.
[2023-03-09 08:04:02] [INFO ] Transformed 675 transitions.
[2023-03-09 08:04:02] [INFO ] Found NUPN structural information;
[2023-03-09 08:04:02] [INFO ] Parsed PT model containing 180 places and 675 transitions and 3959 arcs in 393 ms.
Parsed 16 properties from file /home/mcc/execution/ReachabilityCardinality.xml in 29 ms.
Working with output stream class java.io.PrintStream
Ensure Unique test removed 80 transitions
Reduce redundant transitions removed 80 transitions.
FORMULA CloudDeployment-PT-5a-ReachabilityCardinality-01 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA CloudDeployment-PT-5a-ReachabilityCardinality-04 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA CloudDeployment-PT-5a-ReachabilityCardinality-06 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA CloudDeployment-PT-5a-ReachabilityCardinality-09 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA CloudDeployment-PT-5a-ReachabilityCardinality-10 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
Incomplete random walk after 10000 steps, including 125 resets, run finished after 772 ms. (steps per millisecond=12 ) properties (out of 11) seen :9
FORMULA CloudDeployment-PT-5a-ReachabilityCardinality-15 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA CloudDeployment-PT-5a-ReachabilityCardinality-14 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA CloudDeployment-PT-5a-ReachabilityCardinality-13 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA CloudDeployment-PT-5a-ReachabilityCardinality-12 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA CloudDeployment-PT-5a-ReachabilityCardinality-11 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA CloudDeployment-PT-5a-ReachabilityCardinality-08 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA CloudDeployment-PT-5a-ReachabilityCardinality-05 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA CloudDeployment-PT-5a-ReachabilityCardinality-03 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA CloudDeployment-PT-5a-ReachabilityCardinality-00 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
Incomplete Best-First random walk after 10001 steps, including 17 resets, run finished after 49 ms. (steps per millisecond=204 ) properties (out of 2) seen :0
Incomplete Best-First random walk after 10001 steps, including 19 resets, run finished after 42 ms. (steps per millisecond=238 ) properties (out of 2) seen :0
Running SMT prover for 2 properties.
[2023-03-09 08:04:03] [INFO ] Flow matrix only has 301 transitions (discarded 294 similar events)
// Phase 1: matrix 301 rows 180 cols
[2023-03-09 08:04:03] [INFO ] Computed 30 place invariants in 28 ms
[2023-03-09 08:04:04] [INFO ] After 405ms SMT Verify possible using all constraints in real domain returned unsat :0 sat :0 real:2
[2023-03-09 08:04:04] [INFO ] [Nat]Absence check using 0 positive and 30 generalized place invariants in 19 ms returned sat
[2023-03-09 08:04:04] [INFO ] After 300ms SMT Verify possible using state equation in natural domain returned unsat :0 sat :2
[2023-03-09 08:04:04] [INFO ] State equation strengthened by 132 read => feed constraints.
[2023-03-09 08:04:05] [INFO ] After 135ms SMT Verify possible using 132 Read/Feed constraints in natural domain returned unsat :0 sat :2
[2023-03-09 08:04:05] [INFO ] After 279ms SMT Verify possible using trap constraints in natural domain returned unsat :0 sat :2
Attempting to minimize the solution found.
Minimization took 84 ms.
[2023-03-09 08:04:05] [INFO ] After 938ms SMT Verify possible using all constraints in natural domain returned unsat :0 sat :2
Fused 2 Parikh solutions to 1 different solutions.
Parikh walk visited 0 properties in 19 ms.
Support contains 5 out of 180 places. Attempting structural reductions.
Starting structural reductions in REACHABILITY mode, iteration 0 : 180/180 places, 595/595 transitions.
Graph (trivial) has 199 edges and 180 vertex of which 49 / 180 are part of one of the 15 SCC in 23 ms
Free SCC test removed 34 places
Drop transitions removed 163 transitions
Ensure Unique test removed 25 transitions
Reduce isomorphic transitions removed 188 transitions.
Ensure Unique test removed 9 places
Iterating post reduction 0 with 9 rules applied. Total rules applied 10 place count 137 transition count 407
Discarding 7 places :
Symmetric choice reduction at 1 with 7 rule applications. Total rules 17 place count 130 transition count 380
Iterating global reduction 1 with 7 rules applied. Total rules applied 24 place count 130 transition count 380
Discarding 2 places :
Symmetric choice reduction at 1 with 2 rule applications. Total rules 26 place count 128 transition count 378
Iterating global reduction 1 with 2 rules applied. Total rules applied 28 place count 128 transition count 378
Discarding 1 places :
Symmetric choice reduction at 1 with 1 rule applications. Total rules 29 place count 127 transition count 377
Iterating global reduction 1 with 1 rules applied. Total rules applied 30 place count 127 transition count 377
Performed 15 Post agglomeration using F-continuation condition.Transition count delta: -45
Deduced a syphon composed of 15 places in 2 ms
Reduce places removed 15 places and 0 transitions.
Iterating global reduction 1 with 30 rules applied. Total rules applied 60 place count 112 transition count 422
Drop transitions removed 80 transitions
Redundant transition composition rules discarded 80 transitions
Iterating global reduction 1 with 80 rules applied. Total rules applied 140 place count 112 transition count 342
Free-agglomeration rule (complex) applied 5 times.
Iterating global reduction 1 with 5 rules applied. Total rules applied 145 place count 112 transition count 368
Reduce places removed 5 places and 0 transitions.
Iterating post reduction 1 with 5 rules applied. Total rules applied 150 place count 107 transition count 368
Partial Free-agglomeration rule applied 1 times.
Drop transitions removed 1 transitions
Iterating global reduction 2 with 1 rules applied. Total rules applied 151 place count 107 transition count 368
Applied a total of 151 rules in 262 ms. Remains 107 /180 variables (removed 73) and now considering 368/595 (removed 227) transitions.
Finished structural reductions in REACHABILITY mode , in 1 iterations and 263 ms. Remains : 107/180 places, 368/595 transitions.
Incomplete random walk after 10000 steps, including 176 resets, run finished after 137 ms. (steps per millisecond=72 ) properties (out of 2) seen :0
Incomplete Best-First random walk after 10001 steps, including 25 resets, run finished after 42 ms. (steps per millisecond=238 ) properties (out of 2) seen :0
Incomplete Best-First random walk after 10001 steps, including 27 resets, run finished after 35 ms. (steps per millisecond=285 ) properties (out of 2) seen :0
Interrupted probabilistic random walk after 572170 steps, run timeout after 3001 ms. (steps per millisecond=190 ) properties seen :{}
Probabilistic random walk after 572170 steps, saw 104011 distinct states, run finished after 3002 ms. (steps per millisecond=190 ) properties seen :0
Running SMT prover for 2 properties.
[2023-03-09 08:04:08] [INFO ] Flow matrix only has 183 transitions (discarded 185 similar events)
// Phase 1: matrix 183 rows 107 cols
[2023-03-09 08:04:08] [INFO ] Computed 21 place invariants in 6 ms
[2023-03-09 08:04:08] [INFO ] After 58ms SMT Verify possible using all constraints in real domain returned unsat :0 sat :0 real:2
[2023-03-09 08:04:08] [INFO ] [Nat]Absence check using 0 positive and 21 generalized place invariants in 9 ms returned sat
[2023-03-09 08:04:09] [INFO ] After 95ms SMT Verify possible using state equation in natural domain returned unsat :0 sat :2
[2023-03-09 08:04:09] [INFO ] State equation strengthened by 96 read => feed constraints.
[2023-03-09 08:04:09] [INFO ] After 57ms SMT Verify possible using 96 Read/Feed constraints in natural domain returned unsat :0 sat :2
[2023-03-09 08:04:09] [INFO ] After 102ms SMT Verify possible using trap constraints in natural domain returned unsat :0 sat :2
Attempting to minimize the solution found.
Minimization took 35 ms.
[2023-03-09 08:04:09] [INFO ] After 300ms SMT Verify possible using all constraints in natural domain returned unsat :0 sat :2
Parikh walk visited 0 properties in 5 ms.
Support contains 5 out of 107 places. Attempting structural reductions.
Starting structural reductions in REACHABILITY mode, iteration 0 : 107/107 places, 368/368 transitions.
Applied a total of 0 rules in 12 ms. Remains 107 /107 variables (removed 0) and now considering 368/368 (removed 0) transitions.
Finished structural reductions in REACHABILITY mode , in 1 iterations and 12 ms. Remains : 107/107 places, 368/368 transitions.
Starting structural reductions in REACHABILITY mode, iteration 0 : 107/107 places, 368/368 transitions.
Applied a total of 0 rules in 12 ms. Remains 107 /107 variables (removed 0) and now considering 368/368 (removed 0) transitions.
[2023-03-09 08:04:09] [INFO ] Flow matrix only has 183 transitions (discarded 185 similar events)
[2023-03-09 08:04:09] [INFO ] Invariant cache hit.
[2023-03-09 08:04:09] [INFO ] Implicit Places using invariants in 138 ms returned []
[2023-03-09 08:04:09] [INFO ] Flow matrix only has 183 transitions (discarded 185 similar events)
[2023-03-09 08:04:09] [INFO ] Invariant cache hit.
[2023-03-09 08:04:09] [INFO ] State equation strengthened by 96 read => feed constraints.
[2023-03-09 08:04:09] [INFO ] Implicit Places using invariants and state equation in 382 ms returned []
Implicit Place search using SMT with State Equation took 524 ms to find 0 implicit places.
[2023-03-09 08:04:09] [INFO ] Redundant transitions in 48 ms returned []
[2023-03-09 08:04:09] [INFO ] Flow matrix only has 183 transitions (discarded 185 similar events)
[2023-03-09 08:04:09] [INFO ] Invariant cache hit.
[2023-03-09 08:04:10] [INFO ] Dead Transitions using invariants and state equation in 424 ms found 0 transitions.
Finished structural reductions in REACHABILITY mode , in 1 iterations and 1023 ms. Remains : 107/107 places, 368/368 transitions.
Graph (trivial) has 85 edges and 107 vertex of which 35 / 107 are part of one of the 5 SCC in 1 ms
Free SCC test removed 30 places
Drop transitions removed 40 transitions
Ensure Unique test removed 185 transitions
Reduce isomorphic transitions removed 225 transitions.
Ensure Unique test removed 9 places
Drop transitions removed 16 transitions
Trivial Post-agglo rules discarded 16 transitions
Performed 16 trivial Post agglomeration. Transition count delta: 16
Iterating post reduction 0 with 25 rules applied. Total rules applied 26 place count 68 transition count 127
Reduce places removed 16 places and 0 transitions.
Iterating post reduction 1 with 16 rules applied. Total rules applied 42 place count 52 transition count 127
Performed 8 Pre agglomeration using Quasi-Persistent + Divergent Free condition..
Pre-agglomeration after 2 with 8 Pre rules applied. Total rules applied 42 place count 52 transition count 119
Deduced a syphon composed of 8 places in 0 ms
Reduce places removed 8 places and 0 transitions.
Iterating global reduction 2 with 16 rules applied. Total rules applied 58 place count 44 transition count 119
Discarding 4 places :
Symmetric choice reduction at 2 with 4 rule applications. Total rules 62 place count 40 transition count 115
Iterating global reduction 2 with 4 rules applied. Total rules applied 66 place count 40 transition count 115
Discarding 4 places :
Symmetric choice reduction at 2 with 4 rule applications. Total rules 70 place count 36 transition count 95
Iterating global reduction 2 with 4 rules applied. Total rules applied 74 place count 36 transition count 95
Ensure Unique test removed 4 transitions
Reduce isomorphic transitions removed 4 transitions.
Iterating post reduction 2 with 4 rules applied. Total rules applied 78 place count 36 transition count 91
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 3 with 2 rules applied. Total rules applied 80 place count 35 transition count 90
Drop transitions removed 9 transitions
Redundant transition composition rules discarded 9 transitions
Iterating global reduction 3 with 9 rules applied. Total rules applied 89 place count 35 transition count 81
Free-agglomeration rule applied 5 times with reduction of 22 identical transitions.
Iterating global reduction 3 with 5 rules applied. Total rules applied 94 place count 35 transition count 54
Reduce places removed 5 places and 0 transitions.
Ensure Unique test removed 8 transitions
Reduce isomorphic transitions removed 8 transitions.
Iterating post reduction 3 with 13 rules applied. Total rules applied 107 place count 30 transition count 46
Drop transitions removed 1 transitions
Redundant transition composition rules discarded 1 transitions
Iterating global reduction 4 with 1 rules applied. Total rules applied 108 place count 30 transition count 45
Applied a total of 108 rules in 41 ms. Remains 30 /107 variables (removed 77) and now considering 45/368 (removed 323) transitions.
Running SMT prover for 2 properties.
// Phase 1: matrix 45 rows 30 cols
[2023-03-09 08:04:10] [INFO ] Computed 12 place invariants in 1 ms
[2023-03-09 08:04:10] [INFO ] After 33ms SMT Verify possible using all constraints in real domain returned unsat :0 sat :0 real:2
[2023-03-09 08:04:10] [INFO ] [Nat]Absence check using 0 positive and 12 generalized place invariants in 4 ms returned sat
[2023-03-09 08:04:10] [INFO ] After 37ms SMT Verify possible using state equation in natural domain returned unsat :0 sat :2
[2023-03-09 08:04:10] [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 16 ms.
[2023-03-09 08:04:10] [INFO ] After 118ms SMT Verify possible using all constraints in natural domain returned unsat :0 sat :2
[2023-03-09 08:04:10] [INFO ] Export to MCC of 2 properties in file /home/mcc/execution/ReachabilityCardinality.sr.xml took 4 ms.
[2023-03-09 08:04:10] [INFO ] Export to PNML in file /home/mcc/execution/model.sr.pnml of net with 107 places, 368 transitions and 2892 arcs took 7 ms.
[2023-03-09 08:04:10] [INFO ] Flatten gal took : 140 ms
Total runtime 8541 ms.
There are residual formulas that ITS could not solve within timeout
======================================================
========== this is Smart for the MCC'2018 ============
======================================================
Running CloudDeployment (PT), instance 5a
Examination ReachabilityCardinality
Parser /home/mcc/BenchKit/bin//../reducer/bin//../../smart/bin//parser/Cardinality.jar
Model checker /home/mcc/BenchKit/bin//../reducer/bin//../../smart/bin//rem_exec//smart

GOT IT HERE. BS
Petri model created: 107 places, 368 transitions, 2892 arcs.
Final Score: 2415.174
Took : 34 seconds
Reachability Cardinality file is: ReachabilityCardinality.xml
READY TO PARSE. BS
PROPERTY: CloudDeployment-PT-5a-ReachabilityCardinality-02 (reachable &!potential( ( ( ( (tk(P98)) <= ( 1 ) ) & ( ( 1 ) <= (tk(P98)) ) ) | ( ( ( (tk(P2)) <= ( 0 ) ) & ( ( 0 ) <= (tk(P2)) ) ) | ( ( (tk(P100)) <= ( 1 ) ) & ( ( 1 ) <= (tk(P100)) ) ) ) )))
PROPERTY: CloudDeployment-PT-5a-ReachabilityCardinality-07 (reachable &!potential( ( ( ( (tk(P20)) <= ( 0 ) ) & ( ( 0 ) <= (tk(P20)) ) ) | ( ( (tk(P12)) <= ( 1 ) ) & ( ( 1 ) <= (tk(P12)) ) ) )))
FORMULA CloudDeployment-PT-5a-ReachabilityCardinality-02 FALSE TECHNIQUES SEQUENTIAL_PROCESSING DECISION_DIAGRAMS
FORMULA CloudDeployment-PT-5a-ReachabilityCardinality-07 FALSE TECHNIQUES SEQUENTIAL_PROCESSING DECISION_DIAGRAMS

BK_STOP 1678349087737

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

+ ulimit -s 65536
+ [[ -z '' ]]
+ export LTSMIN_MEM_SIZE=8589934592
+ LTSMIN_MEM_SIZE=8589934592
+ export PYTHONPATH=/home/mcc/BenchKit/itstools/pylibs
+ PYTHONPATH=/home/mcc/BenchKit/itstools/pylibs
+ export LD_LIBRARY_PATH=/home/mcc/BenchKit/itstools/pylibs:
+ LD_LIBRARY_PATH=/home/mcc/BenchKit/itstools/pylibs:
++ sed s/.jar//
++ perl -pe 's/.*\.//g'
++ ls /home/mcc/BenchKit/bin//../reducer/bin//../../itstools//itstools/plugins/fr.lip6.move.gal.application.pnmcc_1.0.0.202303021504.jar
+ VERSION=202303021504
+ echo 'Running Version 202303021504'
+ /home/mcc/BenchKit/bin//../reducer/bin//../../itstools//itstools/its-tools -pnfolder /home/mcc/execution -examination ReachabilityCardinality -timeout 360 -rebuildPNML

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-5a"
export BK_EXAMINATION="ReachabilityCardinality"
export BK_TOOL="smartxred"
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-5348"
echo " Executing tool smartxred"
echo " Input is CloudDeployment-PT-5a, 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 r075-smll-167814401000414"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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