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

About the Execution of ITS-Tools for StigmergyCommit-PT-04a

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
305.096 7284.00 16895.00 370.40 FFTFTTFTFFFTFTTT 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.r453-smll-167912645400430.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 StigmergyCommit-PT-04a, examination is ReachabilityCardinality
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r453-smll-167912645400430
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 612K
-rw-r--r-- 1 mcc users 6.6K Feb 26 10:59 CTLCardinality.txt
-rw-r--r-- 1 mcc users 68K Feb 26 10:59 CTLCardinality.xml
-rw-r--r-- 1 mcc users 6.0K Feb 26 10:56 CTLFireability.txt
-rw-r--r-- 1 mcc users 54K Feb 26 10:56 CTLFireability.xml
-rw-r--r-- 1 mcc users 3.6K Feb 25 17:11 LTLCardinality.txt
-rw-r--r-- 1 mcc users 24K Feb 25 17:11 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.3K Feb 25 17:11 LTLFireability.txt
-rw-r--r-- 1 mcc users 18K Feb 25 17:11 LTLFireability.xml
-rw-r--r-- 1 mcc users 8.8K Feb 26 11:02 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 90K Feb 26 11:02 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 7.3K Feb 26 11:00 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 60K Feb 26 11:00 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.7K Feb 25 17:11 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.7K Feb 25 17:11 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 227K 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 StigmergyCommit-PT-04a-ReachabilityCardinality-00
FORMULA_NAME StigmergyCommit-PT-04a-ReachabilityCardinality-01
FORMULA_NAME StigmergyCommit-PT-04a-ReachabilityCardinality-02
FORMULA_NAME StigmergyCommit-PT-04a-ReachabilityCardinality-03
FORMULA_NAME StigmergyCommit-PT-04a-ReachabilityCardinality-04
FORMULA_NAME StigmergyCommit-PT-04a-ReachabilityCardinality-05
FORMULA_NAME StigmergyCommit-PT-04a-ReachabilityCardinality-06
FORMULA_NAME StigmergyCommit-PT-04a-ReachabilityCardinality-07
FORMULA_NAME StigmergyCommit-PT-04a-ReachabilityCardinality-08
FORMULA_NAME StigmergyCommit-PT-04a-ReachabilityCardinality-09
FORMULA_NAME StigmergyCommit-PT-04a-ReachabilityCardinality-10
FORMULA_NAME StigmergyCommit-PT-04a-ReachabilityCardinality-11
FORMULA_NAME StigmergyCommit-PT-04a-ReachabilityCardinality-12
FORMULA_NAME StigmergyCommit-PT-04a-ReachabilityCardinality-13
FORMULA_NAME StigmergyCommit-PT-04a-ReachabilityCardinality-14
FORMULA_NAME StigmergyCommit-PT-04a-ReachabilityCardinality-15

=== Now, execution of the tool begins

