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

About the Execution of LTSMin+red for JoinFreeModules-PT-0500

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
2124.512 393373.00 477592.00 983.80 T 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.r247-tall-167856434000127.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 ltsminxred
Input is JoinFreeModules-PT-0500, examination is QuasiLiveness
Time confinement is 1800 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r247-tall-167856434000127
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 2.0M
-rw-r--r-- 1 mcc users 7.1K Feb 25 11:55 CTLCardinality.txt
-rw-r--r-- 1 mcc users 71K Feb 25 11:55 CTLCardinality.xml
-rw-r--r-- 1 mcc users 5.2K Feb 25 11:55 CTLFireability.txt
-rw-r--r-- 1 mcc users 43K Feb 25 11:55 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 16:18 LTLCardinality.txt
-rw-r--r-- 1 mcc users 26K Feb 25 16:18 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.4K Feb 25 16:18 LTLFireability.txt
-rw-r--r-- 1 mcc users 18K Feb 25 16:18 LTLFireability.xml
-rw-r--r-- 1 mcc users 15K Feb 25 11:55 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 160K Feb 25 11:55 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 6.1K Feb 25 11:55 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 46K Feb 25 11:55 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.7K Feb 25 16:18 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.8K Feb 25 16:18 UpperBounds.xml
-rw-r--r-- 1 mcc users 6 Mar 5 18:22 equiv_col
-rw-r--r-- 1 mcc users 5 Mar 5 18:22 instance
-rw-r--r-- 1 mcc users 6 Mar 5 18:22 iscolored
-rw-r--r-- 1 mcc users 1.6M 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 QuasiLiveness

=== Now, execution of the tool begins

