fond
Model Checking Contest 2024
14th edition, Geneva, Switzerland, June 25, 2024
Execution of r378-smll-171683811400391
Last Updated
July 7, 2024

About the Execution of ITS-Tools for SmartHome-PT-07

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
316.747 7919.00 22644.00 176.50 TTFFTTTTFFTFFTFT normal

Execution Chart

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

Trace from the execution

Formatting '/data/fkordon/mcc2024-input.r378-smll-171683811400391.qcow2', fmt=qcow2 size=4294967296 backing_file=/data/fkordon/mcc2024-input.qcow2 backing_fmt=qcow2 cluster_size=65536 lazy_refcounts=off refcount_bits=16
Waiting for the VM to be ready (probing ssh)
......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
=====================================================================
Generated by BenchKit 2-5568
Executing tool itstools
Input is SmartHome-PT-07, examination is ReachabilityFireability
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r378-smll-171683811400391
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 500K
-rw-r--r-- 1 mcc users 7.5K May 14 13:22 CTLCardinality.txt
-rw-r--r-- 1 mcc users 86K May 14 13:22 CTLCardinality.xml
-rw-r--r-- 1 mcc users 4.7K May 14 13:22 CTLFireability.txt
-rw-r--r-- 1 mcc users 40K May 14 13:22 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.2K May 18 16:43 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 6.8K May 18 16:43 GenericPropertiesVerdict.xml
-rw-r--r-- 1 mcc users 3.7K Apr 23 07:57 LTLCardinality.txt
-rw-r--r-- 1 mcc users 27K Apr 23 07:57 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.2K Apr 23 07:57 LTLFireability.txt
-rw-r--r-- 1 mcc users 19K Apr 23 07:57 LTLFireability.xml
-rw-r--r-- 1 mcc users 11K Apr 12 03:48 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 115K Apr 12 03:48 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 7.5K Apr 12 03:47 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 63K Apr 12 03:47 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.6K Apr 23 07:57 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.6K Apr 23 07:57 UpperBounds.xml
-rw-r--r-- 1 mcc users 6 May 18 16:43 equiv_col
-rw-r--r-- 1 mcc users 3 May 18 16:43 instance
-rw-r--r-- 1 mcc users 6 May 18 16:43 iscolored
-rw-r--r-- 1 mcc users 63K May 18 16:43 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 SmartHome-PT-07-ReachabilityFireability-2024-00
FORMULA_NAME SmartHome-PT-07-ReachabilityFireability-2024-01
FORMULA_NAME SmartHome-PT-07-ReachabilityFireability-2024-02
FORMULA_NAME SmartHome-PT-07-ReachabilityFireability-2024-03
FORMULA_NAME SmartHome-PT-07-ReachabilityFireability-2024-04
FORMULA_NAME SmartHome-PT-07-ReachabilityFireability-2024-05
FORMULA_NAME SmartHome-PT-07-ReachabilityFireability-2024-06
FORMULA_NAME SmartHome-PT-07-ReachabilityFireability-2024-07
FORMULA_NAME SmartHome-PT-07-ReachabilityFireability-2024-08
FORMULA_NAME SmartHome-PT-07-ReachabilityFireability-2024-09
FORMULA_NAME SmartHome-PT-07-ReachabilityFireability-2024-10
FORMULA_NAME SmartHome-PT-07-ReachabilityFireability-2024-11
FORMULA_NAME SmartHome-PT-07-ReachabilityFireability-2024-12
FORMULA_NAME SmartHome-PT-07-ReachabilityFireability-2024-13
FORMULA_NAME SmartHome-PT-07-ReachabilityFireability-2024-14
FORMULA_NAME SmartHome-PT-07-ReachabilityFireability-2024-15

=== Now, execution of the tool begins

BK_START 1717031218770

