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

About the Execution of Marcie for DiscoveryGPU-PT-15a

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
11139.084 3600000.00 3599807.00 282.70 ?T???F?????????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.r129-smll-167819404200425.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 DiscoveryGPU-PT-15a, examination is CTLCardinality
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 1
Run identifier is r129-smll-167819404200425
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 564K
-rw-r--r-- 1 mcc users 7.1K Feb 25 13:45 CTLCardinality.txt
-rw-r--r-- 1 mcc users 78K Feb 25 13:45 CTLCardinality.xml
-rw-r--r-- 1 mcc users 5.5K Feb 25 13:41 CTLFireability.txt
-rw-r--r-- 1 mcc users 49K Feb 25 13:41 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.2K Jan 29 11:40 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 6.6K Jan 29 11:40 GenericPropertiesVerdict.xml
-rw-r--r-- 1 mcc users 3.6K Feb 25 16:00 LTLCardinality.txt
-rw-r--r-- 1 mcc users 24K Feb 25 16:00 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.3K Feb 25 16:00 LTLFireability.txt
-rw-r--r-- 1 mcc users 18K Feb 25 16:00 LTLFireability.xml
-rw-r--r-- 1 mcc users 15K Feb 25 13:46 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 162K Feb 25 13:46 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 8.9K Feb 25 13:46 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 79K Feb 25 13:46 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.7K Feb 25 16:00 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.7K Feb 25 16:00 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 53K 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 DiscoveryGPU-PT-15a-CTLCardinality-00
FORMULA_NAME DiscoveryGPU-PT-15a-CTLCardinality-01
FORMULA_NAME DiscoveryGPU-PT-15a-CTLCardinality-02
FORMULA_NAME DiscoveryGPU-PT-15a-CTLCardinality-03
FORMULA_NAME DiscoveryGPU-PT-15a-CTLCardinality-04
FORMULA_NAME DiscoveryGPU-PT-15a-CTLCardinality-05
FORMULA_NAME DiscoveryGPU-PT-15a-CTLCardinality-06
FORMULA_NAME DiscoveryGPU-PT-15a-CTLCardinality-07
FORMULA_NAME DiscoveryGPU-PT-15a-CTLCardinality-08
FORMULA_NAME DiscoveryGPU-PT-15a-CTLCardinality-09
FORMULA_NAME DiscoveryGPU-PT-15a-CTLCardinality-10
FORMULA_NAME DiscoveryGPU-PT-15a-CTLCardinality-11
FORMULA_NAME DiscoveryGPU-PT-15a-CTLCardinality-12
FORMULA_NAME DiscoveryGPU-PT-15a-CTLCardinality-13
FORMULA_NAME DiscoveryGPU-PT-15a-CTLCardinality-14
FORMULA_NAME DiscoveryGPU-PT-15a-CTLCardinality-15

=== Now, execution of the tool begins

BK_START 1679991152541

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=DiscoveryGPU-PT-15a
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: DiscoveryGPU_PT_15a
(NrP: 153 NrTr: 211 NrArc: 678)

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

net check time: 0m 0.000sec

init dd package: 0m 3.604sec


RS generation: 4m50.055sec


-> reachability set: #nodes 2019452 (2.0e+06) #states 4,177,248,169,415,652 (15)



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

checking: AG [~ [EX [~ [p61<=1]]]]
normalized: ~ [E [true U EX [~ [p61<=1]]]]

abstracting: (p61<=1)
states: 4,177,248,169,415,652 (15)
.-> the formula is TRUE

FORMULA DiscoveryGPU-PT-15a-CTLCardinality-01 TRUE TECHNIQUES SEQUENTIAL_PROCESSING DECISION_DIAGRAMS UNFOLDING_TO_PT

MC time: 0m 0.175sec

checking: ~ [EF [AG [p142<=1]]]
normalized: ~ [E [true U ~ [E [true U ~ [p142<=1]]]]]

abstracting: (p142<=1)
states: 4,177,248,169,415,652 (15)
-> the formula is FALSE

FORMULA DiscoveryGPU-PT-15a-CTLCardinality-05 FALSE TECHNIQUES SEQUENTIAL_PROCESSING DECISION_DIAGRAMS UNFOLDING_TO_PT

MC time: 3m 9.195sec

