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

About the Execution of Marcie for StigmergyCommit-PT-03b

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
10151.399 3600000.00 3600080.00 60.00 ???T???????????? 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.r449-smll-167912641500418.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 marcie
Input is StigmergyCommit-PT-03b, examination is CTLFireability
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 1
Run identifier is r449-smll-167912641500418
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 780K
-rw-r--r-- 1 mcc users 6.2K Feb 26 10:51 CTLCardinality.txt
-rw-r--r-- 1 mcc users 61K Feb 26 10:51 CTLCardinality.xml
-rw-r--r-- 1 mcc users 5.1K Feb 26 10:51 CTLFireability.txt
-rw-r--r-- 1 mcc users 43K Feb 26 10:51 CTLFireability.xml
-rw-r--r-- 1 mcc users 3.7K Feb 25 17:11 LTLCardinality.txt
-rw-r--r-- 1 mcc users 25K Feb 25 17:11 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.4K Feb 25 17:11 LTLFireability.txt
-rw-r--r-- 1 mcc users 19K Feb 25 17:11 LTLFireability.xml
-rw-r--r-- 1 mcc users 13K Feb 26 10:52 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 134K Feb 26 10:52 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 7.4K Feb 26 10:52 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 60K Feb 26 10:52 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.7K Feb 25 17:11 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.7K Feb 25 17:11 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 359K 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 StigmergyCommit-PT-03b-CTLFireability-00
FORMULA_NAME StigmergyCommit-PT-03b-CTLFireability-01
FORMULA_NAME StigmergyCommit-PT-03b-CTLFireability-02
FORMULA_NAME StigmergyCommit-PT-03b-CTLFireability-03
FORMULA_NAME StigmergyCommit-PT-03b-CTLFireability-04
FORMULA_NAME StigmergyCommit-PT-03b-CTLFireability-05
FORMULA_NAME StigmergyCommit-PT-03b-CTLFireability-06
FORMULA_NAME StigmergyCommit-PT-03b-CTLFireability-07
FORMULA_NAME StigmergyCommit-PT-03b-CTLFireability-08
FORMULA_NAME StigmergyCommit-PT-03b-CTLFireability-09
FORMULA_NAME StigmergyCommit-PT-03b-CTLFireability-10
FORMULA_NAME StigmergyCommit-PT-03b-CTLFireability-11
FORMULA_NAME StigmergyCommit-PT-03b-CTLFireability-12
FORMULA_NAME StigmergyCommit-PT-03b-CTLFireability-13
FORMULA_NAME StigmergyCommit-PT-03b-CTLFireability-14
FORMULA_NAME StigmergyCommit-PT-03b-CTLFireability-15

=== Now, execution of the tool begins

BK_START 1679304190058

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=marcie
BK_EXAMINATION=CTLFireability
BK_BIN_PATH=/home/mcc/BenchKit/bin/
BK_TIME_CONFINEMENT=3600
BK_INPUT=StigmergyCommit-PT-03b
Not applying reductions.
Model is PT
CTLFireability PT
timeout --kill-after=10s --signal=SIGINT 1m for testing only

Marcie built on Linux at 2019-11-18.
A model checker for Generalized Stochastic Petri nets

authors: Alex Tovchigrechko (IDD package and CTL model checking)

Martin Schwarick (Symbolic numerical analysis and CSL model checking)

Christian Rohr (Simulative and approximative numerical model checking)

marcie@informatik.tu-cottbus.de

called as: /home/mcc/BenchKit/bin//../marcie/bin/marcie --net-file=model.pnml --mcc-file=CTLFireability.xml --memory=6 --mcc-mode

parse successfull
net created successfully

Net: StigmergyCommit_PT_03b
(NrP: 1231 NrTr: 1476 NrArc: 4168)

parse formulas
formulas created successfully
place and transition orderings generation:0m 0.236sec

net check time: 0m 0.001sec

init dd package: 0m 3.644sec


RS generation: 5m22.786sec


-> reachability set: #nodes 93299 (9.3e+04) #states 35,248,438,778 (10)



starting MCC model checker
--------------------------