Invoking MCC driver with
BK_TOOL=itstools
BK_EXAMINATION=ReachabilityFireability
BK_BIN_PATH=/home/mcc/BenchKit/bin/
BK_TIME_CONFINEMENT=3600
BK_INPUT=SmartHome-PT-07
BK_MEMORY_CONFINEMENT=16384
Not applying reductions.
Model is PT
ReachabilityFireability PT
Running Version 202405141337
[2024-05-30 01:07:00] [INFO ] Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, ReachabilityFireability, -its, -ltsmin, -greatspnpath, /home/mcc/BenchKit/bin//../itstools/bin//..//greatspn/, -order, META, -manyOrder, -smt, -timeout, 3600]
[2024-05-30 01:07:00] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2024-05-30 01:07:01] [INFO ] Load time of PNML (sax parser for PT used): 233 ms
[2024-05-30 01:07:01] [INFO ] Transformed 251 places.
[2024-05-30 01:07:01] [INFO ] Transformed 290 transitions.
[2024-05-30 01:07:01] [INFO ] Found NUPN structural information;
[2024-05-30 01:07:01] [INFO ] Parsed PT model containing 251 places and 290 transitions and 658 arcs in 448 ms.
Parsed 16 properties from file /home/mcc/execution/ReachabilityFireability.xml in 29 ms.
Working with output stream class java.io.PrintStream
Deduced a syphon composed of 29 places in 8 ms
Reduce places removed 29 places and 30 transitions.
FORMULA SmartHome-PT-07-ReachabilityFireability-2024-09 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
[2024-05-30 01:07:02] [INFO ] Flatten gal took : 142 ms
[2024-05-30 01:07:02] [INFO ] Flatten gal took : 48 ms
[2024-05-30 01:07:02] [INFO ] Time to serialize gal into /tmp/ReachabilityCardinality9499155080858607758.gal : 50 ms
[2024-05-30 01:07:02] [INFO ] Time to serialize properties into /tmp/ReachabilityCardinality16093304319725006609.prop : 13 ms
Invoking ITS tools like this :cd /home/mcc/execution;'/home/mcc/BenchKit/itstools/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202405141337/bin/its-reach-linux64' '--gc-threshold' '2000000' '--quiet' '-i' '/tmp/ReachabilityCardinality9499155080858607758.gal' '-t' 'CGAL' '-reachable-file' '/tmp/ReachabilityCardinality16093304319725006609.prop' '--nowitness' '--gen-order' 'FOLLOW'
RANDOM walk for 40000 steps (220 resets) in 2313 ms. (17 steps per ms) remains 3/15 properties
FORMULA SmartHome-PT-07-ReachabilityFireability-2024-14 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA SmartHome-PT-07-ReachabilityFireability-2024-13 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA SmartHome-PT-07-ReachabilityFireability-2024-11 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA SmartHome-PT-07-ReachabilityFireability-2024-10 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA SmartHome-PT-07-ReachabilityFireability-2024-08 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA SmartHome-PT-07-ReachabilityFireability-2024-07 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA SmartHome-PT-07-ReachabilityFireability-2024-06 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA SmartHome-PT-07-ReachabilityFireability-2024-05 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA SmartHome-PT-07-ReachabilityFireability-2024-04 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA SmartHome-PT-07-ReachabilityFireability-2024-03 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA SmartHome-PT-07-ReachabilityFireability-2024-01 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA SmartHome-PT-07-ReachabilityFireability-2024-00 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK

its-reach command run as :

