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

About the Execution of 2022-gold for DatabaseWithMutex-COL-20

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
16221.184 1800000.00 1527590.00 194944.60 [undef] Time out reached

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.r128-tall-167814505400654.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 gold2022
Input is DatabaseWithMutex-COL-20, examination is Liveness
Time confinement is 1800 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r128-tall-167814505400654
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 432K
-rw-r--r-- 1 mcc users 7.6K Feb 25 13:55 CTLCardinality.txt
-rw-r--r-- 1 mcc users 73K Feb 25 13:55 CTLCardinality.xml
-rw-r--r-- 1 mcc users 5.4K Feb 25 13:37 CTLFireability.txt
-rw-r--r-- 1 mcc users 42K Feb 25 13:37 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.2K Jan 29 11:40 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 3.6K Feb 25 15:56 LTLCardinality.txt
-rw-r--r-- 1 mcc users 21K 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 14:35 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 93K Feb 25 14:35 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 7.6K Feb 25 14:20 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 57K Feb 25 14:20 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 38K 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 1678179675513

Running Version 202205111006
[2023-03-07 09:01:16] [INFO ] Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, Liveness, -spotpath, /home/mcc/BenchKit/bin//..//ltlfilt, -z3path, /home/mcc/BenchKit/bin//..//z3/bin/z3, -yices2path, /home/mcc/BenchKit/bin//..//yices/bin/yices, -its, -ltsmin, -greatspnpath, /home/mcc/BenchKit/bin//..//greatspn/, -order, META, -manyOrder, -smt, -timeout, 1800]
[2023-03-07 09:01:16] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2023-03-07 09:01:16] [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-07 09:01:17] [WARNING] Using fallBack plugin, rng conformance not checked
[2023-03-07 09:01:17] [INFO ] Load time of PNML (colored model parsed with PNMLFW) : 555 ms
[2023-03-07 09:01:17] [INFO ] Imported 11 HL places and 8 HL transitions for a total of 3260 PT places and 3200.0 transition bindings in 17 ms.
[2023-03-07 09:01:17] [INFO ] Built PT skeleton of HLPN with 11 places and 8 transitions 22 arcs in 5 ms.
[2023-03-07 09:01:17] [INFO ] Skeletonized 0 HLPN properties in 0 ms.
[2023-03-07 09:01:17] [INFO ] Unfolded HLPN to a Petri net with 3260 places and 3200 transitions 23200 arcs in 72 ms.
[2023-03-07 09:01:17] [INFO ] Unfolded 0 HLPN properties in 0 ms.
[2023-03-07 09:01:17] [INFO ] Unfolded HLPN to a Petri net with 3260 places and 3200 transitions 23200 arcs in 30 ms.
[2023-03-07 09:01:17] [INFO ] Unfolded 8 HLPN properties in 1 ms.
[2023-03-07 09:01:17] [INFO ] Reduced 380 identical enabling conditions.
[2023-03-07 09:01:17] [INFO ] Built PT skeleton of HLPN with 11 places and 8 transitions 22 arcs in 0 ms.
[2023-03-07 09:01:17] [INFO ] Skeletonized 8 HLPN properties in 0 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-07 09:01:17] [INFO ] Unfolded HLPN to a Petri net with 3260 places and 3200 transitions 23200 arcs in 38 ms.
[2023-03-07 09:01:17] [INFO ] Unfolded 8 HLPN properties in 1 ms.
[2023-03-07 09:01:17] [INFO ] Reduced 380 identical enabling conditions.
Built sparse matrix representations for Structural reductions in 9 ms.25257KB memory used
Starting structural reductions in DEADLOCKS mode, iteration 0 : 3260/3260 places, 3200/3200 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 174 ms. Remains 3260 /3260 variables (removed 0) and now considering 3200/3200 (removed 0) transitions.
Finished structural reductions, in 1 iterations. Remains : 3260/3260 places, 3200/3200 transitions.
Starting structural reductions in DEADLOCKS mode, iteration 0 : 3260/3260 places, 3200/3200 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 77 ms. Remains 3260 /3260 variables (removed 0) and now considering 3200/3200 (removed 0) transitions.
// Phase 1: matrix 3200 rows 3260 cols
[2023-03-07 09:01:18] [INFO ] Computed 460 place invariants in 162 ms
[2023-03-07 09:01:18] [INFO ] Implicit Places using invariants in 943 ms returned []
// Phase 1: matrix 3200 rows 3260 cols
[2023-03-07 09:01:18] [INFO ] Computed 460 place invariants in 94 ms
[2023-03-07 09:01:21] [INFO ] Implicit Places using invariants and state equation in 2160 ms returned []
Implicit Place search using SMT with State Equation took 3131 ms to find 0 implicit places.
[2023-03-07 09:01:21] [INFO ] Redundant transitions in 232 ms returned []
// Phase 1: matrix 3200 rows 3260 cols
[2023-03-07 09:01:21] [INFO ] Computed 460 place invariants in 43 ms
[2023-03-07 09:01:23] [INFO ] Dead Transitions using invariants and state equation in 2617 ms found 0 transitions.
Finished structural reductions, in 1 iterations. Remains : 3260/3260 places, 3200/3200 transitions.
Random walk for 1250000 steps, including 0 resets, run took 13201 ms (no deadlock found). (steps per millisecond=94 )
Random directed walk for 1250017 steps, including 0 resets, run took 8117 ms (no deadlock found). (steps per millisecond=153 )
// Phase 1: matrix 3200 rows 3260 cols
[2023-03-07 09:01:45] [INFO ] Computed 460 place invariants in 46 ms
[2023-03-07 09:01:46] [INFO ] [Real]Absence check using 59 positive place invariants in 106 ms returned sat
[2023-03-07 09:01:49] [INFO ] [Real]Absence check using 59 positive and 401 generalized place invariants in 3103 ms returned unsat
[2023-03-07 09:01:49] [INFO ] Unfolded HLPN to a Petri net with 3260 places and 3200 transitions 23200 arcs in 15 ms.
[2023-03-07 09:01:49] [INFO ] Unfolded 8 HLPN properties in 1 ms.
Initial state reduction rules removed 1 formulas.
Finished random walk after 726 steps, including 0 resets, run visited all 7 properties in 67 ms. (steps per millisecond=10 )
Able to resolve query QuasiLiveness after proving 8 properties.
[2023-03-07 09:01:50] [INFO ] Flatten gal took : 521 ms
[2023-03-07 09:01:50] [INFO ] Flatten gal took : 350 ms
[2023-03-07 09:01:50] [INFO ] Time to serialize gal into /tmp/CTLFireability5996227479438690161.gal : 55 ms
[2023-03-07 09:01:50] [INFO ] Time to serialize properties into /tmp/CTLFireability14243649630584801059.ctl : 21 ms
Invoking ITS tools like this :cd /home/mcc/execution;'/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202205111006/bin/its-ctl-linux64' '--gc-threshold' '2000000' '--quiet' '-i' '/tmp/CTLFireability5996227479438690161.gal' '-t' 'CGAL' '-ctl' '/tmp/CTLFireability14243649630584801059.ctl' '--gen-order' 'FOLLOW'

