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

About the Execution of Marcie+red for ViralEpidemic-PT-S03D1C1A08

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
10652.411 1756560.00 1794909.00 5591.60 FFFFFFFTFFTTTFFT 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.r490-tall-167912709801286.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 marciexred
Input is ViralEpidemic-PT-S03D1C1A08, examination is ReachabilityCardinality
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r490-tall-167912709801286
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 29M
-rw-r--r-- 1 mcc users 8.4K Feb 25 22:29 CTLCardinality.txt
-rw-r--r-- 1 mcc users 71K Feb 25 22:29 CTLCardinality.xml
-rw-r--r-- 1 mcc users 6.5K Feb 25 21:03 CTLFireability.txt
-rw-r--r-- 1 mcc users 49K Feb 25 21:03 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.2K Jan 29 11:41 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 6.8K Jan 29 11:41 GenericPropertiesVerdict.xml
-rw-r--r-- 1 mcc users 4.5K Feb 25 17:26 LTLCardinality.txt
-rw-r--r-- 1 mcc users 25K Feb 25 17:26 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.7K Feb 25 17:26 LTLFireability.txt
-rw-r--r-- 1 mcc users 15K Feb 25 17:26 LTLFireability.xml
-rw-r--r-- 1 mcc users 18K Feb 26 01:36 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 148K Feb 26 01:36 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 7.0K Feb 25 23:57 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 42K Feb 25 23:57 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 2.0K Feb 25 17:26 UpperBounds.txt
-rw-r--r-- 1 mcc users 4.0K Feb 25 17:26 UpperBounds.xml
-rw-r--r-- 1 mcc users 6 Mar 5 18:23 equiv_col
-rw-r--r-- 1 mcc users 11 Mar 5 18:23 instance
-rw-r--r-- 1 mcc users 6 Mar 5 18:23 iscolored
-rw-r--r-- 1 mcc users 29M 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 ViralEpidemic-PT-S03D1C1A08-ReachabilityCardinality-00
FORMULA_NAME ViralEpidemic-PT-S03D1C1A08-ReachabilityCardinality-01
FORMULA_NAME ViralEpidemic-PT-S03D1C1A08-ReachabilityCardinality-02
FORMULA_NAME ViralEpidemic-PT-S03D1C1A08-ReachabilityCardinality-03
FORMULA_NAME ViralEpidemic-PT-S03D1C1A08-ReachabilityCardinality-04
FORMULA_NAME ViralEpidemic-PT-S03D1C1A08-ReachabilityCardinality-05
FORMULA_NAME ViralEpidemic-PT-S03D1C1A08-ReachabilityCardinality-06
FORMULA_NAME ViralEpidemic-PT-S03D1C1A08-ReachabilityCardinality-07
FORMULA_NAME ViralEpidemic-PT-S03D1C1A08-ReachabilityCardinality-08
FORMULA_NAME ViralEpidemic-PT-S03D1C1A08-ReachabilityCardinality-09
FORMULA_NAME ViralEpidemic-PT-S03D1C1A08-ReachabilityCardinality-10
FORMULA_NAME ViralEpidemic-PT-S03D1C1A08-ReachabilityCardinality-11
FORMULA_NAME ViralEpidemic-PT-S03D1C1A08-ReachabilityCardinality-12
FORMULA_NAME ViralEpidemic-PT-S03D1C1A08-ReachabilityCardinality-13
FORMULA_NAME ViralEpidemic-PT-S03D1C1A08-ReachabilityCardinality-14
FORMULA_NAME ViralEpidemic-PT-S03D1C1A08-ReachabilityCardinality-15

=== Now, execution of the tool begins