checking: EF [[EG [~ [IS_FIREABLE [t1251]]] & IS_FIREABLE [t21]]]
normalized: E [true U [EG [~ [IS_FIREABLE [t1251]]] & IS_FIREABLE [t21]]]

.........
before gc: list nodes free: 1689832

after gc: idd nodes used:342811, unused:63657189; list nodes free:292041392
............MC time: 3m25.001sec

checking: AF [EG [[IS_FIREABLE [t1147] | AF [IS_FIREABLE [t313]]]]]
normalized: ~ [EG [~ [EG [[~ [EG [~ [IS_FIREABLE [t313]]]] | IS_FIREABLE [t1147]]]]]]


before gc: list nodes free: 837122

after gc: idd nodes used:221830, unused:63778170; list nodes free:296777919
....................
before gc: list nodes free: 934157

after gc: idd nodes used:448185, unused:63551815; list nodes free:297867448
.MC time: 3m12.127sec

checking: EX [E [AF [IS_FIREABLE [t1120]] U IS_FIREABLE [t1137]]]
normalized: EX [E [~ [EG [~ [IS_FIREABLE [t1120]]]] U IS_FIREABLE [t1137]]]

...............
before gc: list nodes free: 1210182

after gc: idd nodes used:347688, unused:63652312; list nodes free:300394782
.MC time: 3m 0.011sec

checking: AF [A [EX [[EG [IS_FIREABLE [t26]] | ~ [EX [IS_FIREABLE [t751]]]]] U IS_FIREABLE [t132]]]
normalized: ~ [EG [~ [[~ [EG [~ [IS_FIREABLE [t132]]]] & ~ [E [~ [IS_FIREABLE [t132]] U [~ [EX [[~ [EX [IS_FIREABLE [t751]]] | EG [IS_FIREABLE [t26]]]]] & ~ [IS_FIREABLE [t132]]]]]]]]]

...........................
before gc: list nodes free: 14487078

after gc: idd nodes used:366023, unused:63633977; list nodes free:300352267
.MC time: 2m49.010sec

checking: E [EG [AF [~ [[IS_FIREABLE [t1430] | ~ [IS_FIREABLE [t1389]]]]]] U AF [EG [~ [IS_FIREABLE [t1260]]]]]
normalized: E [EG [~ [EG [[IS_FIREABLE [t1430] | ~ [IS_FIREABLE [t1389]]]]]] U ~ [EG [~ [EG [~ [IS_FIREABLE [t1260]]]]]]]

...........................
before gc: list nodes free: 8515986

after gc: idd nodes used:276683, unused:63723317; list nodes free:300739321
MC time: 2m38.013sec

checking: EX [~ [EG [AF [[[IS_FIREABLE [t1469] | IS_FIREABLE [t1056]] & [IS_FIREABLE [t895] & IS_FIREABLE [t203]]]]]]]
normalized: EX [~ [EG [~ [EG [~ [[[IS_FIREABLE [t895] & IS_FIREABLE [t203]] & [IS_FIREABLE [t1469] | IS_FIREABLE [t1056]]]]]]]]]


EG iterations: 0
.
EG iterations: 1
.-> the formula is TRUE

FORMULA StigmergyCommit-PT-03b-CTLFireability-03 TRUE TECHNIQUES SEQUENTIAL_PROCESSING DECISION_DIAGRAMS UNFOLDING_TO_PT

MC time: 0m38.011sec

checking: [EX [AF [~ [EF [IS_FIREABLE [t1102]]]]] | AX [[IS_FIREABLE [t52] | [IS_FIREABLE [t485] & ~ [[EG [IS_FIREABLE [t323]] | IS_FIREABLE [t421]]]]]]]
normalized: [EX [~ [EG [E [true U IS_FIREABLE [t1102]]]]] | ~ [EX [~ [[[~ [[EG [IS_FIREABLE [t323]] | IS_FIREABLE [t421]]] & IS_FIREABLE [t485]] | IS_FIREABLE [t52]]]]]]

..................................................................................
EG iterations: 82
.MC time: 2m36.002sec