its-ctl command run as :

/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202205111006/bin/its-ctl-linux64 --gc-threshold 2000000 --quiet -i /tmp/C...275
No direction supplied, using forward translation only.
Parsed 8 CTL formulae.
Detected timeout of ITS tools.
[2023-03-07 09:01:54] [INFO ] Flatten gal took : 321 ms
[2023-03-07 09:01:54] [INFO ] Applying decomposition
[2023-03-07 09:01:54] [INFO ] Flatten gal took : 271 ms
Converted graph to binary with : '/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.louvain.binaries_1.0.0.202205111006/bin/convert-linux64' '-i' '/tmp/graph8142627518057777058.txt' '-o' '/tmp/graph8142627518057777058.bin' '-w' '/tmp/graph8142627518057777058.weights'
Built communities with : '/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.louvain.binaries_1.0.0.202205111006/bin/louvain-linux64' '/tmp/graph8142627518057777058.bin' '-l' '-1' '-v' '-w' '/tmp/graph8142627518057777058.weights' '-q' '0' '-e' '0.001'
[2023-03-07 09:01:55] [INFO ] Decomposing Gal with order
[2023-03-07 09:01:55] [INFO ] Rewriting arrays to variables to allow decomposition.
[2023-03-07 09:01:56] [INFO ] Removed a total of 14780 redundant transitions.
[2023-03-07 09:01:56] [INFO ] Flatten gal took : 757 ms
[2023-03-07 09:01:57] [INFO ] Fuse similar labels procedure discarded/fused a total of 0 labels/synchronizations in 127 ms.
[2023-03-07 09:01:57] [INFO ] Time to serialize gal into /tmp/CTLFireability15496971351798701620.gal : 49 ms
[2023-03-07 09:01:57] [INFO ] Time to serialize properties into /tmp/CTLFireability3871513723809920384.ctl : 30 ms
Invoking ITS tools like this :cd /home/mcc/execution;'/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202205111006/bin/its-ctl-linux64' '--gc-threshold' '2000000' '--quiet' '-i' '/tmp/CTLFireability15496971351798701620.gal' '-t' 'CGAL' '-ctl' '/tmp/CTLFireability3871513723809920384.ctl'

