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

About the Execution of ITS-Tools for NeoElection-COL-2

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
219.084 7024.00 12279.00 446.90 2 0 0 0 2 2 2 2 4 0 2 0 0 0 0 2 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.r261-smll-167863535900117.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 itstools
Input is NeoElection-COL-2, examination is UpperBounds
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r261-smll-167863535900117
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 524K
-rw-r--r-- 1 mcc users 8.3K Feb 26 15:47 CTLCardinality.txt
-rw-r--r-- 1 mcc users 72K Feb 26 15:47 CTLCardinality.xml
-rw-r--r-- 1 mcc users 8.5K Feb 26 15:46 CTLFireability.txt
-rw-r--r-- 1 mcc users 65K Feb 26 15:46 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.2K Jan 29 11:40 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 4.3K Feb 25 16:27 LTLCardinality.txt
-rw-r--r-- 1 mcc users 27K Feb 25 16:27 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.9K Feb 25 16:27 LTLFireability.txt
-rw-r--r-- 1 mcc users 18K Feb 25 16:27 LTLFireability.xml
-rw-r--r-- 1 mcc users 14K Feb 26 15:49 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 111K Feb 26 15:49 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 9.3K Feb 26 15:47 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 59K Feb 26 15:47 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.8K Feb 25 16:27 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.8K Feb 25 16:27 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 70K 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-2-UpperBounds-00
FORMULA_NAME NeoElection-COL-2-UpperBounds-01
FORMULA_NAME NeoElection-COL-2-UpperBounds-02
FORMULA_NAME NeoElection-COL-2-UpperBounds-03
FORMULA_NAME NeoElection-COL-2-UpperBounds-04
FORMULA_NAME NeoElection-COL-2-UpperBounds-05
FORMULA_NAME NeoElection-COL-2-UpperBounds-06
FORMULA_NAME NeoElection-COL-2-UpperBounds-07
FORMULA_NAME NeoElection-COL-2-UpperBounds-08
FORMULA_NAME NeoElection-COL-2-UpperBounds-09
FORMULA_NAME NeoElection-COL-2-UpperBounds-10
FORMULA_NAME NeoElection-COL-2-UpperBounds-11
FORMULA_NAME NeoElection-COL-2-UpperBounds-12
FORMULA_NAME NeoElection-COL-2-UpperBounds-13
FORMULA_NAME NeoElection-COL-2-UpperBounds-14
FORMULA_NAME NeoElection-COL-2-UpperBounds-15

=== Now, execution of the tool begins