checking: E [~ [EG [~ [AX [p86<=1]]]] U EX [AG [AF [~ [p110<=0]]]]]
normalized: E [~ [EG [EX [~ [p86<=1]]]] U EX [~ [E [true U EG [p110<=0]]]]]

abstracting: (p110<=0)
states: 3,797,498,335,832,411 (15)

before gc: list nodes free: 1749857

after gc: idd nodes used:5088987, unused:58911013; list nodes free:270045764

before gc: list nodes free: 965538

after gc: idd nodes used:31890389, unused:32109611; list nodes free:152197885
MC time: 3m52.280sec

checking: EG [AG [AF [[AG [p128<=0] | p44<=1]]]]
normalized: EG [~ [E [true U EG [~ [[p44<=1 | ~ [E [true U ~ [p128<=0]]]]]]]]]

abstracting: (p128<=0)
states: 3,797,498,335,832,411 (15)
abstracting: (p44<=1)
states: 4,177,248,169,415,652 (15)
.
before gc: list nodes free: 787456

after gc: idd nodes used:5263649, unused:58736351; list nodes free:317802020
MC time: 3m26.536sec

checking: AG [EX [AG [[EX [p145<=p35] | E [p123<=1 U p51<=p149]]]]]
normalized: ~ [E [true U ~ [EX [~ [E [true U ~ [[E [p123<=1 U p51<=p149] | EX [p145<=p35]]]]]]]]]

abstracting: (p145<=p35)
states: 3,832,021,047,976,342 (15)

before gc: list nodes free: 47099650

after gc: idd nodes used:6306075, unused:57693925; list nodes free:312954438
MC time: 3m21.450sec

checking: ~ [AX [EF [[[1<=p107 & ~ [E [p149<=p143 U p103<=1]]] | AG [p85<=p79]]]]]
normalized: EX [~ [E [true U [~ [E [true U ~ [p85<=p79]]] | [1<=p107 & ~ [E [p149<=p143 U p103<=1]]]]]]]

abstracting: (p103<=1)
states: 4,177,248,169,415,652 (15)
abstracting: (p149<=p143)
states: 3,797,498,335,832,411 (15)

before gc: list nodes free: 19815342

after gc: idd nodes used:4296885, unused:59703115; list nodes free:322488279
MC time: 2m57.712sec

checking: E [~ [p71<=p54] U AG [E [[EX [p105<=0] | A [1<=p38 U p21<=0]] U EG [~ [p33<=1]]]]]
normalized: E [~ [p71<=p54] U ~ [E [true U ~ [E [[[~ [EG [~ [p21<=0]]] & ~ [E [~ [p21<=0] U [~ [1<=p38] & ~ [p21<=0]]]]] | EX [p105<=0]] U EG [~ [p33<=1]]]]]]]

abstracting: (p33<=1)
states: 4,177,248,169,415,652 (15)
.
before gc: list nodes free: 46853754

after gc: idd nodes used:7184663, unused:56815337; list nodes free:308270666
MC time: 2m45.961sec

checking: [EG [~ [[~ [EX [EG [p62<=1]]] | EF [[~ [p129<=p152] | EG [1<=p54]]]]]] & ~ [EG [EG [[~ [p88<=p39] & ~ [p135<=0]]]]]]
normalized: [~ [EG [EG [[~ [p135<=0] & ~ [p88<=p39]]]]] & EG [~ [[E [true U [EG [1<=p54] | ~ [p129<=p152]]] | ~ [EX [EG [p62<=1]]]]]]]

abstracting: (p62<=1)
states: 4,177,248,169,415,652 (15)

EG iterations: 0

before gc: list nodes free: 40314996

after gc: idd nodes used:6570142, unused:57429858; list nodes free:311815179
MC time: 2m34.066sec

checking: ~ [E [p86<=0 U [~ [[p127<=p42 | ~ [EG [p13<=p54]]]] & ~ [AG [p117<=p90]]]]]
normalized: ~ [E [p86<=0 U [~ [[p127<=p42 | ~ [EG [p13<=p54]]]] & E [true U ~ [p117<=p90]]]]]

abstracting: (p117<=p90)
states: 3,832,021,047,976,342 (15)
MC time: 2m22.243sec