its-ctl command run as :

/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202205111006/bin/its-ctl-linux64 --gc-threshold 2000000 --quiet -i /tmp/C...254
No direction supplied, using forward translation only.
Parsed 8 CTL formulae.
Detected timeout of ITS tools.
[2023-03-07 09:02:00] [INFO ] Flatten gal took : 255 ms
[2023-03-07 09:02:01] [INFO ] Flatten gal took : 252 ms
[2023-03-07 09:02:01] [INFO ] Time to serialize gal into /tmp/CTLFireability6023303372965753855.gal : 29 ms
[2023-03-07 09:02:01] [INFO ] Time to serialize properties into /tmp/CTLFireability12263221774714751687.ctl : 23 ms
Invoking ITS tools like this :cd /home/mcc/execution;'/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202205111006/bin/its-ctl-linux64' '--gc-threshold' '2000000' '--quiet' '-i' '/tmp/CTLFireability6023303372965753855.gal' '-t' 'CGAL' '-ctl' '/tmp/CTLFireability12263221774714751687.ctl' '--gen-order' 'FOLLOW'

its-ctl command run as :

/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202205111006/bin/its-ctl-linux64 --gc-threshold 2000000 --quiet -i /tmp/C...275
No direction supplied, using forward translation only.
Parsed 8 CTL formulae.
Detected timeout of ITS tools.
[2023-03-07 09:02:31] [INFO ] Flatten gal took : 254 ms
[2023-03-07 09:02:31] [INFO ] Applying decomposition
[2023-03-07 09:02:31] [INFO ] Flatten gal took : 290 ms
Converted graph to binary with : '/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.louvain.binaries_1.0.0.202205111006/bin/convert-linux64' '-i' '/tmp/graph4819020192354781009.txt' '-o' '/tmp/graph4819020192354781009.bin' '-w' '/tmp/graph4819020192354781009.weights'
Built communities with : '/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.louvain.binaries_1.0.0.202205111006/bin/louvain-linux64' '/tmp/graph4819020192354781009.bin' '-l' '-1' '-v' '-w' '/tmp/graph4819020192354781009.weights' '-q' '0' '-e' '0.001'
[2023-03-07 09:02:32] [INFO ] Decomposing Gal with order
[2023-03-07 09:02:32] [INFO ] Rewriting arrays to variables to allow decomposition.
[2023-03-07 09:02:33] [INFO ] Removed a total of 14780 redundant transitions.
[2023-03-07 09:02:33] [INFO ] Flatten gal took : 473 ms
[2023-03-07 09:02:34] [INFO ] Fuse similar labels procedure discarded/fused a total of 0 labels/synchronizations in 56 ms.
[2023-03-07 09:02:34] [INFO ] Time to serialize gal into /tmp/CTLFireability14023633022126294685.gal : 23 ms
[2023-03-07 09:02:34] [INFO ] Time to serialize properties into /tmp/CTLFireability11876501786369802617.ctl : 18 ms
Invoking ITS tools like this :cd /home/mcc/execution;'/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202205111006/bin/its-ctl-linux64' '--gc-threshold' '2000000' '--quiet' '-i' '/tmp/CTLFireability14023633022126294685.gal' '-t' 'CGAL' '-ctl' '/tmp/CTLFireability11876501786369802617.ctl'

