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

About the Execution of Smart for StigmergyElection-PT-04b

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
1262.951 125271.00 124865.00 204.10 FFFTTTFTFFFFTTFF 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.r451-smll-167912643700598.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 smart
Input is StigmergyElection-PT-04b, examination is ReachabilityCardinality
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 1
Run identifier is r451-smll-167912643700598
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 644K
-rw-r--r-- 1 mcc users 6.8K Feb 26 16:30 CTLCardinality.txt
-rw-r--r-- 1 mcc users 73K Feb 26 16:30 CTLCardinality.xml
-rw-r--r-- 1 mcc users 6.2K Feb 26 16:29 CTLFireability.txt
-rw-r--r-- 1 mcc users 56K Feb 26 16:29 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.2K Feb 25 17:14 LTLCardinality.txt
-rw-r--r-- 1 mcc users 29K Feb 25 17:14 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.3K Feb 25 17:14 LTLFireability.txt
-rw-r--r-- 1 mcc users 17K Feb 25 17:14 LTLFireability.xml
-rw-r--r-- 1 mcc users 11K Feb 26 16:31 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 109K Feb 26 16:31 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 8.1K Feb 26 16:30 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 69K Feb 26 16:30 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.7K Feb 25 17:14 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.8K Feb 25 17:14 UpperBounds.xml
-rw-r--r-- 1 mcc users 6 Mar 5 18:23 equiv_col
-rw-r--r-- 1 mcc users 4 Mar 5 18:23 instance
-rw-r--r-- 1 mcc users 6 Mar 5 18:23 iscolored
-rw-r--r-- 1 mcc users 203K Mar 5 18:23 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 StigmergyElection-PT-04b-ReachabilityCardinality-00
FORMULA_NAME StigmergyElection-PT-04b-ReachabilityCardinality-01
FORMULA_NAME StigmergyElection-PT-04b-ReachabilityCardinality-02
FORMULA_NAME StigmergyElection-PT-04b-ReachabilityCardinality-03
FORMULA_NAME StigmergyElection-PT-04b-ReachabilityCardinality-04
FORMULA_NAME StigmergyElection-PT-04b-ReachabilityCardinality-05
FORMULA_NAME StigmergyElection-PT-04b-ReachabilityCardinality-06
FORMULA_NAME StigmergyElection-PT-04b-ReachabilityCardinality-07
FORMULA_NAME StigmergyElection-PT-04b-ReachabilityCardinality-08
FORMULA_NAME StigmergyElection-PT-04b-ReachabilityCardinality-09
FORMULA_NAME StigmergyElection-PT-04b-ReachabilityCardinality-10
FORMULA_NAME StigmergyElection-PT-04b-ReachabilityCardinality-11
FORMULA_NAME StigmergyElection-PT-04b-ReachabilityCardinality-12
FORMULA_NAME StigmergyElection-PT-04b-ReachabilityCardinality-13
FORMULA_NAME StigmergyElection-PT-04b-ReachabilityCardinality-14
FORMULA_NAME StigmergyElection-PT-04b-ReachabilityCardinality-15

=== Now, execution of the tool begins

