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

About the Execution of Smart for AutonomousCar-PT-01b

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
661.039 21418.00 21059.00 0.00 TTFFTTTFFFFFFTFF 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.r003-oct2-167813591000542.qcow2', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=4294967296 backing_file=/data/fkordon/mcc2023-input.qcow2 backing_fmt=qcow2 lazy_refcounts=off refcount_bits=16
Waiting for the VM to be ready (probing ssh)
...................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
=====================================================================
Generated by BenchKit 2-5348
Executing tool smart
Input is AutonomousCar-PT-01b, examination is ReachabilityCardinality
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 1
Run identifier is r003-oct2-167813591000542
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 460K
-rw-r--r-- 1 mcc users 5.7K Feb 25 12:55 CTLCardinality.txt
-rw-r--r-- 1 mcc users 56K Feb 25 12:55 CTLCardinality.xml
-rw-r--r-- 1 mcc users 6.5K Feb 25 12:54 CTLFireability.txt
-rw-r--r-- 1 mcc users 64K Feb 25 12:54 CTLFireability.xml
-rw-r--r-- 1 mcc users 3.5K Feb 25 15:33 LTLCardinality.txt
-rw-r--r-- 1 mcc users 24K Feb 25 15:33 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.2K Feb 25 15:33 LTLFireability.txt
-rw-r--r-- 1 mcc users 17K Feb 25 15:33 LTLFireability.xml
-rw-r--r-- 1 mcc users 11K Feb 25 12:55 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 110K Feb 25 12:55 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 9.1K Feb 25 12:55 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 82K Feb 25 12:55 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.7K Feb 25 15:33 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.7K Feb 25 15:33 UpperBounds.xml
-rw-r--r-- 1 mcc users 6 Mar 5 18:22 equiv_col
-rw-r--r-- 1 mcc users 4 Mar 5 18:22 instance
-rw-r--r-- 1 mcc users 6 Mar 5 18:22 iscolored
-rw-r--r-- 1 mcc users 31K 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 AutonomousCar-PT-01b-ReachabilityCardinality-00
FORMULA_NAME AutonomousCar-PT-01b-ReachabilityCardinality-01
FORMULA_NAME AutonomousCar-PT-01b-ReachabilityCardinality-02
FORMULA_NAME AutonomousCar-PT-01b-ReachabilityCardinality-03
FORMULA_NAME AutonomousCar-PT-01b-ReachabilityCardinality-04
FORMULA_NAME AutonomousCar-PT-01b-ReachabilityCardinality-05
FORMULA_NAME AutonomousCar-PT-01b-ReachabilityCardinality-06
FORMULA_NAME AutonomousCar-PT-01b-ReachabilityCardinality-07
FORMULA_NAME AutonomousCar-PT-01b-ReachabilityCardinality-08
FORMULA_NAME AutonomousCar-PT-01b-ReachabilityCardinality-09
FORMULA_NAME AutonomousCar-PT-01b-ReachabilityCardinality-10
FORMULA_NAME AutonomousCar-PT-01b-ReachabilityCardinality-11
FORMULA_NAME AutonomousCar-PT-01b-ReachabilityCardinality-12
FORMULA_NAME AutonomousCar-PT-01b-ReachabilityCardinality-13
FORMULA_NAME AutonomousCar-PT-01b-ReachabilityCardinality-14
FORMULA_NAME AutonomousCar-PT-01b-ReachabilityCardinality-15

=== Now, execution of the tool begins

BK_START 1678473765363

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=smart
BK_EXAMINATION=ReachabilityCardinality
BK_BIN_PATH=/home/mcc/BenchKit/bin/
BK_TIME_CONFINEMENT=3600
BK_INPUT=AutonomousCar-PT-01b
Not applying reductions.
Model is PT
ReachabilityCardinality PT
======================================================
========== this is Smart for the MCC'2018 ============
======================================================
Running AutonomousCar (PT), instance 01b
Examination ReachabilityCardinality
Parser /home/mcc/BenchKit/bin//../smart/bin//parser/Cardinality.jar
Model checker /home/mcc/BenchKit/bin//../smart/bin//rem_exec//smart

