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

About the Execution of 2022-gold for NeoElection-COL-7

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
222.367 6116.00 12509.00 174.80 42 7 49 0 0 7 0 0 0 7 7 7 0 7 42 7 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.r287-smll-167863553700020.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 NeoElection-COL-7, examination is UpperBounds
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r287-smll-167863553700020
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 616K
-rw-r--r-- 1 mcc users 9.5K Feb 26 17:34 CTLCardinality.txt
-rw-r--r-- 1 mcc users 84K Feb 26 17:34 CTLCardinality.xml
-rw-r--r-- 1 mcc users 8.8K Feb 26 16:52 CTLFireability.txt
-rw-r--r-- 1 mcc users 72K Feb 26 16:52 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 16:28 LTLCardinality.txt
-rw-r--r-- 1 mcc users 26K Feb 25 16:28 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.8K Feb 25 16:28 LTLFireability.txt
-rw-r--r-- 1 mcc users 17K Feb 25 16:28 LTLFireability.xml
-rw-r--r-- 1 mcc users 14K Feb 26 19:10 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 115K Feb 26 19:10 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 14K Feb 26 18:42 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 89K Feb 26 18:42 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.8K Feb 25 16:28 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.8K Feb 25 16:28 UpperBounds.xml
-rw-r--r-- 1 mcc users 5 Mar 5 18:23 equiv_pt
-rw-r--r-- 1 mcc users 2 Mar 5 18:23 instance
-rw-r--r-- 1 mcc users 5 Mar 5 18:23 iscolored
-rw-r--r-- 1 mcc users 108K 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 positive values
NUM_VECTOR

here is the order used to build the result vector(from text file)
FORMULA_NAME NeoElection-COL-7-UpperBounds-00
FORMULA_NAME NeoElection-COL-7-UpperBounds-01
FORMULA_NAME NeoElection-COL-7-UpperBounds-02
FORMULA_NAME NeoElection-COL-7-UpperBounds-03
FORMULA_NAME NeoElection-COL-7-UpperBounds-04
FORMULA_NAME NeoElection-COL-7-UpperBounds-05
FORMULA_NAME NeoElection-COL-7-UpperBounds-06
FORMULA_NAME NeoElection-COL-7-UpperBounds-07
FORMULA_NAME NeoElection-COL-7-UpperBounds-08
FORMULA_NAME NeoElection-COL-7-UpperBounds-09
FORMULA_NAME NeoElection-COL-7-UpperBounds-10
FORMULA_NAME NeoElection-COL-7-UpperBounds-11
FORMULA_NAME NeoElection-COL-7-UpperBounds-12
FORMULA_NAME NeoElection-COL-7-UpperBounds-13
FORMULA_NAME NeoElection-COL-7-UpperBounds-14
FORMULA_NAME NeoElection-COL-7-UpperBounds-15

=== Now, execution of the tool begins

BK_START 1678917534736