BK_START 1678739255941

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=itstools
BK_EXAMINATION=UpperBounds
BK_BIN_PATH=/home/mcc/BenchKit/bin/
BK_TIME_CONFINEMENT=3600
BK_INPUT=NeoElection-COL-2
Not applying reductions.
Model is COL
UpperBounds COL
Running Version 202303021504
[2023-03-13 20:27:39] [INFO ] Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, UpperBounds, -its, -ltsmin, -greatspnpath, /home/mcc/BenchKit/bin//../itstools/bin//..//greatspn/, -order, META, -manyOrder, -smt, -timeout, 3600]
[2023-03-13 20:27:39] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2023-03-13 20:27:39] [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-13 20:27:40] [WARNING] Using fallBack plugin, rng conformance not checked
[2023-03-13 20:27:40] [INFO ] Load time of PNML (colored model parsed with PNMLFW) : 1173 ms
[2023-03-13 20:27:40] [INFO ] Detected 6 constant HL places corresponding to 192 PT places.
[2023-03-13 20:27:40] [INFO ] Imported 18 HL places and 22 HL transitions for a total of 438 PT places and 672.0 transition bindings in 45 ms.
Parsed 16 properties from file /home/mcc/execution/UpperBounds.xml in 10 ms.
[2023-03-13 20:27:40] [INFO ] Built PT skeleton of HLPN with 18 places and 22 transitions 98 arcs in 8 ms.
[2023-03-13 20:27:40] [INFO ] Skeletonized 16 HLPN properties in 1 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-13 20:27:40] [INFO ] Computed 1 place invariants in 4 ms
FORMULA NeoElection-COL-2-UpperBounds-15 2 TECHNIQUES TOPOLOGICAL CPN_APPROX INITIAL_STATE
FORMULA NeoElection-COL-2-UpperBounds-14 0 TECHNIQUES TOPOLOGICAL CPN_APPROX INITIAL_STATE
FORMULA NeoElection-COL-2-UpperBounds-13 0 TECHNIQUES TOPOLOGICAL CPN_APPROX INITIAL_STATE
FORMULA NeoElection-COL-2-UpperBounds-12 0 TECHNIQUES TOPOLOGICAL CPN_APPROX INITIAL_STATE
FORMULA NeoElection-COL-2-UpperBounds-11 0 TECHNIQUES TOPOLOGICAL CPN_APPROX INITIAL_STATE
FORMULA NeoElection-COL-2-UpperBounds-09 0 TECHNIQUES TOPOLOGICAL CPN_APPROX INITIAL_STATE
FORMULA NeoElection-COL-2-UpperBounds-08 4 TECHNIQUES TOPOLOGICAL CPN_APPROX INITIAL_STATE
FORMULA NeoElection-COL-2-UpperBounds-04 2 TECHNIQUES TOPOLOGICAL CPN_APPROX INITIAL_STATE
FORMULA NeoElection-COL-2-UpperBounds-03 0 TECHNIQUES TOPOLOGICAL CPN_APPROX INITIAL_STATE
FORMULA NeoElection-COL-2-UpperBounds-02 0 TECHNIQUES TOPOLOGICAL CPN_APPROX INITIAL_STATE
FORMULA NeoElection-COL-2-UpperBounds-01 0 TECHNIQUES TOPOLOGICAL CPN_APPROX INITIAL_STATE
[2023-03-13 20:27:40] [INFO ] Invariant cache hit.
[2023-03-13 20:27:41] [INFO ] [Real]Absence check using 1 positive place invariants in 5 ms returned sat
[2023-03-13 20:27:41] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2023-03-13 20:27:41] [INFO ] [Real]Absence check using state equation in 13 ms returned sat
[2023-03-13 20:27:41] [INFO ] State equation strengthened by 2 read => feed constraints.
[2023-03-13 20:27:41] [INFO ] [Real]Added 2 Read/Feed constraints in 1 ms returned sat
[2023-03-13 20:27:41] [INFO ] Solution in real domain found non-integer solution.
[2023-03-13 20:27:41] [INFO ] [Nat]Absence check using 1 positive place invariants in 2 ms returned sat
[2023-03-13 20:27:41] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2023-03-13 20:27:41] [INFO ] [Nat]Absence check using state equation in 13 ms returned sat
[2023-03-13 20:27:41] [INFO ] [Nat]Added 2 Read/Feed constraints in 2 ms returned sat
[2023-03-13 20:27:41] [INFO ] Computed and/alt/rep : 6/10/6 causal constraints (skipped 0 transitions) in 4 ms.
[2023-03-13 20:27:41] [INFO ] Added : 0 causal constraints over 0 iterations in 13 ms. Result :sat
Minimization took 10 ms.
[2023-03-13 20:27:41] [INFO ] [Real]Absence check using 1 positive place invariants in 2 ms returned sat
[2023-03-13 20:27:41] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2023-03-13 20:27:41] [INFO ] [Real]Absence check using state equation in 13 ms returned sat
[2023-03-13 20:27:41] [INFO ] Solution in real domain found non-integer solution.
[2023-03-13 20:27:41] [INFO ] [Nat]Absence check using 1 positive place invariants in 2 ms returned sat
[2023-03-13 20:27:41] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2023-03-13 20:27:41] [INFO ] [Nat]Absence check using state equation in 11 ms returned sat
[2023-03-13 20:27:41] [INFO ] [Nat]Added 2 Read/Feed constraints in 2 ms returned sat
[2023-03-13 20:27:41] [INFO ] Computed and/alt/rep : 6/10/6 causal constraints (skipped 0 transitions) in 3 ms.
[2023-03-13 20:27:41] [INFO ] Added : 1 causal constraints over 1 iterations in 13 ms. Result :sat
Minimization took 4 ms.
[2023-03-13 20:27:41] [INFO ] [Real]Absence check using 1 positive place invariants in 2 ms returned sat
[2023-03-13 20:27:41] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2023-03-13 20:27:41] [INFO ] [Real]Absence check using state equation in 9 ms returned sat
[2023-03-13 20:27:41] [INFO ] Solution in real domain found non-integer solution.
[2023-03-13 20:27:41] [INFO ] [Nat]Absence check using 1 positive place invariants in 4 ms returned sat
[2023-03-13 20:27:41] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2023-03-13 20:27:41] [INFO ] [Nat]Absence check using state equation in 8 ms returned sat
[2023-03-13 20:27:41] [INFO ] [Nat]Added 2 Read/Feed constraints in 2 ms returned sat
[2023-03-13 20:27:41] [INFO ] Computed and/alt/rep : 6/10/6 causal constraints (skipped 0 transitions) in 2 ms.
[2023-03-13 20:27:41] [INFO ] Added : 1 causal constraints over 1 iterations in 17 ms. Result :sat
Minimization took 5 ms.
[2023-03-13 20:27:41] [INFO ] [Real]Absence check using 1 positive place invariants in 1 ms returned sat
[2023-03-13 20:27:41] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2023-03-13 20:27:41] [INFO ] [Real]Absence check using state equation in 8 ms returned sat
[2023-03-13 20:27:41] [INFO ] Solution in real domain found non-integer solution.
[2023-03-13 20:27:41] [INFO ] [Nat]Absence check using 1 positive place invariants in 1 ms returned sat
[2023-03-13 20:27:41] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2023-03-13 20:27:41] [INFO ] [Nat]Absence check using state equation in 9 ms returned sat
[2023-03-13 20:27:41] [INFO ] [Nat]Added 2 Read/Feed constraints in 1 ms returned sat
[2023-03-13 20:27:41] [INFO ] Computed and/alt/rep : 6/10/6 causal constraints (skipped 0 transitions) in 4 ms.
[2023-03-13 20:27:41] [INFO ] Added : 6 causal constraints over 3 iterations in 23 ms. Result :sat
Minimization took 6 ms.
[2023-03-13 20:27:41] [INFO ] [Real]Absence check using 1 positive place invariants in 1 ms returned sat
[2023-03-13 20:27:41] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2023-03-13 20:27:41] [INFO ] [Real]Absence check using state equation in 8 ms returned sat
[2023-03-13 20:27:41] [INFO ] Solution in real domain found non-integer solution.
[2023-03-13 20:27:41] [INFO ] [Nat]Absence check using 1 positive place invariants in 2 ms returned sat
[2023-03-13 20:27:41] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2023-03-13 20:27:41] [INFO ] [Nat]Absence check using state equation in 10 ms returned sat
[2023-03-13 20:27:41] [INFO ] [Nat]Added 2 Read/Feed constraints in 2 ms returned sat
[2023-03-13 20:27:41] [INFO ] Computed and/alt/rep : 6/10/6 causal constraints (skipped 0 transitions) in 2 ms.
[2023-03-13 20:27:41] [INFO ] Added : 5 causal constraints over 2 iterations in 17 ms. Result :sat
Minimization took 5 ms.
Current structural bounds on expressions (after SMT) : [2, -1, 2, 2, 2]
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.
Domain [M(3), POS(2), M(3)] of place P_masterList breaks symmetries in sort M
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.
Arc [15:1*[$m, (MOD (ADD $i 1) 2)]] contains successor/predecessor on variables of sort POS
[2023-03-13 20:27:41] [INFO ] Unfolded HLPN to a Petri net with 438 places and 295 transitions 1570 arcs in 76 ms.
[2023-03-13 20:27:41] [INFO ] Unfolded 5 HLPN properties in 0 ms.
Deduced a syphon composed of 403 places in 2 ms
Reduce places removed 407 places and 275 transitions.
Reduce places removed 3 places and 0 transitions.
Incomplete random walk after 10000 steps, including 303 resets, run finished after 67 ms. (steps per millisecond=149 ) properties (out of 5) seen :10
FORMULA NeoElection-COL-2-UpperBounds-10 2 TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA NeoElection-COL-2-UpperBounds-07 2 TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA NeoElection-COL-2-UpperBounds-06 2 TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA NeoElection-COL-2-UpperBounds-00 2 TECHNIQUES TOPOLOGICAL RANDOM_WALK
Incomplete Best-First random walk after 10000 steps, including 110 resets, run finished after 44 ms. (steps per millisecond=227 ) properties (out of 1) seen :2
[2023-03-13 20:27:41] [INFO ] Flow matrix only has 19 transitions (discarded 1 similar events)
// Phase 1: matrix 19 rows 28 cols
[2023-03-13 20:27:41] [INFO ] Computed 9 place invariants in 3 ms
[2023-03-13 20:27:42] [INFO ] [Real]Absence check using 7 positive place invariants in 3 ms returned unsat
Current structural bounds on expressions (after SMT) : [2] Max seen :[2]
FORMULA NeoElection-COL-2-UpperBounds-05 2 TECHNIQUES TOPOLOGICAL SAT_SMT RANDOM_WALK
All properties solved without resorting to model-checking.
Total runtime 2621 ms.

