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

About the Execution of LoLa+red for DatabaseWithMutex-COL-40

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
16218.039 1736533.00 3743960.00 40556.80 [undef] Cannot compute

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.r117-tall-167814496100659.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 DatabaseWithMutex-COL-40, examination is Liveness
Time confinement is 1800 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r117-tall-167814496100659
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 496K
-rw-r--r-- 1 mcc users 9.3K Feb 25 17:19 CTLCardinality.txt
-rw-r--r-- 1 mcc users 91K Feb 25 17:19 CTLCardinality.xml
-rw-r--r-- 1 mcc users 6.6K Feb 25 15:59 CTLFireability.txt
-rw-r--r-- 1 mcc users 56K Feb 25 15:59 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.2K Jan 29 11:40 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 4.5K Feb 25 15:56 LTLCardinality.txt
-rw-r--r-- 1 mcc users 29K Feb 25 15:56 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.6K Feb 25 15:56 LTLFireability.txt
-rw-r--r-- 1 mcc users 18K Feb 25 15:56 LTLFireability.xml
-rw-r--r-- 1 mcc users 11K Feb 25 19:55 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 94K Feb 25 19:55 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 7.7K Feb 25 18:38 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 57K Feb 25 18:38 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.8K Feb 25 15:56 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.8K Feb 25 15:56 UpperBounds.xml
-rw-r--r-- 1 mcc users 5 Mar 5 18:22 equiv_pt
-rw-r--r-- 1 mcc users 3 Mar 5 18:22 instance
-rw-r--r-- 1 mcc users 5 Mar 5 18:22 iscolored
-rw-r--r-- 1 mcc users 59K 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 Liveness

=== Now, execution of the tool begins

