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

About the Execution of Smart+red for HouseConstruction-PT-00002

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
251.191 7175.00 12415.00 540.80 FTTTFFTFFTFTTFFT 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.r203-smll-167840349700518.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 HouseConstruction-PT-00002, examination is ReachabilityCardinality
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r203-smll-167840349700518
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 412K
-rw-r--r-- 1 mcc users 6.5K Feb 25 13:03 CTLCardinality.txt
-rw-r--r-- 1 mcc users 67K Feb 25 13:03 CTLCardinality.xml
-rw-r--r-- 1 mcc users 5.1K Feb 25 13:02 CTLFireability.txt
-rw-r--r-- 1 mcc users 46K Feb 25 13:02 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.2K Jan 29 11:40 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 6.4K Jan 29 11:40 GenericPropertiesVerdict.xml
-rw-r--r-- 1 mcc users 3.8K Feb 25 16:15 LTLCardinality.txt
-rw-r--r-- 1 mcc users 28K Feb 25 16:15 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.3K Feb 25 16:15 LTLFireability.txt
-rw-r--r-- 1 mcc users 18K Feb 25 16:15 LTLFireability.xml
-rw-r--r-- 1 mcc users 6.7K Feb 25 13:03 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 63K Feb 25 13:03 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 9.4K Feb 25 13:03 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 87K Feb 25 13:03 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.7K Feb 25 16:15 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.8K Feb 25 16:15 UpperBounds.xml
-rw-r--r-- 1 mcc users 6 Mar 5 18:22 equiv_col
-rw-r--r-- 1 mcc users 6 Mar 5 18:22 instance
-rw-r--r-- 1 mcc users 6 Mar 5 18:22 iscolored
-rw-r--r-- 1 mcc users 13K 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 HouseConstruction-PT-00002-ReachabilityCardinality-00
FORMULA_NAME HouseConstruction-PT-00002-ReachabilityCardinality-01
FORMULA_NAME HouseConstruction-PT-00002-ReachabilityCardinality-02
FORMULA_NAME HouseConstruction-PT-00002-ReachabilityCardinality-03
FORMULA_NAME HouseConstruction-PT-00002-ReachabilityCardinality-04
FORMULA_NAME HouseConstruction-PT-00002-ReachabilityCardinality-05
FORMULA_NAME HouseConstruction-PT-00002-ReachabilityCardinality-06
FORMULA_NAME HouseConstruction-PT-00002-ReachabilityCardinality-07
FORMULA_NAME HouseConstruction-PT-00002-ReachabilityCardinality-08
FORMULA_NAME HouseConstruction-PT-00002-ReachabilityCardinality-09
FORMULA_NAME HouseConstruction-PT-00002-ReachabilityCardinality-10
FORMULA_NAME HouseConstruction-PT-00002-ReachabilityCardinality-11
FORMULA_NAME HouseConstruction-PT-00002-ReachabilityCardinality-12
FORMULA_NAME HouseConstruction-PT-00002-ReachabilityCardinality-13
FORMULA_NAME HouseConstruction-PT-00002-ReachabilityCardinality-14
FORMULA_NAME HouseConstruction-PT-00002-ReachabilityCardinality-15

=== Now, execution of the tool begins