BK_STOP 1678739262965

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

+ export BINDIR=/home/mcc/BenchKit/bin//../itstools/bin//../
+ BINDIR=/home/mcc/BenchKit/bin//../itstools/bin//../
++ pwd
+ export MODEL=/home/mcc/execution
+ MODEL=/home/mcc/execution
+ [[ UpperBounds = StateSpace ]]
+ /home/mcc/BenchKit/bin//../itstools/bin//..//runeclipse.sh /home/mcc/execution UpperBounds -its -ltsmin -greatspnpath /home/mcc/BenchKit/bin//../itstools/bin//..//greatspn/ -order META -manyOrder -smt -timeout 3600
+ 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//../itstools/bin//..//itstools/plugins/fr.lip6.move.gal.application.pnmcc_1.0.0.202303021504.jar
+ VERSION=202303021504
+ echo 'Running Version 202303021504'
+ /home/mcc/BenchKit/bin//../itstools/bin//..//itstools/its-tools -pnfolder /home/mcc/execution -examination UpperBounds -its -ltsmin -greatspnpath /home/mcc/BenchKit/bin//../itstools/bin//..//greatspn/ -order META -manyOrder -smt -timeout 3600

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-2"
export BK_EXAMINATION="UpperBounds"
export BK_TOOL="itstools"
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 itstools"
echo " Input is NeoElection-COL-2, 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 r261-smll-167863535900117"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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