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

About the Execution of Marcie for CloudReconfiguration-PT-309

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
10143.292 3600000.00 3600080.00 10.10 [undef] Time out reached

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.r097-tall-167814469000065.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 CloudReconfiguration-PT-309, examination is CTLCardinality
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 1
Run identifier is r097-tall-167814469000065
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 1.1M
-rw-r--r-- 1 mcc users 7.8K Feb 25 11:50 CTLCardinality.txt
-rw-r--r-- 1 mcc users 85K Feb 25 11:50 CTLCardinality.xml
-rw-r--r-- 1 mcc users 7.6K Feb 25 11:50 CTLFireability.txt
-rw-r--r-- 1 mcc users 75K Feb 25 11:50 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.2K Jan 29 11:40 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 6.8K Jan 29 11:40 GenericPropertiesVerdict.xml
-rw-r--r-- 1 mcc users 3.9K Feb 25 15:47 LTLCardinality.txt
-rw-r--r-- 1 mcc users 28K Feb 25 15:47 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.4K Feb 25 15:47 LTLFireability.txt
-rw-r--r-- 1 mcc users 17K Feb 25 15:47 LTLFireability.xml
-rw-r--r-- 1 mcc users 8.0K Feb 25 11:51 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 75K Feb 25 11:51 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 11K Feb 25 11:51 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 89K Feb 25 11:51 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.8K Feb 25 15:47 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.8K Feb 25 15:47 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 660K 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 CloudReconfiguration-PT-309-CTLCardinality-00
FORMULA_NAME CloudReconfiguration-PT-309-CTLCardinality-01
FORMULA_NAME CloudReconfiguration-PT-309-CTLCardinality-02
FORMULA_NAME CloudReconfiguration-PT-309-CTLCardinality-03
FORMULA_NAME CloudReconfiguration-PT-309-CTLCardinality-04
FORMULA_NAME CloudReconfiguration-PT-309-CTLCardinality-05
FORMULA_NAME CloudReconfiguration-PT-309-CTLCardinality-06
FORMULA_NAME CloudReconfiguration-PT-309-CTLCardinality-07
FORMULA_NAME CloudReconfiguration-PT-309-CTLCardinality-08
FORMULA_NAME CloudReconfiguration-PT-309-CTLCardinality-09
FORMULA_NAME CloudReconfiguration-PT-309-CTLCardinality-10
FORMULA_NAME CloudReconfiguration-PT-309-CTLCardinality-11
FORMULA_NAME CloudReconfiguration-PT-309-CTLCardinality-12
FORMULA_NAME CloudReconfiguration-PT-309-CTLCardinality-13
FORMULA_NAME CloudReconfiguration-PT-309-CTLCardinality-14
FORMULA_NAME CloudReconfiguration-PT-309-CTLCardinality-15

=== Now, execution of the tool begins

BK_START 1678223286595

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=CTLCardinality
BK_BIN_PATH=/home/mcc/BenchKit/bin/
BK_TIME_CONFINEMENT=3600
BK_INPUT=CloudReconfiguration-PT-309
Not applying reductions.
Model is PT
CTLCardinality 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=CTLCardinality.xml --memory=6 --mcc-mode

parse successfull
net created successfully

Net: CloudReconfiguration_PT_309
(NrP: 2585 NrTr: 3095 NrArc: 6463)

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

net check time: 0m 0.001sec

init dd package: 0m 2.874sec


before gc: list nodes free: 1886923

after gc: idd nodes used:152283, unused:63847717; list nodes free:286607602

RS generation: 42m 3.689sec


-> reachability set: #nodes 130051 (1.3e+05) #states 202,542,016,810 (11)



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

checking: EF [1<=p924]
normalized: E [true U 1<=p924]

abstracting: (1<=p924)
states: 235,856,520 (8)
MC time: 1m 8.001sec

checking: ~ [EG [p57<=0]]
normalized: ~ [EG [p57<=0]]

abstracting: (p57<=0)
states: 202,210,015,738 (11)

before gc: list nodes free: 638493

after gc: idd nodes used:287096, unused:63712904; list nodes free:294314285
MC time: 1m 3.843sec

checking: EX [AG [EF [[[EX [p2502<=1] & ~ [p1566<=1]] | ~ [AF [p247<=1]]]]]]
normalized: EX [~ [E [true U ~ [E [true U [EG [~ [p247<=1]] | [~ [p1566<=1] & EX [p2502<=1]]]]]]]]