checking: ~ [A [[EF [EX [EX [IS_FIREABLE [t710]]]] & ~ [IS_FIREABLE [t158]]] U [AF [IS_FIREABLE [t1472]] & ~ [[IS_FIREABLE [t374] & ~ [[IS_FIREABLE [t1044] | IS_FIREABLE [t346]]]]]]]]
normalized: ~ [[~ [E [~ [[~ [EG [~ [IS_FIREABLE [t1472]]]] & ~ [[~ [[IS_FIREABLE [t1044] | IS_FIREABLE [t346]]] & IS_FIREABLE [t374]]]]] U [~ [[~ [EG [~ [IS_FIREABLE [t1472]]]] & ~ [[~ [[IS_FIREABLE [t1044] | IS_FIREABLE [t346]]] & IS_FIREABLE [t374]]]]] & ~ [[~ [IS_FIREABLE [t158]] & E [true U EX [EX [IS_FIREABLE [t710]]]]]]]]] & ~ [EG [~ [[~ [EG [~ [IS_FIREABLE [t1472]]]] & ~ [[~ [[IS_FIREABLE [t1044] | IS_FIREABLE [t346]]] & IS_FIREABLE [t374]]]]]]]]]

...
before gc: list nodes free: 13040510

after gc: idd nodes used:290353, unused:63709647; list nodes free:300647398
...MC time: 2m26.001sec

checking: E [[A [IS_FIREABLE [t1302] U IS_FIREABLE [t224]] | AG [~ [E [[IS_FIREABLE [t405] | IS_FIREABLE [t45]] U EG [IS_FIREABLE [t256]]]]]] U IS_FIREABLE [t935]]
normalized: E [[~ [E [true U E [[IS_FIREABLE [t405] | IS_FIREABLE [t45]] U EG [IS_FIREABLE [t256]]]]] | [~ [EG [~ [IS_FIREABLE [t224]]]] & ~ [E [~ [IS_FIREABLE [t224]] U [~ [IS_FIREABLE [t1302]] & ~ [IS_FIREABLE [t224]]]]]]] U IS_FIREABLE [t935]]

..........MC time: 2m16.004sec

checking: E [[EX [[[~ [EG [IS_FIREABLE [t364]]] | [~ [IS_FIREABLE [t523]] & EX [IS_FIREABLE [t1213]]]] & AF [[IS_FIREABLE [t192] | IS_FIREABLE [t1011]]]]] | IS_FIREABLE [t1336]] U IS_FIREABLE [t992]]
normalized: E [[IS_FIREABLE [t1336] | EX [[~ [EG [~ [[IS_FIREABLE [t192] | IS_FIREABLE [t1011]]]]] & [[EX [IS_FIREABLE [t1213]] & ~ [IS_FIREABLE [t523]]] | ~ [EG [IS_FIREABLE [t364]]]]]]] U IS_FIREABLE [t992]]

.
before gc: list nodes free: 7960961

after gc: idd nodes used:154466, unused:63845534; list nodes free:301298872
..........................MC time: 2m 7.001sec

checking: ~ [E [EF [[IS_FIREABLE [t797] & ~ [IS_FIREABLE [t202]]]] U E [AF [IS_FIREABLE [t895]] U [[[IS_FIREABLE [t404] | IS_FIREABLE [t1264]] | IS_FIREABLE [t1256]] | E [IS_FIREABLE [t30] U IS_FIREABLE [t499]]]]]]
normalized: ~ [E [E [true U [IS_FIREABLE [t797] & ~ [IS_FIREABLE [t202]]]] U E [~ [EG [~ [IS_FIREABLE [t895]]]] U [E [IS_FIREABLE [t30] U IS_FIREABLE [t499]] | [IS_FIREABLE [t1256] | [IS_FIREABLE [t404] | IS_FIREABLE [t1264]]]]]]]

.
EG iterations: 1
MC time: 1m58.000sec