BK_START 1679420139765

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=Liveness
BK_BIN_PATH=/home/mcc/BenchKit/bin/
BK_TIME_CONFINEMENT=1800
BK_INPUT=DatabaseWithMutex-COL-40
Applying reductions before tool lola
Invoking reducer
Running Version 202303021504
[2023-03-21 17:35:41] [INFO ] Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, Liveness, -timeout, 180, -rebuildPNML]
[2023-03-21 17:35:41] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2023-03-21 17:35:41] [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-21 17:35:41] [WARNING] Using fallBack plugin, rng conformance not checked
[2023-03-21 17:35:41] [INFO ] Load time of PNML (colored model parsed with PNMLFW) : 494 ms
[2023-03-21 17:35:41] [INFO ] Imported 11 HL places and 8 HL transitions for a total of 12920 PT places and 12800.0 transition bindings in 16 ms.
[2023-03-21 17:35:41] [INFO ] Built PT skeleton of HLPN with 11 places and 8 transitions 22 arcs in 5 ms.
[2023-03-21 17:35:41] [INFO ] Skeletonized 0 HLPN properties in 0 ms.
[2023-03-21 17:35:42] [INFO ] Unfolded HLPN to a Petri net with 12920 places and 12800 transitions 156800 arcs in 218 ms.
[2023-03-21 17:35:42] [INFO ] Unfolded 0 HLPN properties in 0 ms.
[2023-03-21 17:35:42] [INFO ] Unfolded HLPN to a Petri net with 12920 places and 12800 transitions 156800 arcs in 176 ms.
[2023-03-21 17:35:42] [INFO ] Unfolded 8 HLPN properties in 2 ms.
[2023-03-21 17:35:42] [INFO ] Reduced 1560 identical enabling conditions.
[2023-03-21 17:35:42] [INFO ] Built PT skeleton of HLPN with 11 places and 8 transitions 22 arcs in 1 ms.
[2023-03-21 17:35:42] [INFO ] Skeletonized 8 HLPN properties in 1 ms.
Computed a total of 0 stabilizing places and 0 stable transitions
Prefix of Interest using HLPN skeleton for deadlock discarded 0 places and 0 transitions.
Transition Release forces synchronizations/join behavior on parameter s of sort site
Transition Acquire forces synchronizations/join behavior on parameter f of sort file
[2023-03-21 17:35:42] [INFO ] Unfolded HLPN to a Petri net with 12920 places and 12800 transitions 156800 arcs in 108 ms.
[2023-03-21 17:35:42] [INFO ] Unfolded 8 HLPN properties in 3 ms.
[2023-03-21 17:35:42] [INFO ] Reduced 1560 identical enabling conditions.
Built sparse matrix representations for Structural reductions in 26 ms.91688KB memory used
Starting structural reductions in DEADLOCK mode, iteration 0 : 12920/12920 places, 12800/12800 transitions.
Computed a total of 0 stabilizing places and 0 stable transitions
Computed a total of 0 stabilizing places and 0 stable transitions
Computed a total of 0 stabilizing places and 0 stable transitions
Applied a total of 0 rules in 653 ms. Remains 12920 /12920 variables (removed 0) and now considering 12800/12800 (removed 0) transitions.
Finished structural reductions in DEADLOCK mode , in 1 iterations and 657 ms. Remains : 12920/12920 places, 12800/12800 transitions.
Starting structural reductions in DEADLOCK mode, iteration 0 : 12920/12920 places, 12800/12800 transitions.
Computed a total of 0 stabilizing places and 0 stable transitions
Computed a total of 0 stabilizing places and 0 stable transitions
Computed a total of 0 stabilizing places and 0 stable transitions
Applied a total of 0 rules in 405 ms. Remains 12920 /12920 variables (removed 0) and now considering 12800/12800 (removed 0) transitions.
// Phase 1: matrix 12800 rows 12920 cols
[2023-03-21 17:35:45] [INFO ] Computed 1720 place invariants in 778 ms
[2023-03-21 17:35:46] [INFO ] Implicit Places using invariants in 2140 ms returned []
Implicit Place search using SMT only with invariants took 2857 ms to find 0 implicit places.
[2023-03-21 17:35:46] [INFO ] Invariant cache hit.
[2023-03-21 17:35:48] [INFO ] Dead Transitions using invariants and state equation in 1130 ms found 0 transitions.
Finished structural reductions in DEADLOCK mode , in 1 iterations and 4394 ms. Remains : 12920/12920 places, 12800/12800 transitions.
Interrupted Random walk after 981309 steps, including 0 resets, run timeout after 30001 ms. (steps per millisecond=32 )
Random directed walk for 1250053 steps, including 0 resets, run took 29285 ms (no deadlock found). (steps per millisecond=42 )
[2023-03-21 17:36:47] [INFO ] Invariant cache hit.
[2023-03-21 17:36:57] [INFO ] [Real]Absence check using 119 positive place invariants in 1810 ms returned sat
[2023-03-21 17:37:48] [INFO ] [Real]Absence check using 119 positive and 1601 generalized place invariants in 50391 ms returned sat
[2023-03-21 17:37:48] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2023-03-21 17:41:47] [INFO ] [Real]Absence check using state equation in 239065 ms returned unknown
Random directed walk for 500053 steps, including 0 resets, run took 14823 ms (no deadlock found). (steps per millisecond=33 )
Random walk for 500000 steps, including 0 resets, run took 15081 ms (no deadlock found). (steps per millisecond=33 )
Random directed walk for 500050 steps, including 0 resets, run took 14240 ms (no deadlock found). (steps per millisecond=35 )
Random walk for 500000 steps, including 0 resets, run took 14955 ms (no deadlock found). (steps per millisecond=33 )
Starting structural reductions in DEADLOCK mode, iteration 0 : 12920/12920 places, 12800/12800 transitions.
Computed a total of 0 stabilizing places and 0 stable transitions
Computed a total of 0 stabilizing places and 0 stable transitions
Computed a total of 0 stabilizing places and 0 stable transitions
Applied a total of 0 rules in 344 ms. Remains 12920 /12920 variables (removed 0) and now considering 12800/12800 (removed 0) transitions.
[2023-03-21 17:42:46] [INFO ] Invariant cache hit.
[2023-03-21 17:42:47] [INFO ] Implicit Places using invariants in 1076 ms returned []
Implicit Place search using SMT only with invariants took 1078 ms to find 0 implicit places.
[2023-03-21 17:42:47] [INFO ] Invariant cache hit.
[2023-03-21 17:42:48] [INFO ] Dead Transitions using invariants and state equation in 1039 ms found 0 transitions.
Finished structural reductions in DEADLOCK mode , in 1 iterations and 2465 ms. Remains : 12920/12920 places, 12800/12800 transitions.
Interrupted Random walk after 1004780 steps, including 0 resets, run timeout after 30001 ms. (steps per millisecond=33 )
Random directed walk for 1250041 steps, including 0 resets, run took 25191 ms (no deadlock found). (steps per millisecond=49 )
[2023-03-21 17:43:44] [INFO ] Invariant cache hit.
[2023-03-21 17:43:55] [INFO ] [Real]Absence check using 119 positive place invariants in 1176 ms returned sat
[2023-03-21 17:44:58] [INFO ] [Real]Absence check using 119 positive and 1601 generalized place invariants in 63830 ms returned sat
[2023-03-21 17:44:58] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2023-03-21 17:48:44] [INFO ] [Real]Absence check using state equation in 225427 ms returned unknown
Random directed walk for 500036 steps, including 0 resets, run took 13786 ms (no deadlock found). (steps per millisecond=36 )
Random walk for 500000 steps, including 0 resets, run took 13877 ms (no deadlock found). (steps per millisecond=36 )
Random directed walk for 500060 steps, including 0 resets, run took 13347 ms (no deadlock found). (steps per millisecond=37 )
Random walk for 500000 steps, including 0 resets, run took 14160 ms (no deadlock found). (steps per millisecond=35 )
[2023-03-21 17:49:41] [INFO ] Flatten gal took : 2112 ms
[2023-03-21 17:49:42] [INFO ] Unfolded HLPN to a Petri net with 12920 places and 12800 transitions 156800 arcs in 52 ms.
[2023-03-21 17:49:42] [INFO ] Unfolded 8 HLPN properties in 2 ms.
Initial state reduction rules removed 1 formulas.
Incomplete random walk after 10000 steps, including 2 resets, run finished after 1358 ms. (steps per millisecond=7 ) properties (out of 7) seen :6
Interrupted Best-First random walk after 4686 steps, including 0 resets, run timeout after 5512 ms. (steps per millisecond=0 ) properties seen 0
Running SMT prover for 1 properties.
[2023-03-21 17:49:49] [INFO ] Invariant cache hit.
[2023-03-21 17:50:58] [INFO ] [Real]Absence check using 119 positive place invariants in 307 ms returned sat
[2023-03-21 17:51:00] [INFO ] [Real]Absence check using 119 positive and 1601 generalized place invariants in 2259 ms returned sat
[2023-03-21 17:51:02] [INFO ] After 7365ms SMT Verify possible using all constraints in real domain returned unsat :0 sat :0 real:1
[2023-03-21 17:51:04] [INFO ] [Nat]Absence check using 119 positive place invariants in 270 ms returned sat
[2023-03-21 17:51:06] [INFO ] [Nat]Absence check using 119 positive and 1601 generalized place invariants in 2215 ms returned sat
[2023-03-21 17:51:27] [INFO ] After 25045ms SMT Verify possible using all constraints in natural domain returned unsat :0 sat :0
Parikh walk visited 0 properties in 4 ms.
Support contains 3200 out of 12920 places. Attempting structural reductions.
Starting structural reductions in REACHABILITY mode, iteration 0 : 12920/12920 places, 12800/12800 transitions.
Drop transitions removed 1600 transitions
Trivial Post-agglo rules discarded 1600 transitions
Performed 1600 trivial Post agglomeration. Transition count delta: 1600
Iterating post reduction 0 with 1600 rules applied. Total rules applied 1600 place count 12920 transition count 11200
Reduce places removed 1640 places and 0 transitions.
Drop transitions removed 1600 transitions
Trivial Post-agglo rules discarded 1600 transitions
Performed 1600 trivial Post agglomeration. Transition count delta: 1600
Iterating post reduction 1 with 3240 rules applied. Total rules applied 4840 place count 11280 transition count 9600
Reduce places removed 1600 places and 0 transitions.
Iterating post reduction 2 with 1600 rules applied. Total rules applied 6440 place count 9680 transition count 9600
Performed 1600 Pre agglomeration using Quasi-Persistent + Divergent Free condition..
Pre-agglomeration after 3 with 1600 Pre rules applied. Total rules applied 6440 place count 9680 transition count 8000
Deduced a syphon composed of 1600 places in 3 ms
Reduce places removed 1600 places and 0 transitions.
Iterating global reduction 3 with 3200 rules applied. Total rules applied 9640 place count 8080 transition count 8000
Free-agglomeration rule applied 1600 times.
Iterating global reduction 3 with 1600 rules applied. Total rules applied 11240 place count 8080 transition count 6400
Reduce places removed 1600 places and 0 transitions.
Iterating post reduction 3 with 1600 rules applied. Total rules applied 12840 place count 6480 transition count 6400
Free-agglomeration rule (complex) applied 1600 times.
Iterating global reduction 4 with 1600 rules applied. Total rules applied 14440 place count 6480 transition count 4800
Reduce places removed 1600 places and 0 transitions.
Iterating post reduction 4 with 1600 rules applied. Total rules applied 16040 place count 4880 transition count 4800
Applied a total of 16040 rules in 7419 ms. Remains 4880 /12920 variables (removed 8040) and now considering 4800/12800 (removed 8000) transitions.
Finished structural reductions in REACHABILITY mode , in 1 iterations and 7420 ms. Remains : 4880/12920 places, 4800/12800 transitions.
Finished random walk after 1447 steps, including 0 resets, run visited all 1 properties in 404 ms. (steps per millisecond=3 )
Able to resolve query QuasiLiveness after proving 8 properties.
Unable to solve all queries for examination Liveness. Remains :8 assertions to prove.
No /home/mcc/execution/Liveness.xml examination file found. Proceeding without properties.
Parsed 8 properties from file /home/mcc/execution/Liveness.xml in 12 ms.
Working with output stream class java.io.PrintStream
Total runtime 954485 ms.
starting LoLA
BK_INPUT DatabaseWithMutex-COL-40
BK_EXAMINATION: Liveness
bin directory: /home/mcc/BenchKit/bin//../reducer/bin//../../lola/bin/
current directory: /home/mcc/execution
GlobalProperty: Liveness