abstracting: (p2502<=1)
states: 202,542,016,810 (11)
MC time: 0m59.012sec

checking: AF [[1<=p980 | ~ [EF [~ [p2214<=p179]]]]]
normalized: ~ [EG [~ [[1<=p980 | ~ [E [true U ~ [p2214<=p179]]]]]]]

abstracting: (p2214<=p179)
states: 202,111,226,174 (11)
MC time: 0m56.001sec

checking: AX [~ [E [1<=p1924 U AG [[[1<=p508 | 1<=p489] | [p1561<=1 & p2266<=p1477]]]]]]
normalized: ~ [EX [E [1<=p1924 U ~ [E [true U ~ [[[p1561<=1 & p2266<=p1477] | [1<=p508 | 1<=p489]]]]]]]]

abstracting: (1<=p489)
states: 344,995,956 (8)
abstracting: (1<=p508)
states: 344,995,956 (8)
abstracting: (p2266<=p1477)
states: 202,108,054,278 (11)
abstracting: (p1561<=1)
states: 202,542,016,810 (11)
MC time: 0m52.015sec

checking: EF [~ [[A [[p2275<=p2074 & p2301<=p1499] U EF [p2413<=p1329]] | 1<=p1817]]]
normalized: E [true U ~ [[1<=p1817 | [~ [EG [~ [E [true U p2413<=p1329]]]] & ~ [E [~ [E [true U p2413<=p1329]] U [~ [[p2275<=p2074 & p2301<=p1499]] & ~ [E [true U p2413<=p1329]]]]]]]]]

abstracting: (p2413<=p1329)
states: 202,317,934,259 (11)
MC time: 0m49.045sec

checking: ~ [[~ [[A [EF [[p2489<=1 | p1743<=0]] U [AF [1<=p642] & [AG [1<=p1835] | AG [p1559<=0]]]] | ~ [AG [p2487<=0]]]] | EF [AF [1<=p2391]]]]
normalized: ~ [[E [true U ~ [EG [~ [1<=p2391]]]] | ~ [[E [true U ~ [p2487<=0]] | [~ [EG [~ [[[~ [E [true U ~ [p1559<=0]]] | ~ [E [true U ~ [1<=p1835]]]] & ~ [EG [~ [1<=p642]]]]]]] & ~ [E [~ [[[~ [E [true U ~ [p1559<=0]]] | ~ [E [true U ~ [1<=p1835]]]] & ~ [EG [~ [1<=p642]]]]] U [~ [E [true U [p2489<=1 | p1743<=0]]] & ~ [[[~ [E [true U ~ [p1559<=0]]] | ~ [E [true U ~ [1<=p1835]]]] & ~ [EG [~ [1<=p642]]]]]]]]]]]]]

abstracting: (1<=p642)
states: 124,654,545 (8)
MC time: 0m46.041sec

checking: E [AX [~ [[1<=p2414 | AG [[p1209<=p2229 & p60<=p592]]]]] U ~ [[~ [AF [[AF [p1643<=p271] & ~ [1<=p305]]]] | p1644<=p720]]]
normalized: E [~ [EX [[1<=p2414 | ~ [E [true U ~ [[p1209<=p2229 & p60<=p592]]]]]]] U ~ [[p1644<=p720 | EG [~ [[~ [1<=p305] & ~ [EG [~ [p1643<=p271]]]]]]]]]

abstracting: (p1643<=p271)
states: 202,317,602,935 (11)
.MC time: 0m43.033sec

checking: AX [[[[[EX [~ [1<=p523]] | AF [AX [p2170<=1]]] & EF [AX [1<=p930]]] & AX [[[[1<=p1543 & p593<=1] | p2489<=p1047] | [AF [p559<=1] & E [1<=p1395 U p417<=0]]]]] | ~ [p917<=1]]]
normalized: ~ [EX [~ [[~ [p917<=1] | [~ [EX [~ [[[E [1<=p1395 U p417<=0] & ~ [EG [~ [p559<=1]]]] | [p2489<=p1047 | [1<=p1543 & p593<=1]]]]]] & [E [true U ~ [EX [~ [1<=p930]]]] & [~ [EG [EX [~ [p2170<=1]]]] | EX [~ [1<=p523]]]]]]]]]

abstracting: (1<=p523)
states: 344,995,956 (8)

before gc: list nodes free: 686511