checking: ~ [E [EX [[~ [IS_FIREABLE [t1238]] | [~ [[IS_FIREABLE [t373] | IS_FIREABLE [t1296]]] & ~ [AX [IS_FIREABLE [t158]]]]]] U [[IS_FIREABLE [t783] & [IS_FIREABLE [t572] & ~ [[~ [IS_FIREABLE [t902]] & ~ [IS_FIREABLE [t1442]]]]]] & AF [~ [EF [IS_FIREABLE [t1168]]]]]]]
normalized: ~ [E [EX [[[EX [~ [IS_FIREABLE [t158]]] & ~ [[IS_FIREABLE [t373] | IS_FIREABLE [t1296]]]] | ~ [IS_FIREABLE [t1238]]]] U [~ [EG [E [true U IS_FIREABLE [t1168]]]] & [IS_FIREABLE [t783] & [IS_FIREABLE [t572] & ~ [[~ [IS_FIREABLE [t1442]] & ~ [IS_FIREABLE [t902]]]]]]]]]

MC time: 1m50.000sec

checking: E [[[~ [EX [E [IS_FIREABLE [t889] U IS_FIREABLE [t1009]]]] & E [EX [[IS_FIREABLE [t1373] & IS_FIREABLE [t1408]]] U [[[IS_FIREABLE [t1430] | IS_FIREABLE [t23]] & IS_FIREABLE [t842]] | ~ [IS_FIREABLE [t692]]]]] & EF [IS_FIREABLE [t1076]]] U IS_FIREABLE [t480]]
normalized: E [[E [true U IS_FIREABLE [t1076]] & [E [EX [[IS_FIREABLE [t1373] & IS_FIREABLE [t1408]]] U [~ [IS_FIREABLE [t692]] | [IS_FIREABLE [t842] & [IS_FIREABLE [t1430] | IS_FIREABLE [t23]]]]] & ~ [EX [E [IS_FIREABLE [t889] U IS_FIREABLE [t1009]]]]]] U IS_FIREABLE [t480]]

..MC time: 1m43.001sec

checking: AG [~ [A [[[~ [IS_FIREABLE [t1031]] | E [IS_FIREABLE [t1244] U IS_FIREABLE [t989]]] | [[IS_FIREABLE [t597] & IS_FIREABLE [t582]] | [IS_FIREABLE [t1019] | IS_FIREABLE [t855]]]] U [~ [[IS_FIREABLE [t305] | IS_FIREABLE [t895]]] & IS_FIREABLE [t975]]]]]
normalized: ~ [E [true U [~ [EG [~ [[IS_FIREABLE [t975] & ~ [[IS_FIREABLE [t305] | IS_FIREABLE [t895]]]]]]] & ~ [E [~ [[IS_FIREABLE [t975] & ~ [[IS_FIREABLE [t305] | IS_FIREABLE [t895]]]]] U [~ [[[[IS_FIREABLE [t1019] | IS_FIREABLE [t855]] | [IS_FIREABLE [t597] & IS_FIREABLE [t582]]] | [E [IS_FIREABLE [t1244] U IS_FIREABLE [t989]] | ~ [IS_FIREABLE [t1031]]]]] & ~ [[IS_FIREABLE [t975] & ~ [[IS_FIREABLE [t305] | IS_FIREABLE [t895]]]]]]]]]]]

MC time: 1m36.003sec

checking: A [[[AF [IS_FIREABLE [t290]] | EX [~ [[[IS_FIREABLE [t532] & IS_FIREABLE [t1289]] & ~ [IS_FIREABLE [t1448]]]]]] & E [[IS_FIREABLE [t128] | IS_FIREABLE [t855]] U IS_FIREABLE [t534]]] U E [~ [AF [[IS_FIREABLE [t815] & IS_FIREABLE [t1046]]]] U [[AG [IS_FIREABLE [t1027]] | AX [[IS_FIREABLE [t588] & IS_FIREABLE [t309]]]] & AG [~ [EG [IS_FIREABLE [t600]]]]]]]
normalized: [~ [EG [~ [E [EG [~ [[IS_FIREABLE [t815] & IS_FIREABLE [t1046]]]] U [~ [E [true U EG [IS_FIREABLE [t600]]]] & [~ [EX [~ [[IS_FIREABLE [t588] & IS_FIREABLE [t309]]]]] | ~ [E [true U ~ [IS_FIREABLE [t1027]]]]]]]]]] & ~ [E [~ [E [EG [~ [[IS_FIREABLE [t815] & IS_FIREABLE [t1046]]]] U [~ [E [true U EG [IS_FIREABLE [t600]]]] & [~ [EX [~ [[IS_FIREABLE [t588] & IS_FIREABLE [t309]]]]] | ~ [E [true U ~ [IS_FIREABLE [t1027]]]]]]]] U [~ [[E [[IS_FIREABLE [t128] | IS_FIREABLE [t855]] U IS_FIREABLE [t534]] & [EX [~ [[~ [IS_FIREABLE [t1448]] & [IS_FIREABLE [t532] & IS_FIREABLE [t1289]]]]] | ~ [EG [~ [IS_FIREABLE [t290]]]]]]] & ~ [E [EG [~ [[IS_FIREABLE [t815] & IS_FIREABLE [t1046]]]] U [~ [E [true U EG [IS_FIREABLE [t600]]]] & [~ [EX [~ [[IS_FIREABLE [t588] & IS_FIREABLE [t309]]]]] | ~ [E [true U ~ [IS_FIREABLE [t1027]]]]]]]]]]]]


