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

About the Execution of Smart+red for RingSingleMessageInMbox-PT-d2m160

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
16218.243 3600000.00 2202602.00 1792560.20 TF??TFT?T?FTFT?? 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.r331-tall-167889205100927.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-d2m160, examination is ReachabilityFireability
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r331-tall-167889205100927
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 102M
-rw-r--r-- 1 mcc users 7.0K Feb 26 05:26 CTLCardinality.txt
-rw-r--r-- 1 mcc users 70K Feb 26 05:26 CTLCardinality.xml
-rw-r--r-- 1 mcc users 6.3K Feb 26 05:19 CTLFireability.txt
-rw-r--r-- 1 mcc users 56K Feb 26 05:19 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.1K Feb 25 16:47 LTLCardinality.txt
-rw-r--r-- 1 mcc users 26K Feb 25 16:47 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.6K Feb 25 16:47 LTLFireability.txt
-rw-r--r-- 1 mcc users 18K Feb 25 16:47 LTLFireability.xml
-rw-r--r-- 1 mcc users 13K Feb 26 05:37 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 132K Feb 26 05:37 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 6.7K Feb 26 05:31 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 48K Feb 26 05:31 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.9K Feb 25 16:47 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.9K Feb 25 16:47 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 102M 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 RingSingleMessageInMbox-PT-d2m160-ReachabilityFireability-00
FORMULA_NAME RingSingleMessageInMbox-PT-d2m160-ReachabilityFireability-01
FORMULA_NAME RingSingleMessageInMbox-PT-d2m160-ReachabilityFireability-02
FORMULA_NAME RingSingleMessageInMbox-PT-d2m160-ReachabilityFireability-03
FORMULA_NAME RingSingleMessageInMbox-PT-d2m160-ReachabilityFireability-04
FORMULA_NAME RingSingleMessageInMbox-PT-d2m160-ReachabilityFireability-05
FORMULA_NAME RingSingleMessageInMbox-PT-d2m160-ReachabilityFireability-06
FORMULA_NAME RingSingleMessageInMbox-PT-d2m160-ReachabilityFireability-07
FORMULA_NAME RingSingleMessageInMbox-PT-d2m160-ReachabilityFireability-08
FORMULA_NAME RingSingleMessageInMbox-PT-d2m160-ReachabilityFireability-09
FORMULA_NAME RingSingleMessageInMbox-PT-d2m160-ReachabilityFireability-10
FORMULA_NAME RingSingleMessageInMbox-PT-d2m160-ReachabilityFireability-11
FORMULA_NAME RingSingleMessageInMbox-PT-d2m160-ReachabilityFireability-12
FORMULA_NAME RingSingleMessageInMbox-PT-d2m160-ReachabilityFireability-13
FORMULA_NAME RingSingleMessageInMbox-PT-d2m160-ReachabilityFireability-14
FORMULA_NAME RingSingleMessageInMbox-PT-d2m160-ReachabilityFireability-15

=== Now, execution of the tool begins