after gc: idd nodes used:455675, unused:63544325; list nodes free:293530496
.abstracting: (p2170<=1)
states: 202,542,016,810 (11)
..MC time: 0m40.023sec

checking: AG [~ [[[E [AF [1<=p2002] U E [1<=p1183 U p2180<=p1355]] | AG [A [p775<=p2493 U 1<=p1670]]] & EG [~ [[A [p1728<=1 U 1<=p573] | [p479<=p1477 & p2186<=0]]]]]]]
normalized: ~ [E [true U [EG [~ [[[~ [EG [~ [1<=p573]]] & ~ [E [~ [1<=p573] U [~ [p1728<=1] & ~ [1<=p573]]]]] | [p479<=p1477 & p2186<=0]]]] & [~ [E [true U ~ [[~ [EG [~ [1<=p1670]]] & ~ [E [~ [1<=p1670] U [~ [p775<=p2493] & ~ [1<=p1670]]]]]]]] | E [~ [EG [~ [1<=p2002]]] U E [1<=p1183 U p2180<=p1355]]]]]]

abstracting: (p2180<=p1355)
states: 202,317,934,259 (11)
abstracting: (1<=p1183)
states: 235,856,520 (8)
MC time: 0m38.046sec

checking: [A [AF [[AF [~ [p1446<=p1574]] | AX [p883<=0]]] U AG [A [~ [[1<=p2560 | p377<=p2081]] U [~ [p2322<=p870] & E [p1719<=0 U p2527<=0]]]]] & E [AF [A [1<=p1096 U [AX [1<=p1925] | [1<=p949 | 1<=p1288]]]] U ~ [AX [~ [1<=p2337]]]]]
normalized: [[~ [EG [E [true U ~ [[~ [E [~ [[~ [p2322<=p870] & E [p1719<=0 U p2527<=0]]] U [~ [[~ [p2322<=p870] & E [p1719<=0 U p2527<=0]]] & [1<=p2560 | p377<=p2081]]]] & ~ [EG [~ [[~ [p2322<=p870] & E [p1719<=0 U p2527<=0]]]]]]]]]] & ~ [E [E [true U ~ [[~ [E [~ [[~ [p2322<=p870] & E [p1719<=0 U p2527<=0]]] U [~ [[~ [p2322<=p870] & E [p1719<=0 U p2527<=0]]] & [1<=p2560 | p377<=p2081]]]] & ~ [EG [~ [[~ [p2322<=p870] & E [p1719<=0 U p2527<=0]]]]]]]] U [E [true U ~ [[~ [E [~ [[~ [p2322<=p870] & E [p1719<=0 U p2527<=0]]] U [~ [[~ [p2322<=p870] & E [p1719<=0 U p2527<=0]]] & [1<=p2560 | p377<=p2081]]]] & ~ [EG [~ [[~ [p2322<=p870] & E [p1719<=0 U p2527<=0]]]]]]]] & EG [~ [[~ [EG [p1446<=p1574]] | ~ [EX [~ [p883<=0]]]]]]]]]] & E [~ [EG [~ [[~ [EG [~ [[[1<=p949 | 1<=p1288] | ~ [EX [~ [1<=p1925]]]]]]] & ~ [E [~ [[[1<=p949 | 1<=p1288] | ~ [EX [~ [1<=p1925]]]]] U [~ [1<=p1096] & ~ [[[1<=p949 | 1<=p1288] | ~ [EX [~ [1<=p1925]]]]]]]]]]]] U EX [1<=p2337]]]

abstracting: (1<=p2337)
states: 224,413,985 (8)
.abstracting: (1<=p1925)
states: 429,930,772 (8)
MC time: 0m35.017sec

checking: EG [~ [[~ [EG [[E [p2279<=p673 U 1<=p49] | E [1<=p452 U p1141<=1]]]] | E [[~ [1<=p139] & [A [1<=p1153 U 1<=p2567] & [1<=p117 & 1<=p1464]]] U [1<=p1774 | [[p1577<=p2042 & 1<=p472] & [1<=p2320 & p2260<=1]]]]]]]
normalized: EG [~ [[E [[[[1<=p117 & 1<=p1464] & [~ [EG [~ [1<=p2567]]] & ~ [E [~ [1<=p2567] U [~ [1<=p1153] & ~ [1<=p2567]]]]]] & ~ [1<=p139]] U [1<=p1774 | [[1<=p2320 & p2260<=1] & [p1577<=p2042 & 1<=p472]]]] | ~ [EG [[E [1<=p452 U p1141<=1] | E [p2279<=p673 U 1<=p49]]]]]]]