before gc: list nodes free: 18846935

after gc: idd nodes used:200600, unused:63799400; list nodes free:301084661
.MC time: 1m30.007sec

checking: A [[[IS_FIREABLE [t418] | IS_FIREABLE [t773]] | [A [[[IS_FIREABLE [t287] | AG [IS_FIREABLE [t321]]] | AG [IS_FIREABLE [t811]]] U AG [~ [IS_FIREABLE [t313]]]] & AF [[EG [IS_FIREABLE [t1405]] | E [IS_FIREABLE [t1335] U IS_FIREABLE [t238]]]]]] U [IS_FIREABLE [t992] | A [EG [~ [IS_FIREABLE [t933]]] U [IS_FIREABLE [t901] | [EF [IS_FIREABLE [t1362]] & IS_FIREABLE [t459]]]]]]
normalized: [~ [EG [~ [[IS_FIREABLE [t992] | [~ [EG [~ [[IS_FIREABLE [t901] | [IS_FIREABLE [t459] & E [true U IS_FIREABLE [t1362]]]]]]] & ~ [E [~ [[IS_FIREABLE [t901] | [IS_FIREABLE [t459] & E [true U IS_FIREABLE [t1362]]]]] U [~ [EG [~ [IS_FIREABLE [t933]]]] & ~ [[IS_FIREABLE [t901] | [IS_FIREABLE [t459] & E [true U IS_FIREABLE [t1362]]]]]]]]]]]]] & ~ [E [~ [[IS_FIREABLE [t992] | [~ [EG [~ [[IS_FIREABLE [t901] | [IS_FIREABLE [t459] & E [true U IS_FIREABLE [t1362]]]]]]] & ~ [E [~ [[IS_FIREABLE [t901] | [IS_FIREABLE [t459] & E [true U IS_FIREABLE [t1362]]]]] U [~ [EG [~ [IS_FIREABLE [t933]]]] & ~ [[IS_FIREABLE [t901] | [IS_FIREABLE [t459] & E [true U IS_FIREABLE [t1362]]]]]]]]]]] U [~ [[[~ [EG [~ [[E [IS_FIREABLE [t1335] U IS_FIREABLE [t238]] | EG [IS_FIREABLE [t1405]]]]]] & [~ [EG [E [true U IS_FIREABLE [t313]]]] & ~ [E [E [true U IS_FIREABLE [t313]] U [~ [[~ [E [true U ~ [IS_FIREABLE [t811]]]] | [IS_FIREABLE [t287] | ~ [E [true U ~ [IS_FIREABLE [t321]]]]]]] & E [true U IS_FIREABLE [t313]]]]]]] | [IS_FIREABLE [t418] | IS_FIREABLE [t773]]]] & ~ [[IS_FIREABLE [t992] | [~ [EG [~ [[IS_FIREABLE [t901] | [IS_FIREABLE [t459] & E [true U IS_FIREABLE [t1362]]]]]]] & ~ [E [~ [[IS_FIREABLE [t901] | [IS_FIREABLE [t459] & E [true U IS_FIREABLE [t1362]]]]] U [~ [EG [~ [IS_FIREABLE [t933]]]] & ~ [[IS_FIREABLE [t901] | [IS_FIREABLE [t459] & E [true U IS_FIREABLE [t1362]]]]]]]]]]]]]]]

