About the Execution of Smart+red for RingSingleMessageInMbox-PT-d1m080
Execution Summary | |||||
Max Memory Used (MB) |
Time wait (ms) | CPU Usage (ms) | I/O Wait (ms) | Computed Result | Execution Status |
1823.815 | 202960.00 | 248900.00 | 717.20 | 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.r345-tall-167889217200542.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 RingSingleMessageInMbox-PT-d1m080, examination is QuasiLiveness
Time confinement is 1800 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r345-tall-167889217200542
=====================================================================
--------------------
preparation of the directory to be used:
/home/mcc/execution
total 6.3M
-rw-r--r-- 1 mcc users 8.2K Feb 26 05:11 CTLCardinality.txt
-rw-r--r-- 1 mcc users 88K Feb 26 05:11 CTLCardinality.xml
-rw-r--r-- 1 mcc users 6.1K Feb 26 05:06 CTLFireability.txt
-rw-r--r-- 1 mcc users 54K Feb 26 05:06 CTLFireability.xml
-rw-r--r-- 1 mcc users 3.7K Feb 25 16:46 LTLCardinality.txt
-rw-r--r-- 1 mcc users 23K Feb 25 16:46 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.6K Feb 25 16:46 LTLFireability.txt
-rw-r--r-- 1 mcc users 19K Feb 25 16:46 LTLFireability.xml
-rw-r--r-- 1 mcc users 9.1K Feb 26 05:21 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 88K Feb 26 05:21 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 9.5K Feb 26 05:16 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 78K Feb 26 05:16 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.9K Feb 25 16:46 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.9K Feb 25 16:46 UpperBounds.xml
-rw-r--r-- 1 mcc users 6 Mar 5 18:23 equiv_col
-rw-r--r-- 1 mcc users 7 Mar 5 18:23 instance
-rw-r--r-- 1 mcc users 6 Mar 5 18:23 iscolored
-rw-r--r-- 1 mcc users 5.8M 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 QuasiLiveness
=== Now, execution of the tool begins
BK_START 1679143377227
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=QuasiLiveness
BK_BIN_PATH=/home/mcc/BenchKit/bin/
BK_TIME_CONFINEMENT=1800
BK_INPUT=RingSingleMessageInMbox-PT-d1m080
Applying reductions before tool smart
Invoking reducer
Running Version 202303021504
[2023-03-18 12:42:58] [INFO ] Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, QuasiLiveness, -timeout, 180, -rebuildPNML]
[2023-03-18 12:42:58] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2023-03-18 12:42:59] [INFO ] Load time of PNML (sax parser for PT used): 424 ms
[2023-03-18 12:42:59] [INFO ] Transformed 6690 places.
[2023-03-18 12:42:59] [INFO ] Transformed 11934 transitions.
[2023-03-18 12:42:59] [INFO ] Parsed PT model containing 6690 places and 11934 transitions and 47736 arcs in 526 ms.
Starting structural reductions in LIVENESS mode, iteration 0 : 6690/6690 places, 11934/11934 transitions.
Reduce places removed 4322 places and 0 transitions.
Ensure Unique test removed 102 transitions
Reduce isomorphic transitions removed 102 transitions.
Iterating post reduction 0 with 4424 rules applied. Total rules applied 4424 place count 2368 transition count 11832
Applied a total of 4424 rules in 167 ms. Remains 2368 /6690 variables (removed 4322) and now considering 11832/11934 (removed 102) transitions.
// Phase 1: matrix 11832 rows 2368 cols
[2023-03-18 12:42:59] [INFO ] Computed 3 place invariants in 257 ms
[2023-03-18 12:43:01] [INFO ] Implicit Places using invariants in 2023 ms returned []
Implicit Place search using SMT only with invariants took 2046 ms to find 0 implicit places.
[2023-03-18 12:43:01] [INFO ] Invariant cache hit.
[2023-03-18 12:43:05] [INFO ] Dead Transitions using invariants and state equation in 4194 ms found 0 transitions.
Starting structural reductions in LIVENESS mode, iteration 1 : 2368/6690 places, 11832/11934 transitions.
Finished structural reductions in LIVENESS mode , in 1 iterations and 6413 ms. Remains : 2368/6690 places, 11832/11934 transitions.
Discarding 9470 transitions out of 11832. Remains 2362
Initial state reduction rules removed 1 formulas.
Incomplete random walk after 10000 steps, including 1485 resets, run finished after 2101 ms. (steps per millisecond=4 ) properties (out of 2361) seen :1132
Running SMT prover for 1229 properties.
[2023-03-18 12:43:08] [INFO ] Invariant cache hit.
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-18 12:43:47] [WARNING] SMT solver failed with error :SMT solver raised an error when submitting script.... while checking expressions.
[2023-03-18 12:43:47] [INFO ] After 25032ms SMT Verify possible using all constraints in real domain returned unsat :0 sat :0
Fused 1229 Parikh solutions to 1 different solutions.
Parikh walk visited 0 properties in 0 ms.
Support contains 1237 out of 2368 places. Attempting structural reductions.
Starting structural reductions in REACHABILITY mode, iteration 0 : 2368/2368 places, 11832/11832 transitions.
Discarding 428 places :
Symmetric choice reduction at 0 with 428 rule applications. Total rules 428 place count 1940 transition count 3160
Iterating global reduction 0 with 428 rules applied. Total rules applied 856 place count 1940 transition count 3160
Ensure Unique test removed 124 transitions
Reduce isomorphic transitions removed 124 transitions.
Iterating post reduction 0 with 124 rules applied. Total rules applied 980 place count 1940 transition count 3036
Discarding 286 places :
Symmetric choice reduction at 1 with 286 rule applications. Total rules 1266 place count 1654 transition count 2750
Iterating global reduction 1 with 286 rules applied. Total rules applied 1552 place count 1654 transition count 2750
Ensure Unique test removed 255 transitions
Reduce isomorphic transitions removed 255 transitions.
Iterating post reduction 1 with 255 rules applied. Total rules applied 1807 place count 1654 transition count 2495
Discarding 115 places :
Symmetric choice reduction at 2 with 115 rule applications. Total rules 1922 place count 1539 transition count 2380
Iterating global reduction 2 with 115 rules applied. Total rules applied 2037 place count 1539 transition count 2380
Ensure Unique test removed 91 transitions
Reduce isomorphic transitions removed 91 transitions.
Iterating post reduction 2 with 91 rules applied. Total rules applied 2128 place count 1539 transition count 2289
Applied a total of 2128 rules in 780 ms. Remains 1539 /2368 variables (removed 829) and now considering 2289/11832 (removed 9543) transitions.
Finished structural reductions in REACHABILITY mode , in 1 iterations and 781 ms. Remains : 1539/2368 places, 2289/11832 transitions.
Interrupted random walk after 619904 steps, including 103270 resets, run timeout after 30001 ms. (steps per millisecond=20 ) properties seen 1053
Incomplete Best-First random walk after 10001 steps, including 62 resets, run finished after 24 ms. (steps per millisecond=416 ) properties (out of 176) seen :0
Incomplete Best-First random walk after 10001 steps, including 67 resets, run finished after 22 ms. (steps per millisecond=454 ) properties (out of 176) seen :0
Incomplete Best-First random walk after 10001 steps, including 68 resets, run finished after 22 ms. (steps per millisecond=454 ) properties (out of 176) seen :0
Incomplete Best-First random walk after 10001 steps, including 71 resets, run finished after 23 ms. (steps per millisecond=434 ) properties (out of 176) seen :0
Incomplete Best-First random walk after 10001 steps, including 57 resets, run finished after 21 ms. (steps per millisecond=476 ) properties (out of 176) seen :0
Incomplete Best-First random walk after 10001 steps, including 66 resets, run finished after 21 ms. (steps per millisecond=476 ) properties (out of 176) seen :0
Incomplete Best-First random walk after 10001 steps, including 69 resets, run finished after 23 ms. (steps per millisecond=434 ) properties (out of 176) seen :0
Incomplete Best-First random walk after 10000 steps, including 70 resets, run finished after 23 ms. (steps per millisecond=434 ) properties (out of 176) seen :0
Incomplete Best-First random walk after 10001 steps, including 71 resets, run finished after 24 ms. (steps per millisecond=416 ) properties (out of 176) seen :0
Incomplete Best-First random walk after 10001 steps, including 72 resets, run finished after 24 ms. (steps per millisecond=416 ) properties (out of 176) seen :0
Incomplete Best-First random walk after 10001 steps, including 57 resets, run finished after 21 ms. (steps per millisecond=476 ) properties (out of 176) seen :0
Incomplete Best-First random walk after 10001 steps, including 59 resets, run finished after 25 ms. (steps per millisecond=400 ) properties (out of 176) seen :0
Incomplete Best-First random walk after 10001 steps, including 56 resets, run finished after 24 ms. (steps per millisecond=416 ) properties (out of 176) seen :0
Incomplete Best-First random walk after 10001 steps, including 73 resets, run finished after 28 ms. (steps per millisecond=357 ) properties (out of 176) seen :0
Incomplete Best-First random walk after 10001 steps, including 68 resets, run finished after 27 ms. (steps per millisecond=370 ) properties (out of 176) seen :0
Incomplete Best-First random walk after 10001 steps, including 77 resets, run finished after 29 ms. (steps per millisecond=344 ) properties (out of 176) seen :0
Incomplete Best-First random walk after 10001 steps, including 55 resets, run finished after 24 ms. (steps per millisecond=416 ) properties (out of 176) seen :0
Incomplete Best-First random walk after 10001 steps, including 82 resets, run finished after 29 ms. (steps per millisecond=344 ) properties (out of 176) seen :0
Incomplete Best-First random walk after 10001 steps, including 81 resets, run finished after 30 ms. (steps per millisecond=333 ) properties (out of 176) seen :0
Incomplete Best-First random walk after 10001 steps, including 90 resets, run finished after 30 ms. (steps per millisecond=333 ) properties (out of 176) seen :0
Incomplete Best-First random walk after 10001 steps, including 75 resets, run finished after 28 ms. (steps per millisecond=357 ) properties (out of 176) seen :0
Incomplete Best-First random walk after 10001 steps, including 84 resets, run finished after 30 ms. (steps per millisecond=333 ) properties (out of 176) seen :0
Incomplete Best-First random walk after 10001 steps, including 67 resets, run finished after 26 ms. (steps per millisecond=384 ) properties (out of 176) seen :0
Incomplete Best-First random walk after 10001 steps, including 61 resets, run finished after 25 ms. (steps per millisecond=400 ) properties (out of 176) seen :0
Incomplete Best-First random walk after 10001 steps, including 84 resets, run finished after 30 ms. (steps per millisecond=333 ) properties (out of 176) seen :0
Incomplete Best-First random walk after 10001 steps, including 67 resets, run finished after 28 ms. (steps per millisecond=357 ) properties (out of 176) seen :0
Incomplete Best-First random walk after 10001 steps, including 77 resets, run finished after 28 ms. (steps per millisecond=357 ) properties (out of 176) seen :0
Incomplete Best-First random walk after 10001 steps, including 59 resets, run finished after 24 ms. (steps per millisecond=416 ) properties (out of 176) seen :0
Incomplete Best-First random walk after 10001 steps, including 63 resets, run finished after 26 ms. (steps per millisecond=384 ) properties (out of 176) seen :0
Incomplete Best-First random walk after 10001 steps, including 64 resets, run finished after 25 ms. (steps per millisecond=400 ) properties (out of 176) seen :0
Incomplete Best-First random walk after 10001 steps, including 65 resets, run finished after 26 ms. (steps per millisecond=384 ) properties (out of 176) seen :0
Incomplete Best-First random walk after 10001 steps, including 70 resets, run finished after 26 ms. (steps per millisecond=384 ) properties (out of 176) seen :0
Incomplete Best-First random walk after 10001 steps, including 67 resets, run finished after 27 ms. (steps per millisecond=370 ) properties (out of 176) seen :0
Incomplete Best-First random walk after 10001 steps, including 70 resets, run finished after 26 ms. (steps per millisecond=384 ) properties (out of 176) seen :0
Incomplete Best-First random walk after 10001 steps, including 65 resets, run finished after 26 ms. (steps per millisecond=384 ) properties (out of 176) seen :0
Incomplete Best-First random walk after 10001 steps, including 74 resets, run finished after 32 ms. (steps per millisecond=312 ) properties (out of 176) seen :0
Incomplete Best-First random walk after 10001 steps, including 75 resets, run finished after 29 ms. (steps per millisecond=344 ) properties (out of 176) seen :0
Incomplete Best-First random walk after 10001 steps, including 78 resets, run finished after 29 ms. (steps per millisecond=344 ) properties (out of 176) seen :0
Incomplete Best-First random walk after 10001 steps, including 54 resets, run finished after 24 ms. (steps per millisecond=416 ) properties (out of 176) seen :0
Incomplete Best-First random walk after 10001 steps, including 62 resets, run finished after 25 ms. (steps per millisecond=400 ) properties (out of 176) seen :0
Incomplete Best-First random walk after 10001 steps, including 60 resets, run finished after 26 ms. (steps per millisecond=384 ) properties (out of 176) seen :0
Incomplete Best-First random walk after 10001 steps, including 77 resets, run finished after 27 ms. (steps per millisecond=370 ) properties (out of 176) seen :0
Incomplete Best-First random walk after 10001 steps, including 78 resets, run finished after 27 ms. (steps per millisecond=370 ) properties (out of 176) seen :0
Incomplete Best-First random walk after 10001 steps, including 74 resets, run finished after 29 ms. (steps per millisecond=344 ) properties (out of 176) seen :0
Incomplete Best-First random walk after 10001 steps, including 82 resets, run finished after 29 ms. (steps per millisecond=344 ) properties (out of 176) seen :0
Incomplete Best-First random walk after 10001 steps, including 56 resets, run finished after 25 ms. (steps per millisecond=400 ) properties (out of 176) seen :0
Incomplete Best-First random walk after 10001 steps, including 82 resets, run finished after 28 ms. (steps per millisecond=357 ) properties (out of 176) seen :0
Incomplete Best-First random walk after 10001 steps, including 55 resets, run finished after 23 ms. (steps per millisecond=434 ) properties (out of 176) seen :0
Incomplete Best-First random walk after 10001 steps, including 78 resets, run finished after 27 ms. (steps per millisecond=370 ) properties (out of 176) seen :0
Incomplete Best-First random walk after 10001 steps, including 69 resets, run finished after 26 ms. (steps per millisecond=384 ) properties (out of 176) seen :0
Running SMT prover for 176 properties.
// Phase 1: matrix 2289 rows 1539 cols
[2023-03-18 12:44:19] [INFO ] Computed 3 place invariants in 45 ms
[2023-03-18 12:44:24] [INFO ] [Real]Absence check using 2 positive place invariants in 9 ms returned sat
[2023-03-18 12:44:24] [INFO ] [Real]Absence check using 2 positive and 1 generalized place invariants in 3 ms returned sat
[2023-03-18 12:44:42] [INFO ] After 13858ms SMT Verify possible using state equation in real domain returned unsat :40 sat :64 real:72
[2023-03-18 12:44:42] [INFO ] State equation strengthened by 792 read => feed constraints.
[2023-03-18 12:44:49] [INFO ] After 6198ms SMT Verify possible using 792 Read/Feed constraints in real domain returned unsat :40 sat :0 real:136
[2023-03-18 12:44:49] [INFO ] After 28388ms SMT Verify possible using all constraints in real domain returned unsat :40 sat :0 real:136
[2023-03-18 12:44:52] [INFO ] [Nat]Absence check using 2 positive place invariants in 8 ms returned sat
[2023-03-18 12:44:52] [INFO ] [Nat]Absence check using 2 positive and 1 generalized place invariants in 4 ms returned sat
[2023-03-18 12:45:07] [INFO ] After 11930ms SMT Verify possible using state equation in natural domain returned unsat :40 sat :136
[2023-03-18 12:45:28] [INFO ] After 21184ms SMT Verify possible using 792 Read/Feed constraints in natural domain returned unsat :40 sat :136
[2023-03-18 12:45:28] [INFO ] Deduced a trap composed of 115 places in 144 ms of which 6 ms to minimize.
[2023-03-18 12:45:28] [INFO ] Trap strengthening (SAT) tested/added 2/1 trap constraints in 286 ms
[2023-03-18 12:45:29] [INFO ] Deduced a trap composed of 137 places in 169 ms of which 9 ms to minimize.
[2023-03-18 12:45:29] [INFO ] Trap strengthening (SAT) tested/added 2/1 trap constraints in 307 ms
[2023-03-18 12:45:29] [INFO ] Deduced a trap composed of 137 places in 209 ms of which 2 ms to minimize.
[2023-03-18 12:45:30] [INFO ] Trap strengthening (SAT) tested/added 2/1 trap constraints in 355 ms
[2023-03-18 12:45:31] [INFO ] Deduced a trap composed of 119 places in 238 ms of which 2 ms to minimize.
[2023-03-18 12:45:32] [INFO ] Deduced a trap composed of 85 places in 216 ms of which 0 ms to minimize.
[2023-03-18 12:45:32] [INFO ] Deduced a trap composed of 145 places in 206 ms of which 1 ms to minimize.
[2023-03-18 12:45:32] [INFO ] Deduced a trap composed of 136 places in 193 ms of which 1 ms to minimize.
[2023-03-18 12:45:32] [INFO ] Trap strengthening procedure managed to obtain unsat after adding 4 trap constraints in 1264 ms
[2023-03-18 12:45:33] [INFO ] Deduced a trap composed of 79 places in 214 ms of which 1 ms to minimize.
[2023-03-18 12:45:33] [INFO ] Trap strengthening procedure managed to obtain unsat after adding 1 trap constraints in 280 ms
[2023-03-18 12:45:40] [INFO ] Deduced a trap composed of 106 places in 172 ms of which 0 ms to minimize.
[2023-03-18 12:45:40] [INFO ] Trap strengthening (SAT) tested/added 2/1 trap constraints in 319 ms
[2023-03-18 12:45:51] [INFO ] Deduced a trap composed of 85 places in 251 ms of which 1 ms to minimize.
[2023-03-18 12:45:51] [INFO ] Trap strengthening procedure managed to obtain unsat after adding 1 trap constraints in 311 ms
[2023-03-18 12:45:52] [INFO ] Deduced a trap composed of 129 places in 210 ms of which 1 ms to minimize.
[2023-03-18 12:45:52] [INFO ] Trap strengthening (SAT) tested/added 2/1 trap constraints in 397 ms
[2023-03-18 12:46:00] [INFO ] After 53228ms SMT Verify possible using trap constraints in natural domain returned unsat :66 sat :110
Attempting to minimize the solution found.
Minimization took 18667 ms.
[2023-03-18 12:46:19] [INFO ] After 90051ms SMT Verify possible using all constraints in natural domain returned unsat :66 sat :110
FORMULA QuasiLiveness FALSE TECHNIQUES RANDOM_WALK STRUCTURAL_REDUCTION TOPOLOGICAL INITIAL_STATE SAT_SMT
Total runtime 200597 ms.
ITS solved all properties within timeout
BK_STOP 1679143580187
--------------------
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 QuasiLiveness -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="RingSingleMessageInMbox-PT-d1m080"
export BK_EXAMINATION="QuasiLiveness"
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 RingSingleMessageInMbox-PT-d1m080, examination is QuasiLiveness"
echo " Time confinement is $BK_TIME_CONFINEMENT seconds"
echo " Memory confinement is 16384 MBytes"
echo " Number of cores is 4"
echo " Run identifier is r345-tall-167889217200542"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"
tar xzf /home/mcc/BenchKit/INPUTS/RingSingleMessageInMbox-PT-d1m080.tgz
mv RingSingleMessageInMbox-PT-d1m080 execution
cd execution
if [ "QuasiLiveness" = "ReachabilityDeadlock" ] || [ "QuasiLiveness" = "UpperBounds" ] || [ "QuasiLiveness" = "QuasiLiveness" ] || [ "QuasiLiveness" = "StableMarking" ] || [ "QuasiLiveness" = "Liveness" ] || [ "QuasiLiveness" = "OneSafe" ] || [ "QuasiLiveness" = "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 [ "QuasiLiveness" = "UpperBounds" ] ; then
echo "The expected result is a vector of positive values"
echo NUM_VECTOR
elif [ "QuasiLiveness" != "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 "QuasiLiveness.txt" ] ; then
echo "here is the order used to build the result vector(from text file)"
for x in $(grep Property QuasiLiveness.txt | cut -d ' ' -f 2 | sort -u) ; do
echo "FORMULA_NAME $x"
done
elif [ -f "QuasiLiveness.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 '
echo "FORMULA_NAME $x"
done
elif [ "QuasiLiveness" = "ReachabilityDeadlock" ] || [ "QuasiLiveness" = "QuasiLiveness" ] || [ "QuasiLiveness" = "StableMarking" ] || [ "QuasiLiveness" = "Liveness" ] || [ "QuasiLiveness" = "OneSafe" ] ; then
echo "FORMULA_NAME QuasiLiveness"
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 ;