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

About the Execution of LTSMin+red for StigmergyElection-PT-06a

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
284.512 19824.00 61383.00 441.60 TTTFFFTFFFFTTFTF 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.r457-smll-167912649600622.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 ltsminxred
Input is StigmergyElection-PT-06a, examination is ReachabilityCardinality
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r457-smll-167912649600622
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 1.1M
-rw-r--r-- 1 mcc users 7.8K Feb 26 16:17 CTLCardinality.txt
-rw-r--r-- 1 mcc users 91K Feb 26 16:17 CTLCardinality.xml
-rw-r--r-- 1 mcc users 6.4K Feb 26 16:14 CTLFireability.txt
-rw-r--r-- 1 mcc users 62K Feb 26 16:14 CTLFireability.xml
-rw-r--r-- 1 mcc users 3.6K Feb 25 17:14 LTLCardinality.txt
-rw-r--r-- 1 mcc users 26K Feb 25 17:14 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.2K Feb 25 17:14 LTLFireability.txt
-rw-r--r-- 1 mcc users 15K Feb 25 17:14 LTLFireability.xml
-rw-r--r-- 1 mcc users 11K Feb 26 16:21 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 121K Feb 26 16:21 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 13K Feb 26 16:19 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 116K Feb 26 16:19 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.7K Feb 25 17:14 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.8K Feb 25 17:14 UpperBounds.xml
-rw-r--r-- 1 mcc users 6 Mar 5 18:23 equiv_col
-rw-r--r-- 1 mcc users 4 Mar 5 18:23 instance
-rw-r--r-- 1 mcc users 6 Mar 5 18:23 iscolored
-rw-r--r-- 1 mcc users 565K 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 booleans
BOOL_VECTOR

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

=== Now, execution of the tool begins