checking: EF [EG [[~ [[AX [1<=p81] & [1<=p1 & 1<=p116]]] & [AG [AX [p94<=0]] & [[AX [p67<=1] | EG [1<=p24]] | E [1<=p100 U p84<=1]]]]]]
normalized: E [true U EG [[[[E [1<=p100 U p84<=1] | [EG [1<=p24] | ~ [EX [~ [p67<=1]]]]] & ~ [E [true U EX [~ [p94<=0]]]]] & ~ [[[1<=p1 & 1<=p116] & ~ [EX [~ [1<=p81]]]]]]]]

abstracting: (1<=p81)
states: 379,749,833,583,241 (14)

before gc: list nodes free: 44027868

after gc: idd nodes used:7023909, unused:56976091; list nodes free:309948659
MC time: 2m12.874sec

checking: AX [AG [[~ [[p68<=0 & ~ [[p84<=0 & 1<=p109]]]] | ~ [[~ [AX [p112<=1]] & [[p136<=1 | 1<=p10] & [p67<=1 & p68<=p134]]]]]]]
normalized: ~ [EX [E [true U ~ [[~ [[[[p67<=1 & p68<=p134] & [p136<=1 | 1<=p10]] & EX [~ [p112<=1]]]] | ~ [[p68<=0 & ~ [[p84<=0 & 1<=p109]]]]]]]]]

abstracting: (1<=p109)
states: 379,749,833,583,241 (14)
abstracting: (p84<=0)
states: 3,797,498,335,832,411 (15)
abstracting: (p68<=0)
states: 3,797,498,335,832,411 (15)
abstracting: (p112<=1)
states: 4,177,248,169,415,652 (15)
.abstracting: (1<=p10)
states: 379,749,833,583,241 (14)
abstracting: (p136<=1)
states: 4,177,248,169,415,652 (15)
abstracting: (p68<=p134)
states: 3,832,021,047,976,342 (15)
abstracting: (p67<=1)
states: 4,177,248,169,415,652 (15)
.-> the formula is TRUE

FORMULA DiscoveryGPU-PT-15a-CTLCardinality-15 TRUE TECHNIQUES SEQUENTIAL_PROCESSING DECISION_DIAGRAMS UNFOLDING_TO_PT

MC time: 0m19.719sec

checking: AX [~ [A [~ [[EX [1<=p26] | AG [p39<=0]]] U [E [[1<=p3 | p48<=p73] U AG [p73<=0]] | [p31<=p131 & [AG [p55<=p132] & [p94<=p1 | p26<=1]]]]]]]
normalized: ~ [EX [[~ [EG [~ [[[p31<=p131 & [[p94<=p1 | p26<=1] & ~ [E [true U ~ [p55<=p132]]]]] | E [[1<=p3 | p48<=p73] U ~ [E [true U ~ [p73<=0]]]]]]]] & ~ [E [~ [[[p31<=p131 & [[p94<=p1 | p26<=1] & ~ [E [true U ~ [p55<=p132]]]]] | E [[1<=p3 | p48<=p73] U ~ [E [true U ~ [p73<=0]]]]]] U [[~ [E [true U ~ [p39<=0]]] | EX [1<=p26]] & ~ [[[p31<=p131 & [[p94<=p1 | p26<=1] & ~ [E [true U ~ [p55<=p132]]]]] | E [[1<=p3 | p48<=p73] U ~ [E [true U ~ [p73<=0]]]]]]]]]]]]

abstracting: (p73<=0)
states: 3,797,498,335,832,411 (15)
MC time: 2m10.129sec

checking: EF [[~ [[~ [[EF [p102<=0] | EX [p52<=1]]] & E [[p61<=p4 & [1<=p9 & 1<=p122]] U [~ [1<=p149] & [1<=p112 & 1<=p10]]]]] & [~ [[AX [p10<=1] & EX [AF [p120<=1]]]] & E [AX [EG [p29<=p7]] U AX [[p112<=p129 & p22<=p124]]]]]]
normalized: E [true U [[E [~ [EX [~ [EG [p29<=p7]]]] U ~ [EX [~ [[p112<=p129 & p22<=p124]]]]] & ~ [[EX [~ [EG [~ [p120<=1]]]] & ~ [EX [~ [p10<=1]]]]]] & ~ [[E [[p61<=p4 & [1<=p9 & 1<=p122]] U [[1<=p112 & 1<=p10] & ~ [1<=p149]]] & ~ [[EX [p52<=1] | E [true U p102<=0]]]]]]]