GOT IT HERE. BS
Petri model created: 119 places, 132 transitions, 339 arcs.
Final Score: 1048.276
Took : 3 seconds
Reachability Cardinality file is: ReachabilityCardinality.xml
READY TO PARSE. BS
PROPERTY: AutonomousCar-PT-01b-ReachabilityCardinality-00 (reachable &!potential( ( ( (tk(P61)) <= ( 0 ) ) | ( (tk(P83)) <= (tk(P77)) ) )))
PROPERTY: AutonomousCar-PT-01b-ReachabilityCardinality-01 (reachable & potential((! ( (tk(P19)) <= (tk(P20)) ))))
PROPERTY: AutonomousCar-PT-01b-ReachabilityCardinality-02 (reachable & potential((! ( ( ( (tk(P26)) <= ( 1 ) ) & ( (tk(P9)) <= (tk(P9)) ) ) | (! ( (tk(P47)) <= (tk(P56)) )) ))))
PROPERTY: AutonomousCar-PT-01b-ReachabilityCardinality-03 (reachable &!potential( ( (tk(P33)) <= (tk(P87)) )))
PROPERTY: AutonomousCar-PT-01b-ReachabilityCardinality-04 (reachable &!potential( ( ( (tk(P112)) <= ( 1 ) ) | ( (! ( ( (tk(P4)) <= (tk(P91)) ) & ( ( ( 1 ) <= (tk(P31)) ) & (! ( ( (! ( ( 1 ) <= (tk(P24)) )) & ( ( (tk(P41)) <= ( 0 ) ) | ( (tk(P100)) <= ( 0 ) ) ) ) & ( ( ( ( 1 ) <= (tk(P2)) ) & ( (tk(P83)) <= ( 1 ) ) ) & ( ( (tk(P61)) <= (tk(P79)) ) | ( (tk(P82)) <= ( 0 ) ) ) ) )) ) )) & ( ( (! ( ( 1 ) <= (tk(P80)) )) & ( ( (tk(P86)) <= (tk(P13)) ) | (! ( ( (tk(P106)) <= ( 0 ) ) & ( (tk(P96)) <= (tk(P25)) ) )) ) ) | ( ( ( 1 ) <= (tk(P109)) ) & ( ( 1 ) <= (tk(P53)) ) ) ) ) )))
PROPERTY: AutonomousCar-PT-01b-ReachabilityCardinality-05 (reachable & potential(( ( ( (tk(P86)) <= (tk(P69)) ) & (! ( ( (tk(P56)) <= (tk(P79)) ) | ( ( (tk(P1)) <= (tk(P45)) ) & (! ( ( 1 ) <= (tk(P113)) )) ) )) ) & ( ( ( ( (tk(P17)) <= ( 1 ) ) | (! ( (! ( (tk(P114)) <= ( 1 ) )) | ( ( ( ( (tk(P29)) <= ( 0 ) ) | ( ( 1 ) <= (tk(P65)) ) ) & (! ( (tk(P105)) <= (tk(P73)) )) ) | (! ( (tk(P93)) <= (tk(P75)) )) ) )) ) | (! ( (! ( (tk(P11)) <= ( 1 ) )) & ( ( ( (! ( (tk(P31)) <= ( 0 ) )) & ( (tk(P79)) <= (tk(P12)) ) ) | (! ( ( (tk(P63)) <= (tk(P15)) ) | ( (tk(P1)) <= ( 0 ) ) )) ) | ( ( (! ( (tk(P101)) <= (tk(P62)) )) | ( ( (tk(P4)) <= ( 0 ) ) & ( ( 1 ) <= (tk(P100)) ) ) ) & ( (! ( ( 1 ) <= (tk(P91)) )) | ( ( (tk(P113)) <= ( 0 ) ) & ( ( 1 ) <= (tk(P35)) ) ) ) ) ) )) ) | ( ( (! ( (tk(P94)) <= (tk(P93)) )) | ( ( 1 ) <= (tk(P70)) ) ) | ( ( ( ( ( ( (tk(P103)) <= (tk(P63)) ) | ( (tk(P116)) <= (tk(P45)) ) ) | ( ( ( ( 1 ) <= (tk(P10)) ) & ( (tk(P3)) <= (tk(P71)) ) ) & ( ( ( 1 ) <= (tk(P103)) ) & ( (tk(P33)) <= (tk(P29)) ) ) ) ) & ( ( ( ( 1 ) <= (tk(P94)) ) & ( ( (tk(P57)) <= ( 1 ) ) | ( (tk(P118)) <= ( 1 ) ) ) ) & ( ( ( (tk(P90)) <= ( 1 ) ) & ( ( 1 ) <= (tk(P10)) ) ) | ( ( (tk(P43)) <= (tk(P106)) ) | ( ( 1 ) <= (tk(P1)) ) ) ) ) ) | ( (! ( ( 1 ) <= (tk(P61)) )) & ( ( (! ( (tk(P87)) <= ( 1 ) )) & ( ( (tk(P96)) <= (tk(P24)) ) | ( (tk(P78)) <= ( 1 ) ) ) ) | ( ( 1 ) <= (tk(P11)) ) ) ) ) | ( (! ( ( ( ( (tk(P116)) <= (tk(P1)) ) & ( (tk(P25)) <= ( 0 ) ) ) & ( ( (tk(P48)) <= ( 1 ) ) & ( (tk(P51)) <= (tk(P1)) ) ) ) & ( ( 1 ) <= (tk(P113)) ) )) & ( ( ( ( ( (tk(P29)) <= ( 1 ) ) & ( ( 1 ) <= (tk(P62)) ) ) & (! ( (tk(P14)) <= (tk(P24)) )) ) | ( (! ( (tk(P56)) <= ( 0 ) )) & ( ( (tk(P101)) <= ( 0 ) ) | ( (tk(P12)) <= (tk(P48)) ) ) ) ) & ( ( ( ( (tk(P50)) <= ( 1 ) ) & ( (tk(P13)) <= ( 1 ) ) ) | ( ( 1 ) <= (tk(P47)) ) ) | (! ( (tk(P104)) <= ( 0 ) )) ) ) ) ) ) ) )))
PROPERTY: AutonomousCar-PT-01b-ReachabilityCardinality-06 (reachable & potential(( ( 1 ) <= (tk(P62)) )))
PROPERTY: AutonomousCar-PT-01b-ReachabilityCardinality-07 (reachable & potential(( (! ( ( (tk(P29)) <= ( 1 ) ) & (! ( ( (! ( ( (tk(P95)) <= ( 1 ) ) & ( (tk(P7)) <= (tk(P113)) ) )) & ( ( 1 ) <= (tk(P28)) ) ) & (! ( ( ( 1 ) <= (tk(P113)) ) | ( ( (tk(P33)) <= ( 1 ) ) | ( (tk(P97)) <= (tk(P57)) ) ) )) )) )) & (! ( (! ( ( (! ( ( (tk(P73)) <= ( 1 ) ) | ( ( 1 ) <= (tk(P79)) ) )) & ( (! ( (tk(P113)) <= ( 0 ) )) & ( ( (tk(P31)) <= ( 1 ) ) | ( (tk(P82)) <= ( 1 ) ) ) ) ) & (! ( ( ( ( 1 ) <= (tk(P43)) ) | ( (tk(P64)) <= (tk(P88)) ) ) & ( ( 1 ) <= (tk(P27)) ) )) )) & ( ( (! ( ( 1 ) <= (tk(P107)) )) | (! ( (tk(P94)) <= (tk(P118)) )) ) & (! ( (! ( ( 1 ) <= (tk(P97)) )) | ( (! ( (tk(P67)) <= (tk(P22)) )) & ( ( 1 ) <= (tk(P115)) ) ) )) ) )) )))
PROPERTY: AutonomousCar-PT-01b-ReachabilityCardinality-08 (reachable &!potential( (! ( ( (! ( (tk(P49)) <= ( 1 ) )) | ( ( (! ( ( 1 ) <= (tk(P55)) )) & ( (tk(P85)) <= ( 1 ) ) ) | (! ( (tk(P51)) <= ( 1 ) )) ) ) & ( ( (tk(P86)) <= (tk(P93)) ) & ( (! ( (tk(P4)) <= ( 0 ) )) | ( ( 1 ) <= (tk(P116)) ) ) ) ))))
PROPERTY: AutonomousCar-PT-01b-ReachabilityCardinality-09 (reachable &!potential( ( (! ( (tk(P57)) <= ( 1 ) )) | ( ( ( ( ( (! ( ( ( (tk(P102)) <= ( 0 ) ) | ( ( 1 ) <= (tk(P31)) ) ) | ( ( ( 1 ) <= (tk(P105)) ) | ( (tk(P104)) <= ( 0 ) ) ) )) & ( ( ( ( (tk(P89)) <= ( 1 ) ) & ( (tk(P31)) <= (tk(P42)) ) ) & ( ( (tk(P23)) <= (tk(P71)) ) | ( (tk(P8)) <= ( 1 ) ) ) ) & (! ( (tk(P70)) <= (tk(P64)) )) ) ) | (! ( (tk(P106)) <= ( 0 ) )) ) & (! ( ( ( ( (tk(P61)) <= ( 0 ) ) & ( ( 1 ) <= (tk(P41)) ) ) | ( (! ( (tk(P58)) <= (tk(P4)) )) & ( ( ( 1 ) <= (tk(P34)) ) & ( (tk(P31)) <= (tk(P25)) ) ) ) ) | ( (tk(P60)) <= ( 0 ) ) )) ) | (! ( ( 1 ) <= (tk(P29)) )) ) | (! ( ( (! ( ( 1 ) <= (tk(P105)) )) | (! ( (tk(P93)) <= (tk(P92)) )) ) & ( ( ( (tk(P23)) <= (tk(P92)) ) & ( ( ( ( (tk(P104)) <= ( 1 ) ) & ( (tk(P113)) <= ( 1 ) ) ) | ( ( (tk(P9)) <= (tk(P26)) ) | ( ( 1 ) <= (tk(P118)) ) ) ) | ( ( ( ( 1 ) <= (tk(P32)) ) & ( (tk(P22)) <= ( 1 ) ) ) & ( ( (tk(P8)) <= ( 1 ) ) & ( (tk(P38)) <= (tk(P114)) ) ) ) ) ) | ( ( (! ( ( (tk(P47)) <= ( 1 ) ) & ( ( 1 ) <= (tk(P55)) ) )) & ( (! ( (tk(P75)) <= (tk(P12)) )) & ( ( (tk(P65)) <= (tk(P51)) ) | ( (tk(P47)) <= (tk(P85)) ) ) ) ) & (! ( ( 1 ) <= (tk(P16)) )) ) ) )) ) )))
PROPERTY: AutonomousCar-PT-01b-ReachabilityCardinality-10 (reachable & potential((! ( ( (! ( ( ( (! ( ( 1 ) <= (tk(P105)) )) | ( ( ( 1 ) <= (tk(P86)) ) & ( (tk(P65)) <= ( 1 ) ) ) ) & ( ( ( 1 ) <= (tk(P21)) ) & ( ( (tk(P48)) <= (tk(P98)) ) | ( ( ( 1 ) <= (tk(P47)) ) | ( ( 1 ) <= (tk(P45)) ) ) ) ) ) | (! ( ( 1 ) <= (tk(P110)) )) )) | (! ( ( ( (! ( ( ( 1 ) <= (tk(P27)) ) & ( (tk(P35)) <= (tk(P95)) ) )) | ( (! ( (tk(P2)) <= (tk(P119)) )) & ( ( (tk(P104)) <= (tk(P31)) ) & ( (tk(P109)) <= (tk(P37)) ) ) ) ) | ( ( ( ( ( 1 ) <= (tk(P34)) ) & ( ( 1 ) <= (tk(P34)) ) ) | ( ( (tk(P73)) <= ( 0 ) ) | ( ( 1 ) <= (tk(P99)) ) ) ) | ( ( ( ( 1 ) <= (tk(P96)) ) & ( (tk(P50)) <= ( 1 ) ) ) | (! ( (tk(P23)) <= (tk(P62)) )) ) ) ) | ( (tk(P60)) <= (tk(P34)) ) )) ) | ( ( ( ( ( ( ( ( 1 ) <= (tk(P85)) ) & ( ( 1 ) <= (tk(P75)) ) ) | ( ( ( ( 1 ) <= (tk(P55)) ) & ( ( 1 ) <= (tk(P73)) ) ) | (! ( ( 1 ) <= (tk(P62)) )) ) ) | ( ( (! ( (tk(P43)) <= ( 1 ) )) | (! ( (tk(P100)) <= (tk(P57)) )) ) | ( ( (tk(P48)) <= (tk(P76)) ) & ( ( 1 ) <= (tk(P116)) ) ) ) ) & ( (tk(P52)) <= ( 1 ) ) ) | ( ( 1 ) <= (tk(P117)) ) ) | ( (tk(P33)) <= ( 0 ) ) ) ))))
PROPERTY: AutonomousCar-PT-01b-ReachabilityCardinality-11 (reachable & potential((! ( (tk(P28)) <= ( 1 ) ))))
PROPERTY: AutonomousCar-PT-01b-ReachabilityCardinality-12 (reachable &!potential( (! ( (! ( ( (! ( ( ( (tk(P25)) <= ( 1 ) ) & ( (tk(P6)) <= (tk(P55)) ) ) | ( (tk(P1)) <= ( 0 ) ) )) | ( ( ( ( (tk(P98)) <= ( 1 ) ) | (! ( (tk(P101)) <= (tk(P59)) )) ) | ( (! ( (tk(P41)) <= (tk(P51)) )) | ( (tk(P53)) <= ( 1 ) ) ) ) | (! ( ( (tk(P4)) <= ( 1 ) ) & ( ( 1 ) <= (tk(P72)) ) )) ) ) & ( ( ( ( (! ( (tk(P67)) <= (tk(P101)) )) & ( ( ( 1 ) <= (tk(P26)) ) & ( (tk(P54)) <= ( 0 ) ) ) ) | ( (! ( ( 1 ) <= (tk(P44)) )) | (! ( (tk(P78)) <= (tk(P11)) )) ) ) & ( ( (tk(P21)) <= ( 0 ) ) & ( ( ( 1 ) <= (tk(P116)) ) | (! ( (tk(P48)) <= (tk(P21)) )) ) ) ) | ( (tk(P101)) <= (tk(P47)) ) ) )) & ( (tk(P37)) <= ( 0 ) ) ))))
PROPERTY: AutonomousCar-PT-01b-ReachabilityCardinality-13 (reachable & potential((! ( ( ( (tk(P4)) <= (tk(P60)) ) | (! ( ( ( ( (tk(P85)) <= ( 1 ) ) & ( ( 1 ) <= (tk(P77)) ) ) & ( ( ( 1 ) <= (tk(P99)) ) | ( ( 1 ) <= (tk(P16)) ) ) ) | ( (tk(P43)) <= ( 0 ) ) )) ) | ( ( ( (tk(P8)) <= (tk(P81)) ) & ( (! ( ( 1 ) <= (tk(P113)) )) & ( (tk(P94)) <= ( 1 ) ) ) ) | ( (! ( ( ( 1 ) <= (tk(P15)) ) & ( ( ( ( 1 ) <= (tk(P113)) ) | ( (tk(P42)) <= (tk(P102)) ) ) & ( ( 1 ) <= (tk(P6)) ) ) )) & (! ( ( ( (tk(P99)) <= (tk(P89)) ) & ( (! ( (tk(P18)) <= (tk(P62)) )) | (! ( (tk(P13)) <= ( 1 ) )) ) ) | ( ( 1 ) <= (tk(P21)) ) )) ) ) ))))
PROPERTY: AutonomousCar-PT-01b-ReachabilityCardinality-14 (reachable &!potential( ( (tk(P76)) <= (tk(P77)) )))
PROPERTY: AutonomousCar-PT-01b-ReachabilityCardinality-15 (reachable & potential((! ( (! ( ( 1 ) <= (tk(P104)) )) | ( (tk(P83)) <= ( 0 ) ) ))))
FORMULA AutonomousCar-PT-01b-ReachabilityCardinality-00 TRUE TECHNIQUES SEQUENTIAL_PROCESSING DECISION_DIAGRAMS
FORMULA AutonomousCar-PT-01b-ReachabilityCardinality-01 TRUE TECHNIQUES SEQUENTIAL_PROCESSING DECISION_DIAGRAMS
FORMULA AutonomousCar-PT-01b-ReachabilityCardinality-02 FALSE TECHNIQUES SEQUENTIAL_PROCESSING DECISION_DIAGRAMS
FORMULA AutonomousCar-PT-01b-ReachabilityCardinality-03 FALSE TECHNIQUES SEQUENTIAL_PROCESSING DECISION_DIAGRAMS
FORMULA AutonomousCar-PT-01b-ReachabilityCardinality-04 TRUE TECHNIQUES SEQUENTIAL_PROCESSING DECISION_DIAGRAMS
FORMULA AutonomousCar-PT-01b-ReachabilityCardinality-05 TRUE TECHNIQUES SEQUENTIAL_PROCESSING DECISION_DIAGRAMS
FORMULA AutonomousCar-PT-01b-ReachabilityCardinality-06 TRUE TECHNIQUES SEQUENTIAL_PROCESSING DECISION_DIAGRAMS
FORMULA AutonomousCar-PT-01b-ReachabilityCardinality-07 FALSE TECHNIQUES SEQUENTIAL_PROCESSING DECISION_DIAGRAMS
FORMULA AutonomousCar-PT-01b-ReachabilityCardinality-08 FALSE TECHNIQUES SEQUENTIAL_PROCESSING DECISION_DIAGRAMS
FORMULA AutonomousCar-PT-01b-ReachabilityCardinality-09 FALSE TECHNIQUES SEQUENTIAL_PROCESSING DECISION_DIAGRAMS
FORMULA AutonomousCar-PT-01b-ReachabilityCardinality-10 FALSE TECHNIQUES SEQUENTIAL_PROCESSING DECISION_DIAGRAMS
FORMULA AutonomousCar-PT-01b-ReachabilityCardinality-11 FALSE TECHNIQUES SEQUENTIAL_PROCESSING DECISION_DIAGRAMS
FORMULA AutonomousCar-PT-01b-ReachabilityCardinality-12 FALSE TECHNIQUES SEQUENTIAL_PROCESSING DECISION_DIAGRAMS
FORMULA AutonomousCar-PT-01b-ReachabilityCardinality-13 TRUE TECHNIQUES SEQUENTIAL_PROCESSING DECISION_DIAGRAMS
FORMULA AutonomousCar-PT-01b-ReachabilityCardinality-14 FALSE TECHNIQUES SEQUENTIAL_PROCESSING DECISION_DIAGRAMS
FORMULA AutonomousCar-PT-01b-ReachabilityCardinality-15 FALSE TECHNIQUES SEQUENTIAL_PROCESSING DECISION_DIAGRAMS

BK_STOP 1678473786781

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

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="AutonomousCar-PT-01b"
export BK_EXAMINATION="ReachabilityCardinality"
export BK_TOOL="smart"
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 smart"
echo " Input is AutonomousCar-PT-01b, examination is ReachabilityCardinality"
echo " Time confinement is $BK_TIME_CONFINEMENT seconds"
echo " Memory confinement is 16384 MBytes"
echo " Number of cores is 1"
echo " Run identifier is r003-oct2-167813591000542"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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