BK_START 1679415782105

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=marciexred
BK_EXAMINATION=ReachabilityCardinality
BK_BIN_PATH=/home/mcc/BenchKit/bin/
BK_TIME_CONFINEMENT=3600
BK_INPUT=ViralEpidemic-PT-S03D1C1A08
Applying reductions before tool marcie
Invoking reducer
Running Version 202303021504
[2023-03-21 16:23:03] [INFO ] Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, ReachabilityCardinality, -timeout, 360, -rebuildPNML]
[2023-03-21 16:23:03] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2023-03-21 16:23:04] [INFO ] Load time of PNML (sax parser for PT used): 1218 ms
[2023-03-21 16:23:05] [INFO ] Transformed 49206 places.
[2023-03-21 16:23:05] [INFO ] Transformed 68887 transitions.
[2023-03-21 16:23:05] [INFO ] Parsed PT model containing 49206 places and 68887 transitions and 157456 arcs in 1532 ms.
Parsed 16 properties from file /home/mcc/execution/ReachabilityCardinality.xml in 105 ms.
Working with output stream class java.io.PrintStream
Incomplete random walk after 10000 steps, including 65 resets, run finished after 3422 ms. (steps per millisecond=2 ) properties (out of 16) seen :1
FORMULA ViralEpidemic-PT-S03D1C1A08-ReachabilityCardinality-10 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
Incomplete Best-First random walk after 1001 steps, including 2 resets, run finished after 301 ms. (steps per millisecond=3 ) properties (out of 15) seen :0
Incomplete Best-First random walk after 1001 steps, including 2 resets, run finished after 291 ms. (steps per millisecond=3 ) properties (out of 15) seen :0
Incomplete Best-First random walk after 1001 steps, including 2 resets, run finished after 286 ms. (steps per millisecond=3 ) properties (out of 15) seen :0
Incomplete Best-First random walk after 1001 steps, including 2 resets, run finished after 303 ms. (steps per millisecond=3 ) properties (out of 15) seen :0
Incomplete Best-First random walk after 1001 steps, including 2 resets, run finished after 279 ms. (steps per millisecond=3 ) properties (out of 15) seen :0
Incomplete Best-First random walk after 1001 steps, including 2 resets, run finished after 275 ms. (steps per millisecond=3 ) properties (out of 15) seen :0
Incomplete Best-First random walk after 1001 steps, including 2 resets, run finished after 287 ms. (steps per millisecond=3 ) properties (out of 15) seen :0
Incomplete Best-First random walk after 1001 steps, including 2 resets, run finished after 295 ms. (steps per millisecond=3 ) properties (out of 15) seen :0
Incomplete Best-First random walk after 1001 steps, including 2 resets, run finished after 276 ms. (steps per millisecond=3 ) properties (out of 15) seen :0
Incomplete Best-First random walk after 1001 steps, including 3 resets, run finished after 280 ms. (steps per millisecond=3 ) properties (out of 15) seen :0
Incomplete Best-First random walk after 1001 steps, including 2 resets, run finished after 282 ms. (steps per millisecond=3 ) properties (out of 15) seen :0
Incomplete Best-First random walk after 1001 steps, including 2 resets, run finished after 279 ms. (steps per millisecond=3 ) properties (out of 15) seen :0
Incomplete Best-First random walk after 1001 steps, including 2 resets, run finished after 280 ms. (steps per millisecond=3 ) properties (out of 15) seen :0
Incomplete Best-First random walk after 1001 steps, including 2 resets, run finished after 281 ms. (steps per millisecond=3 ) properties (out of 15) seen :0
Incomplete Best-First random walk after 1001 steps, including 2 resets, run finished after 280 ms. (steps per millisecond=3 ) properties (out of 15) seen :0
Interrupted probabilistic random walk after 32144 steps, run timeout after 21005 ms. (steps per millisecond=1 ) properties seen :{8=1}
Probabilistic random walk after 32144 steps, saw 31228 distinct states, run finished after 21006 ms. (steps per millisecond=1 ) properties seen :1
FORMULA ViralEpidemic-PT-S03D1C1A08-ReachabilityCardinality-08 FALSE TECHNIQUES TOPOLOGICAL PROBABILISTIC_WALK
Running SMT prover for 14 properties.
// Phase 1: matrix 68887 rows 49206 cols
[2023-03-21 16:24:14] [INFO ] Invariants computation overflowed in 40510 ms
[2023-03-21 16:24:32] [INFO ] After 17407ms SMT Verify possible using all constraints in real domain returned unsat :0 sat :0 real:14
java.lang.RuntimeException: SMT solver raised an error when submitting script. Raised (error "Error writing to Z3 solver: java.io.IOException: Broken pipe")...
at fr.lip6.move.gal.structural.smt.SMTUtils.execAndCheckResult(SMTUtils.java:251)
at fr.lip6.move.gal.structural.smt.DeadlockTester.verifyPossible(DeadlockTester.java:629)
at fr.lip6.move.gal.structural.smt.DeadlockTester.testUnreachableWithSMTIncremental(DeadlockTester.java:350)
at fr.lip6.move.gal.structural.smt.DeadlockTester.testUnreachableWithSMT(DeadlockTester.java:223)
at fr.lip6.move.gal.application.solver.ReachabilitySolver.applyReductions(ReachabilitySolver.java:95)
at fr.lip6.move.gal.application.Application.startNoEx(Application.java:902)
at fr.lip6.move.gal.application.Application.start(Application.java:178)
at fr.lip6.move.gal.itscl.application.Application.start(Application.java:45)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:136)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:402)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:659)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:596)
at org.eclipse.equinox.launcher.Main.run(Main.java:1467)
at org.eclipse.equinox.launcher.Main.main(Main.java:1440)
[2023-03-21 16:24:57] [WARNING] SMT solver failed with error :SMT solver raised an error when submitting script.... while checking expressions.
[2023-03-21 16:24:57] [INFO ] After 25017ms SMT Verify possible using all constraints in natural domain returned unsat :0 sat :0 real:14
Fused 14 Parikh solutions to 1 different solutions.
Parikh walk visited 0 properties in 1 ms.
Support contains 358 out of 49206 places. Attempting structural reductions.
Starting structural reductions in REACHABILITY mode, iteration 0 : 49206/49206 places, 68887/68887 transitions.
Graph (complete) has 29523 edges and 49206 vertex of which 2272 are kept as prefixes of interest. Removing 46934 places using SCC suffix rule.48 ms
Discarding 46934 places :
Also discarding 63376 output transitions
Drop transitions removed 63376 transitions
Drop transitions removed 3493 transitions
Reduce isomorphic transitions removed 3493 transitions.
Drop transitions removed 341 transitions
Trivial Post-agglo rules discarded 341 transitions
Performed 341 trivial Post agglomeration. Transition count delta: 341
Iterating post reduction 0 with 3834 rules applied. Total rules applied 3835 place count 2272 transition count 1677
Reduce places removed 341 places and 0 transitions.
Performed 3 Post agglomeration using F-continuation condition.Transition count delta: 3
Iterating post reduction 1 with 344 rules applied. Total rules applied 4179 place count 1931 transition count 1674
Reduce places removed 3 places and 0 transitions.
Iterating post reduction 2 with 3 rules applied. Total rules applied 4182 place count 1928 transition count 1674
Performed 170 Pre agglomeration using Quasi-Persistent + Divergent Free condition..
Pre-agglomeration after 3 with 170 Pre rules applied. Total rules applied 4182 place count 1928 transition count 1504
Deduced a syphon composed of 170 places in 2 ms
Reduce places removed 170 places and 0 transitions.
Iterating global reduction 3 with 340 rules applied. Total rules applied 4522 place count 1758 transition count 1504
Discarding 473 places :
Symmetric choice reduction at 3 with 473 rule applications. Total rules 4995 place count 1285 transition count 1026
Iterating global reduction 3 with 473 rules applied. Total rules applied 5468 place count 1285 transition count 1026
Performed 347 Post agglomeration using F-continuation condition.Transition count delta: 347
Deduced a syphon composed of 347 places in 0 ms
Reduce places removed 347 places and 0 transitions.
Iterating global reduction 3 with 694 rules applied. Total rules applied 6162 place count 938 transition count 679
Renaming transitions due to excessive name length > 1024 char.
Free-agglomeration rule applied 2 times.
Iterating global reduction 3 with 2 rules applied. Total rules applied 6164 place count 938 transition count 677
Reduce places removed 2 places and 0 transitions.
Iterating post reduction 3 with 2 rules applied. Total rules applied 6166 place count 936 transition count 677
Reduce places removed 1 places and 1 transitions.
Iterating global reduction 4 with 1 rules applied. Total rules applied 6167 place count 935 transition count 676
Ensure Unique test removed 85 places
Iterating post reduction 4 with 85 rules applied. Total rules applied 6252 place count 850 transition count 676
Applied a total of 6252 rules in 955 ms. Remains 850 /49206 variables (removed 48356) and now considering 676/68887 (removed 68211) transitions.
Finished structural reductions in REACHABILITY mode , in 1 iterations and 956 ms. Remains : 850/49206 places, 676/68887 transitions.
Incomplete random walk after 10000 steps, including 18 resets, run finished after 419 ms. (steps per millisecond=23 ) properties (out of 14) seen :10
FORMULA ViralEpidemic-PT-S03D1C1A08-ReachabilityCardinality-14 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA ViralEpidemic-PT-S03D1C1A08-ReachabilityCardinality-13 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA ViralEpidemic-PT-S03D1C1A08-ReachabilityCardinality-11 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA ViralEpidemic-PT-S03D1C1A08-ReachabilityCardinality-06 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA ViralEpidemic-PT-S03D1C1A08-ReachabilityCardinality-05 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA ViralEpidemic-PT-S03D1C1A08-ReachabilityCardinality-04 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA ViralEpidemic-PT-S03D1C1A08-ReachabilityCardinality-03 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA ViralEpidemic-PT-S03D1C1A08-ReachabilityCardinality-02 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA ViralEpidemic-PT-S03D1C1A08-ReachabilityCardinality-01 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA ViralEpidemic-PT-S03D1C1A08-ReachabilityCardinality-00 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 97 ms. (steps per millisecond=103 ) properties (out of 4) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 86 ms. (steps per millisecond=116 ) properties (out of 4) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 92 ms. (steps per millisecond=108 ) properties (out of 4) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 81 ms. (steps per millisecond=123 ) properties (out of 4) seen :0
Running SMT prover for 4 properties.
// Phase 1: matrix 676 rows 850 cols
[2023-03-21 16:24:59] [INFO ] Computed 176 place invariants in 27 ms
[2023-03-21 16:24:59] [INFO ] After 140ms SMT Verify possible using all constraints in real domain returned unsat :0 sat :0 real:4
[2023-03-21 16:24:59] [INFO ] [Nat]Absence check using 0 positive and 176 generalized place invariants in 34 ms returned sat
[2023-03-21 16:24:59] [INFO ] After 283ms SMT Verify possible using state equation in natural domain returned unsat :3 sat :1
[2023-03-21 16:24:59] [INFO ] After 353ms SMT Verify possible using trap constraints in natural domain returned unsat :3 sat :1
Attempting to minimize the solution found.
Minimization took 46 ms.
[2023-03-21 16:24:59] [INFO ] After 633ms SMT Verify possible using all constraints in natural domain returned unsat :3 sat :1
FORMULA ViralEpidemic-PT-S03D1C1A08-ReachabilityCardinality-15 TRUE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA ViralEpidemic-PT-S03D1C1A08-ReachabilityCardinality-09 FALSE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA ViralEpidemic-PT-S03D1C1A08-ReachabilityCardinality-07 TRUE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
Fused 4 Parikh solutions to 1 different solutions.
Finished Parikh walk after 265 steps, including 0 resets, run visited all 1 properties in 11 ms. (steps per millisecond=24 )
FORMULA ViralEpidemic-PT-S03D1C1A08-ReachabilityCardinality-12 TRUE TECHNIQUES TOPOLOGICAL PARIKH_WALK
Parikh walk visited 1 properties in 11 ms.
All properties solved without resorting to model-checking.
Total runtime 116313 ms.
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//../reducer/bin//../../marcie/bin/marcie --net-file=model.pnml --mcc-file=ReachabilityCardinality.xml --memory=6 --mcc-mode

