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

About the Execution of LoLa+red for SharedMemory-COL-001000

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
16216.796 3600000.00 5909194.00 1228886.60 FF?T?T?TT????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.r359-smll-167891809200601.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 lolaxred
Input is SharedMemory-COL-001000, examination is CTLCardinality
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r359-smll-167891809200601
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 504K
-rw-r--r-- 1 mcc users 7.6K Feb 25 14:02 CTLCardinality.txt
-rw-r--r-- 1 mcc users 75K Feb 25 14:02 CTLCardinality.xml
-rw-r--r-- 1 mcc users 6.6K Feb 25 14:02 CTLFireability.txt
-rw-r--r-- 1 mcc users 51K Feb 25 14:02 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.2K Jan 29 11:41 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 6.5K Jan 29 11:41 GenericPropertiesVerdict.xml
-rw-r--r-- 1 mcc users 3.9K Feb 25 16:53 LTLCardinality.txt
-rw-r--r-- 1 mcc users 25K Feb 25 16:53 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.7K Feb 25 16:53 LTLFireability.txt
-rw-r--r-- 1 mcc users 18K Feb 25 16:53 LTLFireability.xml
-rw-r--r-- 1 mcc users 13K Feb 25 14:02 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 119K Feb 25 14:02 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 9.1K Feb 25 14:02 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 63K Feb 25 14:02 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.8K Feb 25 16:53 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.8K Feb 25 16:53 UpperBounds.xml
-rw-r--r-- 1 mcc users 5 Mar 5 18:23 equiv_pt
-rw-r--r-- 1 mcc users 7 Mar 5 18:23 instance
-rw-r--r-- 1 mcc users 5 Mar 5 18:23 iscolored
-rw-r--r-- 1 mcc users 55K 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 SharedMemory-COL-001000-CTLCardinality-00
FORMULA_NAME SharedMemory-COL-001000-CTLCardinality-01
FORMULA_NAME SharedMemory-COL-001000-CTLCardinality-02
FORMULA_NAME SharedMemory-COL-001000-CTLCardinality-03
FORMULA_NAME SharedMemory-COL-001000-CTLCardinality-04
FORMULA_NAME SharedMemory-COL-001000-CTLCardinality-05
FORMULA_NAME SharedMemory-COL-001000-CTLCardinality-06
FORMULA_NAME SharedMemory-COL-001000-CTLCardinality-07
FORMULA_NAME SharedMemory-COL-001000-CTLCardinality-08
FORMULA_NAME SharedMemory-COL-001000-CTLCardinality-09
FORMULA_NAME SharedMemory-COL-001000-CTLCardinality-10
FORMULA_NAME SharedMemory-COL-001000-CTLCardinality-11
FORMULA_NAME SharedMemory-COL-001000-CTLCardinality-12
FORMULA_NAME SharedMemory-COL-001000-CTLCardinality-13
FORMULA_NAME SharedMemory-COL-001000-CTLCardinality-14
FORMULA_NAME SharedMemory-COL-001000-CTLCardinality-15

=== Now, execution of the tool begins

