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

About the Execution of Smart+red for DLCshifumi-PT-3b

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
1616.743 75869.00 121176.00 292.00 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.r121-tall-167814499700513.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 smartxred
Input is DLCshifumi-PT-3b, examination is StableMarking
Time confinement is 1800 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r121-tall-167814499700513
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 2.6M
-rw-r--r-- 1 mcc users 5.7K Feb 26 08:03 CTLCardinality.txt
-rw-r--r-- 1 mcc users 54K Feb 26 08:03 CTLCardinality.xml
-rw-r--r-- 1 mcc users 5.6K Feb 26 08:03 CTLFireability.txt
-rw-r--r-- 1 mcc users 52K Feb 26 08:03 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.2K Jan 29 11:40 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 3.7K Feb 25 15:54 LTLCardinality.txt
-rw-r--r-- 1 mcc users 26K Feb 25 15:54 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.2K Feb 25 15:54 LTLFireability.txt
-rw-r--r-- 1 mcc users 17K Feb 25 15:54 LTLFireability.xml
-rw-r--r-- 1 mcc users 8.9K Feb 26 08:04 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 86K Feb 26 08:04 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 6.8K Feb 26 08:04 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 54K Feb 26 08:04 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.6K Feb 25 15:54 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.7K Feb 25 15:54 UpperBounds.xml
-rw-r--r-- 1 mcc users 6 Mar 5 18:22 equiv_col
-rw-r--r-- 1 mcc users 3 Mar 5 18:22 instance
-rw-r--r-- 1 mcc users 6 Mar 5 18:22 iscolored
-rw-r--r-- 1 mcc users 2.3M 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

FORMULA_NAME StableMarking

=== Now, execution of the tool begins