parse successfull
net created successfully

Net: ViralEpidemic_PT_S03D1C1A08
(NrP: 49206 NrTr: 68887 NrArc: 157456)

parse formulas
formulas created successfully
place and transition orderings generation:13m54.506sec

net check time: 0m 0.043sec

init dd package: 0m 2.841sec


before gc: list nodes free: 819000

after gc: idd nodes used:11314, unused:63988686; list nodes free:320762430

before gc: list nodes free: 800260

after gc: idd nodes used:15999, unused:63984001; list nodes free:320720265

before gc: list nodes free: 785880

after gc: idd nodes used:19594, unused:63980406; list nodes free:320687910

before gc: list nodes free: 5105855

after gc: idd nodes used:22624, unused:63977376; list nodes free:320666524

before gc: list nodes free: 12195500

after gc: idd nodes used:25294, unused:63974706; list nodes free:320647834

before gc: list nodes free: 17229420

after gc: idd nodes used:27708, unused:63972292; list nodes free:320630936

before gc: list nodes free: 21043628

after gc: idd nodes used:29927, unused:63970073; list nodes free:320615403

before gc: list nodes free: 24065901

after gc: idd nodes used:31993, unused:63968007; list nodes free:320600941

before gc: list nodes free: 26533506

after gc: idd nodes used:33933, unused:63966067; list nodes free:320587361