BK_START 1679197845695

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=lolaxred
BK_EXAMINATION=CTLCardinality
BK_BIN_PATH=/home/mcc/BenchKit/bin/
BK_TIME_CONFINEMENT=3600
BK_INPUT=SharedMemory-COL-001000
Applying reductions before tool lola
Invoking reducer
Running Version 202303021504
[2023-03-19 03:50:48] [INFO ] Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, CTLCardinality, -timeout, 360, -rebuildPNML]
[2023-03-19 03:50:48] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2023-03-19 03:50:49] [INFO ] Detected file is not PT type :http://www.pnml.org/version-2009/grammar/symmetricnet
log4j:WARN No appenders could be found for logger (org.apache.axiom.locator.DefaultOMMetaFactoryLocator).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
[2023-03-19 03:50:49] [WARNING] Using fallBack plugin, rng conformance not checked
[2023-03-19 03:50:50] [INFO ] Load time of PNML (colored model parsed with PNMLFW) : 1268 ms
[2023-03-19 03:50:50] [INFO ] Imported 6 HL places and 5 HL transitions for a total of 1004001 PT places and 3002000.0 transition bindings in 74 ms.
Parsed 16 properties from file /home/mcc/execution/CTLCardinality.xml in 38 ms.
[2023-03-19 03:50:50] [INFO ] Built PT skeleton of HLPN with 6 places and 5 transitions 16 arcs in 24 ms.
[2023-03-19 03:50:50] [INFO ] Skeletonized 16 HLPN properties in 4 ms.
Initial state reduction rules removed 5 formulas.
FORMULA SharedMemory-COL-001000-CTLCardinality-00 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA SharedMemory-COL-001000-CTLCardinality-03 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA SharedMemory-COL-001000-CTLCardinality-07 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA SharedMemory-COL-001000-CTLCardinality-08 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA SharedMemory-COL-001000-CTLCardinality-13 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
Computed a total of 0 stabilizing places and 0 stable transitions
Remains 11 properties that can be checked using skeleton over-approximation.
Computed a total of 0 stabilizing places and 0 stable transitions
Incomplete random walk after 10000 steps, including 2 resets, run finished after 535 ms. (steps per millisecond=18 ) properties (out of 52) seen :24
Incomplete Best-First random walk after 1001 steps, including 2 resets, run finished after 5 ms. (steps per millisecond=200 ) properties (out of 28) seen :1
Incomplete Best-First random walk after 1001 steps, including 2 resets, run finished after 9 ms. (steps per millisecond=111 ) properties (out of 27) seen :0
Incomplete Best-First random walk after 1001 steps, including 2 resets, run finished after 3 ms. (steps per millisecond=333 ) properties (out of 27) seen :0
Incomplete Best-First random walk after 1001 steps, including 2 resets, run finished after 4 ms. (steps per millisecond=250 ) properties (out of 27) seen :0
Incomplete Best-First random walk after 1000 steps, including 2 resets, run finished after 24 ms. (steps per millisecond=41 ) properties (out of 27) seen :3
Incomplete Best-First random walk after 1001 steps, including 2 resets, run finished after 3 ms. (steps per millisecond=333 ) properties (out of 24) seen :0
Incomplete Best-First random walk after 1001 steps, including 2 resets, run finished after 3 ms. (steps per millisecond=333 ) properties (out of 24) seen :0
Incomplete Best-First random walk after 1000 steps, including 2 resets, run finished after 14 ms. (steps per millisecond=71 ) properties (out of 24) seen :0
Incomplete Best-First random walk after 1001 steps, including 2 resets, run finished after 4 ms. (steps per millisecond=250 ) properties (out of 24) seen :0
Incomplete Best-First random walk after 1001 steps, including 2 resets, run finished after 3 ms. (steps per millisecond=333 ) properties (out of 24) seen :1
Incomplete Best-First random walk after 1001 steps, including 2 resets, run finished after 5 ms. (steps per millisecond=200 ) properties (out of 23) seen :0
Incomplete Best-First random walk after 1001 steps, including 2 resets, run finished after 3 ms. (steps per millisecond=333 ) properties (out of 23) seen :0
Incomplete Best-First random walk after 1001 steps, including 2 resets, run finished after 3 ms. (steps per millisecond=333 ) properties (out of 23) seen :0
Incomplete Best-First random walk after 1001 steps, including 2 resets, run finished after 20 ms. (steps per millisecond=50 ) properties (out of 23) seen :0
Incomplete Best-First random walk after 1001 steps, including 2 resets, run finished after 8 ms. (steps per millisecond=125 ) properties (out of 23) seen :0
Incomplete Best-First random walk after 1001 steps, including 2 resets, run finished after 4 ms. (steps per millisecond=250 ) properties (out of 23) seen :0
Incomplete Best-First random walk after 1001 steps, including 2 resets, run finished after 3 ms. (steps per millisecond=333 ) properties (out of 23) seen :0
Incomplete Best-First random walk after 1001 steps, including 2 resets, run finished after 4 ms. (steps per millisecond=250 ) properties (out of 23) seen :0
Incomplete Best-First random walk after 1001 steps, including 2 resets, run finished after 3 ms. (steps per millisecond=333 ) properties (out of 23) seen :0
Incomplete Best-First random walk after 1001 steps, including 2 resets, run finished after 23 ms. (steps per millisecond=43 ) properties (out of 23) seen :0
Incomplete Best-First random walk after 1001 steps, including 2 resets, run finished after 3 ms. (steps per millisecond=333 ) properties (out of 23) seen :0
Incomplete Best-First random walk after 1000 steps, including 2 resets, run finished after 3 ms. (steps per millisecond=333 ) properties (out of 23) seen :0
Incomplete Best-First random walk after 1001 steps, including 2 resets, run finished after 3 ms. (steps per millisecond=333 ) properties (out of 23) seen :0
Incomplete Best-First random walk after 1001 steps, including 2 resets, run finished after 3 ms. (steps per millisecond=333 ) properties (out of 23) seen :0
Running SMT prover for 23 properties.
// Phase 1: matrix 5 rows 6 cols
[2023-03-19 03:50:51] [INFO ] Computed 3 place invariants in 4 ms
[2023-03-19 03:50:51] [INFO ] [Real]Absence check using 3 positive place invariants in 3 ms returned sat
[2023-03-19 03:50:51] [INFO ] After 236ms SMT Verify possible using all constraints in real domain returned unsat :4 sat :0 real:19
[2023-03-19 03:50:51] [INFO ] [Nat]Absence check using 3 positive place invariants in 2 ms returned sat
[2023-03-19 03:50:51] [INFO ] After 12ms SMT Verify possible using state equation in natural domain returned unsat :22 sat :1
[2023-03-19 03:50:51] [INFO ] After 18ms SMT Verify possible using trap constraints in natural domain returned unsat :22 sat :1
Attempting to minimize the solution found.
Minimization took 10 ms.
[2023-03-19 03:50:51] [INFO ] After 128ms SMT Verify possible using all constraints in natural domain returned unsat :22 sat :1
Fused 23 Parikh solutions to 1 different solutions.
Finished Parikh walk after 1001 steps, including 0 resets, run visited all 1 properties in 5 ms. (steps per millisecond=200 )
Parikh walk visited 1 properties in 5 ms.
Successfully simplified 22 atomic propositions for a total of 11 simplifications.
[2023-03-19 03:50:51] [INFO ] Initial state reduction rules for CTL removed 2 formulas.
[2023-03-19 03:50:51] [INFO ] Flatten gal took : 30 ms
FORMULA SharedMemory-COL-001000-CTLCardinality-05 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA SharedMemory-COL-001000-CTLCardinality-01 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
[2023-03-19 03:50:51] [INFO ] Flatten gal took : 9 ms
Domain [P(1000), P(1000)] of place Ext_Mem_Acc breaks symmetries in sort P
[2023-03-19 03:51:00] [INFO ] Unfolded HLPN to a Petri net with 1004001 places and 2002000 transitions 8004000 arcs in 8615 ms.
[2023-03-19 03:51:00] [INFO ] Unfolded 9 HLPN properties in 258 ms.
Deduced a syphon composed of 1000 places in 1018 ms
Reduce places removed 1000 places and 1000 transitions.
Support contains 1003001 out of 1003001 places. Attempting structural reductions.
Starting structural reductions in LTL mode, iteration 0 : 1003001/1003001 places, 2001000/2001000 transitions.
Applied a total of 0 rules in 8547 ms. Remains 1003001 /1003001 variables (removed 0) and now considering 2001000/2001000 (removed 0) transitions.
// Phase 1: matrix 2001000 rows 1003001 cols
[2023-03-19 03:54:10] [WARNING] Invariant computation timed out after 120 seconds.
[2023-03-19 03:56:50] [INFO ] Implicit Places with SMT raised an exceptionSMT solver raised an error when submitting script. Raised (error "Failed to assert expression: java.io.IOException: Broken pipe ... after 282034 ms
Implicit Place search using SMT only with invariants took 282079 ms to find 0 implicit places.
// Phase 1: matrix 2001000 rows 1003001 cols
[2023-03-19 03:59:04] [WARNING] Invariant computation timed out after 120 seconds.
[2023-03-19 04:00:04] [INFO ] Dead Transitions with SMT raised an exceptionSMT solver raised an error when submitting script. Raised (error "Failed to assert expression: java.io.IOException: Broken pipe ... after 193781 ms
Finished structural reductions in LTL mode , in 1 iterations and 484498 ms. Remains : 1003001/1003001 places, 2001000/2001000 transitions.
Support contains 1003001 out of 1003001 places after structural reductions.
[2023-03-19 04:02:53] [INFO ] Flatten gal took : 109347 ms
[2023-03-19 04:05:50] [INFO ] Flatten gal took : 140351 ms
[2023-03-19 04:16:53] [INFO ] Input system was already deterministic with 2001000 transitions.
Interrupted random walk after 148 steps, including 0 resets, run timeout after 31447 ms. (steps per millisecond=0 ) properties seen 14
Incomplete Best-First random walk after 1001 steps, including 0 resets, run finished after 2221 ms. (steps per millisecond=0 ) properties (out of 28) seen :0
Incomplete Best-First random walk after 1001 steps, including 0 resets, run finished after 313 ms. (steps per millisecond=3 ) properties (out of 28) seen :0
Incomplete Best-First random walk after 1001 steps, including 0 resets, run finished after 31238 ms. (steps per millisecond=0 ) properties (out of 28) seen :0
Incomplete Best-First random walk after 1001 steps, including 0 resets, run finished after 2142 ms. (steps per millisecond=0 ) properties (out of 28) seen :0
Incomplete Best-First random walk after 1001 steps, including 0 resets, run finished after 396 ms. (steps per millisecond=2 ) properties (out of 28) seen :0
Incomplete Best-First random walk after 1001 steps, including 0 resets, run finished after 373 ms. (steps per millisecond=2 ) properties (out of 28) seen :0
Incomplete Best-First random walk after 1001 steps, including 0 resets, run finished after 674 ms. (steps per millisecond=1 ) properties (out of 28) seen :0
Incomplete Best-First random walk after 1001 steps, including 0 resets, run finished after 31030 ms. (steps per millisecond=0 ) properties (out of 28) seen :0
Incomplete Best-First random walk after 1001 steps, including 0 resets, run finished after 38359 ms. (steps per millisecond=0 ) properties (out of 28) seen :0
Incomplete Best-First random walk after 1001 steps, including 0 resets, run finished after 589 ms. (steps per millisecond=1 ) properties (out of 28) seen :0
Incomplete Best-First random walk after 1001 steps, including 0 resets, run finished after 31060 ms. (steps per millisecond=0 ) properties (out of 28) seen :0
Incomplete Best-First random walk after 1001 steps, including 0 resets, run finished after 474 ms. (steps per millisecond=2 ) properties (out of 28) seen :0
Incomplete Best-First random walk after 1001 steps, including 0 resets, run finished after 29387 ms. (steps per millisecond=0 ) properties (out of 28) seen :0
Incomplete Best-First random walk after 1001 steps, including 0 resets, run finished after 416 ms. (steps per millisecond=2 ) properties (out of 28) seen :0
Incomplete Best-First random walk after 1001 steps, including 0 resets, run finished after 31374 ms. (steps per millisecond=0 ) properties (out of 28) seen :0
Incomplete Best-First random walk after 1001 steps, including 0 resets, run finished after 247 ms. (steps per millisecond=4 ) properties (out of 28) seen :0
Incomplete Best-First random walk after 1001 steps, including 0 resets, run finished after 266 ms. (steps per millisecond=3 ) properties (out of 28) seen :0
Incomplete Best-First random walk after 1001 steps, including 0 resets, run finished after 261 ms. (steps per millisecond=3 ) properties (out of 28) seen :0
Incomplete Best-First random walk after 1001 steps, including 0 resets, run finished after 2864 ms. (steps per millisecond=0 ) properties (out of 28) seen :0
Incomplete Best-First random walk after 1001 steps, including 0 resets, run finished after 673 ms. (steps per millisecond=1 ) properties (out of 28) seen :0
Incomplete Best-First random walk after 1001 steps, including 0 resets, run finished after 493 ms. (steps per millisecond=2 ) properties (out of 28) seen :0
Incomplete Best-First random walk after 1001 steps, including 0 resets, run finished after 31289 ms. (steps per millisecond=0 ) properties (out of 28) seen :0
Incomplete Best-First random walk after 1001 steps, including 0 resets, run finished after 38720 ms. (steps per millisecond=0 ) properties (out of 28) seen :0
Incomplete Best-First random walk after 1001 steps, including 0 resets, run finished after 447 ms. (steps per millisecond=2 ) properties (out of 28) seen :0
Incomplete Best-First random walk after 1001 steps, including 0 resets, run finished after 38768 ms. (steps per millisecond=0 ) properties (out of 28) seen :0
Incomplete Best-First random walk after 1001 steps, including 0 resets, run finished after 536 ms. (steps per millisecond=1 ) properties (out of 28) seen :0
Incomplete Best-First random walk after 1001 steps, including 0 resets, run finished after 468 ms. (steps per millisecond=2 ) properties (out of 28) seen :0
Incomplete Best-First random walk after 1001 steps, including 0 resets, run finished after 435 ms. (steps per millisecond=2 ) properties (out of 28) seen :0
Running SMT prover for 28 properties.
// Phase 1: matrix 2001000 rows 1003001 cols
[2023-03-19 04:35:11] [WARNING] Invariant computation timed out after 120 seconds.
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.verifyPossible(DeadlockTester.java:609)
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.logic.AtomicReducerSR.checkAtomicPropositionsLogic(AtomicReducerSR.java:105)
at fr.lip6.move.gal.application.solver.logic.AtomicReducerSR.strongReductions(AtomicReducerSR.java:44)
at fr.lip6.move.gal.application.solver.ltl.LTLPropertySolver.preSolveForLogic(LTLPropertySolver.java:176)
at fr.lip6.move.gal.application.Application.startNoEx(Application.java:626)
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-19 04:37:08] [WARNING] SMT solver failed with error :SMT solver raised an error when submitting script.... while checking expressions.
[2023-03-19 04:37:08] [INFO ] After 27108ms SMT Verify possible using all constraints in real domain returned unsat :0 sat :0
Fused 28 Parikh solutions to 1 different solutions.
Parikh walk visited 0 properties in 2 ms.
Support contains 1003001 out of 1003001 places. Attempting structural reductions.
Starting structural reductions in REACHABILITY mode, iteration 0 : 1003001/1003001 places, 2001000/2001000 transitions.
TIME LIMIT: Killed by timeout after 3600 seconds
MemTotal: 16393216 kB
MemFree: 152560 kB
After kill :
MemTotal: 16393216 kB
MemFree: 137376 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 CTLCardinality -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="SharedMemory-COL-001000"
export BK_EXAMINATION="CTLCardinality"
export BK_TOOL="lolaxred"
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 lolaxred"
echo " Input is SharedMemory-COL-001000, examination is CTLCardinality"
echo " Time confinement is $BK_TIME_CONFINEMENT seconds"
echo " Memory confinement is 16384 MBytes"
echo " Number of cores is 4"
echo " Run identifier is r359-smll-167891809200601"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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