Running Version 202205111006
[2023-03-15 21:58:56] [INFO ] Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, UpperBounds, -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, 3600]
[2023-03-15 21:58:57] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2023-03-15 21:58:57] [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-15 21:58:57] [WARNING] Using fallBack plugin, rng conformance not checked
[2023-03-15 21:58:58] [INFO ] Load time of PNML (colored model parsed with PNMLFW) : 1418 ms
[2023-03-15 21:58:58] [INFO ] Detected 6 constant HL places corresponding to 3552 PT places.
[2023-03-15 21:58:58] [INFO ] Imported 18 HL places and 22 HL transitions for a total of 7128 PT places and 22272.0 transition bindings in 58 ms.
Parsed 16 properties from file /home/mcc/execution/UpperBounds.xml in 12 ms.
[2023-03-15 21:58:58] [INFO ] Built PT skeleton of HLPN with 18 places and 22 transitions 98 arcs in 11 ms.
[2023-03-15 21:58:58] [INFO ] Skeletonized 16 HLPN properties in 0 ms.
Deduced a syphon composed of 8 places in 0 ms
Reduce places removed 12 places and 7 transitions.
Ensure Unique test removed 8 transitions
Reduce redundant transitions removed 8 transitions.
// Phase 1: matrix 7 rows 6 cols
[2023-03-15 21:58:58] [INFO ] Computed 1 place invariants in 7 ms
FORMULA NeoElection-COL-7-UpperBounds-14 42 TECHNIQUES TOPOLOGICAL CPN_APPROX INITIAL_STATE
FORMULA NeoElection-COL-7-UpperBounds-12 0 TECHNIQUES TOPOLOGICAL CPN_APPROX INITIAL_STATE
FORMULA NeoElection-COL-7-UpperBounds-11 7 TECHNIQUES TOPOLOGICAL CPN_APPROX INITIAL_STATE
FORMULA NeoElection-COL-7-UpperBounds-08 0 TECHNIQUES TOPOLOGICAL CPN_APPROX INITIAL_STATE
FORMULA NeoElection-COL-7-UpperBounds-07 0 TECHNIQUES TOPOLOGICAL CPN_APPROX INITIAL_STATE
FORMULA NeoElection-COL-7-UpperBounds-06 0 TECHNIQUES TOPOLOGICAL CPN_APPROX INITIAL_STATE
FORMULA NeoElection-COL-7-UpperBounds-05 7 TECHNIQUES TOPOLOGICAL CPN_APPROX INITIAL_STATE
FORMULA NeoElection-COL-7-UpperBounds-04 0 TECHNIQUES TOPOLOGICAL CPN_APPROX INITIAL_STATE
FORMULA NeoElection-COL-7-UpperBounds-03 0 TECHNIQUES TOPOLOGICAL CPN_APPROX INITIAL_STATE
FORMULA NeoElection-COL-7-UpperBounds-02 49 TECHNIQUES TOPOLOGICAL CPN_APPROX INITIAL_STATE
FORMULA NeoElection-COL-7-UpperBounds-01 7 TECHNIQUES TOPOLOGICAL CPN_APPROX INITIAL_STATE
// Phase 1: matrix 7 rows 6 cols
[2023-03-15 21:58:58] [INFO ] Computed 1 place invariants in 1 ms
[2023-03-15 21:58:59] [INFO ] [Real]Absence check using 1 positive place invariants in 4 ms returned sat
[2023-03-15 21:58:59] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2023-03-15 21:58:59] [INFO ] [Real]Absence check using state equation in 16 ms returned sat
[2023-03-15 21:58:59] [INFO ] Solution in real domain found non-integer solution.
[2023-03-15 21:58:59] [INFO ] [Nat]Absence check using 1 positive place invariants in 1 ms returned sat
[2023-03-15 21:58:59] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2023-03-15 21:58:59] [INFO ] [Nat]Absence check using state equation in 11 ms returned sat
[2023-03-15 21:58:59] [INFO ] State equation strengthened by 2 read => feed constraints.
[2023-03-15 21:58:59] [INFO ] [Nat]Added 2 Read/Feed constraints in 2 ms returned sat
[2023-03-15 21:58:59] [INFO ] Computed and/alt/rep : 6/10/6 causal constraints (skipped 0 transitions) in 4 ms.
[2023-03-15 21:58:59] [INFO ] Added : 1 causal constraints over 1 iterations in 47 ms. Result :sat
Minimization took 6 ms.
[2023-03-15 21:58:59] [INFO ] [Real]Absence check using 1 positive place invariants in 1 ms returned sat
[2023-03-15 21:58:59] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2023-03-15 21:58:59] [INFO ] [Real]Absence check using state equation in 14 ms returned sat
[2023-03-15 21:58:59] [INFO ] [Real]Added 2 Read/Feed constraints in 1 ms returned sat
[2023-03-15 21:58:59] [INFO ] Solution in real domain found non-integer solution.
[2023-03-15 21:58:59] [INFO ] [Nat]Absence check using 1 positive place invariants in 1 ms returned sat
[2023-03-15 21:58:59] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2023-03-15 21:58:59] [INFO ] [Nat]Absence check using state equation in 16 ms returned sat
[2023-03-15 21:58:59] [INFO ] [Nat]Added 2 Read/Feed constraints in 1 ms returned sat
[2023-03-15 21:58:59] [INFO ] Computed and/alt/rep : 6/10/6 causal constraints (skipped 0 transitions) in 7 ms.
[2023-03-15 21:58:59] [INFO ] Added : 0 causal constraints over 0 iterations in 18 ms. Result :sat
Minimization took 7 ms.
[2023-03-15 21:58:59] [INFO ] [Real]Absence check using 1 positive place invariants in 3 ms returned sat
[2023-03-15 21:58:59] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2023-03-15 21:58:59] [INFO ] [Real]Absence check using state equation in 14 ms returned sat
[2023-03-15 21:58:59] [INFO ] Solution in real domain found non-integer solution.
[2023-03-15 21:58:59] [INFO ] [Nat]Absence check using 1 positive place invariants in 1 ms returned sat
[2023-03-15 21:58:59] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2023-03-15 21:58:59] [INFO ] [Nat]Absence check using state equation in 8 ms returned sat
[2023-03-15 21:58:59] [INFO ] [Nat]Added 2 Read/Feed constraints in 2 ms returned sat
[2023-03-15 21:58:59] [INFO ] Computed and/alt/rep : 6/10/6 causal constraints (skipped 0 transitions) in 2 ms.
[2023-03-15 21:58:59] [INFO ] Added : 1 causal constraints over 1 iterations in 26 ms. Result :sat
Minimization took 5 ms.
[2023-03-15 21:58:59] [INFO ] [Real]Absence check using 1 positive place invariants in 1 ms returned sat
[2023-03-15 21:58:59] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2023-03-15 21:58:59] [INFO ] [Real]Absence check using state equation in 7 ms returned sat
[2023-03-15 21:58:59] [INFO ] Solution in real domain found non-integer solution.
[2023-03-15 21:58:59] [INFO ] [Nat]Absence check using 1 positive place invariants in 1 ms returned sat
[2023-03-15 21:58:59] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2023-03-15 21:58:59] [INFO ] [Nat]Absence check using state equation in 7 ms returned sat
[2023-03-15 21:58:59] [INFO ] [Nat]Added 2 Read/Feed constraints in 1 ms returned sat
[2023-03-15 21:58:59] [INFO ] Computed and/alt/rep : 6/10/6 causal constraints (skipped 0 transitions) in 3 ms.
[2023-03-15 21:58:59] [INFO ] Added : 6 causal constraints over 3 iterations in 16 ms. Result :sat
Minimization took 7 ms.
[2023-03-15 21:58:59] [INFO ] [Real]Absence check using 1 positive place invariants in 1 ms returned sat
[2023-03-15 21:58:59] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2023-03-15 21:58:59] [INFO ] [Real]Absence check using state equation in 7 ms returned sat
[2023-03-15 21:58:59] [INFO ] Solution in real domain found non-integer solution.
[2023-03-15 21:58:59] [INFO ] [Nat]Absence check using 1 positive place invariants in 1 ms returned sat
[2023-03-15 21:58:59] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2023-03-15 21:58:59] [INFO ] [Nat]Absence check using state equation in 8 ms returned sat
[2023-03-15 21:58:59] [INFO ] [Nat]Added 2 Read/Feed constraints in 1 ms returned sat
[2023-03-15 21:58:59] [INFO ] Computed and/alt/rep : 6/10/6 causal constraints (skipped 0 transitions) in 3 ms.
[2023-03-15 21:58:59] [INFO ] Added : 5 causal constraints over 2 iterations in 18 ms. Result :sat
Minimization took 5 ms.
Current structural bounds on expressions (after SMT) : [-1, 7, 7, 7, 7]
Domain [M(8), POS(7), M(8)] of place P_masterList breaks symmetries in sort M
Arc [15:1*[$m, (MOD (ADD $i 1) 7)]] contains successor/predecessor on variables of sort POS
Symmetric sort wr.t. initial and guards and successors and join/free detected :MT
Arc [9:1*[$m, $s, 3, 0]] contains constants of sort MT
Transition T_poll__handleAI1 : constants on arcs in [[9:1*[$m, $s, 3, 0]]] introduces in MT(6) partition with 1 elements that refines current partition to 2 subsets.
Arc [9:1*[$m, $s, 3, 0]] contains constants of sort MT
Transition T_poll__handleAI2 : constants on arcs in [[9:1*[$m, $s, 3, 0]]] introduces in MT(6) partition with 1 elements that refines current partition to 2 subsets.
Arc [9:1*[$m, $s, 4, 0]] contains constants of sort MT
Transition T_poll__handleAnnP1 : constants on arcs in [[9:1*[$m, $s, 4, 0]]] introduces in MT(6) partition with 1 elements that refines current partition to 3 subsets.
Arc [9:1*[$m, $s, 4, 0]] contains constants of sort MT
Transition T_poll__handleAnnP2 : constants on arcs in [[9:1*[$m, $s, 4, 0]]] introduces in MT(6) partition with 1 elements that refines current partition to 3 subsets.
Arc [9:1*[$m, $s, 1, 0]] contains constants of sort MT
Transition T_poll__handleAnsP1 : constants on arcs in [[9:1*[$m, $s, 1, 0]]] introduces in MT(6) partition with 1 elements that refines current partition to 4 subsets.
Arc [9:1*[$s, $m, 2, 0]] contains constants of sort MT
Transition T_poll__handleAnsP1 : constants on arcs in [[9:1*[$s, $m, 2, 0]]] introduces in MT(6) partition with 1 elements that refines current partition to 5 subsets.
Arc [9:1*[$m, $s, 1, $p]] contains constants of sort MT
Transition T_poll__handleAnsP2 : constants on arcs in [[9:1*[$m, $s, 1, $p]]] introduces in MT(6) partition with 1 elements that refines current partition to 5 subsets.
Arc [9:1*[$s, $m, 2, 0]] contains constants of sort MT
Transition T_poll__handleAnsP2 : constants on arcs in [[9:1*[$s, $m, 2, 0]]] introduces in MT(6) partition with 1 elements that refines current partition to 5 subsets.
Arc [9:1*[$m, $s, 1, $p]] contains constants of sort MT
Transition T_poll__handleAnsP3 : constants on arcs in [[9:1*[$m, $s, 1, $p]]] introduces in MT(6) partition with 1 elements that refines current partition to 5 subsets.
Arc [11:1*[$m, $s, 1, $p]] contains constants of sort MT
Transition T_poll__handleAnsP4 : constants on arcs in [[11:1*[$m, $s, 1, $p]]] introduces in MT(6) partition with 1 elements that refines current partition to 5 subsets.
Arc [9:1*[$s, $m, 2, 0]] contains constants of sort MT
Transition T_poll__handleAnsP4 : constants on arcs in [[9:1*[$s, $m, 2, 0]]] introduces in MT(6) partition with 1 elements that refines current partition to 5 subsets.
Arc [9:1*[$m, $s, 0, 0]] contains constants of sort MT
Transition T_poll__handleAskP : constants on arcs in [[9:1*[$m, $s, 0, 0]]] introduces in MT(6) partition with 1 elements that refines current partition to 6 subsets.
Symmetric sort wr.t. initial and guards and successors and join/free detected :STAGE
Arc [16:1*[$m, 0]] contains constants of sort STAGE
Transition T_poll__iAmPrimary : constants on arcs in [[16:1*[$m, 0]]] introduces in STAGE(3) partition with 1 elements that refines current partition to 2 subsets.
Arc [16:1*[$m, 1]] contains constants of sort STAGE
Transition T_poll__iAmPrimary : constants on arcs in [[16:1*[$m, 1]]] introduces in STAGE(3) partition with 1 elements that refines current partition to 3 subsets.
Symmetric sort wr.t. initial and guards and successors and join/free detected :NEGSTEP
Arc [8:1*[$m, $r, 1]] contains constants of sort NEGSTEP
Transition T_poll__handleAI1 : constants on arcs in [[8:1*[$m, $r, 1]]] introduces in NEGSTEP(3) partition with 1 elements that refines current partition to 2 subsets.
Arc [8:1*[$m, $r, 2]] contains constants of sort NEGSTEP
Transition T_poll__handleAI1 : constants on arcs in [[8:1*[$m, $r, 2]]] introduces in NEGSTEP(3) partition with 1 elements that refines current partition to 3 subsets.
Symmetric sort wr.t. initial and guards and successors and join/free detected :BOOL
Arc [7:1*[$m, 0, $pm]] contains constants of sort BOOL
Transition T_poll__handleAI2 : constants on arcs in [[7:1*[$m, 0, $pm]]] introduces in BOOL(2) partition with 1 elements that refines current partition to 2 subsets.
[2023-03-15 21:59:00] [INFO ] Unfolded HLPN to a Petri net with 7128 places and 12460 transitions 70880 arcs in 378 ms.
[2023-03-15 21:59:00] [INFO ] Unfolded 5 HLPN properties in 1 ms.
Deduced a syphon composed of 6688 places in 64 ms
Reduce places removed 6737 places and 11850 transitions.
Reduce places removed 8 places and 0 transitions.
Incomplete random walk after 10000 steps, including 17 resets, run finished after 230 ms. (steps per millisecond=43 ) properties (out of 5) seen :70
FORMULA NeoElection-COL-7-UpperBounds-15 7 TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA NeoElection-COL-7-UpperBounds-13 7 TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA NeoElection-COL-7-UpperBounds-10 7 TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA NeoElection-COL-7-UpperBounds-09 7 TECHNIQUES TOPOLOGICAL RANDOM_WALK
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 94 ms. (steps per millisecond=106 ) properties (out of 1) seen :42
[2023-03-15 21:59:00] [INFO ] Flow matrix only has 574 transitions (discarded 36 similar events)
// Phase 1: matrix 574 rows 383 cols
[2023-03-15 21:59:00] [INFO ] Computed 104 place invariants in 23 ms
[2023-03-15 21:59:00] [INFO ] [Real]Absence check using 62 positive place invariants in 26 ms returned unsat
Current structural bounds on expressions (after SMT) : [42] Max seen :[42]
FORMULA NeoElection-COL-7-UpperBounds-00 42 TECHNIQUES TOPOLOGICAL SAT_SMT RANDOM_WALK
All properties solved without resorting to model-checking.
Total runtime 3822 ms.

BK_STOP 1678917540852

--------------------
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
+ [[ UpperBounds = StateSpace ]]
+ /home/mcc/BenchKit/bin//..//runeclipse.sh /home/mcc/execution UpperBounds -its -ltsmin -greatspnpath /home/mcc/BenchKit/bin//..//greatspn/ -order META -manyOrder -smt -timeout 3600
+ 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 UpperBounds -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 3600 -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="NeoElection-COL-7"
export BK_EXAMINATION="UpperBounds"
export BK_TOOL="gold2022"
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 gold2022"
echo " Input is NeoElection-COL-7, examination is UpperBounds"
echo " Time confinement is $BK_TIME_CONFINEMENT seconds"
echo " Memory confinement is 16384 MBytes"
echo " Number of cores is 4"
echo " Run identifier is r287-smll-167863553700020"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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