abstracting: (1<=p49)
states: 332,001,072 (8)
abstracting: (p2279<=p673)
states: 202,107,463,229 (11)
MC time: 0m33.001sec

checking: E [[~ [p272<=p27] & 1<=p1730] U [EG [AX [[[1<=p2400 | p1678<=p1686] & p977<=1]]] | ~ [A [[1<=p537 | [AF [1<=p1549] | p1980<=0]] U [[[1<=p1244 & p2159<=p1680] | AG [p1187<=0]] & A [p1405<=0 U 1<=p1395]]]]]]
normalized: E [[1<=p1730 & ~ [p272<=p27]] U [~ [[~ [EG [~ [[[~ [EG [~ [1<=p1395]]] & ~ [E [~ [1<=p1395] U [~ [p1405<=0] & ~ [1<=p1395]]]]] & [~ [E [true U ~ [p1187<=0]]] | [1<=p1244 & p2159<=p1680]]]]]] & ~ [E [~ [[[~ [EG [~ [1<=p1395]]] & ~ [E [~ [1<=p1395] U [~ [p1405<=0] & ~ [1<=p1395]]]]] & [~ [E [true U ~ [p1187<=0]]] | [1<=p1244 & p2159<=p1680]]]] U [~ [[1<=p537 | [p1980<=0 | ~ [EG [~ [1<=p1549]]]]]] & ~ [[[~ [EG [~ [1<=p1395]]] & ~ [E [~ [1<=p1395] U [~ [p1405<=0] & ~ [1<=p1395]]]]] & [~ [E [true U ~ [p1187<=0]]] | [1<=p1244 & p2159<=p1680]]]]]]]]] | EG [~ [EX [~ [[p977<=1 & [1<=p2400 | p1678<=p1686]]]]]]]]

abstracting: (p1678<=p1686)
states: 202,317,602,935 (11)
abstracting: (1<=p2400)
states: 224,413,985 (8)
abstracting: (p977<=1)
states: 202,542,016,810 (11)
.MC time: 0m31.067sec

checking: EG [[[[[[EX [p1861<=p1702] & AG [p1744<=1]] | [p2192<=p976 & 1<=p1625]] | ~ [[EG [1<=p2071] & ~ [p929<=0]]]] & A [E [EF [1<=p2465] U AF [p994<=1]] U [[EG [p920<=p2543] & [p1879<=0 & p1901<=p426]] | A [p2488<=p2333 U p192<=p811]]]] & AF [p1421<=1]]]
normalized: EG [[~ [EG [~ [p1421<=1]]] & [[~ [EG [~ [[[~ [EG [~ [p192<=p811]]] & ~ [E [~ [p192<=p811] U [~ [p2488<=p2333] & ~ [p192<=p811]]]]] | [[p1879<=0 & p1901<=p426] & EG [p920<=p2543]]]]]] & ~ [E [~ [[[~ [EG [~ [p192<=p811]]] & ~ [E [~ [p192<=p811] U [~ [p2488<=p2333] & ~ [p192<=p811]]]]] | [[p1879<=0 & p1901<=p426] & EG [p920<=p2543]]]] U [~ [E [E [true U 1<=p2465] U ~ [EG [~ [p994<=1]]]]] & ~ [[[~ [EG [~ [p192<=p811]]] & ~ [E [~ [p192<=p811] U [~ [p2488<=p2333] & ~ [p192<=p811]]]]] | [[p1879<=0 & p1901<=p426] & EG [p920<=p2543]]]]]]]] & [~ [[~ [p929<=0] & EG [1<=p2071]]] | [[p2192<=p976 & 1<=p1625] | [~ [E [true U ~ [p1744<=1]]] & EX [p1861<=p1702]]]]]]]

abstracting: (p1861<=p1702)
states: 202,317,602,935 (11)

before gc: list nodes free: 816957

after gc: idd nodes used:685404, unused:63314596; list nodes free:296663942
MC time: 0m29.622sec