abstracting: (p102<=0)
states: 3,797,498,335,832,411 (15)

before gc: list nodes free: 46687229

after gc: idd nodes used:8734237, unused:55265763; list nodes free:301937900
MC time: 2m 0.324sec

checking: AG [[[[EG [p35<=p32] & ~ [[p30<=0 & [[1<=p87 & p94<=p34] & [p72<=0 & 1<=p11]]]]] | [[~ [AX [p143<=1]] | [1<=p10 | [[p45<=0 & p95<=0] | A [p143<=0 U 1<=p55]]]] | p14<=p112]] | E [[AF [[p8<=p143 & p82<=1]] | ~ [EG [p111<=p113]]] U EG [~ [AX [1<=p83]]]]]]
normalized: ~ [E [true U ~ [[E [[~ [EG [p111<=p113]] | ~ [EG [~ [[p8<=p143 & p82<=1]]]]] U EG [EX [~ [1<=p83]]]] | [[p14<=p112 | [[1<=p10 | [[~ [EG [~ [1<=p55]]] & ~ [E [~ [1<=p55] U [~ [p143<=0] & ~ [1<=p55]]]]] | [p45<=0 & p95<=0]]] | EX [~ [p143<=1]]]] | [~ [[p30<=0 & [[p72<=0 & 1<=p11] & [1<=p87 & p94<=p34]]]] & EG [p35<=p32]]]]]]]

abstracting: (p35<=p32)
states: 3,797,498,335,832,411 (15)

before gc: list nodes free: 47611360

after gc: idd nodes used:11660907, unused:52339093; list nodes free:288226253
MC time: 1m52.553sec

checking: A [[~ [[AF [[~ [1<=p87] | EF [1<=p128]]] & EX [p93<=0]]] | ~ [AG [[p14<=p152 | [[p133<=1 | p85<=p85] | [1<=p63 & p83<=p38]]]]]] U ~ [[p122<=p14 & [[~ [1<=p50] | EF [~ [p82<=0]]] & [~ [AG [p124<=p143]] | [[[p117<=0 & 1<=p88] | [p127<=p135 & 1<=p111]] | [[1<=p43 & p64<=0] | AX [1<=p44]]]]]]]]
normalized: [~ [EG [[p122<=p14 & [[[[~ [EX [~ [1<=p44]]] | [1<=p43 & p64<=0]] | [[p127<=p135 & 1<=p111] | [p117<=0 & 1<=p88]]] | E [true U ~ [p124<=p143]]] & [E [true U ~ [p82<=0]] | ~ [1<=p50]]]]]] & ~ [E [[p122<=p14 & [[[[~ [EX [~ [1<=p44]]] | [1<=p43 & p64<=0]] | [[p127<=p135 & 1<=p111] | [p117<=0 & 1<=p88]]] | E [true U ~ [p124<=p143]]] & [E [true U ~ [p82<=0]] | ~ [1<=p50]]]] U [~ [[E [true U ~ [[p14<=p152 | [[1<=p63 & p83<=p38] | [p133<=1 | p85<=p85]]]]] | ~ [[EX [p93<=0] & ~ [EG [~ [[E [true U 1<=p128] | ~ [1<=p87]]]]]]]]] & [p122<=p14 & [[[[~ [EX [~ [1<=p44]]] | [1<=p43 & p64<=0]] | [[p127<=p135 & 1<=p111] | [p117<=0 & 1<=p88]]] | E [true U ~ [p124<=p143]]] & [E [true U ~ [p82<=0]] | ~ [1<=p50]]]]]]]]

abstracting: (1<=p50)
states: 379,749,833,583,241 (14)
abstracting: (p82<=0)
states: 3,797,498,335,832,411 (15)
MC time: 1m42.124sec