BK_START 1678711215820

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=ltsminxred
BK_EXAMINATION=QuasiLiveness
BK_BIN_PATH=/home/mcc/BenchKit/bin/
BK_TIME_CONFINEMENT=1800
BK_INPUT=JoinFreeModules-PT-0500
Applying reductions before tool ltsmin
Invoking reducer
Running Version 202303021504
[2023-03-13 12:40:17] [INFO ] Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, QuasiLiveness, -timeout, 180, -rebuildPNML]
[2023-03-13 12:40:17] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2023-03-13 12:40:17] [INFO ] Load time of PNML (sax parser for PT used): 173 ms
[2023-03-13 12:40:17] [INFO ] Transformed 2501 places.
[2023-03-13 12:40:17] [INFO ] Transformed 4001 transitions.
[2023-03-13 12:40:17] [INFO ] Parsed PT model containing 2501 places and 4001 transitions and 11502 arcs in 260 ms.
Starting structural reductions in LIVENESS mode, iteration 0 : 2501/2501 places, 4001/4001 transitions.
Reduce places removed 1 places and 0 transitions.
Iterating post reduction 0 with 1 rules applied. Total rules applied 1 place count 2500 transition count 4001
Applied a total of 1 rules in 73 ms. Remains 2500 /2501 variables (removed 1) and now considering 4001/4001 (removed 0) transitions.
// Phase 1: matrix 4001 rows 2500 cols
[2023-03-13 12:40:17] [INFO ] Computed 500 place invariants in 46 ms
[2023-03-13 12:40:19] [INFO ] Dead Transitions using invariants and state equation in 2133 ms found 0 transitions.
[2023-03-13 12:40:19] [INFO ] Invariant cache hit.
[2023-03-13 12:40:20] [INFO ] Implicit Places using invariants in 426 ms returned []
[2023-03-13 12:40:20] [INFO ] Invariant cache hit.
[2023-03-13 12:40:21] [INFO ] State equation strengthened by 500 read => feed constraints.
[2023-03-13 12:40:21] [INFO ] Implicit Places using invariants and state equation in 1724 ms returned []
Implicit Place search using SMT with State Equation took 2152 ms to find 0 implicit places.
[2023-03-13 12:40:21] [INFO ] Invariant cache hit.
[2023-03-13 12:40:23] [INFO ] Dead Transitions using invariants and state equation in 1800 ms found 0 transitions.
Starting structural reductions in LIVENESS mode, iteration 1 : 2500/2501 places, 4001/4001 transitions.
Finished structural reductions in LIVENESS mode , in 1 iterations and 6184 ms. Remains : 2500/2501 places, 4001/4001 transitions.
Discarding 2000 transitions out of 4001. Remains 2001
Initial state reduction rules removed 1 formulas.
Incomplete random walk after 10029 steps, including 2 resets, run finished after 254 ms. (steps per millisecond=39 ) properties (out of 2000) seen :39
Probabilistic random walk after 15038 steps, saw 15019 distinct states, run finished after 3038 ms. (steps per millisecond=4 ) properties seen :490
Running SMT prover for 1471 properties.
[2023-03-13 12:40:27] [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-13 12:40:53] [WARNING] SMT solver failed with error :SMT solver raised an error when submitting script.... while checking expressions.
[2023-03-13 12:40:53] [INFO ] After 25028ms SMT Verify possible using all constraints in real domain returned unsat :0 sat :0
Fused 1471 Parikh solutions to 1 different solutions.
Parikh walk visited 0 properties in 1 ms.
Support contains 1471 out of 2500 places. Attempting structural reductions.
Starting structural reductions in REACHABILITY mode, iteration 0 : 2500/2500 places, 4001/4001 transitions.
Graph (complete) has 6000 edges and 2500 vertex of which 2495 are kept as prefixes of interest. Removing 5 places using SCC suffix rule.9 ms
Discarding 5 places :
Also discarding 8 output transitions
Drop transitions removed 8 transitions
Drop transitions removed 1 transitions
Reduce isomorphic transitions removed 1 transitions.
Iterating post reduction 0 with 1 rules applied. Total rules applied 2 place count 2495 transition count 3992
Applied a total of 2 rules in 162 ms. Remains 2495 /2500 variables (removed 5) and now considering 3992/4001 (removed 9) transitions.
// Phase 1: matrix 3992 rows 2495 cols
[2023-03-13 12:40:53] [INFO ] Computed 499 place invariants in 33 ms
[2023-03-13 12:40:55] [INFO ] Dead Transitions using invariants and state equation in 1837 ms found 0 transitions.
Finished structural reductions in REACHABILITY mode , in 1 iterations and 2003 ms. Remains : 2495/2500 places, 3992/4001 transitions.
Incomplete random walk after 1000115 steps, including 2 resets, run finished after 23323 ms. (steps per millisecond=42 ) properties (out of 1471) seen :1397
Incomplete Best-First random walk after 100001 steps, including 2 resets, run finished after 2397 ms. (steps per millisecond=41 ) properties (out of 74) seen :0
Incomplete Best-First random walk after 100001 steps, including 2 resets, run finished after 2355 ms. (steps per millisecond=42 ) properties (out of 74) seen :2
Incomplete Best-First random walk after 100001 steps, including 2 resets, run finished after 2355 ms. (steps per millisecond=42 ) properties (out of 72) seen :0
Incomplete Best-First random walk after 100001 steps, including 2 resets, run finished after 2345 ms. (steps per millisecond=42 ) properties (out of 72) seen :1
Incomplete Best-First random walk after 100001 steps, including 2 resets, run finished after 2350 ms. (steps per millisecond=42 ) properties (out of 71) seen :0
Incomplete Best-First random walk after 100001 steps, including 2 resets, run finished after 2358 ms. (steps per millisecond=42 ) properties (out of 71) seen :0
Incomplete Best-First random walk after 100001 steps, including 2 resets, run finished after 2322 ms. (steps per millisecond=43 ) properties (out of 71) seen :2
Incomplete Best-First random walk after 100001 steps, including 2 resets, run finished after 2377 ms. (steps per millisecond=42 ) properties (out of 69) seen :1
Incomplete Best-First random walk after 100001 steps, including 2 resets, run finished after 2381 ms. (steps per millisecond=41 ) properties (out of 68) seen :0
Incomplete Best-First random walk after 100001 steps, including 2 resets, run finished after 2377 ms. (steps per millisecond=42 ) properties (out of 68) seen :2
Incomplete Best-First random walk after 100001 steps, including 2 resets, run finished after 2378 ms. (steps per millisecond=42 ) properties (out of 66) seen :1
Incomplete Best-First random walk after 100001 steps, including 2 resets, run finished after 2395 ms. (steps per millisecond=41 ) properties (out of 65) seen :2
Incomplete Best-First random walk after 100001 steps, including 2 resets, run finished after 2388 ms. (steps per millisecond=41 ) properties (out of 63) seen :0
Incomplete Best-First random walk after 100001 steps, including 2 resets, run finished after 2314 ms. (steps per millisecond=43 ) properties (out of 63) seen :2
Incomplete Best-First random walk after 100001 steps, including 2 resets, run finished after 2266 ms. (steps per millisecond=44 ) properties (out of 61) seen :0
Incomplete Best-First random walk after 100001 steps, including 2 resets, run finished after 2269 ms. (steps per millisecond=44 ) properties (out of 61) seen :0
Incomplete Best-First random walk after 100001 steps, including 2 resets, run finished after 2276 ms. (steps per millisecond=43 ) properties (out of 61) seen :1
Incomplete Best-First random walk after 100001 steps, including 2 resets, run finished after 2279 ms. (steps per millisecond=43 ) properties (out of 60) seen :2
Incomplete Best-First random walk after 100001 steps, including 2 resets, run finished after 2291 ms. (steps per millisecond=43 ) properties (out of 58) seen :0
Incomplete Best-First random walk after 100001 steps, including 2 resets, run finished after 2268 ms. (steps per millisecond=44 ) properties (out of 58) seen :2
Incomplete Best-First random walk after 100001 steps, including 2 resets, run finished after 2284 ms. (steps per millisecond=43 ) properties (out of 56) seen :1
Incomplete Best-First random walk after 100001 steps, including 2 resets, run finished after 2275 ms. (steps per millisecond=43 ) properties (out of 55) seen :2
Incomplete Best-First random walk after 100001 steps, including 2 resets, run finished after 2262 ms. (steps per millisecond=44 ) properties (out of 53) seen :2
Incomplete Best-First random walk after 100001 steps, including 2 resets, run finished after 2262 ms. (steps per millisecond=44 ) properties (out of 51) seen :0
Incomplete Best-First random walk after 100001 steps, including 2 resets, run finished after 2266 ms. (steps per millisecond=44 ) properties (out of 51) seen :2
Incomplete Best-First random walk after 100001 steps, including 2 resets, run finished after 2268 ms. (steps per millisecond=44 ) properties (out of 49) seen :0
Incomplete Best-First random walk after 100001 steps, including 2 resets, run finished after 2276 ms. (steps per millisecond=43 ) properties (out of 49) seen :1
Incomplete Best-First random walk after 100001 steps, including 2 resets, run finished after 2269 ms. (steps per millisecond=44 ) properties (out of 48) seen :1
Incomplete Best-First random walk after 100001 steps, including 2 resets, run finished after 2272 ms. (steps per millisecond=44 ) properties (out of 47) seen :2
Incomplete Best-First random walk after 100001 steps, including 2 resets, run finished after 2265 ms. (steps per millisecond=44 ) properties (out of 45) seen :2
Incomplete Best-First random walk after 100001 steps, including 2 resets, run finished after 2266 ms. (steps per millisecond=44 ) properties (out of 43) seen :0
Incomplete Best-First random walk after 100001 steps, including 2 resets, run finished after 2274 ms. (steps per millisecond=43 ) properties (out of 43) seen :2
Incomplete Best-First random walk after 100001 steps, including 2 resets, run finished after 2268 ms. (steps per millisecond=44 ) properties (out of 41) seen :0
Incomplete Best-First random walk after 100001 steps, including 2 resets, run finished after 2270 ms. (steps per millisecond=44 ) properties (out of 41) seen :1
Incomplete Best-First random walk after 100001 steps, including 2 resets, run finished after 2276 ms. (steps per millisecond=43 ) properties (out of 40) seen :0
Incomplete Best-First random walk after 100001 steps, including 2 resets, run finished after 2313 ms. (steps per millisecond=43 ) properties (out of 40) seen :2
Incomplete Best-First random walk after 100001 steps, including 2 resets, run finished after 2304 ms. (steps per millisecond=43 ) properties (out of 38) seen :0
Incomplete Best-First random walk after 100001 steps, including 2 resets, run finished after 2278 ms. (steps per millisecond=43 ) properties (out of 38) seen :2
Incomplete Best-First random walk after 100001 steps, including 2 resets, run finished after 2277 ms. (steps per millisecond=43 ) properties (out of 36) seen :2
Incomplete Best-First random walk after 100001 steps, including 2 resets, run finished after 2270 ms. (steps per millisecond=44 ) properties (out of 34) seen :0
Incomplete Best-First random walk after 100001 steps, including 2 resets, run finished after 2273 ms. (steps per millisecond=43 ) properties (out of 34) seen :2
Incomplete Best-First random walk after 100001 steps, including 2 resets, run finished after 2260 ms. (steps per millisecond=44 ) properties (out of 32) seen :0
Incomplete Best-First random walk after 100001 steps, including 2 resets, run finished after 2258 ms. (steps per millisecond=44 ) properties (out of 32) seen :2
Incomplete Best-First random walk after 100001 steps, including 2 resets, run finished after 2272 ms. (steps per millisecond=44 ) properties (out of 30) seen :2
Incomplete Best-First random walk after 100001 steps, including 2 resets, run finished after 2265 ms. (steps per millisecond=44 ) properties (out of 28) seen :2
Incomplete Best-First random walk after 100001 steps, including 2 resets, run finished after 2284 ms. (steps per millisecond=43 ) properties (out of 26) seen :2
Incomplete Best-First random walk after 100001 steps, including 2 resets, run finished after 2281 ms. (steps per millisecond=43 ) properties (out of 24) seen :0
Incomplete Best-First random walk after 100001 steps, including 2 resets, run finished after 2273 ms. (steps per millisecond=43 ) properties (out of 24) seen :2
Incomplete Best-First random walk after 100001 steps, including 2 resets, run finished after 2266 ms. (steps per millisecond=44 ) properties (out of 22) seen :2
Incomplete Best-First random walk after 100001 steps, including 2 resets, run finished after 2263 ms. (steps per millisecond=44 ) properties (out of 20) seen :2
Running SMT prover for 18 properties.
[2023-03-13 12:43:13] [INFO ] Invariant cache hit.
[2023-03-13 12:43:14] [INFO ] [Real]Absence check using 499 positive place invariants in 98 ms returned sat
[2023-03-13 12:43:18] [INFO ] After 5267ms SMT Verify possible using all constraints in real domain returned unsat :0 sat :0 real:18
[2023-03-13 12:43:19] [INFO ] [Nat]Absence check using 499 positive place invariants in 96 ms returned sat
[2023-03-13 12:43:45] [INFO ] After 24847ms SMT Verify possible using state equation in natural domain returned unsat :0 sat :18
[2023-03-13 12:43:45] [INFO ] State equation strengthened by 499 read => feed constraints.
[2023-03-13 12:43:54] [INFO ] After 8778ms SMT Verify possible using 499 Read/Feed constraints in natural domain returned unsat :0 sat :18
[2023-03-13 12:43:54] [INFO ] Deduced a trap composed of 3 places in 64 ms of which 5 ms to minimize.
[2023-03-13 12:43:54] [INFO ] Deduced a trap composed of 3 places in 42 ms of which 3 ms to minimize.
[2023-03-13 12:43:55] [INFO ] Deduced a trap composed of 3 places in 42 ms of which 1 ms to minimize.
[2023-03-13 12:43:55] [INFO ] Trap strengthening (SAT) tested/added 4/3 trap constraints in 1427 ms
[2023-03-13 12:43:56] [INFO ] Deduced a trap composed of 3 places in 46 ms of which 2 ms to minimize.
[2023-03-13 12:43:56] [INFO ] Trap strengthening (SAT) tested/added 2/1 trap constraints in 333 ms
[2023-03-13 12:43:59] [INFO ] Deduced a trap composed of 3 places in 38 ms of which 1 ms to minimize.
[2023-03-13 12:44:00] [INFO ] Trap strengthening (SAT) tested/added 2/1 trap constraints in 368 ms
[2023-03-13 12:44:13] [INFO ] Deduced a trap composed of 3 places in 37 ms of which 0 ms to minimize.
[2023-03-13 12:44:14] [INFO ] Trap strengthening (SAT) tested/added 2/1 trap constraints in 363 ms
[2023-03-13 12:44:15] [INFO ] After 29779ms SMT Verify possible using trap constraints in natural domain returned unsat :0 sat :18
Attempting to minimize the solution found.
Minimization took 27998 ms.
[2023-03-13 12:44:43] [INFO ] After 84269ms SMT Verify possible using all constraints in natural domain returned unsat :0 sat :18
Parikh walk visited 12 properties in 125020 ms.
Support contains 6 out of 2495 places. Attempting structural reductions.
Starting structural reductions in REACHABILITY mode, iteration 0 : 2495/2495 places, 3992/3992 transitions.
Graph (complete) has 5988 edges and 2495 vertex of which 30 are kept as prefixes of interest. Removing 2465 places using SCC suffix rule.2 ms
Discarding 2465 places :
Also discarding 3944 output transitions
Drop transitions removed 3944 transitions
Applied a total of 1 rules in 13 ms. Remains 30 /2495 variables (removed 2465) and now considering 48/3992 (removed 3944) transitions.
Finished structural reductions in REACHABILITY mode , in 1 iterations and 13 ms. Remains : 30/2495 places, 48/3992 transitions.
Finished random walk after 7929 steps, including 0 resets, run visited all 6 properties in 5 ms. (steps per millisecond=1585 )
Able to resolve query QuasiLiveness after proving 2001 properties.
FORMULA QuasiLiveness TRUE TECHNIQUES RANDOM_WALK PROBABILISTIC_WALK PARIKH_WALK BESTFIRST_WALK TOPOLOGICAL INITIAL_STATE
Total runtime 390960 ms.
ITS solved all properties within timeout

BK_STOP 1678711609193

--------------------
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 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="JoinFreeModules-PT-0500"
export BK_EXAMINATION="QuasiLiveness"
export BK_TOOL="ltsminxred"
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 ltsminxred"
echo " Input is JoinFreeModules-PT-0500, 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 r247-tall-167856434000127"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

tar xzf /home/mcc/BenchKit/INPUTS/JoinFreeModules-PT-0500.tgz
mv JoinFreeModules-PT-0500 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 '' QuasiLiveness.xml | cut -d '>' -f 2 | cut -d '<' -f 1 | sort -u) ; do
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 ;