fond
Model Checking Contest 2024
14th edition, Geneva, Switzerland, June 25, 2024
Execution of r246-tall-171654351700478
Last Updated
July 7, 2024

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

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
279.420 3354.00 7702.00 75.40 FTFTFFTTFFTFFTFF normal

Execution Chart

We display below the execution chart for this examination (boot time has been removed).

Trace from the execution

Formatting '/data/fkordon/mcc2024-input.r246-tall-171654351700478.qcow2', fmt=qcow2 size=4294967296 backing_file=/data/fkordon/mcc2024-input.qcow2 backing_fmt=qcow2 cluster_size=65536 lazy_refcounts=off refcount_bits=16
Waiting for the VM to be ready (probing ssh)
........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
=====================================================================
Generated by BenchKit 2-5568
Executing tool itstools
Input is NeoElection-COL-6, examination is ReachabilityCardinality
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r246-tall-171654351700478
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 556K
-rw-r--r-- 1 mcc users 8.4K Apr 11 19:43 CTLCardinality.txt
-rw-r--r-- 1 mcc users 76K Apr 11 19:43 CTLCardinality.xml
-rw-r--r-- 1 mcc users 7.9K Apr 11 19:25 CTLFireability.txt
-rw-r--r-- 1 mcc users 61K Apr 11 19:25 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.2K May 18 16:43 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 6.6K May 18 16:43 GenericPropertiesVerdict.xml
-rw-r--r-- 1 mcc users 4.1K Apr 23 07:40 LTLCardinality.txt
-rw-r--r-- 1 mcc users 24K Apr 23 07:40 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.7K Apr 23 07:41 LTLFireability.txt
-rw-r--r-- 1 mcc users 16K Apr 23 07:41 LTLFireability.xml
-rw-r--r-- 1 mcc users 16K Apr 11 21:09 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 127K Apr 11 21:09 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 8.1K Apr 11 20:27 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 49K Apr 11 20:27 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.8K Apr 23 07:41 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.8K Apr 23 07:41 UpperBounds.xml
-rw-r--r-- 1 mcc users 5 May 18 16:43 equiv_pt
-rw-r--r-- 1 mcc users 2 May 18 16:43 instance
-rw-r--r-- 1 mcc users 5 May 18 16:43 iscolored
-rw-r--r-- 1 mcc users 98K May 18 16:43 model.pnml

--------------------
content from stdout:

=== Data for post analysis generated by BenchKit (invocation template)

The expected result is a vector of booleans
BOOL_VECTOR

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

=== Now, execution of the tool begins

BK_START 1716682071150