BK_START 1679335521104

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=ReachabilityCardinality
BK_BIN_PATH=/home/mcc/BenchKit/bin/
BK_TIME_CONFINEMENT=3600
BK_INPUT=StigmergyCommit-PT-04a
Not applying reductions.
Model is PT
ReachabilityCardinality PT
Running Version 202303021504
[2023-03-20 18:05:23] [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]
[2023-03-20 18:05:23] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2023-03-20 18:05:24] [INFO ] Load time of PNML (sax parser for PT used): 138 ms
[2023-03-20 18:05:24] [INFO ] Transformed 184 places.
[2023-03-20 18:05:24] [INFO ] Transformed 592 transitions.
[2023-03-20 18:05:24] [INFO ] Found NUPN structural information;
[2023-03-20 18:05:24] [INFO ] Parsed PT model containing 184 places and 592 transitions and 4011 arcs in 263 ms.
Parsed 16 properties from file /home/mcc/execution/ReachabilityCardinality.xml in 18 ms.
Working with output stream class java.io.PrintStream
Ensure Unique test removed 291 transitions
Reduce redundant transitions removed 291 transitions.
FORMULA StigmergyCommit-PT-04a-ReachabilityCardinality-02 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA StigmergyCommit-PT-04a-ReachabilityCardinality-03 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA StigmergyCommit-PT-04a-ReachabilityCardinality-08 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA StigmergyCommit-PT-04a-ReachabilityCardinality-15 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
[2023-03-20 18:05:25] [INFO ] Flatten gal took : 144 ms
[2023-03-20 18:05:25] [INFO ] Flatten gal took : 72 ms
[2023-03-20 18:05:25] [INFO ] Time to serialize gal into /tmp/ReachabilityCardinality14859662722419206970.gal : 21 ms
Incomplete random walk after 10000 steps, including 14 resets, run finished after 932 ms. (steps per millisecond=10 ) properties (out of 12) seen :9
FORMULA StigmergyCommit-PT-04a-ReachabilityCardinality-14 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA StigmergyCommit-PT-04a-ReachabilityCardinality-11 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA StigmergyCommit-PT-04a-ReachabilityCardinality-10 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA StigmergyCommit-PT-04a-ReachabilityCardinality-07 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA StigmergyCommit-PT-04a-ReachabilityCardinality-06 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA StigmergyCommit-PT-04a-ReachabilityCardinality-05 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA StigmergyCommit-PT-04a-ReachabilityCardinality-04 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA StigmergyCommit-PT-04a-ReachabilityCardinality-01 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA StigmergyCommit-PT-04a-ReachabilityCardinality-00 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
[2023-03-20 18:05:25] [INFO ] Time to serialize properties into /tmp/ReachabilityCardinality6300780690938617271.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.202303021504/bin/its-reach-linux64' '--gc-threshold' '2000000' '--quiet' '-i' '/tmp/ReachabilityCardinality14859662722419206970.gal' '-t' 'CGAL' '-reachable-file' '/tmp/ReachabilityCardinality6300780690938617271.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.202303021504/bin/its-reach-linux64 --gc-threshold 2000000 --quiet ...329
Loading property file /tmp/ReachabilityCardinality6300780690938617271.prop.
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 120 ms. (steps per millisecond=83 ) properties (out of 3) seen :1
FORMULA StigmergyCommit-PT-04a-ReachabilityCardinality-13 TRUE TECHNIQUES TOPOLOGICAL BESTFIRST_WALK
SDD proceeding with computation,12 properties remain. new max is 4
SDD size :1 after 5
SDD proceeding with computation,12 properties remain. new max is 8
SDD size :5 after 7
SDD proceeding with computation,12 properties remain. new max is 16
SDD size :7 after 8
SDD proceeding with computation,12 properties remain. new max is 32
SDD size :8 after 39
Incomplete Best-First random walk after 10000 steps, including 3 resets, run finished after 58 ms. (steps per millisecond=172 ) properties (out of 2) seen :0
SDD proceeding with computation,12 properties remain. new max is 64
SDD size :39 after 50
SDD proceeding with computation,12 properties remain. new max is 128
SDD size :50 after 687
Running SMT prover for 2 properties.
[2023-03-20 18:05:25] [INFO ] Flow matrix only has 286 transitions (discarded 15 similar events)
// Phase 1: matrix 286 rows 184 cols
Invariant property StigmergyCommit-PT-04a-ReachabilityCardinality-10 does not hold.
[2023-03-20 18:05:25] [INFO ] Computed 6 place invariants in 13 ms
Reachability property StigmergyCommit-PT-04a-ReachabilityCardinality-05 is true.
SDD proceeding with computation,10 properties remain. new max is 128
SDD size :687 after 20316
Invariant property StigmergyCommit-PT-04a-ReachabilityCardinality-06 does not hold.
Reachability property StigmergyCommit-PT-04a-ReachabilityCardinality-04 is true.
Invariant property StigmergyCommit-PT-04a-ReachabilityCardinality-01 does not hold.
SDD proceeding with computation,7 properties remain. new max is 128
SDD size :20316 after 20528
Reachability property StigmergyCommit-PT-04a-ReachabilityCardinality-14 is true.
[2023-03-20 18:05:25] [INFO ] After 276ms SMT Verify possible using all constraints in real domain returned unsat :0 sat :0 real:2
[2023-03-20 18:05:25] [INFO ] [Nat]Absence check using 6 positive place invariants in 18 ms returned sat
SDD proceeding with computation,6 properties remain. new max is 128
SDD size :20528 after 20597
[2023-03-20 18:05:26] [INFO ] After 218ms SMT Verify possible using state equation in natural domain returned unsat :0 sat :2
[2023-03-20 18:05:26] [INFO ] State equation strengthened by 131 read => feed constraints.
[2023-03-20 18:05:26] [INFO ] After 106ms SMT Verify possible using 131 Read/Feed constraints in natural domain returned unsat :0 sat :2
Reachability property StigmergyCommit-PT-04a-ReachabilityCardinality-11 is true.
SDD proceeding with computation,5 properties remain. new max is 128
SDD size :20597 after 21106
Reachability property StigmergyCommit-PT-04a-ReachabilityCardinality-13 is true.
[2023-03-20 18:05:26] [INFO ] Deduced a trap composed of 17 places in 167 ms of which 7 ms to minimize.
[2023-03-20 18:05:26] [INFO ] Deduced a trap composed of 17 places in 175 ms of which 2 ms to minimize.
[2023-03-20 18:05:26] [INFO ] Deduced a trap composed of 16 places in 160 ms of which 1 ms to minimize.
SDD proceeding with computation,4 properties remain. new max is 128
SDD size :21106 after 22310
[2023-03-20 18:05:27] [INFO ] Deduced a trap composed of 17 places in 139 ms of which 1 ms to minimize.
[2023-03-20 18:05:27] [INFO ] Deduced a trap composed of 17 places in 125 ms of which 2 ms to minimize.
[2023-03-20 18:05:27] [INFO ] Deduced a trap composed of 16 places in 86 ms of which 0 ms to minimize.
[2023-03-20 18:05:27] [INFO ] Trap strengthening procedure managed to obtain unsat after adding 6 trap constraints in 989 ms
[2023-03-20 18:05:27] [INFO ] After 1119ms SMT Verify possible using trap constraints in natural domain returned unsat :2 sat :0
[2023-03-20 18:05:27] [INFO ] After 1503ms SMT Verify possible using all constraints in natural domain returned unsat :2 sat :0
FORMULA StigmergyCommit-PT-04a-ReachabilityCardinality-12 FALSE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA StigmergyCommit-PT-04a-ReachabilityCardinality-09 FALSE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
Fused 2 Parikh solutions to 0 different solutions.
Parikh walk visited 0 properties in 0 ms.
ITS runner failed with exception null
java.lang.InterruptedException
at java.base/java.lang.Object.wait(Native Method)
at java.base/java.lang.Thread.join(Thread.java:1304)
at java.base/java.lang.Thread.join(Thread.java:1372)
at fr.lip6.move.gal.application.runner.AbstractRunner.join(AbstractRunner.java:27)
at fr.lip6.move.gal.application.runner.its.ITSRunner.join(ITSRunner.java:177)
at fr.lip6.move.gal.application.solver.global.GlobalPropertySolver.verifyWithSDD(GlobalPropertySolver.java:675)
at fr.lip6.move.gal.application.solver.ReachabilitySolver.lambda$2(ReachabilitySolver.java:63)
at java.base/java.lang.Thread.run(Thread.java:833)
All properties solved without resorting to model-checking.
Total runtime 3390 ms.
Reachability property StigmergyCommit-PT-04a-ReachabilityCardinality-07 is true.
Invariant property StigmergyCommit-PT-04a-ReachabilityCardinality-00 does not hold.
SDD proceeding with computation,2 properties remain. new max is 128
SDD size :22310 after 25844
Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
petri\_inst\_inst,25867,2.20914,11380,2,2771,26,22363,8,0,1057,12094,0
Total reachable state count : 25867