BK_START 1678397847019

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=smartxred
BK_EXAMINATION=StableMarking
BK_BIN_PATH=/home/mcc/BenchKit/bin/
BK_TIME_CONFINEMENT=1800
BK_INPUT=DLCshifumi-PT-3b
Applying reductions before tool smart
Invoking reducer
Running Version 202303021504
[2023-03-09 21:37:28] [INFO ] Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, StableMarking, -timeout, 180, -rebuildPNML]
[2023-03-09 21:37:28] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2023-03-09 21:37:28] [INFO ] Load time of PNML (sax parser for PT used): 256 ms
[2023-03-09 21:37:28] [INFO ] Transformed 7058 places.
[2023-03-09 21:37:28] [INFO ] Transformed 9611 transitions.
[2023-03-09 21:37:28] [INFO ] Found NUPN structural information;
[2023-03-09 21:37:29] [INFO ] Parsed PT model containing 7058 places and 9611 transitions and 24573 arcs in 510 ms.
Graph (trivial) has 6795 edges and 7058 vertex of which 792 / 7058 are part of one of the 51 SCC in 67 ms
Free SCC test removed 741 places
Structural test allowed to assert that 3257 places are NOT stable. Took 133 ms.
Ensure Unique test removed 786 transitions
Reduce redundant transitions removed 786 transitions.
Incomplete random walk after 10000 steps, including 2 resets, run finished after 2568 ms. (steps per millisecond=3 ) properties (out of 3801) seen :1868
Running SMT prover for 1933 properties.
[2023-03-09 21:37:32] [INFO ] Flow matrix only has 8775 transitions (discarded 50 similar events)
// Phase 1: matrix 8775 rows 6317 cols
[2023-03-09 21:37:32] [INFO ] Computed 282 place invariants in 84 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:2340)
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-09 21:37:59] [WARNING] SMT solver failed with error :SMT solver raised an error when submitting script.... while checking expressions.
[2023-03-09 21:37:59] [INFO ] After 25098ms SMT Verify possible using all constraints in real domain returned unsat :0 sat :0
Fused 1933 Parikh solutions to 1 different solutions.
Parikh walk visited 0 properties in 1 ms.
Support contains 1933 out of 6317 places. Attempting structural reductions.
Starting structural reductions in REACHABILITY mode, iteration 0 : 6317/6317 places, 8825/8825 transitions.
Drop transitions removed 51 transitions
Reduce isomorphic transitions removed 51 transitions.
Drop transitions removed 2217 transitions
Trivial Post-agglo rules discarded 2217 transitions
Performed 2217 trivial Post agglomeration. Transition count delta: 2217
Iterating post reduction 0 with 2268 rules applied. Total rules applied 2268 place count 6317 transition count 6557
Reduce places removed 2217 places and 0 transitions.
Ensure Unique test removed 19 transitions
Reduce isomorphic transitions removed 19 transitions.
Drop transitions removed 18 transitions
Trivial Post-agglo rules discarded 18 transitions
Performed 18 trivial Post agglomeration. Transition count delta: 18
Iterating post reduction 1 with 2254 rules applied. Total rules applied 4522 place count 4100 transition count 6520
Reduce places removed 18 places and 0 transitions.
Iterating post reduction 2 with 18 rules applied. Total rules applied 4540 place count 4082 transition count 6520
Performed 49 Pre agglomeration using Quasi-Persistent + Divergent Free condition..
Pre-agglomeration after 3 with 49 Pre rules applied. Total rules applied 4540 place count 4082 transition count 6471
Deduced a syphon composed of 49 places in 53 ms
Reduce places removed 49 places and 0 transitions.
Iterating global reduction 3 with 98 rules applied. Total rules applied 4638 place count 4033 transition count 6471
Discarding 368 places :
Symmetric choice reduction at 3 with 368 rule applications. Total rules 5006 place count 3665 transition count 6103
Iterating global reduction 3 with 368 rules applied. Total rules applied 5374 place count 3665 transition count 6103
Performed 80 Pre agglomeration using Quasi-Persistent + Divergent Free condition..
Pre-agglomeration after 3 with 80 Pre rules applied. Total rules applied 5374 place count 3665 transition count 6023
Deduced a syphon composed of 80 places in 115 ms
Reduce places removed 80 places and 0 transitions.
Iterating global reduction 3 with 160 rules applied. Total rules applied 5534 place count 3585 transition count 6023
Discarding 50 places :
Symmetric choice reduction at 3 with 50 rule applications. Total rules 5584 place count 3535 transition count 5455
Iterating global reduction 3 with 50 rules applied. Total rules applied 5634 place count 3535 transition count 5455
Ensure Unique test removed 44 transitions
Reduce isomorphic transitions removed 44 transitions.
Iterating post reduction 3 with 44 rules applied. Total rules applied 5678 place count 3535 transition count 5411
Performed 515 Post agglomeration using F-continuation condition.Transition count delta: 515
Deduced a syphon composed of 515 places in 4 ms
Reduce places removed 515 places and 0 transitions.
Iterating global reduction 4 with 1030 rules applied. Total rules applied 6708 place count 3020 transition count 4896
Ensure Unique test removed 3 transitions
Reduce isomorphic transitions removed 3 transitions.
Iterating post reduction 4 with 3 rules applied. Total rules applied 6711 place count 3020 transition count 4893
Renaming transitions due to excessive name length > 1024 char.
Performed 36 Post agglomeration using F-continuation condition with reduction of 6 identical transitions.
Deduced a syphon composed of 36 places in 3 ms
Reduce places removed 36 places and 0 transitions.
Iterating global reduction 5 with 72 rules applied. Total rules applied 6783 place count 2984 transition count 4967
Discarding 2 places :
Symmetric choice reduction at 5 with 2 rule applications. Total rules 6785 place count 2982 transition count 4955
Iterating global reduction 5 with 2 rules applied. Total rules applied 6787 place count 2982 transition count 4955
Ensure Unique test removed 6 transitions
Reduce isomorphic transitions removed 6 transitions.
Iterating post reduction 5 with 6 rules applied. Total rules applied 6793 place count 2982 transition count 4949
Drop transitions removed 36 transitions
Redundant transition composition rules discarded 36 transitions
Iterating global reduction 6 with 36 rules applied. Total rules applied 6829 place count 2982 transition count 4913
Discarding 1 places :
Symmetric choice reduction at 6 with 1 rule applications. Total rules 6830 place count 2981 transition count 4912
Iterating global reduction 6 with 1 rules applied. Total rules applied 6831 place count 2981 transition count 4912
Discarding 1 places :
Symmetric choice reduction at 6 with 1 rule applications. Total rules 6832 place count 2980 transition count 4871
Iterating global reduction 6 with 1 rules applied. Total rules applied 6833 place count 2980 transition count 4871
Ensure Unique test removed 1 transitions
Reduce isomorphic transitions removed 1 transitions.
Iterating post reduction 6 with 1 rules applied. Total rules applied 6834 place count 2980 transition count 4870
Performed 2 Post agglomeration using F-continuation condition.Transition count delta: 2
Deduced a syphon composed of 2 places in 1 ms
Reduce places removed 2 places and 0 transitions.
Iterating global reduction 7 with 4 rules applied. Total rules applied 6838 place count 2978 transition count 4868
Discarding 2 places :
Symmetric choice reduction at 7 with 2 rule applications. Total rules 6840 place count 2976 transition count 4786
Iterating global reduction 7 with 2 rules applied. Total rules applied 6842 place count 2976 transition count 4786
Ensure Unique test removed 2 transitions
Reduce isomorphic transitions removed 2 transitions.
Iterating post reduction 7 with 2 rules applied. Total rules applied 6844 place count 2976 transition count 4784
Free-agglomeration rule applied 659 times with reduction of 127 identical transitions.
Iterating global reduction 8 with 659 rules applied. Total rules applied 7503 place count 2976 transition count 3998
Reduce places removed 659 places and 0 transitions.
Drop transitions removed 240 transitions
Ensure Unique test removed 2 transitions
Reduce isomorphic transitions removed 242 transitions.
Iterating post reduction 8 with 901 rules applied. Total rules applied 8404 place count 2317 transition count 3756
Discarding 18 places :
Symmetric choice reduction at 9 with 18 rule applications. Total rules 8422 place count 2299 transition count 3713
Iterating global reduction 9 with 18 rules applied. Total rules applied 8440 place count 2299 transition count 3713
Drop transitions removed 148 transitions
Redundant transition composition rules discarded 148 transitions
Iterating global reduction 9 with 148 rules applied. Total rules applied 8588 place count 2299 transition count 3565
Partial Post-agglomeration rule applied 5 times.
Drop transitions removed 5 transitions
Iterating global reduction 9 with 5 rules applied. Total rules applied 8593 place count 2299 transition count 3565
Applied a total of 8593 rules in 2253 ms. Remains 2299 /6317 variables (removed 4018) and now considering 3565/8825 (removed 5260) transitions.
Finished structural reductions in REACHABILITY mode , in 1 iterations and 2254 ms. Remains : 2299/6317 places, 3565/8825 transitions.
Interrupted random walk after 772520 steps, including 2 resets, run timeout after 30001 ms. (steps per millisecond=25 ) properties seen 1931
Incomplete Best-First random walk after 1000001 steps, including 2 resets, run finished after 3936 ms. (steps per millisecond=254 ) properties (out of 2) seen :0
Incomplete Best-First random walk after 1000001 steps, including 2 resets, run finished after 3828 ms. (steps per millisecond=261 ) properties (out of 2) seen :1
Running SMT prover for 1 properties.
[2023-03-09 21:38:39] [INFO ] Flow matrix only has 3355 transitions (discarded 210 similar events)
// Phase 1: matrix 3355 rows 2299 cols
[2023-03-09 21:38:39] [INFO ] Computed 264 place invariants in 13 ms
[2023-03-09 21:38:39] [INFO ] After 296ms SMT Verify possible using all constraints in real domain returned unsat :0 sat :0 real:1
[2023-03-09 21:38:40] [INFO ] [Nat]Absence check using 264 positive place invariants in 62 ms returned sat
[2023-03-09 21:38:41] [INFO ] After 1186ms SMT Verify possible using state equation in natural domain returned unsat :0 sat :1
[2023-03-09 21:38:41] [INFO ] State equation strengthened by 311 read => feed constraints.
[2023-03-09 21:38:41] [INFO ] After 167ms SMT Verify possible using 311 Read/Feed constraints in natural domain returned unsat :0 sat :1
[2023-03-09 21:38:41] [INFO ] After 334ms SMT Verify possible using trap constraints in natural domain returned unsat :0 sat :1
Attempting to minimize the solution found.
Minimization took 94 ms.
[2023-03-09 21:38:41] [INFO ] After 1985ms SMT Verify possible using all constraints in natural domain returned unsat :0 sat :1
Parikh walk visited 0 properties in 223 ms.
Support contains 1 out of 2299 places. Attempting structural reductions.
Starting structural reductions in REACHABILITY mode, iteration 0 : 2299/2299 places, 3565/3565 transitions.
Drop transitions removed 1282 transitions
Trivial Post-agglo rules discarded 1282 transitions
Performed 1282 trivial Post agglomeration. Transition count delta: 1282
Iterating post reduction 0 with 1282 rules applied. Total rules applied 1282 place count 2299 transition count 2283
Reduce places removed 1282 places and 0 transitions.
Ensure Unique test removed 85 transitions
Reduce isomorphic transitions removed 85 transitions.
Drop transitions removed 73 transitions
Trivial Post-agglo rules discarded 73 transitions
Performed 73 trivial Post agglomeration. Transition count delta: 73
Iterating post reduction 1 with 1440 rules applied. Total rules applied 2722 place count 1017 transition count 2125
Reduce places removed 73 places and 0 transitions.
Ensure Unique test removed 33 transitions
Reduce isomorphic transitions removed 33 transitions.
Drop transitions removed 32 transitions
Trivial Post-agglo rules discarded 32 transitions
Performed 32 trivial Post agglomeration. Transition count delta: 32
Iterating post reduction 2 with 138 rules applied. Total rules applied 2860 place count 944 transition count 2060
Reduce places removed 32 places and 0 transitions.
Ensure Unique test removed 4 transitions
Reduce isomorphic transitions removed 4 transitions.
Drop transitions removed 4 transitions
Trivial Post-agglo rules discarded 4 transitions
Performed 4 trivial Post agglomeration. Transition count delta: 4
Iterating post reduction 3 with 40 rules applied. Total rules applied 2900 place count 912 transition count 2052
Reduce places removed 4 places and 0 transitions.
Iterating post reduction 4 with 4 rules applied. Total rules applied 2904 place count 908 transition count 2052
Performed 19 Pre agglomeration using Quasi-Persistent + Divergent Free condition..
Pre-agglomeration after 5 with 19 Pre rules applied. Total rules applied 2904 place count 908 transition count 2033
Deduced a syphon composed of 19 places in 1 ms
Reduce places removed 19 places and 0 transitions.
Iterating global reduction 5 with 38 rules applied. Total rules applied 2942 place count 889 transition count 2033
Discarding 171 places :
Symmetric choice reduction at 5 with 171 rule applications. Total rules 3113 place count 718 transition count 1858
Iterating global reduction 5 with 171 rules applied. Total rules applied 3284 place count 718 transition count 1858
Ensure Unique test removed 102 transitions
Reduce isomorphic transitions removed 102 transitions.
Iterating post reduction 5 with 102 rules applied. Total rules applied 3386 place count 718 transition count 1756
Performed 3 Pre agglomeration using Quasi-Persistent + Divergent Free condition..
Pre-agglomeration after 6 with 3 Pre rules applied. Total rules applied 3386 place count 718 transition count 1753
Deduced a syphon composed of 3 places in 0 ms
Reduce places removed 3 places and 0 transitions.
Iterating global reduction 6 with 6 rules applied. Total rules applied 3392 place count 715 transition count 1753
Performed 264 Post agglomeration using F-continuation condition with reduction of 45 identical transitions.
Deduced a syphon composed of 264 places in 0 ms
Reduce places removed 264 places and 0 transitions.
Iterating global reduction 6 with 528 rules applied. Total rules applied 3920 place count 451 transition count 1444
Drop transitions removed 428 transitions
Ensure Unique test removed 3 transitions
Reduce isomorphic transitions removed 431 transitions.
Graph (complete) has 1210 edges and 451 vertex of which 80 are kept as prefixes of interest. Removing 371 places using SCC suffix rule.1 ms
Discarding 371 places :
Also discarding 683 output transitions
Drop transitions removed 683 transitions
Iterating post reduction 6 with 432 rules applied. Total rules applied 4352 place count 80 transition count 330
Drop transitions removed 58 transitions
Reduce isomorphic transitions removed 58 transitions.
Iterating post reduction 7 with 58 rules applied. Total rules applied 4410 place count 80 transition count 272
Discarding 41 places :
Symmetric choice reduction at 8 with 41 rule applications. Total rules 4451 place count 39 transition count 81
Iterating global reduction 8 with 41 rules applied. Total rules applied 4492 place count 39 transition count 81
Performed 12 Post agglomeration using F-continuation condition with reduction of 16 identical transitions.
Deduced a syphon composed of 12 places in 0 ms
Reduce places removed 12 places and 0 transitions.
Iterating global reduction 8 with 24 rules applied. Total rules applied 4516 place count 27 transition count 115
Drop transitions removed 28 transitions
Reduce isomorphic transitions removed 28 transitions.
Iterating post reduction 8 with 28 rules applied. Total rules applied 4544 place count 27 transition count 87
Discarding 3 places :
Symmetric choice reduction at 9 with 3 rule applications. Total rules 4547 place count 24 transition count 72
Iterating global reduction 9 with 3 rules applied. Total rules applied 4550 place count 24 transition count 72
Ensure Unique test removed 11 transitions
Reduce isomorphic transitions removed 11 transitions.
Iterating post reduction 9 with 11 rules applied. Total rules applied 4561 place count 24 transition count 61
Drop transitions removed 16 transitions
Redundant transition composition rules discarded 16 transitions
Iterating global reduction 10 with 16 rules applied. Total rules applied 4577 place count 24 transition count 45
Applied a total of 4577 rules in 102 ms. Remains 24 /2299 variables (removed 2275) and now considering 45/3565 (removed 3520) transitions.
Finished structural reductions in REACHABILITY mode , in 1 iterations and 102 ms. Remains : 24/2299 places, 45/3565 transitions.
Finished random walk after 35 steps, including 0 resets, run visited all 1 properties in 1 ms. (steps per millisecond=35 )
Able to resolve query StableMarking after proving 3803 properties.
FORMULA StableMarking FALSE TECHNIQUES RANDOM_WALK MARKED_SUFFIX_TEST TRIVIAL_UNMARKED_SCC_TEST BESTFIRST_WALK TOPOLOGICAL
Total runtime 73531 ms.
ITS solved all properties within timeout

BK_STOP 1678397922888

--------------------
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//
++ ls /home/mcc/BenchKit/bin//../reducer/bin//../../itstools//itstools/plugins/fr.lip6.move.gal.application.pnmcc_1.0.0.202303021504.jar
++ perl -pe 's/.*\.//g'
+ 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="DLCshifumi-PT-3b"
export BK_EXAMINATION="StableMarking"
export BK_TOOL="smartxred"
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 smartxred"
echo " Input is DLCshifumi-PT-3b, 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 r121-tall-167814499700513"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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