Invoking MCC driver with
BK_TOOL=itstools
BK_EXAMINATION=ReachabilityCardinality
BK_BIN_PATH=/home/mcc/BenchKit/bin/
BK_TIME_CONFINEMENT=3600
BK_INPUT=NeoElection-COL-6
BK_MEMORY_CONFINEMENT=16384
Not applying reductions.
Model is COL
ReachabilityCardinality COL
Running Version 202405141337
[2024-05-26 00:07:52] [INFO ] Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, ReachabilityCardinality, -its, -ltsmin, -greatspnpath, /home/mcc/BenchKit/bin//../itstools/bin//..//greatspn/, -order, META, -manyOrder, -smt, -timeout, 3600]
[2024-05-26 00:07:52] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2024-05-26 00:07:52] [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.
[2024-05-26 00:07:52] [WARNING] Using fallBack plugin, rng conformance not checked
[2024-05-26 00:07:53] [INFO ] Load time of PNML (colored model parsed with PNMLFW) : 622 ms
[2024-05-26 00:07:53] [INFO ] Detected 6 constant HL places corresponding to 2380 PT places.
[2024-05-26 00:07:53] [INFO ] Imported 18 HL places and 22 HL transitions for a total of 4830 PT places and 13580.0 transition bindings in 26 ms.
Parsed 16 properties from file /home/mcc/execution/ReachabilityCardinality.xml in 27 ms.
Working with output stream class java.io.PrintStream
[2024-05-26 00:07:53] [INFO ] Built PT skeleton of HLPN with 18 places and 22 transitions 98 arcs in 4 ms.
[2024-05-26 00:07:53] [INFO ] Skeletonized 16 HLPN properties in 1 ms.
Remains 16 properties that can be checked using skeleton over-approximation.
Deduced a syphon composed of 8 places in 0 ms
Reduce places removed 12 places and 7 transitions.
Computed a total of 2 stabilizing places and 2 stable transitions
Ensure Unique test removed 8 transitions
Reduce redundant transitions removed 8 transitions.
[2024-05-26 00:07:53] [INFO ] Flatten gal took : 26 ms
[2024-05-26 00:07:53] [INFO ] Flatten gal took : 4 ms
[2024-05-26 00:07:53] [INFO ] Time to serialize gal into /tmp/ReachabilityCardinality11448994364909386234.gal : 7 ms
[2024-05-26 00:07:53] [INFO ] Time to serialize properties into /tmp/ReachabilityCardinality2179473219895427552.prop : 2 ms
Invoking ITS tools like this :cd /home/mcc/execution;'/home/mcc/BenchKit/itstools/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202405141337/bin/its-reach-linux64' '--gc-threshold' '2000000' '--quiet' '-i' '/tmp/ReachabilityCardinality11448994364909386234.gal' '-t' 'CGAL' '-reachable-file' '/tmp/ReachabilityCardinality2179473219895427552.prop' '--nowitness' '--gen-order' 'FOLLOW'
RANDOM walk for 40007 steps (1070 resets) in 614 ms. (65 steps per ms) remains 5/7 properties

its-reach command run as :

/home/mcc/BenchKit/itstools/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202405141337/bin/its-reach-linux64 --gc-threshold 2000000 --quiet ...329
Loading property file /tmp/ReachabilityCardinality2179473219895427552.prop.
SDD proceeding with computation,7 properties remain. new max is 4
SDD size :5 after 12
SDD proceeding with computation,7 properties remain. new max is 8
SDD size :28 after 30
SDD proceeding with computation,7 properties remain. new max is 16
SDD size :97 after 103
SDD proceeding with computation,7 properties remain. new max is 32
SDD size :524 after 705
Reachability property NeoElection-COL-6-ReachabilityCardinality-2024-07 is true.
Reachability property NeoElection-COL-6-ReachabilityCardinality-2024-06 is true.
SDD proceeding with computation,5 properties remain. new max is 32
SDD size :2390 after 2411
SDD proceeding with computation,5 properties remain. new max is 64
SDD size :4062 after 4089
SDD proceeding with computation,5 properties remain. new max is 128
SDD size :7406 after 7615
BEST_FIRST walk for 40004 steps (176 resets) in 297 ms. (134 steps per ms) remains 5/5 properties
SDD proceeding with computation,5 properties remain. new max is 256
SDD size :14303 after 14324
BEST_FIRST walk for 40004 steps (163 resets) in 213 ms. (186 steps per ms) remains 5/5 properties
BEST_FIRST walk for 40000 steps (768 resets) in 194 ms. (205 steps per ms) remains 5/5 properties
BEST_FIRST walk for 40003 steps (184 resets) in 160 ms. (248 steps per ms) remains 5/5 properties
BEST_FIRST walk for 40003 steps (159 resets) in 144 ms. (275 steps per ms) remains 5/5 properties
// Phase 1: matrix 7 rows 6 cols
[2024-05-26 00:07:53] [INFO ] Computed 1 invariants in 3 ms
SDD proceeding with computation,5 properties remain. new max is 512
SDD size :27679 after 27706
[2024-05-26 00:07:53] [INFO ] State equation strengthened by 2 read => feed constraints.
Problem NeoElection-COL-6-ReachabilityCardinality-2024-02 is UNSAT
Problem NeoElection-COL-6-ReachabilityCardinality-2024-11 is UNSAT
Problem NeoElection-COL-6-ReachabilityCardinality-2024-12 is UNSAT
Problem NeoElection-COL-6-ReachabilityCardinality-2024-14 is UNSAT
Problem NeoElection-COL-6-ReachabilityCardinality-2024-15 is UNSAT
After SMT solving in domain Real declared 6/13 variables, and 1 constraints, problems are : Problem set: 5 solved, 0 unsolved in 88 ms.
Refiners :[Positive P Invariants (semi-flows): 1/1 constraints, State Equation: 0/6 constraints, ReadFeed: 0/2 constraints, PredecessorRefiner: 5/5 constraints, Known Traps: 0/0 constraints]
After SMT, in 243ms problems are : Problem set: 5 solved, 0 unsolved
Skipping Parikh replay, no witness traces provided.
ITS runner timed out or was interrupted.
ITS tools runner thread asked to quit. Dying gracefully.
RANDOM walk for 0 steps (0 resets) in 4 ms. (0 steps per ms) remains 0/0 properties
[2024-05-26 00:07:53] [INFO ] Flatten gal took : 1 ms
[2024-05-26 00:07:53] [INFO ] Flatten gal took : 2 ms
RANDOM walk for 0 steps (0 resets) in 6 ms. (0 steps per ms) remains 0/0 properties
[2024-05-26 00:07:53] [INFO ] Flatten gal took : 1 ms
[2024-05-26 00:07:54] [INFO ] Flatten gal took : 1 ms
[2024-05-26 00:07:54] [INFO ] Time to serialize gal into /tmp/ReachabilityCardinality6257396082606566257.gal : 1 ms
Finished probabilistic random walk after 0 steps, run visited all 0 properties in 0 ms. (steps per millisecond=0 )
[2024-05-26 00:07:54] [INFO ] Time to serialize properties into /tmp/ReachabilityCardinality15948802838667619072.prop : 0 ms
Invoking ITS tools like this :cd /home/mcc/execution;'/home/mcc/BenchKit/itstools/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202405141337/bin/its-reach-linux64' '--gc-threshold' '2000000' '--quiet' '-i' '/tmp/ReachabilityCardinality6257396082606566257.gal' '-t' 'CGAL' '-reachable-file' '/tmp/ReachabilityCardinality15948802838667619072.prop' '--nowitness' '--gen-order' 'FOLLOW'

its-reach command run as :

/home/mcc/BenchKit/itstools/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202405141337/bin/its-reach-linux64 --gc-threshold 2000000 --quiet ...329
Loading property file /tmp/ReachabilityCardinality15948802838667619072.prop.
ITS runner timed out or was interrupted.
ITS tools runner thread asked to quit. Dying gracefully.
FORMULA NeoElection-COL-6-ReachabilityCardinality-2024-00 FALSE TECHNIQUES CPN_APPROX
FORMULA NeoElection-COL-6-ReachabilityCardinality-2024-01 TRUE TECHNIQUES CPN_APPROX
FORMULA NeoElection-COL-6-ReachabilityCardinality-2024-02 FALSE TECHNIQUES CPN_APPROX
FORMULA NeoElection-COL-6-ReachabilityCardinality-2024-03 TRUE TECHNIQUES CPN_APPROX
FORMULA NeoElection-COL-6-ReachabilityCardinality-2024-04 FALSE TECHNIQUES CPN_APPROX
FORMULA NeoElection-COL-6-ReachabilityCardinality-2024-05 FALSE TECHNIQUES CPN_APPROX
FORMULA NeoElection-COL-6-ReachabilityCardinality-2024-08 FALSE TECHNIQUES CPN_APPROX
FORMULA NeoElection-COL-6-ReachabilityCardinality-2024-09 FALSE TECHNIQUES CPN_APPROX
FORMULA NeoElection-COL-6-ReachabilityCardinality-2024-10 TRUE TECHNIQUES CPN_APPROX
FORMULA NeoElection-COL-6-ReachabilityCardinality-2024-11 FALSE TECHNIQUES CPN_APPROX
FORMULA NeoElection-COL-6-ReachabilityCardinality-2024-12 FALSE TECHNIQUES CPN_APPROX
FORMULA NeoElection-COL-6-ReachabilityCardinality-2024-13 TRUE TECHNIQUES CPN_APPROX
FORMULA NeoElection-COL-6-ReachabilityCardinality-2024-14 FALSE TECHNIQUES CPN_APPROX
FORMULA NeoElection-COL-6-ReachabilityCardinality-2024-15 FALSE TECHNIQUES CPN_APPROX
Domain [M(7), POS(6), M(7)] of place P_masterList breaks symmetries in sort M
Arc [15:1*[$m, (MOD (ADD $i 1) 6)]] 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.
[2024-05-26 00:07:54] [INFO ] Unfolded HLPN to a Petri net with 4830 places and 7361 transitions 41792 arcs in 157 ms.
[2024-05-26 00:07:54] [INFO ] Unfolded 16 HLPN properties in 4 ms.
Deduced a syphon composed of 4507 places in 22 ms
Reduce places removed 4543 places and 6967 transitions.
Reduce places removed 7 places and 0 transitions.
RANDOM walk for 780 steps (0 resets) in 59 ms. (13 steps per ms) remains 0/2 properties
FORMULA NeoElection-COL-6-ReachabilityCardinality-2024-07 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA NeoElection-COL-6-ReachabilityCardinality-2024-06 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
[2024-05-26 00:07:54] [INFO ] Flatten gal took : 79 ms
[2024-05-26 00:07:54] [INFO ] Flatten gal took : 41 ms
[2024-05-26 00:07:54] [INFO ] Time to serialize gal into /tmp/ReachabilityCardinality5248358765154775624.gal : 19 ms
[2024-05-26 00:07:54] [INFO ] Time to serialize properties into /tmp/ReachabilityCardinality13148710031460268893.prop : 1 ms
Invoking ITS tools like this :cd /home/mcc/execution;'/home/mcc/BenchKit/itstools/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202405141337/bin/its-reach-linux64' '--gc-threshold' '2000000' '--quiet' '-i' '/tmp/ReachabilityCardinality5248358765154775624.gal' '-t' 'CGAL' '-reachable-file' '/tmp/ReachabilityCardinality13148710031460268893.prop' '--nowitness' '--gen-order' 'FOLLOW'

its-reach command run as :

/home/mcc/BenchKit/itstools/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202405141337/bin/its-reach-linux64 --gc-threshold 2000000 --quiet ...329
ITS runner timed out or was interrupted.
ITS tools runner thread asked to quit. Dying gracefully.
All properties solved without resorting to model-checking.
Total runtime 2175 ms.

BK_STOP 1716682074504

--------------------
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
+ [[ ReachabilityCardinality = StateSpace ]]
+ /home/mcc/BenchKit/bin//../itstools/bin//..//runeclipse.sh /home/mcc/execution ReachabilityCardinality -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.202405141337.jar
+ VERSION=202405141337
+ echo 'Running Version 202405141337'
+ /home/mcc/BenchKit/bin//../itstools/bin//..//itstools/its-tools -pnfolder /home/mcc/execution -examination ReachabilityCardinality -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-6"
export BK_EXAMINATION="ReachabilityCardinality"
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-5568"
echo " Executing tool itstools"
echo " Input is NeoElection-COL-6, examination is ReachabilityCardinality"
echo " Time confinement is $BK_TIME_CONFINEMENT seconds"
echo " Memory confinement is 16384 MBytes"
echo " Number of cores is 4"
echo " Run identifier is r246-tall-171654351700478"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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