its-ctl command run as :

/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202205111006/bin/its-ctl-linux64 --gc-threshold 2000000 --quiet -i /tmp/C...255
No direction supplied, using forward translation only.
Parsed 8 CTL formulae.
Detected timeout of ITS tools.
[2023-03-07 09:03:04] [INFO ] Flatten gal took : 249 ms
[2023-03-07 09:03:05] [INFO ] Flatten gal took : 248 ms
[2023-03-07 09:03:05] [INFO ] Time to serialize gal into /tmp/CTLFireability5147195408031542691.gal : 15 ms
[2023-03-07 09:03:05] [INFO ] Time to serialize properties into /tmp/CTLFireability8588554610655145506.ctl : 14 ms
Invoking ITS tools like this :cd /home/mcc/execution;'/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202205111006/bin/its-ctl-linux64' '--gc-threshold' '2000000' '--quiet' '-i' '/tmp/CTLFireability5147195408031542691.gal' '-t' 'CGAL' '-ctl' '/tmp/CTLFireability8588554610655145506.ctl' '--gen-order' 'FOLLOW'

its-ctl command run as :

/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202205111006/bin/its-ctl-linux64 --gc-threshold 2000000 --quiet -i /tmp/C...274
No direction supplied, using forward translation only.
Parsed 8 CTL formulae.
Detected timeout of ITS tools.
[2023-03-07 09:08:05] [INFO ] Flatten gal took : 245 ms
[2023-03-07 09:08:05] [INFO ] Applying decomposition
[2023-03-07 09:08:05] [INFO ] Flatten gal took : 248 ms
Converted graph to binary with : '/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.louvain.binaries_1.0.0.202205111006/bin/convert-linux64' '-i' '/tmp/graph2948478828073602002.txt' '-o' '/tmp/graph2948478828073602002.bin' '-w' '/tmp/graph2948478828073602002.weights'
Built communities with : '/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.louvain.binaries_1.0.0.202205111006/bin/louvain-linux64' '/tmp/graph2948478828073602002.bin' '-l' '-1' '-v' '-w' '/tmp/graph2948478828073602002.weights' '-q' '0' '-e' '0.001'
[2023-03-07 09:08:06] [INFO ] Decomposing Gal with order
[2023-03-07 09:08:06] [INFO ] Rewriting arrays to variables to allow decomposition.
[2023-03-07 09:08:07] [INFO ] Removed a total of 14780 redundant transitions.
[2023-03-07 09:08:07] [INFO ] Flatten gal took : 466 ms
[2023-03-07 09:08:07] [INFO ] Fuse similar labels procedure discarded/fused a total of 0 labels/synchronizations in 50 ms.
[2023-03-07 09:08:07] [INFO ] Time to serialize gal into /tmp/CTLFireability2380036600464981895.gal : 25 ms
[2023-03-07 09:08:07] [INFO ] Time to serialize properties into /tmp/CTLFireability17597369199911290891.ctl : 15 ms
Invoking ITS tools like this :cd /home/mcc/execution;'/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202205111006/bin/its-ctl-linux64' '--gc-threshold' '2000000' '--quiet' '-i' '/tmp/CTLFireability2380036600464981895.gal' '-t' 'CGAL' '-ctl' '/tmp/CTLFireability17597369199911290891.ctl'