TIME LIMIT: Killed by timeout after 3600 seconds
MemTotal: 16393932 kB
MemFree: 6072180 kB
After kill :
MemTotal: 16393932 kB
MemFree: 16179224 kB

BK_TIME_CONFINEMENT_REACHED

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

check for maximal unmarked siphon
ok
check for constant places
ok
check if there are places and transitions
ok
check if there are transitions without pre-places
ok
check if at least one transition is enabled in m0
ok
check if there are transitions that can never fire
ok


initing FirstDep: 0m 0.012sec

55023 66526 92260 85057 88527 90113 86913 90164 92018 89180 90947 91279 90937 94675 92759 94028 95434 94284 97613 95040 99669 102637 101819 98166 99153 102927 99752 100178 103225 102740 101662
iterations count:3114365 (2110), effective:89701 (60)

initing FirstDep: 0m 0.012sec


net_ddint.h:600: Timeout: after 204 sec


net_ddint.h:600: Timeout: after 191 sec


net_ddint.h:600: Timeout: after 179 sec


net_ddint.h:600: Timeout: after 168 sec


net_ddint.h:600: Timeout: after 157 sec


sat_reach.icc:155: Timeout: after 155 sec


net_ddint.h:600: Timeout: after 145 sec


iterations count:1499 (1), effective:1 (0)

net_ddint.h:600: Timeout: after 135 sec


net_ddint.h:600: Timeout: after 126 sec


iterations count:14493 (9), effective:154 (0)

sat_reach.icc:155: Timeout: after 117 sec

55757
sat_reach.icc:155: Timeout: after 109 sec


iterations count:1476 (1), effective:0 (0)

iterations count:1476 (1), effective:0 (0)

sat_reach.icc:155: Timeout: after 102 sec


iterations count:3139 (2), effective:83 (0)

sat_reach.icc:155: Timeout: after 95 sec


iterations count:1478 (1), effective:1 (0)

net_ddint.h:600: Timeout: after 89 sec


sat_reach.icc:155: Timeout: after 83 sec

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="StigmergyCommit-PT-03b"
export BK_EXAMINATION="CTLFireability"
export BK_TOOL="marcie"
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 marcie"
echo " Input is StigmergyCommit-PT-03b, examination is CTLFireability"
echo " Time confinement is $BK_TIME_CONFINEMENT seconds"
echo " Memory confinement is 16384 MBytes"
echo " Number of cores is 1"
echo " Run identifier is r449-smll-167912641500418"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

tar xzf /home/mcc/BenchKit/INPUTS/StigmergyCommit-PT-03b.tgz
mv StigmergyCommit-PT-03b execution
cd execution
if [ "CTLFireability" = "ReachabilityDeadlock" ] || [ "CTLFireability" = "UpperBounds" ] || [ "CTLFireability" = "QuasiLiveness" ] || [ "CTLFireability" = "StableMarking" ] || [ "CTLFireability" = "Liveness" ] || [ "CTLFireability" = "OneSafe" ] || [ "CTLFireability" = "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 [ "CTLFireability" = "UpperBounds" ] ; then
echo "The expected result is a vector of positive values"
echo NUM_VECTOR
elif [ "CTLFireability" != "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 "CTLFireability.txt" ] ; then
echo "here is the order used to build the result vector(from text file)"
for x in $(grep Property CTLFireability.txt | cut -d ' ' -f 2 | sort -u) ; do
echo "FORMULA_NAME $x"
done
elif [ -f "CTLFireability.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 '' CTLFireability.xml | cut -d '>' -f 2 | cut -d '<' -f 1 | sort -u) ; do
echo "FORMULA_NAME $x"
done
elif [ "CTLFireability" = "ReachabilityDeadlock" ] || [ "CTLFireability" = "QuasiLiveness" ] || [ "CTLFireability" = "StableMarking" ] || [ "CTLFireability" = "Liveness" ] || [ "CTLFireability" = "OneSafe" ] ; then
echo "FORMULA_NAME CTLFireability"
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 ;