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

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

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
7366.743 561271.00 618685.00 1276.90 F 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.r504-tall-167912729100833.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-S08D1C2A04, examination is StableMarking
Time confinement is 1800 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r504-tall-167912729100833
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 27M
-rw-r--r-- 1 mcc users 7.6K Feb 25 21:32 CTLCardinality.txt
-rw-r--r-- 1 mcc users 68K Feb 25 21:32 CTLCardinality.xml
-rw-r--r-- 1 mcc users 8.1K Feb 25 20:57 CTLFireability.txt
-rw-r--r-- 1 mcc users 71K Feb 25 20:57 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.2K Jan 29 11:41 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 4.1K Feb 25 17:27 LTLCardinality.txt
-rw-r--r-- 1 mcc users 23K Feb 25 17:27 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.6K Feb 25 17:27 LTLFireability.txt
-rw-r--r-- 1 mcc users 15K Feb 25 17:27 LTLFireability.xml
-rw-r--r-- 1 mcc users 15K Feb 25 22:53 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 133K Feb 25 22:53 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 9.6K Feb 25 22:16 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 69K Feb 25 22:16 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.9K Feb 25 17:27 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.9K Feb 25 17:27 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 27M 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

FORMULA_NAME StableMarking

=== Now, execution of the tool begins