BK_STOP 1679421876298

--------------------
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 Liveness -timeout 180 -rebuildPNML
lola: MEM LIMIT 32
lola: MEM LIMIT 5
lola: NET
lola: input: PNML file (--pnmlnet)
lola: reading net from /home/mcc/execution/model.pnml
lola: reading pnml
lola: PNML file contains High-Level net
lola: finished parsing
lola: closed net file /home/mcc/execution/model.pnml
lola: TR BINDINGS
lola: TR BINDINGS DONE
lola: Places: 12920, Transitions: 12800
lola: @ trans Start
lola: @ trans Update
lola: @ trans SendReply
lola: @ trans Acquire
lola: @ trans Change
lola: @ trans Release
lola: @ trans end_update
lola: @ trans SendMsg
lola: reporting
lola: not produced: 12800
lola: reporting
lola: not produced: 12800
lola: LAUNCH SYMM
lola: reporting
lola: not produced: 12800
lola: reporting
lola: not produced: 12800
lola: reporting
lola: not produced: 12800
lola: reporting
lola: not produced: 12800
lola: reporting
lola: not produced: 12800
lola: reporting
lola: not produced: 12800
lola: reporting
lola: not produced: 12800
lola: reporting
lola: not produced: 12800
lola: reporting
lola: not produced: 12800
lola: reporting
lola: not produced: 12800
lola: reporting
lola: not produced: 12800
lola: reporting
lola: not produced: 12800
lola: reporting
lola: not produced: 12800
lola: reporting
lola: not produced: 12800
lola: reporting
lola: not produced: 12800
lola: reporting
lola: not produced: 12800
lola: reporting
lola: not produced: 12800
lola: reporting
lola: not produced: 12800
lola: reporting
lola: not produced: 12800
lola: reporting
lola: not produced: 12800
lola: reporting
lola: not produced: 12800
lola: reporting
lola: not produced: 12800
lola: reporting
lola: not produced: 12800
lola: reporting
lola: not produced: 12800
lola: reporting
lola: not produced: 12800
lola: reporting
lola: not produced: 12800
lola: reporting
lola: not produced: 12800
lola: reporting
lola: not produced: 12800
lola: reporting
lola: not produced: 12800
lola: reporting
lola: not produced: 12800
lola: reporting
lola: not produced: 12800
lola: reporting
lola: not produced: 12800
lola: reporting
lola: not produced: 12800
lola: reporting
lola: not produced: 12800
lola: reporting
lola: not produced: 12800
lola: reporting
lola: not produced: 12800
lola: reporting
lola: not produced: 12800
lola: reporting
lola: not produced: 12800
lola: reporting
lola: not produced: 12800
lola: reporting
lola: not produced: 12800
lola: reporting
lola: not produced: 12800
lola: reporting
lola: not produced: 12800
lola: reporting
lola: not produced: 12800
lola: reporting
lola: not produced: 12800
lola: reporting
lola: not produced: 12800
lola: reporting
lola: not produced: 12800
lola: reporting
lola: not produced: 12800
lola: reporting
lola: not produced: 12800
lola: reporting
lola: not produced: 12800
lola: reporting
lola: not produced: 12800
lola: reporting
lola: not produced: 12800
lola: reporting
lola: not produced: 12800
lola: reporting
lola: not produced: 12800
lola: reporting
lola: not produced: 12800
lola: reporting
lola: not produced: 12800
lola: reporting
lola: not produced: 12800
lola: reporting
lola: not produced: 12800
lola: reporting
lola: not produced: 12800
lola: reporting
lola: not produced: 12800
lola: reporting
lola: not produced: 12800
lola: reporting
lola: not produced: 12800
lola: reporting
lola: not produced: 12800
lola: reporting
lola: not produced: 12800
lola: reporting
lola: not produced: 12800
lola: reporting
lola: not produced: 12800
lola: reporting
lola: not produced: 12800
lola: reporting
lola: not produced: 12800
lola: reporting
lola: not produced: 12800
lola: reporting
lola: not produced: 12800
lola: reporting
lola: not produced: 12800
lola: reporting
lola: not produced: 12800
lola: reporting
lola: not produced: 12800
lola: reporting
lola: not produced: 12800
lola: reporting
lola: not produced: 12800
lola: reporting
lola: not produced: 12800
lola: reporting
lola: not produced: 12800
lola: reporting
lola: not produced: 12800
lola: reporting
lola: not produced: 12800
lola: reporting
lola: not produced: 12800
lola: reporting
lola: not produced: 12800
lola: reporting
lola: not produced: 12800
lola: reporting
lola: not produced: 12800
lola: reporting
lola: not produced: 12800
lola: reporting
lola: not produced: 12800
lola: reporting
lola: not produced: 12800
lola: reporting
lola: not produced: 12800
lola: reporting
lola: not produced: 12800
lola: reporting
lola: not produced: 12800
lola: reporting
lola: not produced: 12800
lola: reporting
lola: not produced: 12800
lola: reporting
lola: not produced: 12800
lola: reporting
lola: not produced: 12800
lola: reporting
lola: not produced: 12800
lola: reporting
lola: not produced: 12800
lola: reporting
lola: not produced: 12800
lola: reporting
lola: not produced: 12800
lola: reporting
lola: not produced: 12800
lola: reporting
lola: not produced: 12800
lola: reporting
lola: not produced: 12800
lola: reporting
lola: not produced: 12800
lola: reporting
lola: not produced: 12800
lola: reporting
lola: not produced: 12800
lola: reporting
lola: not produced: 12800
lola: reporting
lola: not produced: 12800
lola: reporting
lola: not produced: 12800
lola: reporting
lola: not produced: 12800
lola: reporting
lola: not produced: 12800
lola: reporting
lola: not produced: 12800
lola: reporting
lola: not produced: 12800
lola: reporting
lola: not produced: 12800
lola: reporting
lola: not produced: 12800
lola: reporting
lola: not produced: 12800
lola: reporting
lola: not produced: 12800
lola: reporting
lola: not produced: 12800
lola: reporting
lola: not produced: 12800
lola: reporting
lola: not produced: 12800
lola: reporting
lola: not produced: 12800
lola: reporting
lola: not produced: 12800
lola: reporting
lola: not produced: 12800
lola: reporting
lola: not produced: 12800
lola: reporting
lola: not produced: 12800
lola: reporting
lola: not produced: 12800
lola: reporting
lola: not produced: 12800
lola: reporting
lola: not produced: 12800
lola: reporting
lola: not produced: 12800
lola: reporting
lola: not produced: 12800
lola: reporting
lola: not produced: 12800
lola: reporting
lola: not produced: 12800
lola: reporting
lola: not produced: 12800
lola: reporting
lola: not produced: 12800
lola: reporting
lola: not produced: 12800
lola: reporting
lola: not produced: 12800
lola: reporting
lola: not produced: 12800
/home/mcc/BenchKit/bin//../reducer/bin//../../lola/bin//../BenchKit_head.sh: line 63: 566 Killed lola --conf=$BIN_DIR/configfiles/globalconf --check=Liveness $DIR/model.pnml

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="DatabaseWithMutex-COL-40"
export BK_EXAMINATION="Liveness"
export BK_TOOL="lolaxred"
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 lolaxred"
echo " Input is DatabaseWithMutex-COL-40, examination is Liveness"
echo " Time confinement is $BK_TIME_CONFINEMENT seconds"
echo " Memory confinement is 16384 MBytes"
echo " Number of cores is 4"
echo " Run identifier is r117-tall-167814496100659"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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