BK_START 1679180438663

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=ReachabilityFireability
BK_BIN_PATH=/home/mcc/BenchKit/bin/
BK_TIME_CONFINEMENT=3600
BK_INPUT=RingSingleMessageInMbox-PT-d2m160
Applying reductions before tool smart
Invoking reducer
Running Version 202303021504
[2023-03-18 23:00:41] [INFO ] Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, ReachabilityFireability, -timeout, 360, -rebuildPNML]
[2023-03-18 23:00:41] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2023-03-18 23:00:44] [INFO ] Load time of PNML (sax parser for PT used): 3326 ms
[2023-03-18 23:00:44] [INFO ] Transformed 66950 places.
[2023-03-18 23:00:45] [INFO ] Transformed 213625 transitions.
[2023-03-18 23:00:45] [INFO ] Parsed PT model containing 66950 places and 213625 transitions and 854500 arcs in 4045 ms.
Parsed 16 properties from file /home/mcc/execution/ReachabilityFireability.xml in 73 ms.
Working with output stream class java.io.PrintStream
Deduced a syphon composed of 36863 places in 280 ms
Reduce places removed 36863 places and 0 transitions.
Interrupted random walk after 9896 steps, including 1448 resets, run timeout after 30005 ms. (steps per millisecond=0 ) properties seen 6
FORMULA RingSingleMessageInMbox-PT-d2m160-ReachabilityFireability-13 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA RingSingleMessageInMbox-PT-d2m160-ReachabilityFireability-11 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA RingSingleMessageInMbox-PT-d2m160-ReachabilityFireability-08 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA RingSingleMessageInMbox-PT-d2m160-ReachabilityFireability-06 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA RingSingleMessageInMbox-PT-d2m160-ReachabilityFireability-05 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA RingSingleMessageInMbox-PT-d2m160-ReachabilityFireability-04 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
Incomplete Best-First random walk after 10001 steps, including 13 resets, run finished after 283 ms. (steps per millisecond=35 ) properties (out of 10) seen :0
Incomplete Best-First random walk after 10001 steps, including 6 resets, run finished after 182 ms. (steps per millisecond=54 ) properties (out of 10) seen :0
Incomplete Best-First random walk after 10001 steps, including 11 resets, run finished after 241 ms. (steps per millisecond=41 ) properties (out of 10) seen :0
Incomplete Best-First random walk after 10001 steps, including 12 resets, run finished after 250 ms. (steps per millisecond=40 ) properties (out of 10) seen :0
Incomplete Best-First random walk after 10001 steps, including 16 resets, run finished after 380 ms. (steps per millisecond=26 ) properties (out of 10) seen :0
Incomplete Best-First random walk after 10001 steps, including 10 resets, run finished after 260 ms. (steps per millisecond=38 ) properties (out of 10) seen :0
Incomplete Best-First random walk after 10001 steps, including 7 resets, run finished after 199 ms. (steps per millisecond=50 ) properties (out of 10) seen :0
Incomplete Best-First random walk after 10001 steps, including 9 resets, run finished after 213 ms. (steps per millisecond=46 ) properties (out of 10) seen :0
Incomplete Best-First random walk after 10001 steps, including 10 resets, run finished after 238 ms. (steps per millisecond=42 ) properties (out of 10) seen :0
Incomplete Best-First random walk after 10001 steps, including 6 resets, run finished after 178 ms. (steps per millisecond=56 ) properties (out of 10) seen :0
Running SMT prover for 10 properties.
// Phase 1: matrix 213625 rows 30087 cols
[2023-03-18 23:03:19] [WARNING] Invariant computation timed out after 120 seconds.
[2023-03-18 23:03:30] [INFO ] After 11036ms SMT Verify possible using all constraints in real domain returned unsat :0 sat :0 real:10
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-18 23:03:55] [WARNING] SMT solver failed with error :SMT solver raised an error when submitting script.... while checking expressions.
[2023-03-18 23:03:55] [INFO ] After 25040ms SMT Verify possible using all constraints in natural domain returned unsat :0 sat :0 real:10
Fused 10 Parikh solutions to 1 different solutions.
Parikh walk visited 0 properties in 0 ms.
Support contains 94 out of 30087 places. Attempting structural reductions.
Starting structural reductions in REACHABILITY mode, iteration 0 : 30087/30087 places, 213625/213625 transitions.
Graph (complete) has 273427 edges and 30087 vertex of which 30026 are kept as prefixes of interest. Removing 61 places using SCC suffix rule.198 ms
Discarding 61 places :
Also discarding 0 output transitions
Drop transitions removed 56 transitions
Ensure Unique test removed 300 transitions
Reduce isomorphic transitions removed 356 transitions.
Iterating post reduction 0 with 356 rules applied. Total rules applied 357 place count 30026 transition count 213269
Discarding 239 places :
Symmetric choice reduction at 1 with 239 rule applications. Total rules 596 place count 29787 transition count 168323
Iterating global reduction 1 with 239 rules applied. Total rules applied 835 place count 29787 transition count 168323
Applied a total of 835 rules in 5352 ms. Remains 29787 /30087 variables (removed 300) and now considering 168323/213625 (removed 45302) transitions.
Finished structural reductions in REACHABILITY mode , in 1 iterations and 5368 ms. Remains : 29787/30087 places, 168323/213625 transitions.
Incomplete random walk after 10000 steps, including 1427 resets, run finished after 26367 ms. (steps per millisecond=0 ) properties (out of 10) seen :2
FORMULA RingSingleMessageInMbox-PT-d2m160-ReachabilityFireability-10 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA RingSingleMessageInMbox-PT-d2m160-ReachabilityFireability-00 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
Incomplete Best-First random walk after 10001 steps, including 5 resets, run finished after 142 ms. (steps per millisecond=70 ) properties (out of 8) seen :0
Incomplete Best-First random walk after 10001 steps, including 17 resets, run finished after 274 ms. (steps per millisecond=36 ) properties (out of 8) seen :0
Incomplete Best-First random walk after 10001 steps, including 11 resets, run finished after 229 ms. (steps per millisecond=43 ) properties (out of 8) seen :0
Incomplete Best-First random walk after 10001 steps, including 13 resets, run finished after 260 ms. (steps per millisecond=38 ) properties (out of 8) seen :0
Incomplete Best-First random walk after 10001 steps, including 18 resets, run finished after 274 ms. (steps per millisecond=36 ) properties (out of 8) seen :0
Incomplete Best-First random walk after 10001 steps, including 22 resets, run finished after 325 ms. (steps per millisecond=30 ) properties (out of 8) seen :1
FORMULA RingSingleMessageInMbox-PT-d2m160-ReachabilityFireability-12 FALSE TECHNIQUES TOPOLOGICAL BESTFIRST_WALK
Incomplete Best-First random walk after 10001 steps, including 6 resets, run finished after 154 ms. (steps per millisecond=64 ) properties (out of 7) seen :0
Incomplete Best-First random walk after 10001 steps, including 10 resets, run finished after 206 ms. (steps per millisecond=48 ) properties (out of 7) seen :0
Running SMT prover for 7 properties.
// Phase 1: matrix 168323 rows 29787 cols
[2023-03-18 23:05:10] [INFO ] Computed 4 place invariants in 41213 ms
[2023-03-18 23:05:23] [INFO ] [Real]Absence check using 0 positive and 4 generalized place invariants in 337 ms returned sat
[2023-03-18 23:05:26] [INFO ] After 15819ms SMT Verify possible using all constraints in real domain returned unsat :0 sat :0 real:7
[2023-03-18 23:05:33] [INFO ] [Nat]Absence check using 0 positive and 4 generalized place invariants in 345 ms returned sat
java.lang.RuntimeException: SMT solver raised an error when submitting script. Raised (error "Error writing to Z3 solver: java.io.IOException: Stream closed...
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-18 23:05:51] [WARNING] SMT solver failed with error :SMT solver raised an error when submitting script.... while checking expressions.
[2023-03-18 23:05:51] [INFO ] After 25029ms SMT Verify possible using all constraints in natural domain returned unsat :0 sat :0 real:7
Fused 7 Parikh solutions to 1 different solutions.
Parikh walk visited 0 properties in 0 ms.
Support contains 71 out of 29787 places. Attempting structural reductions.
Starting structural reductions in REACHABILITY mode, iteration 0 : 29787/29787 places, 168323/168323 transitions.
Discarding 13 places :
Symmetric choice reduction at 0 with 13 rule applications. Total rules 13 place count 29774 transition count 144676
Iterating global reduction 0 with 13 rules applied. Total rules applied 26 place count 29774 transition count 144676
Applied a total of 26 rules in 3096 ms. Remains 29774 /29787 variables (removed 13) and now considering 144676/168323 (removed 23647) transitions.
Finished structural reductions in REACHABILITY mode , in 1 iterations and 3096 ms. Remains : 29774/29787 places, 144676/168323 transitions.
[2023-03-18 23:05:58] [INFO ] Computed 5 place invariants in 279703 ms
Incomplete random walk after 10000 steps, including 1477 resets, run finished after 23623 ms. (steps per millisecond=0 ) properties (out of 7) seen :0
Incomplete Best-First random walk after 10001 steps, including 12 resets, run finished after 262 ms. (steps per millisecond=38 ) properties (out of 7) seen :0
Incomplete Best-First random walk after 10001 steps, including 11 resets, run finished after 236 ms. (steps per millisecond=42 ) properties (out of 7) seen :0
Incomplete Best-First random walk after 10001 steps, including 12 resets, run finished after 247 ms. (steps per millisecond=40 ) properties (out of 7) seen :0
Incomplete Best-First random walk after 10001 steps, including 4 resets, run finished after 151 ms. (steps per millisecond=66 ) properties (out of 7) seen :0
Incomplete Best-First random walk after 10001 steps, including 5 resets, run finished after 141 ms. (steps per millisecond=70 ) properties (out of 7) seen :0
Incomplete Best-First random walk after 10001 steps, including 10 resets, run finished after 201 ms. (steps per millisecond=49 ) properties (out of 7) seen :0
Incomplete Best-First random walk after 10001 steps, including 26 resets, run finished after 357 ms. (steps per millisecond=28 ) properties (out of 7) seen :0
Interrupted probabilistic random walk after 59738 steps, run timeout after 75001 ms. (steps per millisecond=0 ) properties seen :{0=1}
Probabilistic random walk after 59738 steps, saw 36554 distinct states, run finished after 75004 ms. (steps per millisecond=0 ) properties seen :1
FORMULA RingSingleMessageInMbox-PT-d2m160-ReachabilityFireability-01 FALSE TECHNIQUES TOPOLOGICAL PROBABILISTIC_WALK
Running SMT prover for 6 properties.
// Phase 1: matrix 144676 rows 29774 cols
[2023-03-18 23:08:06] [INFO ] Computed 4 place invariants in 31349 ms
[2023-03-18 23:08:13] [INFO ] [Real]Absence check using 0 positive and 4 generalized place invariants in 409 ms returned sat
[2023-03-18 23:08:14] [INFO ] After 8824ms SMT Verify possible using all constraints in real domain returned unsat :0 sat :0 real:6
[2023-03-18 23:08:22] [INFO ] [Nat]Absence check using 0 positive and 4 generalized place invariants in 319 ms returned sat
[2023-03-18 23:08:39] [INFO ] After 15938ms SMT Verify possible using state equation in natural domain returned unsat :0 sat :5
TIME LIMIT: Killed by timeout after 3600 seconds
MemTotal: 16393216 kB
MemFree: 142216 kB
After kill :
MemTotal: 16393216 kB
MemFree: 149880 kB

BK_TIME_CONFINEMENT_REACHED

--------------------
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 ReachabilityFireability -timeout 360 -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-d2m160"
export BK_EXAMINATION="ReachabilityFireability"
export BK_TOOL="smartxred"
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 smartxred"
echo " Input is RingSingleMessageInMbox-PT-d2m160, examination is ReachabilityFireability"
echo " Time confinement is $BK_TIME_CONFINEMENT seconds"
echo " Memory confinement is 16384 MBytes"
echo " Number of cores is 4"
echo " Run identifier is r331-tall-167889205100927"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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