Verifying 12 reachability properties.
Invariant property StigmergyCommit-PT-04a-ReachabilityCardinality-00 does not hold.

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
StigmergyCommit-PT-04a-ReachabilityCardinality-00,1,2.21173,11380,2,185,26,22363,9,0,1066,12094,0
Invariant property StigmergyCommit-PT-04a-ReachabilityCardinality-01 does not hold.

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
StigmergyCommit-PT-04a-ReachabilityCardinality-01,1,2.21269,11644,2,185,26,22363,10,0,1071,12094,0
Reachability property StigmergyCommit-PT-04a-ReachabilityCardinality-04 is true.

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
StigmergyCommit-PT-04a-ReachabilityCardinality-04,1,2.21485,11644,2,185,26,22363,11,0,1106,12094,0
Reachability property StigmergyCommit-PT-04a-ReachabilityCardinality-05 is true.

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
StigmergyCommit-PT-04a-ReachabilityCardinality-05,1,2.21537,11644,2,185,26,22363,12,0,1108,12094,0
Invariant property StigmergyCommit-PT-04a-ReachabilityCardinality-06 does not hold.

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
StigmergyCommit-PT-04a-ReachabilityCardinality-06,1,2.21572,11644,2,185,26,22363,13,0,1110,12094,0
Reachability property StigmergyCommit-PT-04a-ReachabilityCardinality-07 is true.

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
StigmergyCommit-PT-04a-ReachabilityCardinality-07,625,2.21611,11644,2,500,26,22363,14,0,1112,12094,0
Reachability property StigmergyCommit-PT-04a-ReachabilityCardinality-09 does not hold.
No reachable states exhibit your property : StigmergyCommit-PT-04a-ReachabilityCardinality-09

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
StigmergyCommit-PT-04a-ReachabilityCardinality-09,0,2.22111,11644,1,0,26,22363,14,0,1146,12094,0
Invariant property StigmergyCommit-PT-04a-ReachabilityCardinality-10 does not hold.

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
StigmergyCommit-PT-04a-ReachabilityCardinality-10,4,2.22374,11644,2,189,26,22363,15,0,1188,12094,0
Reachability property StigmergyCommit-PT-04a-ReachabilityCardinality-11 is true.

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
StigmergyCommit-PT-04a-ReachabilityCardinality-11,128,2.22422,11644,2,324,26,22363,16,0,1193,12094,0
Reachability property StigmergyCommit-PT-04a-ReachabilityCardinality-12 does not hold.
No reachable states exhibit your property : StigmergyCommit-PT-04a-ReachabilityCardinality-12

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
StigmergyCommit-PT-04a-ReachabilityCardinality-12,0,2.22584,11644,1,0,26,22363,16,0,1197,12094,0
Reachability property StigmergyCommit-PT-04a-ReachabilityCardinality-13 is true.

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
StigmergyCommit-PT-04a-ReachabilityCardinality-13,1,2.22618,11644,2,185,26,22363,17,0,1199,12094,0
Reachability property StigmergyCommit-PT-04a-ReachabilityCardinality-14 is true.

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
StigmergyCommit-PT-04a-ReachabilityCardinality-14,1,2.22909,11644,2,185,26,22363,18,0,1233,12094,0

BK_STOP 1679335528388

--------------------
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.202303021504.jar
+ VERSION=202303021504
+ echo 'Running Version 202303021504'
+ /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="StigmergyCommit-PT-04a"
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-5348"
echo " Executing tool itstools"
echo " Input is StigmergyCommit-PT-04a, 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 r453-smll-167912645400430"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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