BK_START 1679547104713

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=ltsminxred
BK_EXAMINATION=ReachabilityCardinality
BK_BIN_PATH=/home/mcc/BenchKit/bin/
BK_TIME_CONFINEMENT=3600
BK_INPUT=StigmergyElection-PT-06a
Applying reductions before tool ltsmin
Invoking reducer
Running Version 202303021504
[2023-03-23 04:51:47] [INFO ] Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, ReachabilityCardinality, -timeout, 360, -rebuildPNML]
[2023-03-23 04:51:47] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2023-03-23 04:51:47] [INFO ] Load time of PNML (sax parser for PT used): 224 ms
[2023-03-23 04:51:47] [INFO ] Transformed 86 places.
[2023-03-23 04:51:47] [INFO ] Transformed 1042 transitions.
[2023-03-23 04:51:47] [INFO ] Found NUPN structural information;
[2023-03-23 04:51:47] [INFO ] Parsed PT model containing 86 places and 1042 transitions and 11192 arcs in 340 ms.
Parsed 16 properties from file /home/mcc/execution/ReachabilityCardinality.xml in 26 ms.
Working with output stream class java.io.PrintStream
Initial state reduction rules removed 3 formulas.
Ensure Unique test removed 800 transitions
Reduce redundant transitions removed 800 transitions.
FORMULA StigmergyElection-PT-06a-ReachabilityCardinality-00 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA StigmergyElection-PT-06a-ReachabilityCardinality-02 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA StigmergyElection-PT-06a-ReachabilityCardinality-08 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA StigmergyElection-PT-06a-ReachabilityCardinality-09 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA StigmergyElection-PT-06a-ReachabilityCardinality-12 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA StigmergyElection-PT-06a-ReachabilityCardinality-14 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA StigmergyElection-PT-06a-ReachabilityCardinality-15 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
Incomplete random walk after 10000 steps, including 22 resets, run finished after 883 ms. (steps per millisecond=11 ) properties (out of 9) seen :2
FORMULA StigmergyElection-PT-06a-ReachabilityCardinality-10 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA StigmergyElection-PT-06a-ReachabilityCardinality-06 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 50 ms. (steps per millisecond=200 ) properties (out of 7) seen :0
Incomplete Best-First random walk after 10001 steps, including 3 resets, run finished after 48 ms. (steps per millisecond=208 ) properties (out of 7) seen :0
Incomplete Best-First random walk after 10001 steps, including 3 resets, run finished after 33 ms. (steps per millisecond=303 ) properties (out of 7) seen :0
Incomplete Best-First random walk after 10000 steps, including 2 resets, run finished after 57 ms. (steps per millisecond=175 ) properties (out of 7) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 42 ms. (steps per millisecond=238 ) properties (out of 7) seen :0
Incomplete Best-First random walk after 10001 steps, including 3 resets, run finished after 58 ms. (steps per millisecond=172 ) properties (out of 7) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 43 ms. (steps per millisecond=232 ) properties (out of 7) seen :0
Running SMT prover for 7 properties.
[2023-03-23 04:51:48] [INFO ] Flow matrix only has 224 transitions (discarded 18 similar events)
// Phase 1: matrix 224 rows 86 cols
[2023-03-23 04:51:48] [INFO ] Computed 7 place invariants in 18 ms
[2023-03-23 04:51:49] [INFO ] After 295ms SMT Verify possible using all constraints in real domain returned unsat :1 sat :0 real:6
[2023-03-23 04:51:49] [INFO ] [Nat]Absence check using 7 positive place invariants in 7 ms returned sat
[2023-03-23 04:51:49] [INFO ] After 475ms SMT Verify possible using state equation in natural domain returned unsat :4 sat :3
[2023-03-23 04:51:49] [INFO ] State equation strengthened by 155 read => feed constraints.
[2023-03-23 04:51:50] [INFO ] After 154ms SMT Verify possible using 155 Read/Feed constraints in natural domain returned unsat :4 sat :3
[2023-03-23 04:51:50] [INFO ] Deduced a trap composed of 13 places in 113 ms of which 10 ms to minimize.
[2023-03-23 04:51:50] [INFO ] Deduced a trap composed of 12 places in 88 ms of which 1 ms to minimize.
[2023-03-23 04:51:50] [INFO ] Deduced a trap composed of 12 places in 84 ms of which 1 ms to minimize.
[2023-03-23 04:51:50] [INFO ] Deduced a trap composed of 12 places in 72 ms of which 2 ms to minimize.
[2023-03-23 04:51:50] [INFO ] Trap strengthening procedure managed to obtain unsat after adding 4 trap constraints in 403 ms
[2023-03-23 04:51:50] [INFO ] Deduced a trap composed of 12 places in 91 ms of which 1 ms to minimize.
[2023-03-23 04:51:50] [INFO ] Deduced a trap composed of 13 places in 98 ms of which 1 ms to minimize.
[2023-03-23 04:51:50] [INFO ] Deduced a trap composed of 12 places in 68 ms of which 1 ms to minimize.
[2023-03-23 04:51:50] [INFO ] Deduced a trap composed of 12 places in 70 ms of which 0 ms to minimize.
[2023-03-23 04:51:51] [INFO ] Deduced a trap composed of 12 places in 70 ms of which 1 ms to minimize.
[2023-03-23 04:51:51] [INFO ] Deduced a trap composed of 12 places in 88 ms of which 1 ms to minimize.
[2023-03-23 04:51:51] [INFO ] Deduced a trap composed of 12 places in 74 ms of which 1 ms to minimize.
[2023-03-23 04:51:51] [INFO ] Deduced a trap composed of 12 places in 240 ms of which 1 ms to minimize.
[2023-03-23 04:51:51] [INFO ] Deduced a trap composed of 12 places in 73 ms of which 1 ms to minimize.
[2023-03-23 04:51:51] [INFO ] Deduced a trap composed of 12 places in 41 ms of which 0 ms to minimize.
[2023-03-23 04:51:51] [INFO ] Trap strengthening procedure managed to obtain unsat after adding 10 trap constraints in 1070 ms
[2023-03-23 04:51:51] [INFO ] After 1710ms SMT Verify possible using trap constraints in natural domain returned unsat :7 sat :0
[2023-03-23 04:51:51] [INFO ] After 2359ms SMT Verify possible using all constraints in natural domain returned unsat :7 sat :0
FORMULA StigmergyElection-PT-06a-ReachabilityCardinality-13 FALSE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA StigmergyElection-PT-06a-ReachabilityCardinality-11 TRUE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA StigmergyElection-PT-06a-ReachabilityCardinality-07 FALSE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA StigmergyElection-PT-06a-ReachabilityCardinality-05 FALSE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA StigmergyElection-PT-06a-ReachabilityCardinality-04 FALSE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA StigmergyElection-PT-06a-ReachabilityCardinality-03 FALSE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA StigmergyElection-PT-06a-ReachabilityCardinality-01 TRUE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
Fused 7 Parikh solutions to 0 different solutions.
Parikh walk visited 0 properties in 1 ms.
All properties solved without resorting to model-checking.
Total runtime 4529 ms.
pnml2lts-sym model.pnml --lace-workers=4 --vset=lddmc --saturation=sat -rbs,w2W,ru,hf --sylvan-sizes=20,28,20,28 --invariant=/tmp/486/inv_0_ --invariant=/tmp/486/inv_1_ --invariant=/tmp/486/inv_2_ --invariant=/tmp/486/inv_3_ --invariant=/tmp/486/inv_4_ --invariant=/tmp/486/inv_5_ --invariant=/tmp/486/inv_6_ --invariant=/tmp/486/inv_7_ --invariant=/tmp/486/inv_8_ --invariant=/tmp/486/inv_9_ --invariant=/tmp/486/inv_10_ --invariant=/tmp/486/inv_11_ --invariant=/tmp/486/inv_12_ --invariant=/tmp/486/inv_13_ --invariant=/tmp/486/inv_14_ --invariant=/tmp/486/inv_15_ --inv-par
FORMULA StigmergyElection-PT-06a-ReachabilityCardinality-00 TRUE TECHNIQUES DECISION_DIAGRAMS PARALLEL_PROCESSING USE_NUPN
FORMULA StigmergyElection-PT-06a-ReachabilityCardinality-01 TRUE TECHNIQUES DECISION_DIAGRAMS PARALLEL_PROCESSING USE_NUPN
FORMULA StigmergyElection-PT-06a-ReachabilityCardinality-02 TRUE TECHNIQUES DECISION_DIAGRAMS PARALLEL_PROCESSING USE_NUPN
FORMULA StigmergyElection-PT-06a-ReachabilityCardinality-03 FALSE TECHNIQUES DECISION_DIAGRAMS PARALLEL_PROCESSING USE_NUPN
FORMULA StigmergyElection-PT-06a-ReachabilityCardinality-04 FALSE TECHNIQUES DECISION_DIAGRAMS PARALLEL_PROCESSING USE_NUPN
FORMULA StigmergyElection-PT-06a-ReachabilityCardinality-05 FALSE TECHNIQUES DECISION_DIAGRAMS PARALLEL_PROCESSING USE_NUPN
FORMULA StigmergyElection-PT-06a-ReachabilityCardinality-06 TRUE TECHNIQUES DECISION_DIAGRAMS PARALLEL_PROCESSING USE_NUPN
FORMULA StigmergyElection-PT-06a-ReachabilityCardinality-07 FALSE TECHNIQUES DECISION_DIAGRAMS PARALLEL_PROCESSING USE_NUPN
FORMULA StigmergyElection-PT-06a-ReachabilityCardinality-08 FALSE TECHNIQUES DECISION_DIAGRAMS PARALLEL_PROCESSING USE_NUPN
FORMULA StigmergyElection-PT-06a-ReachabilityCardinality-09 FALSE TECHNIQUES DECISION_DIAGRAMS PARALLEL_PROCESSING USE_NUPN
FORMULA StigmergyElection-PT-06a-ReachabilityCardinality-10 FALSE TECHNIQUES DECISION_DIAGRAMS PARALLEL_PROCESSING USE_NUPN
FORMULA StigmergyElection-PT-06a-ReachabilityCardinality-11 TRUE TECHNIQUES DECISION_DIAGRAMS PARALLEL_PROCESSING USE_NUPN
FORMULA StigmergyElection-PT-06a-ReachabilityCardinality-12 TRUE TECHNIQUES DECISION_DIAGRAMS PARALLEL_PROCESSING USE_NUPN
FORMULA StigmergyElection-PT-06a-ReachabilityCardinality-13 FALSE TECHNIQUES DECISION_DIAGRAMS PARALLEL_PROCESSING USE_NUPN
FORMULA StigmergyElection-PT-06a-ReachabilityCardinality-14 TRUE TECHNIQUES DECISION_DIAGRAMS PARALLEL_PROCESSING USE_NUPN
FORMULA StigmergyElection-PT-06a-ReachabilityCardinality-15 FALSE TECHNIQUES DECISION_DIAGRAMS PARALLEL_PROCESSING USE_NUPN