BK_START 1678657637183

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=HouseConstruction-PT-00002
Applying reductions before tool smart
Invoking reducer
Running Version 202303021504
[2023-03-12 21:47:20] [INFO ] Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, ReachabilityCardinality, -timeout, 360, -rebuildPNML]
[2023-03-12 21:47:20] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2023-03-12 21:47:20] [INFO ] Load time of PNML (sax parser for PT used): 56 ms
[2023-03-12 21:47:20] [INFO ] Transformed 26 places.
[2023-03-12 21:47:20] [INFO ] Transformed 18 transitions.
[2023-03-12 21:47:20] [INFO ] Parsed PT model containing 26 places and 18 transitions and 51 arcs in 192 ms.
Parsed 16 properties from file /home/mcc/execution/ReachabilityCardinality.xml in 26 ms.
Working with output stream class java.io.PrintStream
Initial state reduction rules removed 4 formulas.
FORMULA HouseConstruction-PT-00002-ReachabilityCardinality-00 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA HouseConstruction-PT-00002-ReachabilityCardinality-11 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA HouseConstruction-PT-00002-ReachabilityCardinality-12 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA HouseConstruction-PT-00002-ReachabilityCardinality-13 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
Incomplete random walk after 10000 steps, including 185 resets, run finished after 306 ms. (steps per millisecond=32 ) properties (out of 12) seen :9
FORMULA HouseConstruction-PT-00002-ReachabilityCardinality-15 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA HouseConstruction-PT-00002-ReachabilityCardinality-10 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA HouseConstruction-PT-00002-ReachabilityCardinality-09 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA HouseConstruction-PT-00002-ReachabilityCardinality-08 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA HouseConstruction-PT-00002-ReachabilityCardinality-07 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA HouseConstruction-PT-00002-ReachabilityCardinality-06 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA HouseConstruction-PT-00002-ReachabilityCardinality-05 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA HouseConstruction-PT-00002-ReachabilityCardinality-02 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA HouseConstruction-PT-00002-ReachabilityCardinality-01 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
Incomplete Best-First random walk after 10001 steps, including 99 resets, run finished after 140 ms. (steps per millisecond=71 ) properties (out of 3) seen :0
Incomplete Best-First random walk after 10000 steps, including 94 resets, run finished after 142 ms. (steps per millisecond=70 ) properties (out of 3) seen :1
FORMULA HouseConstruction-PT-00002-ReachabilityCardinality-03 TRUE TECHNIQUES TOPOLOGICAL BESTFIRST_WALK
Incomplete Best-First random walk after 10001 steps, including 94 resets, run finished after 81 ms. (steps per millisecond=123 ) properties (out of 2) seen :0
Running SMT prover for 2 properties.
// Phase 1: matrix 18 rows 26 cols
[2023-03-12 21:47:21] [INFO ] Computed 8 place invariants in 7 ms
[2023-03-12 21:47:21] [INFO ] After 176ms SMT Verify possible using all constraints in real domain returned unsat :0 sat :0 real:2
[2023-03-12 21:47:21] [INFO ] [Nat]Absence check using 0 positive and 8 generalized place invariants in 3 ms returned sat
[2023-03-12 21:47:21] [INFO ] After 88ms SMT Verify possible using all constraints in natural domain returned unsat :2 sat :0
FORMULA HouseConstruction-PT-00002-ReachabilityCardinality-14 FALSE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA HouseConstruction-PT-00002-ReachabilityCardinality-04 FALSE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
Fused 2 Parikh solutions to 0 different solutions.
Parikh walk visited 0 properties in 0 ms.
All properties solved without resorting to model-checking.
Total runtime 1327 ms.
======================================================
========== this is Smart for the MCC'2018 ============
======================================================
Running HouseConstruction (PT), instance 00002
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: 26 places, 18 transitions, 51 arcs.
Final Score: 84.084
Took : 0 seconds
Reachability Cardinality file is: ReachabilityCardinality.xml
READY TO PARSE. BS
PROPERTY: HouseConstruction-PT-00002-ReachabilityCardinality-00 (reachable &!potential( ( ( ( ( 2 ) <= (tk(P5)) ) & ( ( 1 ) <= (tk(P13)) ) ) | (! ( ( ( 1 ) <= (tk(P23)) ) | ( (! ( ( ( 1 ) <= (tk(P2)) ) & ( (! ( (tk(P4)) <= ( 1 ) )) & (! ( (tk(P8)) <= ( 1 ) )) ) )) | (! ( (! ( (tk(P16)) <= ( 2 ) )) | ( ( ( 2 ) <= (tk(P24)) ) & ( ( ( 1 ) <= (tk(P10)) ) | ( (tk(P20)) <= (tk(P6)) ) ) ) )) ) )) )))
PROPERTY: HouseConstruction-PT-00002-ReachabilityCardinality-01 (reachable & potential(( (! ( (tk(P5)) <= (tk(P23)) )) & ( (tk(P12)) <= (tk(P18)) ) )))
PROPERTY: HouseConstruction-PT-00002-ReachabilityCardinality-02 (reachable & potential(( (tk(P1)) <= ( 1 ) )))
PROPERTY: HouseConstruction-PT-00002-ReachabilityCardinality-03 (reachable & potential(( (! ( ( ( ( ( ( (! ( ( 2 ) <= (tk(P13)) )) & ( ( (tk(P4)) <= (tk(P12)) ) | ( (tk(P20)) <= ( 2 ) ) ) ) & ( (! ( (tk(P1)) <= (tk(P12)) )) & ( ( (tk(P23)) <= ( 1 ) ) | ( (tk(P11)) <= ( 0 ) ) ) ) ) & ( ( ( ( ( 1 ) <= (tk(P6)) ) & ( (tk(P5)) <= ( 1 ) ) ) | ( ( (tk(P23)) <= ( 0 ) ) | ( ( 2 ) <= (tk(P26)) ) ) ) & (! ( ( ( 2 ) <= (tk(P12)) ) | ( (tk(P1)) <= (tk(P1)) ) )) ) ) | (! ( (tk(P1)) <= ( 1 ) )) ) | ( ( ( (tk(P10)) <= ( 0 ) ) & (! ( ( 1 ) <= (tk(P8)) )) ) & ( ( (tk(P25)) <= (tk(P3)) ) | ( ( (! ( (tk(P13)) <= ( 0 ) )) | ( ( ( 1 ) <= (tk(P24)) ) | ( (tk(P26)) <= ( 1 ) ) ) ) | ( ( ( 2 ) <= (tk(P5)) ) & ( (tk(P1)) <= (tk(P6)) ) ) ) ) ) ) | ( (tk(P23)) <= (tk(P16)) ) )) & ( ( 1 ) <= (tk(P2)) ) )))
PROPERTY: HouseConstruction-PT-00002-ReachabilityCardinality-04 (reachable & potential(( ( ( (tk(P14)) <= (tk(P11)) ) & ( ( ( ( ( ( ( ( (tk(P19)) <= ( 2 ) ) & ( ( 1 ) <= (tk(P12)) ) ) & ( ( (tk(P21)) <= (tk(P1)) ) & ( (tk(P2)) <= (tk(P12)) ) ) ) | ( (tk(P11)) <= (tk(P19)) ) ) | ( ( (tk(P13)) <= ( 2 ) ) | ( ( ( (tk(P19)) <= ( 1 ) ) & ( (tk(P26)) <= (tk(P9)) ) ) | ( (tk(P14)) <= ( 0 ) ) ) ) ) | ( (! ( (tk(P24)) <= (tk(P2)) )) & (! ( ( (tk(P16)) <= (tk(P6)) ) | ( (tk(P24)) <= ( 0 ) ) )) ) ) & ( ( (! ( ( (tk(P19)) <= (tk(P8)) ) & ( (tk(P6)) <= ( 2 ) ) )) | ( (tk(P5)) <= ( 0 ) ) ) & ( ( ( 2 ) <= (tk(P12)) ) & (! ( ( 1 ) <= (tk(P10)) )) ) ) ) | (! ( ( (! ( ( 2 ) <= (tk(P2)) )) & ( ( (tk(P8)) <= ( 2 ) ) | ( (tk(P16)) <= ( 0 ) ) ) ) | (! ( ( (tk(P6)) <= (tk(P11)) ) & ( (tk(P3)) <= ( 2 ) ) )) )) ) ) & ( (! ( (tk(P3)) <= ( 2 ) )) | ( ( ( 1 ) <= (tk(P1)) ) & ( (tk(P11)) <= (tk(P25)) ) ) ) )))
PROPERTY: HouseConstruction-PT-00002-ReachabilityCardinality-05 (reachable &!potential( ( (tk(P22)) <= (tk(P17)) )))
PROPERTY: HouseConstruction-PT-00002-ReachabilityCardinality-06 (reachable & potential(( ( (tk(P7)) <= ( 0 ) ) & ( (! ( ( ( 2 ) <= (tk(P12)) ) & (! ( ( 2 ) <= (tk(P21)) )) )) & (! ( (tk(P4)) <= (tk(P23)) )) ) )))
PROPERTY: HouseConstruction-PT-00002-ReachabilityCardinality-07 (reachable &!potential( ( (tk(P18)) <= ( 1 ) )))
PROPERTY: HouseConstruction-PT-00002-ReachabilityCardinality-08 (reachable &!potential( ( ( ( ( 1 ) <= (tk(P1)) ) | ( (tk(P13)) <= ( 0 ) ) ) | (! ( ( ( ( ( (! ( (tk(P25)) <= ( 0 ) )) | ( ( ( ( 1 ) <= (tk(P1)) ) & ( (tk(P7)) <= ( 2 ) ) ) & ( ( (tk(P6)) <= ( 0 ) ) & ( ( 1 ) <= (tk(P4)) ) ) ) ) & (! ( (tk(P26)) <= (tk(P9)) )) ) | ( ( ( ( ( (tk(P1)) <= (tk(P13)) ) & ( (tk(P17)) <= (tk(P3)) ) ) & ( (tk(P16)) <= (tk(P23)) ) ) & ( ( ( (tk(P20)) <= ( 0 ) ) | ( ( 1 ) <= (tk(P9)) ) ) | ( ( ( 2 ) <= (tk(P23)) ) & ( (tk(P14)) <= ( 1 ) ) ) ) ) | ( ( (! ( ( 2 ) <= (tk(P5)) )) & ( (tk(P1)) <= ( 0 ) ) ) | (! ( ( (tk(P18)) <= (tk(P15)) ) | ( ( 1 ) <= (tk(P11)) ) )) ) ) ) | (! ( (! ( ( ( (tk(P15)) <= ( 2 ) ) & ( ( 1 ) <= (tk(P2)) ) ) & (! ( (tk(P15)) <= (tk(P25)) )) )) | (! ( ( 2 ) <= (tk(P1)) )) )) ) | ( ( 2 ) <= (tk(P5)) ) )) )))
PROPERTY: HouseConstruction-PT-00002-ReachabilityCardinality-09 (reachable & potential(( ( 2 ) <= (tk(P3)) )))
PROPERTY: HouseConstruction-PT-00002-ReachabilityCardinality-10 (reachable &!potential( ( ( (tk(P4)) <= ( 1 ) ) & ( (tk(P16)) <= (tk(P25)) ) )))
PROPERTY: HouseConstruction-PT-00002-ReachabilityCardinality-11 (reachable & potential(( (tk(P16)) <= ( 0 ) )))
PROPERTY: HouseConstruction-PT-00002-ReachabilityCardinality-12 (reachable & potential(( ( (tk(P5)) <= ( 2 ) ) | (! ( (tk(P16)) <= ( 0 ) )) )))
PROPERTY: HouseConstruction-PT-00002-ReachabilityCardinality-13 (reachable &!potential( ( (! ( (tk(P21)) <= (tk(P12)) )) & ( ( 1 ) <= (tk(P5)) ) )))
PROPERTY: HouseConstruction-PT-00002-ReachabilityCardinality-14 (reachable & potential((! ( (tk(P5)) <= ( 2 ) ))))
PROPERTY: HouseConstruction-PT-00002-ReachabilityCardinality-15 (reachable & potential(( ( (! ( ( (tk(P2)) <= ( 0 ) ) | (! ( ( (tk(P16)) <= (tk(P6)) ) | ( ( ( ( 2 ) <= (tk(P5)) ) & ( (tk(P25)) <= ( 0 ) ) ) & (! ( ( ( 1 ) <= (tk(P4)) ) | ( (tk(P7)) <= ( 2 ) ) )) ) )) )) | ( ( ( (tk(P26)) <= ( 1 ) ) | ( (! ( (! ( (tk(P11)) <= ( 1 ) )) & ( ( (tk(P23)) <= (tk(P9)) ) | ( (tk(P7)) <= (tk(P9)) ) ) )) & (! ( ( ( 1 ) <= (tk(P2)) ) & (! ( ( (tk(P13)) <= ( 0 ) ) & ( (tk(P4)) <= (tk(P14)) ) )) )) ) ) & (! ( (tk(P13)) <= (tk(P19)) )) ) ) & (! ( (! ( ( (! ( ( ( (tk(P12)) <= ( 1 ) ) & ( (tk(P1)) <= ( 2 ) ) ) & ( ( (tk(P15)) <= ( 1 ) ) & ( (tk(P14)) <= ( 1 ) ) ) )) | ( ( (tk(P21)) <= (tk(P18)) ) | (! ( (tk(P7)) <= (tk(P17)) )) ) ) & (! ( (! ( (tk(P1)) <= (tk(P8)) )) & ( (! ( (tk(P11)) <= ( 0 ) )) & (! ( (tk(P4)) <= ( 2 ) )) ) )) )) & ( ( 1 ) <= (tk(P26)) ) )) )))
FORMULA HouseConstruction-PT-00002-ReachabilityCardinality-00 FALSE TECHNIQUES SEQUENTIAL_PROCESSING DECISION_DIAGRAMS
FORMULA HouseConstruction-PT-00002-ReachabilityCardinality-01 TRUE TECHNIQUES SEQUENTIAL_PROCESSING DECISION_DIAGRAMS
FORMULA HouseConstruction-PT-00002-ReachabilityCardinality-02 TRUE TECHNIQUES SEQUENTIAL_PROCESSING DECISION_DIAGRAMS
FORMULA HouseConstruction-PT-00002-ReachabilityCardinality-03 TRUE TECHNIQUES SEQUENTIAL_PROCESSING DECISION_DIAGRAMS
FORMULA HouseConstruction-PT-00002-ReachabilityCardinality-04 FALSE TECHNIQUES SEQUENTIAL_PROCESSING DECISION_DIAGRAMS
FORMULA HouseConstruction-PT-00002-ReachabilityCardinality-05 FALSE TECHNIQUES SEQUENTIAL_PROCESSING DECISION_DIAGRAMS
FORMULA HouseConstruction-PT-00002-ReachabilityCardinality-06 TRUE TECHNIQUES SEQUENTIAL_PROCESSING DECISION_DIAGRAMS
FORMULA HouseConstruction-PT-00002-ReachabilityCardinality-07 FALSE TECHNIQUES SEQUENTIAL_PROCESSING DECISION_DIAGRAMS
FORMULA HouseConstruction-PT-00002-ReachabilityCardinality-08 FALSE TECHNIQUES SEQUENTIAL_PROCESSING DECISION_DIAGRAMS
FORMULA HouseConstruction-PT-00002-ReachabilityCardinality-09 TRUE TECHNIQUES SEQUENTIAL_PROCESSING DECISION_DIAGRAMS
FORMULA HouseConstruction-PT-00002-ReachabilityCardinality-10 FALSE TECHNIQUES SEQUENTIAL_PROCESSING DECISION_DIAGRAMS
FORMULA HouseConstruction-PT-00002-ReachabilityCardinality-11 TRUE TECHNIQUES SEQUENTIAL_PROCESSING DECISION_DIAGRAMS
FORMULA HouseConstruction-PT-00002-ReachabilityCardinality-12 TRUE TECHNIQUES SEQUENTIAL_PROCESSING DECISION_DIAGRAMS
FORMULA HouseConstruction-PT-00002-ReachabilityCardinality-13 FALSE TECHNIQUES SEQUENTIAL_PROCESSING DECISION_DIAGRAMS
FORMULA HouseConstruction-PT-00002-ReachabilityCardinality-14 FALSE TECHNIQUES SEQUENTIAL_PROCESSING DECISION_DIAGRAMS
FORMULA HouseConstruction-PT-00002-ReachabilityCardinality-15 TRUE TECHNIQUES SEQUENTIAL_PROCESSING DECISION_DIAGRAMS

BK_STOP 1678657644358

--------------------
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="HouseConstruction-PT-00002"
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 HouseConstruction-PT-00002, 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 r203-smll-167840349700518"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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