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

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

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
16218.995 1800000.00 1532438.00 193672.10 [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-167814505400649.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-10, examination is Liveness
Time confinement is 1800 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r128-tall-167814505400649
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 472K
-rw-r--r-- 1 mcc users 7.7K Feb 25 13:24 CTLCardinality.txt
-rw-r--r-- 1 mcc users 74K Feb 25 13:24 CTLCardinality.xml
-rw-r--r-- 1 mcc users 6.7K Feb 25 13:20 CTLFireability.txt
-rw-r--r-- 1 mcc users 58K Feb 25 13:20 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.2K Jan 29 11:40 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 3.8K Feb 25 15:56 LTLCardinality.txt
-rw-r--r-- 1 mcc users 23K 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 19K Feb 25 15:56 LTLFireability.xml
-rw-r--r-- 1 mcc users 13K Feb 25 13:36 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 120K Feb 25 13:36 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 8.3K Feb 25 13:31 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 63K Feb 25 13:31 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 27K 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 1678179644498

Running Version 202205111006
[2023-03-07 09:00:45] [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:00:45] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2023-03-07 09:00:45] [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:00:46] [WARNING] Using fallBack plugin, rng conformance not checked
[2023-03-07 09:00:46] [INFO ] Load time of PNML (colored model parsed with PNMLFW) : 556 ms
[2023-03-07 09:00:46] [INFO ] Imported 11 HL places and 8 HL transitions for a total of 830 PT places and 800.0 transition bindings in 17 ms.
[2023-03-07 09:00:46] [INFO ] Built PT skeleton of HLPN with 11 places and 8 transitions 22 arcs in 5 ms.
[2023-03-07 09:00:46] [INFO ] Skeletonized 0 HLPN properties in 0 ms.
[2023-03-07 09:00:46] [INFO ] Unfolded HLPN to a Petri net with 830 places and 800 transitions 3800 arcs in 33 ms.
[2023-03-07 09:00:46] [INFO ] Unfolded 0 HLPN properties in 0 ms.
[2023-03-07 09:00:46] [INFO ] Unfolded HLPN to a Petri net with 830 places and 800 transitions 3800 arcs in 8 ms.
[2023-03-07 09:00:46] [INFO ] Unfolded 8 HLPN properties in 0 ms.
[2023-03-07 09:00:46] [INFO ] Reduced 90 identical enabling conditions.
[2023-03-07 09:00:46] [INFO ] Built PT skeleton of HLPN with 11 places and 8 transitions 22 arcs in 1 ms.
[2023-03-07 09:00:46] [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:00:46] [INFO ] Unfolded HLPN to a Petri net with 830 places and 800 transitions 3800 arcs in 10 ms.
[2023-03-07 09:00:46] [INFO ] Unfolded 8 HLPN properties in 0 ms.
[2023-03-07 09:00:46] [INFO ] Reduced 90 identical enabling conditions.
Built sparse matrix representations for Structural reductions in 3 ms.11996KB memory used
Starting structural reductions in DEADLOCKS mode, iteration 0 : 830/830 places, 800/800 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 52 ms. Remains 830 /830 variables (removed 0) and now considering 800/800 (removed 0) transitions.
Finished structural reductions, in 1 iterations. Remains : 830/830 places, 800/800 transitions.
Starting structural reductions in DEADLOCKS mode, iteration 0 : 830/830 places, 800/800 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 33 ms. Remains 830 /830 variables (removed 0) and now considering 800/800 (removed 0) transitions.
// Phase 1: matrix 800 rows 830 cols
[2023-03-07 09:00:46] [INFO ] Computed 130 place invariants in 41 ms
[2023-03-07 09:00:46] [INFO ] Implicit Places using invariants in 345 ms returned []
// Phase 1: matrix 800 rows 830 cols
[2023-03-07 09:00:47] [INFO ] Computed 130 place invariants in 33 ms
[2023-03-07 09:00:47] [INFO ] Implicit Places using invariants and state equation in 633 ms returned []
Implicit Place search using SMT with State Equation took 1004 ms to find 0 implicit places.
[2023-03-07 09:00:47] [INFO ] Redundant transitions in 48 ms returned []
// Phase 1: matrix 800 rows 830 cols
[2023-03-07 09:00:47] [INFO ] Computed 130 place invariants in 16 ms
[2023-03-07 09:00:48] [INFO ] Dead Transitions using invariants and state equation in 521 ms found 0 transitions.
Finished structural reductions, in 1 iterations. Remains : 830/830 places, 800/800 transitions.
Random walk for 1250000 steps, including 0 resets, run took 4562 ms (no deadlock found). (steps per millisecond=274 )
Random directed walk for 1250004 steps, including 0 resets, run took 3334 ms (no deadlock found). (steps per millisecond=374 )
// Phase 1: matrix 800 rows 830 cols
[2023-03-07 09:00:56] [INFO ] Computed 130 place invariants in 17 ms
[2023-03-07 09:00:56] [INFO ] [Real]Absence check using 29 positive place invariants in 17 ms returned sat
[2023-03-07 09:00:56] [INFO ] [Real]Absence check using 29 positive and 101 generalized place invariants in 338 ms returned unsat
[2023-03-07 09:00:56] [INFO ] Unfolded HLPN to a Petri net with 830 places and 800 transitions 3800 arcs in 10 ms.
[2023-03-07 09:00:56] [INFO ] Unfolded 8 HLPN properties in 0 ms.
Initial state reduction rules removed 1 formulas.
Finished random walk after 230 steps, including 0 resets, run visited all 7 properties in 25 ms. (steps per millisecond=9 )
Able to resolve query QuasiLiveness after proving 8 properties.
[2023-03-07 09:00:56] [INFO ] Flatten gal took : 144 ms
[2023-03-07 09:00:57] [INFO ] Flatten gal took : 111 ms
[2023-03-07 09:00:57] [INFO ] Time to serialize gal into /tmp/CTLFireability11648540672303835680.gal : 25 ms
[2023-03-07 09:00:57] [INFO ] Time to serialize properties into /tmp/CTLFireability17085671186626341870.ctl : 7 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/CTLFireability11648540672303835680.gal' '-t' 'CGAL' '-ctl' '/tmp/CTLFireability17085671186626341870.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.
Detected timeout of ITS tools.
[2023-03-07 09:01:00] [INFO ] Flatten gal took : 70 ms
[2023-03-07 09:01:00] [INFO ] Applying decomposition
[2023-03-07 09:01:00] [INFO ] Flatten gal took : 72 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/graph6935768459468907073.txt' '-o' '/tmp/graph6935768459468907073.bin' '-w' '/tmp/graph6935768459468907073.weights'
Built communities with : '/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.louvain.binaries_1.0.0.202205111006/bin/louvain-linux64' '/tmp/graph6935768459468907073.bin' '-l' '-1' '-v' '-w' '/tmp/graph6935768459468907073.weights' '-q' '0' '-e' '0.001'
[2023-03-07 09:01:00] [INFO ] Decomposing Gal with order
[2023-03-07 09:01:00] [INFO ] Rewriting arrays to variables to allow decomposition.
[2023-03-07 09:01:00] [INFO ] Removed a total of 1690 redundant transitions.
[2023-03-07 09:01:00] [INFO ] Flatten gal took : 171 ms
[2023-03-07 09:01:00] [INFO ] Fuse similar labels procedure discarded/fused a total of 0 labels/synchronizations in 20 ms.
[2023-03-07 09:01:00] [INFO ] Time to serialize gal into /tmp/CTLFireability13303873295832674719.gal : 17 ms
[2023-03-07 09:01:00] [INFO ] Time to serialize properties into /tmp/CTLFireability6751018177906096003.ctl : 6 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/CTLFireability13303873295832674719.gal' '-t' 'CGAL' '-ctl' '/tmp/CTLFireability6751018177906096003.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:01:04] [INFO ] Flatten gal took : 59 ms
[2023-03-07 09:01:04] [INFO ] Flatten gal took : 49 ms
[2023-03-07 09:01:04] [INFO ] Time to serialize gal into /tmp/CTLFireability12569700035102942466.gal : 6 ms
[2023-03-07 09:01:04] [INFO ] Time to serialize properties into /tmp/CTLFireability15405555711363736202.ctl : 3 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/CTLFireability12569700035102942466.gal' '-t' 'CGAL' '-ctl' '/tmp/CTLFireability15405555711363736202.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.
Detected timeout of ITS tools.
[2023-03-07 09:01:34] [INFO ] Flatten gal took : 49 ms
[2023-03-07 09:01:34] [INFO ] Applying decomposition
[2023-03-07 09:01:34] [INFO ] Flatten gal took : 47 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/graph4452688429792623364.txt' '-o' '/tmp/graph4452688429792623364.bin' '-w' '/tmp/graph4452688429792623364.weights'
Built communities with : '/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.louvain.binaries_1.0.0.202205111006/bin/louvain-linux64' '/tmp/graph4452688429792623364.bin' '-l' '-1' '-v' '-w' '/tmp/graph4452688429792623364.weights' '-q' '0' '-e' '0.001'
[2023-03-07 09:01:34] [INFO ] Decomposing Gal with order
[2023-03-07 09:01:34] [INFO ] Rewriting arrays to variables to allow decomposition.
[2023-03-07 09:01:34] [INFO ] Removed a total of 1690 redundant transitions.
[2023-03-07 09:01:34] [INFO ] Flatten gal took : 100 ms
[2023-03-07 09:01:34] [INFO ] Fuse similar labels procedure discarded/fused a total of 0 labels/synchronizations in 12 ms.
[2023-03-07 09:01:34] [INFO ] Time to serialize gal into /tmp/CTLFireability1482342424714085024.gal : 9 ms
[2023-03-07 09:01:34] [INFO ] Time to serialize properties into /tmp/CTLFireability17924878536025298076.ctl : 5 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/CTLFireability1482342424714085024.gal' '-t' 'CGAL' '-ctl' '/tmp/CTLFireability17924878536025298076.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:04] [INFO ] Flatten gal took : 47 ms
[2023-03-07 09:02:04] [INFO ] Flatten gal took : 46 ms
[2023-03-07 09:02:04] [INFO ] Time to serialize gal into /tmp/CTLFireability15504670777903703118.gal : 6 ms
[2023-03-07 09:02:04] [INFO ] Time to serialize properties into /tmp/CTLFireability2015849241785940849.ctl : 3 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/CTLFireability15504670777903703118.gal' '-t' 'CGAL' '-ctl' '/tmp/CTLFireability2015849241785940849.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:07:05] [INFO ] Flatten gal took : 46 ms
[2023-03-07 09:07:05] [INFO ] Applying decomposition
[2023-03-07 09:07:05] [INFO ] Flatten gal took : 45 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/graph13722994501021600989.txt' '-o' '/tmp/graph13722994501021600989.bin' '-w' '/tmp/graph13722994501021600989.weights'
Built communities with : '/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.louvain.binaries_1.0.0.202205111006/bin/louvain-linux64' '/tmp/graph13722994501021600989.bin' '-l' '-1' '-v' '-w' '/tmp/graph13722994501021600989.weights' '-q' '0' '-e' '0.001'
[2023-03-07 09:07:05] [INFO ] Decomposing Gal with order
[2023-03-07 09:07:05] [INFO ] Rewriting arrays to variables to allow decomposition.
[2023-03-07 09:07:05] [INFO ] Removed a total of 1689 redundant transitions.
[2023-03-07 09:07:05] [INFO ] Flatten gal took : 92 ms
[2023-03-07 09:07:05] [INFO ] Fuse similar labels procedure discarded/fused a total of 0 labels/synchronizations in 11 ms.
[2023-03-07 09:07:05] [INFO ] Time to serialize gal into /tmp/CTLFireability15146262814378981384.gal : 11 ms
[2023-03-07 09:07:05] [INFO ] Time to serialize properties into /tmp/CTLFireability14652296732556234664.ctl : 5 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/CTLFireability15146262814378981384.gal' '-t' 'CGAL' '-ctl' '/tmp/CTLFireability14652296732556234664.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:12:05] [INFO ] Flatten gal took : 44 ms
[2023-03-07 09:12:05] [INFO ] Flatten gal took : 42 ms
[2023-03-07 09:12:05] [INFO ] Time to serialize gal into /tmp/CTLFireability18170753117122559477.gal : 4 ms
[2023-03-07 09:12:05] [INFO ] Time to serialize properties into /tmp/CTLFireability15200205536330989488.ctl : 4 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/CTLFireability18170753117122559477.gal' '-t' 'CGAL' '-ctl' '/tmp/CTLFireability15200205536330989488.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-10"
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-10, 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-167814505400649"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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