before gc: list nodes free: 28600886

after gc: idd nodes used:35768, unused:63964232; list nodes free:320574516

before gc: list nodes free: 30357661

after gc: idd nodes used:37513, unused:63962487; list nodes free:320562301

before gc: list nodes free: 31877773

after gc: idd nodes used:39181, unused:63960819; list nodes free:320550625

before gc: list nodes free: 33219332

after gc: idd nodes used:40780, unused:63959220; list nodes free:320539432

before gc: list nodes free: 34407337

after gc: idd nodes used:42319, unused:63957681; list nodes free:320528659

before gc: list nodes free: 35465710

after gc: idd nodes used:43804, unused:63956196; list nodes free:320518264

before gc: list nodes free: 36425820

after gc: idd nodes used:45240, unused:63954760; list nodes free:320508212

before gc: list nodes free: 37287652

after gc: idd nodes used:46632, unused:63953368; list nodes free:320498468

before gc: list nodes free: 38077250

after gc: idd nodes used:47983, unused:63952017; list nodes free:320489011

BK_STOP 1679417538665

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

+ ulimit -s 65536
+ [[ -z '' ]]
+ export LTSMIN_MEM_SIZE=8589934592
+ LTSMIN_MEM_SIZE=8589934592
+ export PYTHONPATH=/home/mcc/BenchKit/itstools/pylibs
+ PYTHONPATH=/home/mcc/BenchKit/itstools/pylibs
+ export LD_LIBRARY_PATH=/home/mcc/BenchKit/itstools/pylibs:
+ LD_LIBRARY_PATH=/home/mcc/BenchKit/itstools/pylibs:
++ sed s/.jar//
++ perl -pe 's/.*\.//g'
++ ls /home/mcc/BenchKit/bin//../reducer/bin//../../itstools//itstools/plugins/fr.lip6.move.gal.application.pnmcc_1.0.0.202303021504.jar
+ VERSION=202303021504
+ echo 'Running Version 202303021504'
+ /home/mcc/BenchKit/bin//../reducer/bin//../../itstools//itstools/its-tools -pnfolder /home/mcc/execution -examination ReachabilityCardinality -timeout 360 -rebuildPNML
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 2.786sec

/home/mcc/BenchKit/bin//../reducer/bin//../../marcie/bin//../BenchKit_head.sh: line 16: 474 Segmentation fault ${MARCIE} --net-file=model.pnml --mcc-file=${BK_EXAMINATION}.xml ${MARCIE_CONFIG}

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="ViralEpidemic-PT-S03D1C1A08"
export BK_EXAMINATION="ReachabilityCardinality"
export BK_TOOL="marciexred"
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 marciexred"
echo " Input is ViralEpidemic-PT-S03D1C1A08, examination is ReachabilityCardinality"
echo " Time confinement is $BK_TIME_CONFINEMENT seconds"
echo " Memory confinement is 16384 MBytes"
echo " Number of cores is 4"
echo " Run identifier is r490-tall-167912709801286"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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