its-ctl command run as :

/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202205111006/bin/its-ctl-linux64 --gc-threshold 2000000 --quiet -i /tmp/C...254
No direction supplied, using forward translation only.
Parsed 8 CTL formulae.
Detected timeout of ITS tools.
[2023-03-07 09:13:08] [INFO ] Flatten gal took : 303 ms
[2023-03-07 09:13:08] [INFO ] Flatten gal took : 240 ms
[2023-03-07 09:13:08] [INFO ] Time to serialize gal into /tmp/CTLFireability16973002852368153467.gal : 15 ms
[2023-03-07 09:13:08] [INFO ] Time to serialize properties into /tmp/CTLFireability17328003291319162386.ctl : 10 ms
Invoking ITS tools like this :cd /home/mcc/execution;'/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202205111006/bin/its-ctl-linux64' '--gc-threshold' '2000000' '--quiet' '-i' '/tmp/CTLFireability16973002852368153467.gal' '-t' 'CGAL' '-ctl' '/tmp/CTLFireability17328003291319162386.ctl' '--gen-order' 'FOLLOW'

its-ctl command run as :

/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202205111006/bin/its-ctl-linux64 --gc-threshold 2000000 --quiet -i /tmp/C...276
No direction supplied, using forward translation only.
Parsed 8 CTL formulae.

BK_TIME_CONFINEMENT_REACHED

--------------------
content from stderr:

+ export LANG=C
+ LANG=C
+ export BINDIR=/home/mcc/BenchKit/bin//../
+ BINDIR=/home/mcc/BenchKit/bin//../
++ pwd
+ export MODEL=/home/mcc/execution
+ MODEL=/home/mcc/execution
+ [[ Liveness = StateSpace ]]
+ /home/mcc/BenchKit/bin//..//runeclipse.sh /home/mcc/execution Liveness -its -ltsmin -greatspnpath /home/mcc/BenchKit/bin//..//greatspn/ -order META -manyOrder -smt -timeout 1800
+ ulimit -s 65536
+ export PYTHONPATH=/usr/lib/python3.9/site-packages/
+ PYTHONPATH=/usr/lib/python3.9/site-packages/
+ export LD_LIBRARY_PATH=/usr/local/lib:
+ LD_LIBRARY_PATH=/usr/local/lib:
+ [[ -z '' ]]
+ export LTSMIN_MEM_SIZE=8589934592
+ LTSMIN_MEM_SIZE=8589934592
++ sed s/.jar//
++ perl -pe 's/.*\.//g'
++ ls /home/mcc/BenchKit/bin//..//itstools/plugins/fr.lip6.move.gal.application.pnmcc_1.0.0.202205111006.jar
+ VERSION=202205111006
+ echo 'Running Version 202205111006'
+ /home/mcc/BenchKit/bin//..//itstools/its-tools -data @none -pnfolder /home/mcc/execution -examination Liveness -spotpath /home/mcc/BenchKit/bin//..//ltlfilt -z3path /home/mcc/BenchKit/bin//..//z3/bin/z3 -yices2path /home/mcc/BenchKit/bin//..//yices/bin/yices -its -ltsmin -greatspnpath /home/mcc/BenchKit/bin//..//greatspn/ -order META -manyOrder -smt -timeout 1800 -vmargs -Dosgi.locking=none -Declipse.stateSaveDelayInterval=-1 -Dosgi.configuration.area=@none -Xss128m -Xms40m -Xmx8192m

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-20"
export BK_EXAMINATION="Liveness"
export BK_TOOL="gold2022"
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 gold2022"
echo " Input is DatabaseWithMutex-COL-20, 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 r128-tall-167814505400654"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

tar xzf /home/mcc/BenchKit/INPUTS/DatabaseWithMutex-COL-20.tgz
mv DatabaseWithMutex-COL-20 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 ;