BK_STOP 1679547124537

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

+ 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//../reducer/bin//../../itstools//itstools/plugins/fr.lip6.move.gal.application.pnmcc_1.0.0.202303021504.jar
+ VERSION=202303021504
+ echo 'Running Version 202303021504'
+ /home/mcc/BenchKit/bin//../reducer/bin//../../itstools//itstools/its-tools -pnfolder /home/mcc/execution -examination ReachabilityCardinality -timeout 360 -rebuildPNML
mcc2023
rfs formula name StigmergyElection-PT-06a-ReachabilityCardinality-00
rfs formula type AG
rfs formula formula --invariant=/tmp/486/inv_0_
rfs formula name StigmergyElection-PT-06a-ReachabilityCardinality-01
rfs formula type AG
rfs formula formula --invariant=/tmp/486/inv_1_
rfs formula name StigmergyElection-PT-06a-ReachabilityCardinality-02
rfs formula type AG
rfs formula formula --invariant=/tmp/486/inv_2_
rfs formula name StigmergyElection-PT-06a-ReachabilityCardinality-03
rfs formula type EF
rfs formula formula --invariant=/tmp/486/inv_3_
rfs formula name StigmergyElection-PT-06a-ReachabilityCardinality-04
rfs formula type EF
rfs formula formula --invariant=/tmp/486/inv_4_
rfs formula name StigmergyElection-PT-06a-ReachabilityCardinality-05
rfs formula type EF
rfs formula formula --invariant=/tmp/486/inv_5_
rfs formula name StigmergyElection-PT-06a-ReachabilityCardinality-06
rfs formula type EF
rfs formula formula --invariant=/tmp/486/inv_6_
rfs formula name StigmergyElection-PT-06a-ReachabilityCardinality-07
rfs formula type EF
rfs formula formula --invariant=/tmp/486/inv_7_
rfs formula name StigmergyElection-PT-06a-ReachabilityCardinality-08
rfs formula type EF
rfs formula formula --invariant=/tmp/486/inv_8_
rfs formula name StigmergyElection-PT-06a-ReachabilityCardinality-09
rfs formula type EF
rfs formula formula --invariant=/tmp/486/inv_9_
rfs formula name StigmergyElection-PT-06a-ReachabilityCardinality-10
rfs formula type AG
rfs formula formula --invariant=/tmp/486/inv_10_
rfs formula name StigmergyElection-PT-06a-ReachabilityCardinality-11
rfs formula type AG
rfs formula formula --invariant=/tmp/486/inv_11_
rfs formula name StigmergyElection-PT-06a-ReachabilityCardinality-12
rfs formula type EF
rfs formula formula --invariant=/tmp/486/inv_12_
rfs formula name StigmergyElection-PT-06a-ReachabilityCardinality-13
rfs formula type EF
rfs formula formula --invariant=/tmp/486/inv_13_
rfs formula name StigmergyElection-PT-06a-ReachabilityCardinality-14
rfs formula type EF
rfs formula formula --invariant=/tmp/486/inv_14_
rfs formula name StigmergyElection-PT-06a-ReachabilityCardinality-15
rfs formula type AG
rfs formula formula --invariant=/tmp/486/inv_15_
pnml2lts-sym: Exploration order is bfs-prev
pnml2lts-sym: Saturation strategy is sat
pnml2lts-sym: Guided search strategy is unguided
pnml2lts-sym: Attractor strategy is default
pnml2lts-sym: opening model.pnml
pnml2lts-sym: Edge label is id
Warning: program compiled against libxml 210 using older 209
pnml2lts-sym: Petri net has 86 places, 1042 transitions and 11192 arcs
pnml2lts-sym: Petri net StigmergyElection-PT-06a analyzed
pnml2lts-sym: There are safe places
pnml2lts-sym: Loading Petri net took 0.020 real 0.020 user 0.010 sys
pnml2lts-sym: Initializing regrouping layer
pnml2lts-sym: Regroup specification: bs,w2W,ru,hf
pnml2lts-sym: Regroup Boost's Sloan
pnml2lts-sym: Regroup over-approximate must-write to may-write
pnml2lts-sym: Regroup Row sUbsume
pnml2lts-sym: Reqroup Horizontal Flip
pnml2lts-sym: Regrouping: 1042->105 groups
pnml2lts-sym: Regrouping took 0.610 real 0.610 user 0.000 sys
pnml2lts-sym: state vector length is 86; there are 105 groups
pnml2lts-sym: Creating a multi-core ListDD domain.
pnml2lts-sym: Sylvan allocates 15.000 GB virtual memory for nodes table and operation cache.
pnml2lts-sym: Initial nodes table and operation cache requires 60.00 MB.
pnml2lts-sym: Using GBgetTransitionsShortR2W as next-state function
pnml2lts-sym: got initial state
pnml2lts-sym:
pnml2lts-sym: Invariant violation (/tmp/486/inv_15_) found at depth 0!
pnml2lts-sym:
pnml2lts-sym:
pnml2lts-sym: Invariant violation (/tmp/486/inv_14_) found at depth 0!
pnml2lts-sym:
pnml2lts-sym:
pnml2lts-sym: Invariant violation (/tmp/486/inv_12_) found at depth 0!
pnml2lts-sym:
pnml2lts-sym:
pnml2lts-sym: Invariant violation (/tmp/486/inv_6_) found at depth -1!
pnml2lts-sym:
pnml2lts-sym:
pnml2lts-sym: Invariant violation (/tmp/486/inv_10_) found at depth -1!
pnml2lts-sym:
pnml2lts-sym: Exploration took 7686 group checks and 0 next state calls
pnml2lts-sym: reachability took 1.500 real 4.750 user 1.250 sys
pnml2lts-sym: counting visited states...
pnml2lts-sym: counting took 0.000 real 0.000 user 0.000 sys
pnml2lts-sym: state space has 20473 states, 7102 nodes
pnml2lts-sym: group_next: 3258 nodes total
pnml2lts-sym: group_explored: 344 nodes, 730 short vectors total
pnml2lts-sym: max token count: 1

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="StigmergyElection-PT-06a"
export BK_EXAMINATION="ReachabilityCardinality"
export BK_TOOL="ltsminxred"
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 ltsminxred"
echo " Input is StigmergyElection-PT-06a, 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 r457-smll-167912649600622"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

tar xzf /home/mcc/BenchKit/INPUTS/StigmergyElection-PT-06a.tgz
mv StigmergyElection-PT-06a 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 ;