BK_START 1679301008972

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=StableMarking
BK_BIN_PATH=/home/mcc/BenchKit/bin/
BK_TIME_CONFINEMENT=1800
BK_INPUT=ViralEpidemic-PT-S08D1C2A04
Applying reductions before tool marcie
Invoking reducer
Running Version 202303021504
[2023-03-20 08:30:10] [INFO ] Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, StableMarking, -timeout, 180, -rebuildPNML]
[2023-03-20 08:30:10] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2023-03-20 08:30:11] [INFO ] Load time of PNML (sax parser for PT used): 1004 ms
[2023-03-20 08:30:11] [INFO ] Transformed 46811 places.
[2023-03-20 08:30:11] [INFO ] Transformed 79577 transitions.
[2023-03-20 08:30:11] [INFO ] Parsed PT model containing 46811 places and 79577 transitions and 191921 arcs in 1345 ms.
Structural test allowed to assert that 37449 places are NOT stable. Took 177 ms.
Incomplete random walk after 10000 steps, including 3 resets, run finished after 7780 ms. (steps per millisecond=1 ) properties (out of 9362) seen :4132
Running SMT prover for 5230 properties.
// Phase 1: matrix 79577 rows 46811 cols
[2023-03-20 08:30:35] [INFO ] Computed 1 place invariants in 14623 ms
java.lang.RuntimeException: SMT solver raised an error when submitting script. Raised (error "Failed to assert expression: java.io.IOException: Stream close...
at fr.lip6.move.gal.structural.smt.SMTUtils.execAndCheckResult(SMTUtils.java:251)
at fr.lip6.move.gal.structural.smt.DeadlockTester.assertInvariants(DeadlockTester.java:2347)
at fr.lip6.move.gal.structural.smt.DeadlockTester.verifyPossible(DeadlockTester.java:618)
at fr.lip6.move.gal.structural.smt.DeadlockTester.testUnreachableWithSMTIncremental(DeadlockTester.java:339)
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.solver.global.GlobalPropertySolver.applyReachabilitySolver(GlobalPropertySolver.java:724)
at fr.lip6.move.gal.application.solver.global.GlobalPropertySolver.solveProperty(GlobalPropertySolver.java:558)
at fr.lip6.move.gal.application.solver.global.GlobalPropertySolver.preSolveLiveness(GlobalPropertySolver.java:412)
at fr.lip6.move.gal.application.solver.global.GlobalPropertySolver.preStableMarking(GlobalPropertySolver.java:321)
at fr.lip6.move.gal.application.solver.global.GlobalPropertySolver.solveProperty(GlobalPropertySolver.java:294)
at fr.lip6.move.gal.application.Application.startNoEx(Application.java:386)
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-20 08:31:00] [WARNING] SMT solver failed with error :SMT solver raised an error when submitting script.... while checking expressions.
[2023-03-20 08:31:00] [INFO ] After 25279ms SMT Verify possible using all constraints in real domain returned unsat :0 sat :0
Fused 5230 Parikh solutions to 1 different solutions.
Parikh walk visited 0 properties in 1 ms.
Support contains 5230 out of 46811 places. Attempting structural reductions.
Starting structural reductions in REACHABILITY mode, iteration 0 : 46811/46811 places, 79577/79577 transitions.
Graph (complete) has 37448 edges and 46811 vertex of which 27407 are kept as prefixes of interest. Removing 19404 places using SCC suffix rule.62 ms
Discarding 19404 places :
Also discarding 32232 output transitions
Drop transitions removed 32232 transitions
Drop transitions removed 2533 transitions
Reduce isomorphic transitions removed 2533 transitions.
Drop transitions removed 49 transitions
Trivial Post-agglo rules discarded 49 transitions
Performed 49 trivial Post agglomeration. Transition count delta: 49
Iterating post reduction 0 with 2582 rules applied. Total rules applied 2583 place count 27407 transition count 44763
Reduce places removed 49 places and 0 transitions.
Iterating post reduction 1 with 49 rules applied. Total rules applied 2632 place count 27358 transition count 44763
Discarding 45 places :
Symmetric choice reduction at 2 with 45 rule applications. Total rules 2677 place count 27313 transition count 44718
Iterating global reduction 2 with 45 rules applied. Total rules applied 2722 place count 27313 transition count 44718
Performed 1175 Post agglomeration using F-continuation condition.Transition count delta: 1175
Deduced a syphon composed of 1175 places in 8 ms
Reduce places removed 1175 places and 0 transitions.
Iterating global reduction 2 with 2350 rules applied. Total rules applied 5072 place count 26138 transition count 43543
Renaming transitions due to excessive name length > 1024 char.
Reduce places removed 1 places and 1 transitions.
Iterating global reduction 2 with 1 rules applied. Total rules applied 5073 place count 26137 transition count 43542
Ensure Unique test removed 4 places
Iterating post reduction 2 with 4 rules applied. Total rules applied 5077 place count 26133 transition count 43542
Applied a total of 5077 rules in 4513 ms. Remains 26133 /46811 variables (removed 20678) and now considering 43542/79577 (removed 36035) transitions.
Finished structural reductions in REACHABILITY mode , in 1 iterations and 4520 ms. Remains : 26133/46811 places, 43542/79577 transitions.
Interrupted random walk after 25901 steps, including 4 resets, run timeout after 30001 ms. (steps per millisecond=0 ) properties seen 4985
Incomplete Best-First random walk after 10001 steps, including 0 resets, run finished after 1670 ms. (steps per millisecond=5 ) properties (out of 245) seen :0
Incomplete Best-First random walk after 10001 steps, including 0 resets, run finished after 1764 ms. (steps per millisecond=5 ) properties (out of 245) seen :0
Incomplete Best-First random walk after 10001 steps, including 0 resets, run finished after 1619 ms. (steps per millisecond=6 ) properties (out of 245) seen :0
Incomplete Best-First random walk after 10001 steps, including 0 resets, run finished after 1639 ms. (steps per millisecond=6 ) properties (out of 245) seen :0
Incomplete Best-First random walk after 10001 steps, including 0 resets, run finished after 1683 ms. (steps per millisecond=5 ) properties (out of 245) seen :0
Incomplete Best-First random walk after 10001 steps, including 0 resets, run finished after 1657 ms. (steps per millisecond=6 ) properties (out of 245) seen :0
Incomplete Best-First random walk after 10001 steps, including 0 resets, run finished after 1613 ms. (steps per millisecond=6 ) properties (out of 245) seen :0
Incomplete Best-First random walk after 10001 steps, including 0 resets, run finished after 1637 ms. (steps per millisecond=6 ) properties (out of 245) seen :0
Incomplete Best-First random walk after 10001 steps, including 0 resets, run finished after 1660 ms. (steps per millisecond=6 ) properties (out of 245) seen :0
Incomplete Best-First random walk after 10001 steps, including 0 resets, run finished after 1684 ms. (steps per millisecond=5 ) properties (out of 245) seen :0
Incomplete Best-First random walk after 10001 steps, including 0 resets, run finished after 1657 ms. (steps per millisecond=6 ) properties (out of 245) seen :0
Incomplete Best-First random walk after 10001 steps, including 0 resets, run finished after 1711 ms. (steps per millisecond=5 ) properties (out of 245) seen :0
Incomplete Best-First random walk after 10001 steps, including 0 resets, run finished after 1607 ms. (steps per millisecond=6 ) properties (out of 245) seen :0
Incomplete Best-First random walk after 10001 steps, including 0 resets, run finished after 1497 ms. (steps per millisecond=6 ) properties (out of 245) seen :0
Incomplete Best-First random walk after 10001 steps, including 0 resets, run finished after 1476 ms. (steps per millisecond=6 ) properties (out of 245) seen :0
Incomplete Best-First random walk after 10001 steps, including 0 resets, run finished after 1497 ms. (steps per millisecond=6 ) properties (out of 245) seen :0
Incomplete Best-First random walk after 10001 steps, including 0 resets, run finished after 1503 ms. (steps per millisecond=6 ) properties (out of 245) seen :0
Incomplete Best-First random walk after 10001 steps, including 0 resets, run finished after 1499 ms. (steps per millisecond=6 ) properties (out of 245) seen :0
Incomplete Best-First random walk after 10001 steps, including 0 resets, run finished after 1497 ms. (steps per millisecond=6 ) properties (out of 245) seen :0
Incomplete Best-First random walk after 10001 steps, including 0 resets, run finished after 1482 ms. (steps per millisecond=6 ) properties (out of 245) seen :0
Incomplete Best-First random walk after 10001 steps, including 0 resets, run finished after 1479 ms. (steps per millisecond=6 ) properties (out of 245) seen :0
Incomplete Best-First random walk after 10001 steps, including 0 resets, run finished after 1491 ms. (steps per millisecond=6 ) properties (out of 245) seen :0
Incomplete Best-First random walk after 10001 steps, including 0 resets, run finished after 1495 ms. (steps per millisecond=6 ) properties (out of 245) seen :0
Incomplete Best-First random walk after 10001 steps, including 0 resets, run finished after 1489 ms. (steps per millisecond=6 ) properties (out of 245) seen :0
Incomplete Best-First random walk after 10001 steps, including 0 resets, run finished after 1484 ms. (steps per millisecond=6 ) properties (out of 245) seen :0
Incomplete Best-First random walk after 10001 steps, including 0 resets, run finished after 1485 ms. (steps per millisecond=6 ) properties (out of 245) seen :0
Incomplete Best-First random walk after 10001 steps, including 0 resets, run finished after 1491 ms. (steps per millisecond=6 ) properties (out of 245) seen :0
Incomplete Best-First random walk after 10001 steps, including 0 resets, run finished after 1490 ms. (steps per millisecond=6 ) properties (out of 245) seen :0
Incomplete Best-First random walk after 10001 steps, including 0 resets, run finished after 1487 ms. (steps per millisecond=6 ) properties (out of 245) seen :0
Incomplete Best-First random walk after 10001 steps, including 0 resets, run finished after 1487 ms. (steps per millisecond=6 ) properties (out of 245) seen :0
Incomplete Best-First random walk after 10001 steps, including 0 resets, run finished after 1487 ms. (steps per millisecond=6 ) properties (out of 245) seen :0
Incomplete Best-First random walk after 10001 steps, including 0 resets, run finished after 1483 ms. (steps per millisecond=6 ) properties (out of 245) seen :0
Incomplete Best-First random walk after 10001 steps, including 0 resets, run finished after 1492 ms. (steps per millisecond=6 ) properties (out of 245) seen :0
Incomplete Best-First random walk after 10001 steps, including 0 resets, run finished after 1478 ms. (steps per millisecond=6 ) properties (out of 245) seen :0
Incomplete Best-First random walk after 10001 steps, including 0 resets, run finished after 1512 ms. (steps per millisecond=6 ) properties (out of 245) seen :0
Incomplete Best-First random walk after 10001 steps, including 0 resets, run finished after 1507 ms. (steps per millisecond=6 ) properties (out of 245) seen :0
Incomplete Best-First random walk after 10001 steps, including 0 resets, run finished after 1480 ms. (steps per millisecond=6 ) properties (out of 245) seen :0
Incomplete Best-First random walk after 10001 steps, including 0 resets, run finished after 1480 ms. (steps per millisecond=6 ) properties (out of 245) seen :0
Incomplete Best-First random walk after 10001 steps, including 0 resets, run finished after 1489 ms. (steps per millisecond=6 ) properties (out of 245) seen :0
Incomplete Best-First random walk after 10001 steps, including 0 resets, run finished after 1470 ms. (steps per millisecond=6 ) properties (out of 245) seen :0
Incomplete Best-First random walk after 10001 steps, including 0 resets, run finished after 1471 ms. (steps per millisecond=6 ) properties (out of 245) seen :0
Incomplete Best-First random walk after 10001 steps, including 0 resets, run finished after 1477 ms. (steps per millisecond=6 ) properties (out of 245) seen :0
Incomplete Best-First random walk after 10001 steps, including 0 resets, run finished after 1487 ms. (steps per millisecond=6 ) properties (out of 245) seen :0
Incomplete Best-First random walk after 10001 steps, including 0 resets, run finished after 1484 ms. (steps per millisecond=6 ) properties (out of 245) seen :0
Incomplete Best-First random walk after 10001 steps, including 0 resets, run finished after 1489 ms. (steps per millisecond=6 ) properties (out of 245) seen :0
Incomplete Best-First random walk after 10001 steps, including 0 resets, run finished after 1488 ms. (steps per millisecond=6 ) properties (out of 245) seen :0
Incomplete Best-First random walk after 10001 steps, including 0 resets, run finished after 1487 ms. (steps per millisecond=6 ) properties (out of 245) seen :0
Incomplete Best-First random walk after 10001 steps, including 0 resets, run finished after 1487 ms. (steps per millisecond=6 ) properties (out of 245) seen :0
Incomplete Best-First random walk after 10001 steps, including 0 resets, run finished after 1483 ms. (steps per millisecond=6 ) properties (out of 245) seen :0
Incomplete Best-First random walk after 10001 steps, including 0 resets, run finished after 1468 ms. (steps per millisecond=6 ) properties (out of 245) seen :0
Running SMT prover for 245 properties.
// Phase 1: matrix 43542 rows 26133 cols
[2023-03-20 08:32:58] [INFO ] Computed 868 place invariants in 6167 ms
[2023-03-20 08:34:12] [INFO ] [Real]Absence check using 0 positive and 868 generalized place invariants in 735 ms returned sat
[2023-03-20 08:35:43] [INFO ] After 165533ms SMT Verify possible using all constraints in real domain returned unsat :0 sat :0 real:245
[2023-03-20 08:36:53] [INFO ] [Nat]Absence check using 0 positive and 868 generalized place invariants in 801 ms returned sat
[2023-03-20 08:39:28] [INFO ] After 71898ms SMT Verify possible using state equation in natural domain returned unsat :0 sat :222
[2023-03-20 08:39:28] [INFO ] After 71944ms SMT Verify possible using trap constraints in natural domain returned unsat :0 sat :222
Attempting to minimize the solution found.
Minimization took 13 ms.
[2023-03-20 08:39:28] [INFO ] After 225078ms SMT Verify possible using all constraints in natural domain returned unsat :0 sat :222
Fused 245 Parikh solutions to 1 different solutions.
Parikh walk visited 0 properties in 0 ms.
Support contains 245 out of 26133 places. Attempting structural reductions.
Starting structural reductions in REACHABILITY mode, iteration 0 : 26133/26133 places, 43542/43542 transitions.
Graph (complete) has 13976 edges and 26133 vertex of which 1405 are kept as prefixes of interest. Removing 24728 places using SCC suffix rule.11 ms
Discarding 24728 places :
Also discarding 41038 output transitions
Drop transitions removed 41038 transitions
Drop transitions removed 360 transitions
Reduce isomorphic transitions removed 360 transitions.
Drop transitions removed 34 transitions
Trivial Post-agglo rules discarded 34 transitions
Performed 34 trivial Post agglomeration. Transition count delta: 34
Iterating post reduction 0 with 394 rules applied. Total rules applied 395 place count 1405 transition count 2110
Reduce places removed 34 places and 0 transitions.
Iterating post reduction 1 with 34 rules applied. Total rules applied 429 place count 1371 transition count 2110
Discarding 852 places :
Symmetric choice reduction at 2 with 852 rule applications. Total rules 1281 place count 519 transition count 413
Iterating global reduction 2 with 852 rules applied. Total rules applied 2133 place count 519 transition count 413
Performed 68 Post agglomeration using F-continuation condition.Transition count delta: 68
Deduced a syphon composed of 68 places in 0 ms
Reduce places removed 68 places and 0 transitions.
Iterating global reduction 2 with 136 rules applied. Total rules applied 2269 place count 451 transition count 345
Reduce places removed 74 places and 74 transitions.
Iterating global reduction 2 with 74 rules applied. Total rules applied 2343 place count 377 transition count 271
Ensure Unique test removed 1 places
Iterating post reduction 2 with 1 rules applied. Total rules applied 2344 place count 376 transition count 271
Applied a total of 2344 rules in 193 ms. Remains 376 /26133 variables (removed 25757) and now considering 271/43542 (removed 43271) transitions.
Finished structural reductions in REACHABILITY mode , in 1 iterations and 194 ms. Remains : 376/26133 places, 271/43542 transitions.
Finished random walk after 1215 steps, including 2 resets, run visited all 245 properties in 50 ms. (steps per millisecond=24 )
Able to resolve query StableMarking after proving 9363 properties.
FORMULA StableMarking FALSE TECHNIQUES RANDOM_WALK MARKED_SUFFIX_TEST TOPOLOGICAL
Total runtime 558901 ms.
ITS solved all properties within timeout

BK_STOP 1679301570243

--------------------
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 StableMarking -timeout 180 -rebuildPNML

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-S08D1C2A04"
export BK_EXAMINATION="StableMarking"
export BK_TOOL="marciexred"
export BK_RESULT_DIR="/tmp/BK_RESULTS/OUTPUTS"
export BK_TIME_CONFINEMENT="1800"
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-S08D1C2A04, examination is StableMarking"
echo " Time confinement is $BK_TIME_CONFINEMENT seconds"
echo " Memory confinement is 16384 MBytes"
echo " Number of cores is 4"
echo " Run identifier is r504-tall-167912729100833"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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