checking: EX [A [[[[[[1<=p2506 & p2282<=p164] & [1<=p557 | p1083<=p997]] | [[p506<=p643 | p15<=0] | AF [p576<=p2132]]] & [A [p658<=p1432 U p1819<=p548] | ~ [AX [1<=p1253]]]] | ~ [EG [EF [p363<=p760]]]] U ~ [[EX [E [1<=p1365 U p1808<=p1598]] | AG [EG [p1897<=p552]]]]]]
normalized: EX [[~ [EG [[~ [E [true U ~ [EG [p1897<=p552]]]] | EX [E [1<=p1365 U p1808<=p1598]]]]] & ~ [E [[~ [E [true U ~ [EG [p1897<=p552]]]] | EX [E [1<=p1365 U p1808<=p1598]]] U [~ [[~ [EG [E [true U p363<=p760]]] | [[EX [~ [1<=p1253]] | [~ [EG [~ [p1819<=p548]]] & ~ [E [~ [p1819<=p548] U [~ [p658<=p1432] & ~ [p1819<=p548]]]]]] & [[~ [EG [~ [p576<=p2132]]] | [p506<=p643 | p15<=0]] | [[1<=p557 | p1083<=p997] & [1<=p2506 & p2282<=p164]]]]]] & [~ [E [true U ~ [EG [p1897<=p552]]]] | EX [E [1<=p1365 U p1808<=p1598]]]]]]]]

abstracting: (p1808<=p1598)
states: 202,317,602,935 (11)
abstracting: (1<=p1365)
states: 248,764,014 (8)
MC time: 0m27.044sec

checking: EG [[[EX [E [~ [p296<=p224] U EF [1<=p2225]]] | [1<=p1709 | [[~ [[1<=p87 & p475<=p1178]] & p2166<=0] | ~ [[[p2394<=p1653 | p2159<=p673] | EX [1<=p537]]]]]] & ~ [[AF [E [p1701<=p2377 U p2426<=p2573]] & [[[~ [1<=p2089] & ~ [1<=p1733]] & [[1<=p2504 & p2256<=p423] | [p1764<=1 & p2489<=p1008]]] & EG [[p1176<=1 | p1485<=p1248]]]]]]]
normalized: EG [[~ [[[EG [[p1176<=1 | p1485<=p1248]] & [[[p1764<=1 & p2489<=p1008] | [1<=p2504 & p2256<=p423]] & [~ [1<=p1733] & ~ [1<=p2089]]]] & ~ [EG [~ [E [p1701<=p2377 U p2426<=p2573]]]]]] & [[1<=p1709 | [~ [[EX [1<=p537] | [p2394<=p1653 | p2159<=p673]]] | [p2166<=0 & ~ [[1<=p87 & p475<=p1178]]]]] | EX [E [~ [p296<=p224] U E [true U 1<=p2225]]]]]]

abstracting: (1<=p2225)
states: 431,317,958 (8)
MC time: 0m26.004sec

checking: EF [1<=p924]
normalized: E [true U 1<=p924]

abstracting: (1<=p924)
states: 235,856,520 (8)
TIME LIMIT: Killed by timeout after 3600 seconds
MemTotal: 16393916 kB
MemFree: 6083500 kB
After kill :
MemTotal: 16393916 kB
MemFree: 16178892 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.027sec

61343 119008 138683 141615 159402 172777 170340 161677 157316 150578 149659
iterations count:1116913 (360), effective:17933 (5)

initing FirstDep: 0m 0.023sec


sat_reach.icc:155: Timeout: after 67 sec


net_ddint.h:600: Timeout: after 62 sec


net_ddint.h:600: Timeout: after 58 sec


sat_reach.icc:155: Timeout: after 55 sec


sat_reach.icc:155: Timeout: after 51 sec


sat_reach.icc:155: Timeout: after 48 sec


net_ddint.h:600: Timeout: after 45 sec


net_ddint.h:442: Timeout: after 42 sec


net_ddint.h:442: Timeout: after 39 sec


sat_reach.icc:155: Timeout: after 37 sec


net_ddint.h:600: Timeout: after 34 sec


sat_reach.icc:155: Timeout: after 32 sec


net_ddint.h:600: Timeout: after 30 sec


net_ddint.h:600: Timeout: after 28 sec


sat_reach.icc:155: Timeout: after 26 sec


sat_reach.icc:155: Timeout: after 25 sec

116677

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="CloudReconfiguration-PT-309"
export BK_EXAMINATION="CTLCardinality"
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 CloudReconfiguration-PT-309, examination is CTLCardinality"
echo " Time confinement is $BK_TIME_CONFINEMENT seconds"
echo " Memory confinement is 16384 MBytes"
echo " Number of cores is 1"
echo " Run identifier is r097-tall-167814469000065"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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