checking: E [[AX [[[E [p110<=p107 U p63<=p129] & p84<=1] | [[p118<=p129 & p103<=0] & ~ [AG [p90<=p119]]]]] | [AF [[[EF [p64<=0] | A [p140<=p78 U p102<=p23]] | [p0<=p42 & 1<=p6]]] & [E [p79<=1 U AF [p93<=p132]] & AX [EX [p56<=p19]]]]] U [[[[p67<=1 | 1<=p14] & [EG [[p80<=1 | p98<=1]] & AG [E [1<=p128 U 1<=p78]]]] & p51<=0] | ~ [[p4<=p80 & p143<=p1]]]]
normalized: E [[[[E [p79<=1 U ~ [EG [~ [p93<=p132]]]] & ~ [EX [~ [EX [p56<=p19]]]]] & ~ [EG [~ [[[p0<=p42 & 1<=p6] | [[~ [EG [~ [p102<=p23]]] & ~ [E [~ [p102<=p23] U [~ [p140<=p78] & ~ [p102<=p23]]]]] | E [true U p64<=0]]]]]]] | ~ [EX [~ [[[E [true U ~ [p90<=p119]] & [p118<=p129 & p103<=0]] | [p84<=1 & E [p110<=p107 U p63<=p129]]]]]]] U [~ [[p4<=p80 & p143<=p1]] | [p51<=0 & [[~ [E [true U ~ [E [1<=p128 U 1<=p78]]]] & EG [[p80<=1 | p98<=1]]] & [p67<=1 | 1<=p14]]]]]

abstracting: (1<=p14)
states: 379,749,833,583,241 (14)
abstracting: (p67<=1)
states: 4,177,248,169,415,652 (15)
abstracting: (p98<=1)
states: 4,177,248,169,415,652 (15)
abstracting: (p80<=1)
states: 4,177,248,169,415,652 (15)

EG iterations: 0
abstracting: (1<=p78)
states: 379,749,833,583,241 (14)
abstracting: (1<=p128)
states: 379,749,833,583,241 (14)
MC time: 1m34.231sec

checking: E [~ [EG [~ [AX [p86<=1]]]] U EX [AG [AF [~ [p110<=0]]]]]
normalized: E [~ [EG [EX [~ [p86<=1]]]] U EX [~ [E [true U EG [p110<=0]]]]]

abstracting: (p110<=0)
states: 3,797,498,335,832,411 (15)

before gc: list nodes free: 50222913

after gc: idd nodes used:14012706, unused:49987294; list nodes free:277609469

before gc: list nodes free: 29114976

after gc: idd nodes used:25877447, unused:38122553; list nodes free:210304054

before gc: list nodes free: 1066481

after gc: idd nodes used:55421586, unused:8578414; list nodes free:43540109

before gc: list nodes free: 631434

after gc: idd nodes used:61090256, unused:2909744; list nodes free:15836478

FORMULA DiscoveryGPU-PT-15a-CTLCardinality-06 CANNOT_COMPUTE

MC time: 9m 2.170sec

checking: EG [AG [AF [[AG [p128<=0] | p44<=1]]]]
normalized: EG [~ [E [true U EG [~ [[p44<=1 | ~ [E [true U ~ [p128<=0]]]]]]]]]

abstracting: (p128<=0)
states: 3,797,498,335,832,411 (15)

before gc: list nodes free: 845982

after gc: idd nodes used:12226627, unused:51773373; list nodes free:296333112
TIME LIMIT: Killed by timeout after 3600 seconds
MemTotal: 16393916 kB
MemFree: 5084940 kB
After kill :
MemTotal: 16393916 kB
MemFree: 16175724 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.000sec


iterations count:10984 (52), effective:151 (0)

initing FirstDep: 0m 0.001sec


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

net_ddint.h:600: Timeout: after 222 sec


iterations count:429 (2), effective:3 (0)

net_ddint.h:442: Timeout: after 205 sec


net_ddint.h:600: Timeout: after 191 sec


sat_reach.icc:155: Timeout: after 176 sec


net_ddint.h:442: Timeout: after 164 sec


net_ddint.h:600: Timeout: after 152 sec


sat_reach.icc:155: Timeout: after 141 sec


net_ddint.h:600: Timeout: after 131 sec


sat_reach.icc:155: Timeout: after 129 sec


sat_reach.icc:155: Timeout: after 119 sec


net_ddint.h:600: Timeout: after 110 sec


sat_reach.icc:155: Timeout: after 101 sec


sat_reach.icc:155: Timeout: after 93 sec

idd.cc:820: DD Exception: No free nodes


iterations count:429 (2), effective:3 (0)

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="DiscoveryGPU-PT-15a"
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 DiscoveryGPU-PT-15a, 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 r129-smll-167819404200425"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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