/home/mcc/BenchKit/itstools/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202405141337/bin/its-reach-linux64 --gc-threshold 2000000 --quiet ...329
Loading property file /tmp/ReachabilityCardinality16093304319725006609.prop.
SDD proceeding with computation,15 properties remain. new max is 4
SDD size :1 after 3
SDD proceeding with computation,15 properties remain. new max is 8
SDD size :3 after 8
SDD proceeding with computation,15 properties remain. new max is 16
SDD size :8 after 18
Reachability property SmartHome-PT-07-ReachabilityFireability-2024-13 is true.
Reachability property SmartHome-PT-07-ReachabilityFireability-2024-07 is true.
Invariant property SmartHome-PT-07-ReachabilityFireability-2024-03 does not hold.
SDD proceeding with computation,12 properties remain. new max is 16
SDD size :18 after 39
Invariant property SmartHome-PT-07-ReachabilityFireability-2024-11 does not hold.
SDD proceeding with computation,11 properties remain. new max is 16
SDD size :39 after 57
SDD proceeding with computation,11 properties remain. new max is 32
SDD size :57 after 77
SDD proceeding with computation,11 properties remain. new max is 64
SDD size :77 after 1267
SDD proceeding with computation,11 properties remain. new max is 128
SDD size :1267 after 11517
Reachability property SmartHome-PT-07-ReachabilityFireability-2024-04 is true.
Reachability property SmartHome-PT-07-ReachabilityFireability-2024-00 is true.
SDD proceeding with computation,9 properties remain. new max is 128
SDD size :11517 after 53428
BEST_FIRST walk for 40004 steps (36 resets) in 1723 ms. (23 steps per ms) remains 3/3 properties
BEST_FIRST walk for 40004 steps (36 resets) in 192 ms. (207 steps per ms) remains 3/3 properties
BEST_FIRST walk for 40003 steps (24 resets) in 161 ms. (246 steps per ms) remains 3/3 properties
// Phase 1: matrix 260 rows 222 cols
[2024-05-30 01:07:03] [INFO ] Computed 10 invariants in 26 ms
Reachability property SmartHome-PT-07-ReachabilityFireability-2024-05 is true.
SDD proceeding with computation,8 properties remain. new max is 128
SDD size :53428 after 484566
Problem SmartHome-PT-07-ReachabilityFireability-2024-12 is UNSAT
FORMULA SmartHome-PT-07-ReachabilityFireability-2024-12 FALSE TECHNIQUES SMT_REFINEMENT
All remaining problems are real, not stopping.
At refinement iteration 0 (INCLUDED_ONLY) 0/51 variables, 51/51 constraints. Problems are: Problem set: 1 solved, 2 unsolved
At refinement iteration 1 (INCLUDED_ONLY) 0/51 variables, 0/51 constraints. Problems are: Problem set: 1 solved, 2 unsolved
Problem SmartHome-PT-07-ReachabilityFireability-2024-02 is UNSAT
FORMULA SmartHome-PT-07-ReachabilityFireability-2024-02 FALSE TECHNIQUES SMT_REFINEMENT
At refinement iteration 2 (OVERLAPS) 171/222 variables, 10/61 constraints. Problems are: Problem set: 2 solved, 1 unsolved
At refinement iteration 3 (INCLUDED_ONLY) 0/222 variables, 171/232 constraints. Problems are: Problem set: 2 solved, 1 unsolved
At refinement iteration 4 (INCLUDED_ONLY) 0/222 variables, 0/232 constraints. Problems are: Problem set: 2 solved, 1 unsolved
At refinement iteration 5 (OVERLAPS) 260/482 variables, 222/454 constraints. Problems are: Problem set: 2 solved, 1 unsolved
At refinement iteration 6 (INCLUDED_ONLY) 0/482 variables, 0/454 constraints. Problems are: Problem set: 2 solved, 1 unsolved
At refinement iteration 7 (OVERLAPS) 0/482 variables, 0/454 constraints. Problems are: Problem set: 2 solved, 1 unsolved
No progress, stopping.
After SMT solving in domain Real declared 482/482 variables, and 454 constraints, problems are : Problem set: 2 solved, 1 unsolved in 1750 ms.
Refiners :[Domain max(s): 222/222 constraints, Positive P Invariants (semi-flows): 10/10 constraints, State Equation: 222/222 constraints, PredecessorRefiner: 3/3 constraints, Known Traps: 0/0 constraints]
Escalating to Integer solving :Problem set: 2 solved, 1 unsolved
At refinement iteration 0 (INCLUDED_ONLY) 0/15 variables, 15/15 constraints. Problems are: Problem set: 2 solved, 1 unsolved
At refinement iteration 1 (INCLUDED_ONLY) 0/15 variables, 0/15 constraints. Problems are: Problem set: 2 solved, 1 unsolved
At refinement iteration 2 (OVERLAPS) 207/222 variables, 10/25 constraints. Problems are: Problem set: 2 solved, 1 unsolved
At refinement iteration 3 (INCLUDED_ONLY) 0/222 variables, 207/232 constraints. Problems are: Problem set: 2 solved, 1 unsolved
Invariant property SmartHome-PT-07-ReachabilityFireability-2024-14 does not hold.
[2024-05-30 01:07:05] [INFO ] Deduced a trap composed of 31 places in 126 ms of which 14 ms to minimize.
At refinement iteration 4 (INCLUDED_ONLY) 0/222 variables, 1/233 constraints. Problems are: Problem set: 2 solved, 1 unsolved
At refinement iteration 5 (INCLUDED_ONLY) 0/222 variables, 0/233 constraints. Problems are: Problem set: 2 solved, 1 unsolved
At refinement iteration 6 (OVERLAPS) 260/482 variables, 222/455 constraints. Problems are: Problem set: 2 solved, 1 unsolved
At refinement iteration 7 (INCLUDED_ONLY) 0/482 variables, 1/456 constraints. Problems are: Problem set: 2 solved, 1 unsolved
[2024-05-30 01:07:05] [INFO ] Deduced a trap composed of 31 places in 91 ms of which 3 ms to minimize.
At refinement iteration 8 (INCLUDED_ONLY) 0/482 variables, 1/457 constraints. Problems are: Problem set: 2 solved, 1 unsolved
At refinement iteration 9 (INCLUDED_ONLY) 0/482 variables, 0/457 constraints. Problems are: Problem set: 2 solved, 1 unsolved
At refinement iteration 10 (OVERLAPS) 0/482 variables, 0/457 constraints. Problems are: Problem set: 2 solved, 1 unsolved
No progress, stopping.
After SMT solving in domain Int declared 482/482 variables, and 457 constraints, problems are : Problem set: 2 solved, 1 unsolved in 919 ms.
Refiners :[Domain max(s): 222/222 constraints, Positive P Invariants (semi-flows): 10/10 constraints, State Equation: 222/222 constraints, PredecessorRefiner: 1/3 constraints, Known Traps: 2/2 constraints]
After SMT, in 2849ms problems are : Problem set: 2 solved, 1 unsolved
Parikh walk visited 0 properties in 55 ms.
Support contains 15 out of 222 places. Attempting structural reductions.
Starting structural reductions in REACHABILITY mode, iteration 0 : 222/222 places, 260/260 transitions.
Graph (trivial) has 153 edges and 222 vertex of which 4 / 222 are part of one of the 2 SCC in 6 ms
Free SCC test removed 2 places
Drop transitions (Empty/Sink Transition effects.) removed 4 transitions
Reduce isomorphic transitions removed 4 transitions.
Graph (complete) has 329 edges and 220 vertex of which 213 are kept as prefixes of interest. Removing 7 places using SCC suffix rule.2 ms
Discarding 7 places :
Also discarding 0 output transitions
Drop transitions (Empty/Sink Transition effects.) removed 2 transitions
Reduce isomorphic transitions removed 2 transitions.
Drop transitions (Trivial Post-Agglo cleanup.) removed 80 transitions
Trivial Post-agglo rules discarded 80 transitions
Performed 80 trivial Post agglomeration. Transition count delta: 80
Iterating post reduction 0 with 82 rules applied. Total rules applied 84 place count 213 transition count 174
Reduce places removed 80 places and 0 transitions.
Ensure Unique test removed 8 transitions
Reduce isomorphic transitions removed 8 transitions.
Drop transitions (Trivial Post-Agglo cleanup.) removed 13 transitions
Trivial Post-agglo rules discarded 13 transitions
Performed 13 trivial Post agglomeration. Transition count delta: 13
Iterating post reduction 1 with 101 rules applied. Total rules applied 185 place count 133 transition count 153
Reduce places removed 13 places and 0 transitions.
Ensure Unique test removed 1 transitions
Reduce isomorphic transitions removed 1 transitions.
Drop transitions (Trivial Post-Agglo cleanup.) removed 1 transitions
Trivial Post-agglo rules discarded 1 transitions
Performed 1 trivial Post agglomeration. Transition count delta: 1
Iterating post reduction 2 with 15 rules applied. Total rules applied 200 place count 120 transition count 151
Reduce places removed 1 places and 0 transitions.
Performed 8 Post agglomeration using F-continuation condition.Transition count delta: 8
Iterating post reduction 3 with 9 rules applied. Total rules applied 209 place count 119 transition count 143
Reduce places removed 8 places and 0 transitions.
Ensure Unique test removed 1 transitions
Reduce isomorphic transitions removed 1 transitions.
Iterating post reduction 4 with 9 rules applied. Total rules applied 218 place count 111 transition count 142
Performed 9 Pre agglomeration using Quasi-Persistent + Divergent Free condition..
Pre-agglomeration after 5 with 9 Pre rules applied. Total rules applied 218 place count 111 transition count 133
Deduced a syphon composed of 9 places in 1 ms
Reduce places removed 9 places and 0 transitions.
Iterating global reduction 5 with 18 rules applied. Total rules applied 236 place count 102 transition count 133
Discarding 41 places :
Symmetric choice reduction at 5 with 41 rule applications. Total rules 277 place count 61 transition count 92
Iterating global reduction 5 with 41 rules applied. Total rules applied 318 place count 61 transition count 92
Ensure Unique test removed 14 transitions
Reduce isomorphic transitions removed 14 transitions.
Performed 4 Post agglomeration using F-continuation condition.Transition count delta: 4
Iterating post reduction 5 with 18 rules applied. Total rules applied 336 place count 61 transition count 74
Reduce places removed 4 places and 0 transitions.
Ensure Unique test removed 4 transitions
Reduce isomorphic transitions removed 4 transitions.
Iterating post reduction 6 with 8 rules applied. Total rules applied 344 place count 57 transition count 70
Performed 13 Post agglomeration using F-continuation condition.Transition count delta: 13
Deduced a syphon composed of 13 places in 1 ms
Reduce places removed 13 places and 0 transitions.
Iterating global reduction 7 with 26 rules applied. Total rules applied 370 place count 44 transition count 57
Drop transitions (Empty/Sink Transition effects.) removed 1 transitions
Reduce isomorphic transitions removed 1 transitions.
Graph (complete) has 89 edges and 44 vertex of which 43 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 7 with 2 rules applied. Total rules applied 372 place count 43 transition count 56
Drop transitions (Empty/Sink Transition effects.) removed 1 transitions
Reduce isomorphic transitions removed 1 transitions.
Iterating post reduction 8 with 1 rules applied. Total rules applied 373 place count 43 transition count 55
Drop transitions (Redundant composition of simpler transitions.) removed 4 transitions
Redundant transition composition rules discarded 4 transitions
Iterating global reduction 9 with 4 rules applied. Total rules applied 377 place count 43 transition count 51
Free-agglomeration rule applied 1 times.
Iterating global reduction 9 with 1 rules applied. Total rules applied 378 place count 43 transition count 50
Reduce places removed 1 places and 0 transitions.
Iterating post reduction 9 with 1 rules applied. Total rules applied 379 place count 42 transition count 50
Reduce places removed 1 places and 1 transitions.
Iterating global reduction 10 with 1 rules applied. Total rules applied 380 place count 41 transition count 49
Applied a total of 380 rules in 161 ms. Remains 41 /222 variables (removed 181) and now considering 49/260 (removed 211) transitions.
Finished structural reductions in REACHABILITY mode , in 1 iterations and 178 ms. Remains : 41/222 places, 49/260 transitions.
RANDOM walk for 40000 steps (8 resets) in 461 ms. (86 steps per ms) remains 1/1 properties
BEST_FIRST walk for 40003 steps (8 resets) in 170 ms. (233 steps per ms) remains 1/1 properties
Finished probabilistic random walk after 37218 steps, run visited all 1 properties in 72 ms. (steps per millisecond=516 )
Probabilistic random walk after 37218 steps, saw 7273 distinct states, run finished after 77 ms. (steps per millisecond=483 ) properties seen :1
FORMULA SmartHome-PT-07-ReachabilityFireability-2024-15 TRUE TECHNIQUES TOPOLOGICAL PROBABILISTIC_WALK
ITS runner timed out or was interrupted.
ITS tools runner thread asked to quit. Dying gracefully.
All properties solved without resorting to model-checking.
Total runtime 5616 ms.