BK_START 1679318254198

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=StigmergyElection-PT-04b
Not applying reductions.
Model is PT
ReachabilityCardinality PT
======================================================
========== this is Smart for the MCC'2018 ============
======================================================
Running StigmergyElection (PT), instance 04b
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: 563 places, 780 transitions, 2680 arcs.
Final Score: 25548.416
Took : 36 seconds
Reachability Cardinality file is: ReachabilityCardinality.xml
READY TO PARSE. BS
PROPERTY: StigmergyElection-PT-04b-ReachabilityCardinality-00 (reachable &!potential( ( ( ( 1 ) <= (tk(P130)) ) | ( ( ( 1 ) <= (tk(P144)) ) | ( ( ( (tk(P339)) <= (tk(P305)) ) & ( (! ( ( 1 ) <= (tk(P397)) )) | ( (! ( ( ( ( 1 ) <= (tk(P346)) ) & ( ( 1 ) <= (tk(P186)) ) ) & ( (tk(P150)) <= (tk(P416)) ) )) | ( (tk(P542)) <= (tk(P477)) ) ) ) ) & ( ( ( (tk(P314)) <= (tk(P503)) ) | (! ( ( ( (tk(P313)) <= (tk(P4)) ) | ( (tk(P525)) <= ( 1 ) ) ) & ( (tk(P49)) <= ( 0 ) ) )) ) | ( ( ( ( (! ( (tk(P466)) <= (tk(P337)) )) | (! ( (tk(P416)) <= ( 0 ) )) ) | ( ( ( ( 1 ) <= (tk(P159)) ) | ( (tk(P394)) <= ( 1 ) ) ) & (! ( (tk(P214)) <= (tk(P138)) )) ) ) | (! ( ( ( (tk(P55)) <= ( 1 ) ) & ( (tk(P59)) <= (tk(P503)) ) ) | ( ( ( 1 ) <= (tk(P523)) ) & ( (tk(P111)) <= ( 0 ) ) ) )) ) & ( ( ( ( 1 ) <= (tk(P102)) ) & ( (tk(P457)) <= (tk(P10)) ) ) & ( ( (! ( (tk(P23)) <= (tk(P170)) )) | ( ( ( 1 ) <= (tk(P185)) ) & ( (tk(P203)) <= (tk(P447)) ) ) ) & ( ( ( (tk(P48)) <= ( 1 ) ) | ( (tk(P105)) <= (tk(P51)) ) ) | ( ( (tk(P99)) <= ( 0 ) ) & ( (tk(P344)) <= (tk(P149)) ) ) ) ) ) ) ) ) ) )))
PROPERTY: StigmergyElection-PT-04b-ReachabilityCardinality-01 (reachable &!potential( ( (! ( ( 1 ) <= (tk(P483)) )) & ( ( (! ( ( ( ( ( (tk(P310)) <= ( 0 ) ) & (! ( ( 1 ) <= (tk(P496)) )) ) | ( ( (tk(P443)) <= ( 0 ) ) | (! ( (tk(P360)) <= (tk(P448)) )) ) ) | (! ( ( 1 ) <= (tk(P470)) )) ) & (! ( (! ( ( (tk(P316)) <= ( 0 ) ) & ( ( 1 ) <= (tk(P248)) ) )) | ( ( ( (tk(P98)) <= (tk(P112)) ) & ( (tk(P209)) <= ( 0 ) ) ) & ( (tk(P158)) <= (tk(P132)) ) ) )) )) & ( ( (tk(P53)) <= (tk(P215)) ) | (! ( (tk(P383)) <= (tk(P340)) )) ) ) & (! ( (! ( (tk(P280)) <= ( 0 ) )) & ( ( ( ( ( ( (tk(P373)) <= (tk(P240)) ) & ( (tk(P139)) <= (tk(P111)) ) ) & ( ( (tk(P481)) <= (tk(P53)) ) | ( (tk(P100)) <= (tk(P38)) ) ) ) & ( (! ( ( 1 ) <= (tk(P4)) )) & ( ( ( 1 ) <= (tk(P482)) ) & ( (tk(P523)) <= ( 1 ) ) ) ) ) | ( ( ( ( 1 ) <= (tk(P517)) ) | ( ( 1 ) <= (tk(P171)) ) ) | ( ( (tk(P71)) <= ( 0 ) ) | ( ( ( 1 ) <= (tk(P270)) ) & ( (tk(P229)) <= (tk(P400)) ) ) ) ) ) | ( ( 1 ) <= (tk(P392)) ) ) )) ) )))
PROPERTY: StigmergyElection-PT-04b-ReachabilityCardinality-02 (reachable &!potential( (! ( ( 1 ) <= (tk(P16)) ))))
PROPERTY: StigmergyElection-PT-04b-ReachabilityCardinality-03 (reachable &!potential( ( (tk(P24)) <= ( 1 ) )))
PROPERTY: StigmergyElection-PT-04b-ReachabilityCardinality-04 (reachable & potential(( ( 1 ) <= (tk(P72)) )))
PROPERTY: StigmergyElection-PT-04b-ReachabilityCardinality-05 (reachable &!potential( ( ( ( ( (! ( ( ( ( ( 1 ) <= (tk(P404)) ) | ( (tk(P384)) <= ( 0 ) ) ) | (! ( (tk(P230)) <= ( 1 ) )) ) & ( (! ( ( 1 ) <= (tk(P47)) )) | ( ( ( 1 ) <= (tk(P114)) ) & ( (tk(P71)) <= (tk(P84)) ) ) ) )) | ( ( 1 ) <= (tk(P217)) ) ) & ( ( ( ( ( (tk(P359)) <= ( 1 ) ) | ( ( ( (tk(P554)) <= ( 0 ) ) | ( (tk(P185)) <= ( 0 ) ) ) & (! ( ( 1 ) <= (tk(P192)) )) ) ) | (! ( ( (tk(P496)) <= ( 0 ) ) | ( (tk(P55)) <= ( 0 ) ) )) ) & ( (! ( ( ( (tk(P558)) <= (tk(P514)) ) & ( ( 1 ) <= (tk(P4)) ) ) & ( ( (tk(P56)) <= ( 0 ) ) | ( ( 1 ) <= (tk(P60)) ) ) )) & ( ( (tk(P40)) <= ( 1 ) ) | ( ( ( ( 1 ) <= (tk(P459)) ) & ( ( 1 ) <= (tk(P236)) ) ) | ( ( ( 1 ) <= (tk(P446)) ) & ( (tk(P173)) <= ( 1 ) ) ) ) ) ) ) | (! ( (! ( ( ( 1 ) <= (tk(P214)) ) & ( ( 1 ) <= (tk(P181)) ) )) | ( (! ( (tk(P520)) <= ( 0 ) )) | ( (tk(P438)) <= ( 1 ) ) ) )) ) ) & ( ( ( ( 1 ) <= (tk(P32)) ) & (! ( ( ( 1 ) <= (tk(P245)) ) | ( ( 1 ) <= (tk(P421)) ) )) ) | ( (tk(P319)) <= (tk(P203)) ) ) ) | ( (tk(P235)) <= ( 1 ) ) )))
PROPERTY: StigmergyElection-PT-04b-ReachabilityCardinality-06 (reachable &!potential( ( ( (tk(P277)) <= (tk(P252)) ) & ( ( ( 1 ) <= (tk(P223)) ) | ( ( ( ( ( 1 ) <= (tk(P364)) ) | ( ( ( ( ( (tk(P164)) <= (tk(P284)) ) & ( ( 1 ) <= (tk(P31)) ) ) & ( ( ( 1 ) <= (tk(P438)) ) | ( (tk(P518)) <= ( 1 ) ) ) ) | ( ( (tk(P100)) <= (tk(P153)) ) | (! ( ( 1 ) <= (tk(P48)) )) ) ) | ( (tk(P502)) <= (tk(P340)) ) ) ) | ( (tk(P181)) <= ( 0 ) ) ) | ( ( (! ( (! ( ( 1 ) <= (tk(P76)) )) | ( ( ( 1 ) <= (tk(P432)) ) & ( (tk(P225)) <= ( 0 ) ) ) )) | ( (! ( ( (tk(P261)) <= ( 0 ) ) | ( ( 1 ) <= (tk(P36)) ) )) & ( (! ( ( 1 ) <= (tk(P485)) )) & ( ( 1 ) <= (tk(P304)) ) ) ) ) & ( ( (tk(P61)) <= ( 1 ) ) | ( ( ( (tk(P73)) <= ( 0 ) ) | (! ( (tk(P418)) <= ( 1 ) )) ) & ( ( ( (tk(P64)) <= ( 1 ) ) | (! ( (tk(P535)) <= (tk(P273)) )) ) & (! ( ( 1 ) <= (tk(P55)) )) ) ) ) ) ) ) )))
PROPERTY: StigmergyElection-PT-04b-ReachabilityCardinality-07 (reachable & potential(( ( ( (tk(P258)) <= ( 0 ) ) | (! ( (tk(P86)) <= ( 0 ) )) ) & (! ( (tk(P344)) <= (tk(P400)) )) )))
PROPERTY: StigmergyElection-PT-04b-ReachabilityCardinality-08 (reachable &!potential( (! ( ( ( ( 1 ) <= (tk(P403)) ) | ( (! ( ( ( 1 ) <= (tk(P495)) ) & ( ( (! ( ( 1 ) <= (tk(P332)) )) | ( (tk(P203)) <= ( 0 ) ) ) & ( ( 1 ) <= (tk(P112)) ) ) )) | (! ( ( (tk(P293)) <= ( 1 ) ) & ( ( ( ( (tk(P149)) <= ( 1 ) ) | ( (tk(P501)) <= ( 1 ) ) ) & ( ( (tk(P253)) <= (tk(P298)) ) | ( ( 1 ) <= (tk(P118)) ) ) ) | ( ( 1 ) <= (tk(P28)) ) ) )) ) ) & (! ( ( ( (! ( ( (tk(P380)) <= (tk(P227)) ) & (! ( (tk(P71)) <= ( 0 ) )) )) & ( ( (tk(P230)) <= (tk(P115)) ) & ( (tk(P129)) <= (tk(P428)) ) ) ) | ( (! ( ( ( (tk(P423)) <= ( 0 ) ) | ( (tk(P285)) <= ( 0 ) ) ) & ( ( (tk(P297)) <= (tk(P106)) ) & ( ( 1 ) <= (tk(P66)) ) ) )) | (! ( (tk(P292)) <= ( 1 ) )) ) ) | ( ( ( ( (! ( (tk(P423)) <= (tk(P317)) )) | ( ( (tk(P210)) <= (tk(P192)) ) | ( (tk(P519)) <= ( 1 ) ) ) ) & ( ( ( (tk(P251)) <= (tk(P104)) ) & ( (tk(P515)) <= (tk(P369)) ) ) & (! ( (tk(P25)) <= (tk(P103)) )) ) ) & ( (! ( ( (tk(P318)) <= ( 1 ) ) & ( ( 1 ) <= (tk(P274)) ) )) & (! ( ( (tk(P343)) <= (tk(P65)) ) | ( (tk(P228)) <= ( 0 ) ) )) ) ) | (! ( (tk(P299)) <= (tk(P54)) )) ) )) ))))
PROPERTY: StigmergyElection-PT-04b-ReachabilityCardinality-09 (reachable &!potential( (! ( ( ( 1 ) <= (tk(P185)) ) | ( (! ( (! ( ( 1 ) <= (tk(P418)) )) | (! ( (! ( ( ( 1 ) <= (tk(P389)) ) & ( (tk(P39)) <= ( 1 ) ) )) & (! ( ( 1 ) <= (tk(P457)) )) )) )) & ( (tk(P164)) <= (tk(P185)) ) ) ))))
PROPERTY: StigmergyElection-PT-04b-ReachabilityCardinality-10 (reachable & potential(( ( ( ( 1 ) <= (tk(P179)) ) & ( (! ( ( (tk(P259)) <= (tk(P453)) ) | ( (! ( ( ( ( 1 ) <= (tk(P489)) ) | ( (tk(P520)) <= ( 0 ) ) ) & ( (tk(P228)) <= ( 1 ) ) )) & ( (tk(P71)) <= ( 0 ) ) ) )) | ( (! ( ( 1 ) <= (tk(P252)) )) & ( (! ( ( ( (tk(P27)) <= ( 0 ) ) | ( (tk(P257)) <= ( 0 ) ) ) | ( (tk(P495)) <= (tk(P372)) ) )) & ( ( ( 1 ) <= (tk(P188)) ) | ( (! ( ( 1 ) <= (tk(P557)) )) & ( ( ( (tk(P397)) <= (tk(P99)) ) | ( ( 1 ) <= (tk(P154)) ) ) | ( (tk(P544)) <= ( 0 ) ) ) ) ) ) ) ) ) & (! ( ( ( (tk(P102)) <= (tk(P530)) ) & ( (tk(P19)) <= (tk(P465)) ) ) & (! ( ( 1 ) <= (tk(P133)) )) )) )))
PROPERTY: StigmergyElection-PT-04b-ReachabilityCardinality-11 (reachable &!potential( ( ( (! ( (tk(P250)) <= (tk(P73)) )) | ( ( (tk(P487)) <= (tk(P400)) ) & ( (tk(P319)) <= ( 0 ) ) ) ) & ( ( ( 1 ) <= (tk(P502)) ) | ( (! ( (tk(P188)) <= (tk(P235)) )) | ( ( (! ( ( 1 ) <= (tk(P341)) )) | ( ( ( 1 ) <= (tk(P544)) ) | (! ( ( ( ( 1 ) <= (tk(P541)) ) | ( ( 1 ) <= (tk(P516)) ) ) | ( ( ( 1 ) <= (tk(P207)) ) | ( (tk(P250)) <= ( 0 ) ) ) )) ) ) & ( ( ( 1 ) <= (tk(P375)) ) | ( ( ( ( (tk(P441)) <= (tk(P459)) ) | ( ( ( 1 ) <= (tk(P471)) ) | ( (tk(P397)) <= (tk(P35)) ) ) ) & (! ( ( 1 ) <= (tk(P435)) )) ) | (! ( ( 1 ) <= (tk(P434)) )) ) ) ) ) ) )))
PROPERTY: StigmergyElection-PT-04b-ReachabilityCardinality-12 (reachable &!potential( (! ( (! ( (tk(P87)) <= ( 1 ) )) & ( ( ( ( 1 ) <= (tk(P463)) ) & ( (! ( ( ( ( (tk(P98)) <= (tk(P146)) ) | ( (tk(P370)) <= (tk(P40)) ) ) | (! ( (tk(P353)) <= ( 1 ) )) ) | (! ( ( ( 1 ) <= (tk(P1)) ) & ( (tk(P492)) <= ( 1 ) ) )) )) & (! ( ( 1 ) <= (tk(P544)) )) ) ) | ( (tk(P334)) <= (tk(P240)) ) ) ))))
PROPERTY: StigmergyElection-PT-04b-ReachabilityCardinality-13 (reachable & potential(( ( 1 ) <= (tk(P81)) )))
PROPERTY: StigmergyElection-PT-04b-ReachabilityCardinality-14 (reachable &!potential( (! ( ( ( 1 ) <= (tk(P517)) ) & (! ( (! ( (! ( ( (tk(P408)) <= (tk(P479)) ) & ( (tk(P172)) <= ( 0 ) ) )) | ( ( ( 1 ) <= (tk(P390)) ) | ( ( ( (tk(P14)) <= (tk(P278)) ) & ( ( 1 ) <= (tk(P150)) ) ) & ( ( (tk(P21)) <= ( 0 ) ) & ( (tk(P562)) <= ( 1 ) ) ) ) ) )) | (! ( (! ( ( (tk(P449)) <= (tk(P343)) ) & ( ( 1 ) <= (tk(P81)) ) )) & ( (! ( ( 1 ) <= (tk(P244)) )) | ( ( (tk(P15)) <= ( 1 ) ) & ( (tk(P389)) <= ( 1 ) ) ) ) )) )) ))))
PROPERTY: StigmergyElection-PT-04b-ReachabilityCardinality-15 (reachable &!potential( ( (tk(P330)) <= ( 0 ) )))
FORMULA StigmergyElection-PT-04b-ReachabilityCardinality-00 FALSE TECHNIQUES SEQUENTIAL_PROCESSING DECISION_DIAGRAMS
FORMULA StigmergyElection-PT-04b-ReachabilityCardinality-01 FALSE TECHNIQUES SEQUENTIAL_PROCESSING DECISION_DIAGRAMS
FORMULA StigmergyElection-PT-04b-ReachabilityCardinality-02 FALSE TECHNIQUES SEQUENTIAL_PROCESSING DECISION_DIAGRAMS
FORMULA StigmergyElection-PT-04b-ReachabilityCardinality-03 TRUE TECHNIQUES SEQUENTIAL_PROCESSING DECISION_DIAGRAMS
FORMULA StigmergyElection-PT-04b-ReachabilityCardinality-04 TRUE TECHNIQUES SEQUENTIAL_PROCESSING DECISION_DIAGRAMS
FORMULA StigmergyElection-PT-04b-ReachabilityCardinality-05 TRUE TECHNIQUES SEQUENTIAL_PROCESSING DECISION_DIAGRAMS
FORMULA StigmergyElection-PT-04b-ReachabilityCardinality-06 FALSE TECHNIQUES SEQUENTIAL_PROCESSING DECISION_DIAGRAMS
FORMULA StigmergyElection-PT-04b-ReachabilityCardinality-07 TRUE TECHNIQUES SEQUENTIAL_PROCESSING DECISION_DIAGRAMS
FORMULA StigmergyElection-PT-04b-ReachabilityCardinality-08 FALSE TECHNIQUES SEQUENTIAL_PROCESSING DECISION_DIAGRAMS
FORMULA StigmergyElection-PT-04b-ReachabilityCardinality-09 FALSE TECHNIQUES SEQUENTIAL_PROCESSING DECISION_DIAGRAMS
FORMULA StigmergyElection-PT-04b-ReachabilityCardinality-10 FALSE TECHNIQUES SEQUENTIAL_PROCESSING DECISION_DIAGRAMS
FORMULA StigmergyElection-PT-04b-ReachabilityCardinality-11 FALSE TECHNIQUES SEQUENTIAL_PROCESSING DECISION_DIAGRAMS
FORMULA StigmergyElection-PT-04b-ReachabilityCardinality-12 TRUE TECHNIQUES SEQUENTIAL_PROCESSING DECISION_DIAGRAMS
FORMULA StigmergyElection-PT-04b-ReachabilityCardinality-13 TRUE TECHNIQUES SEQUENTIAL_PROCESSING DECISION_DIAGRAMS
FORMULA StigmergyElection-PT-04b-ReachabilityCardinality-14 FALSE TECHNIQUES SEQUENTIAL_PROCESSING DECISION_DIAGRAMS
FORMULA StigmergyElection-PT-04b-ReachabilityCardinality-15 FALSE TECHNIQUES SEQUENTIAL_PROCESSING DECISION_DIAGRAMS

BK_STOP 1679318379469

--------------------
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="StigmergyElection-PT-04b"
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 StigmergyElection-PT-04b, 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 r451-smll-167912643700598"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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