BK_STOP 1717031226689

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

+ export BINDIR=/home/mcc/BenchKit/bin//../itstools/bin//../
+ BINDIR=/home/mcc/BenchKit/bin//../itstools/bin//../
++ pwd
+ export MODEL=/home/mcc/execution
+ MODEL=/home/mcc/execution
+ [[ ReachabilityFireability = StateSpace ]]
+ /home/mcc/BenchKit/bin//../itstools/bin//..//runeclipse.sh /home/mcc/execution ReachabilityFireability -its -ltsmin -greatspnpath /home/mcc/BenchKit/bin//../itstools/bin//..//greatspn/ -order META -manyOrder -smt -timeout 3600
+ 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//../itstools/bin//..//itstools/plugins/fr.lip6.move.gal.application.pnmcc_1.0.0.202405141337.jar
+ VERSION=202405141337
+ echo 'Running Version 202405141337'
+ /home/mcc/BenchKit/bin//../itstools/bin//..//itstools/its-tools -pnfolder /home/mcc/execution -examination ReachabilityFireability -its -ltsmin -greatspnpath /home/mcc/BenchKit/bin//../itstools/bin//..//greatspn/ -order META -manyOrder -smt -timeout 3600

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="SmartHome-PT-07"
export BK_EXAMINATION="ReachabilityFireability"
export BK_TOOL="itstools"
export BK_RESULT_DIR="/tmp/BK_RESULTS/OUTPUTS"
export BK_TIME_CONFINEMENT="3600"
export BK_MEMORY_CONFINEMENT="16384"
export BK_BIN_PATH="/home/mcc/BenchKit/bin/"

# this is specific to your benchmark or test

export BIN_DIR="$HOME/BenchKit/bin"

# remove the execution directoty if it exists (to avoid increse of .vmdk images)
if [ -d execution ] ; then
rm -rf execution
fi

# this is for BenchKit: explicit launching of the test
echo "====================================================================="
echo " Generated by BenchKit 2-5568"
echo " Executing tool itstools"
echo " Input is SmartHome-PT-07, 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 r378-smll-171683811400391"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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