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

About the Execution of ITS-Tools for Peterson-PT-2

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
259.588 7799.00 19495.00 405.20 FTTTFTFFTTFTFFTF 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-167863536600606.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 Peterson-PT-2, examination is ReachabilityCardinality
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r261-smll-167863536600606
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 876K
-rw-r--r-- 1 mcc users 13K Feb 25 22:04 CTLCardinality.txt
-rw-r--r-- 1 mcc users 79K Feb 25 22:04 CTLCardinality.xml
-rw-r--r-- 1 mcc users 22K Feb 25 22:01 CTLFireability.txt
-rw-r--r-- 1 mcc users 124K Feb 25 22:01 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.2K Jan 29 11:40 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 6.5K Jan 29 11:40 GenericPropertiesVerdict.xml
-rw-r--r-- 1 mcc users 9.2K Feb 25 16:31 LTLCardinality.txt
-rw-r--r-- 1 mcc users 38K Feb 25 16:31 LTLCardinality.xml
-rw-r--r-- 1 mcc users 6.5K Feb 25 16:31 LTLFireability.txt
-rw-r--r-- 1 mcc users 31K Feb 25 16:31 LTLFireability.xml
-rw-r--r-- 1 mcc users 24K Feb 25 22:07 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 152K Feb 25 22:07 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 33K Feb 25 22:06 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 185K Feb 25 22:06 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 2.6K Feb 25 16:31 UpperBounds.txt
-rw-r--r-- 1 mcc users 5.8K Feb 25 16:31 UpperBounds.xml
-rw-r--r-- 1 mcc users 5 Mar 5 18:23 equiv_col
-rw-r--r-- 1 mcc users 2 Mar 5 18:23 instance
-rw-r--r-- 1 mcc users 6 Mar 5 18:23 iscolored
-rw-r--r-- 1 mcc users 100K 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 Peterson-PT-2-ReachabilityCardinality-00
FORMULA_NAME Peterson-PT-2-ReachabilityCardinality-01
FORMULA_NAME Peterson-PT-2-ReachabilityCardinality-02
FORMULA_NAME Peterson-PT-2-ReachabilityCardinality-03
FORMULA_NAME Peterson-PT-2-ReachabilityCardinality-04
FORMULA_NAME Peterson-PT-2-ReachabilityCardinality-05
FORMULA_NAME Peterson-PT-2-ReachabilityCardinality-06
FORMULA_NAME Peterson-PT-2-ReachabilityCardinality-07
FORMULA_NAME Peterson-PT-2-ReachabilityCardinality-08
FORMULA_NAME Peterson-PT-2-ReachabilityCardinality-09
FORMULA_NAME Peterson-PT-2-ReachabilityCardinality-10
FORMULA_NAME Peterson-PT-2-ReachabilityCardinality-11
FORMULA_NAME Peterson-PT-2-ReachabilityCardinality-12
FORMULA_NAME Peterson-PT-2-ReachabilityCardinality-13
FORMULA_NAME Peterson-PT-2-ReachabilityCardinality-14
FORMULA_NAME Peterson-PT-2-ReachabilityCardinality-15

=== Now, execution of the tool begins

BK_START 1679043880809

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=Peterson-PT-2
Not applying reductions.
Model is PT
ReachabilityCardinality PT
Running Version 202303021504
[2023-03-17 09:04:43] [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-17 09:04:43] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2023-03-17 09:04:44] [INFO ] Load time of PNML (sax parser for PT used): 160 ms
[2023-03-17 09:04:44] [INFO ] Transformed 102 places.
[2023-03-17 09:04:44] [INFO ] Transformed 126 transitions.
[2023-03-17 09:04:44] [INFO ] Found NUPN structural information;
[2023-03-17 09:04:44] [INFO ] Parsed PT model containing 102 places and 126 transitions and 384 arcs in 257 ms.
Parsed 16 properties from file /home/mcc/execution/ReachabilityCardinality.xml in 26 ms.
Working with output stream class java.io.PrintStream
FORMULA Peterson-PT-2-ReachabilityCardinality-08 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA Peterson-PT-2-ReachabilityCardinality-09 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA Peterson-PT-2-ReachabilityCardinality-14 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA Peterson-PT-2-ReachabilityCardinality-15 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
[2023-03-17 09:04:44] [INFO ] Flatten gal took : 138 ms
[2023-03-17 09:04:44] [INFO ] Flatten gal took : 34 ms
[2023-03-17 09:04:44] [INFO ] Time to serialize gal into /tmp/ReachabilityCardinality17103385765577923946.gal : 14 ms
[2023-03-17 09:04:44] [INFO ] Time to serialize properties into /tmp/ReachabilityCardinality2290978550053862826.prop : 3 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/ReachabilityCardinality17103385765577923946.gal' '-t' 'CGAL' '-reachable-file' '/tmp/ReachabilityCardinality2290978550053862826.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/ReachabilityCardinality2290978550053862826.prop.
SDD proceeding with computation,12 properties remain. new max is 4
SDD size :1 after 2
SDD proceeding with computation,12 properties remain. new max is 8
SDD size :2 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 9
SDD proceeding with computation,12 properties remain. new max is 64
SDD size :9 after 49
SDD proceeding with computation,12 properties remain. new max is 128
SDD size :49 after 90
Incomplete random walk after 10000 steps, including 2 resets, run finished after 859 ms. (steps per millisecond=11 ) properties (out of 12) seen :2
FORMULA Peterson-PT-2-ReachabilityCardinality-12 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA Peterson-PT-2-ReachabilityCardinality-10 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
SDD proceeding with computation,12 properties remain. new max is 256
SDD size :90 after 183
SDD proceeding with computation,12 properties remain. new max is 512
SDD size :183 after 874
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 185 ms. (steps per millisecond=54 ) properties (out of 10) seen :0
SDD proceeding with computation,12 properties remain. new max is 1024
SDD size :874 after 3793
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 115 ms. (steps per millisecond=86 ) properties (out of 10) seen :0
Invariant property Peterson-PT-2-ReachabilityCardinality-13 does not hold.
FORMULA Peterson-PT-2-ReachabilityCardinality-13 FALSE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL COLLATERAL_PROCESSING
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 97 ms. (steps per millisecond=103 ) properties (out of 10) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 103 ms. (steps per millisecond=97 ) properties (out of 10) seen :0
Invariant property Peterson-PT-2-ReachabilityCardinality-10 does not hold.
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 122 ms. (steps per millisecond=81 ) properties (out of 10) seen :0
SDD proceeding with computation,10 properties remain. new max is 1024
SDD size :3793 after 7145
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 122 ms. (steps per millisecond=81 ) properties (out of 10) seen :0
Invariant property Peterson-PT-2-ReachabilityCardinality-12 does not hold.
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 127 ms. (steps per millisecond=78 ) properties (out of 10) seen :0
SDD proceeding with computation,9 properties remain. new max is 1024
SDD size :7145 after 12972
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 137 ms. (steps per millisecond=73 ) properties (out of 10) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 160 ms. (steps per millisecond=62 ) properties (out of 10) seen :0
SDD proceeding with computation,9 properties remain. new max is 2048
SDD size :16216 after 19291
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,20754,1.16634,18128,2,3437,21,40634,15,0,628,39551,0
Total reachable state count : 20754

Verifying 12 reachability properties.
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 104 ms. (steps per millisecond=96 ) properties (out of 10) seen :0
Reachability property Peterson-PT-2-ReachabilityCardinality-00 does not hold.
FORMULA Peterson-PT-2-ReachabilityCardinality-00 FALSE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL COLLATERAL_PROCESSING
No reachable states exhibit your property : Peterson-PT-2-ReachabilityCardinality-00

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
Peterson-PT-2-ReachabilityCardinality-00,0,1.20861,18408,1,0,21,40634,15,0,1152,39551,0
Invariant property Peterson-PT-2-ReachabilityCardinality-01 is true.
FORMULA Peterson-PT-2-ReachabilityCardinality-01 TRUE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL COLLATERAL_PROCESSING

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
Peterson-PT-2-ReachabilityCardinality-01,0,1.21579,18408,1,0,21,40634,15,0,1235,39551,0
Invariant property Peterson-PT-2-ReachabilityCardinality-02 is true.
FORMULA Peterson-PT-2-ReachabilityCardinality-02 TRUE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL COLLATERAL_PROCESSING

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
Peterson-PT-2-ReachabilityCardinality-02,0,1.219,18408,1,0,21,40634,15,0,1253,39551,0
Invariant property Peterson-PT-2-ReachabilityCardinality-03 is true.
FORMULA Peterson-PT-2-ReachabilityCardinality-03 TRUE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL COLLATERAL_PROCESSING

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
Peterson-PT-2-ReachabilityCardinality-03,0,1.22656,18408,1,0,21,40634,15,0,1336,39551,0
Reachability property Peterson-PT-2-ReachabilityCardinality-04 does not hold.
FORMULA Peterson-PT-2-ReachabilityCardinality-04 FALSE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL COLLATERAL_PROCESSING
No reachable states exhibit your property : Peterson-PT-2-ReachabilityCardinality-04

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
Peterson-PT-2-ReachabilityCardinality-04,0,1.24047,18408,1,0,21,40634,15,0,1559,39551,0
Invariant property Peterson-PT-2-ReachabilityCardinality-05 is true.
FORMULA Peterson-PT-2-ReachabilityCardinality-05 TRUE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL COLLATERAL_PROCESSING

Running SMT prover for 10 properties.
Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
Peterson-PT-2-ReachabilityCardinality-05,0,1.24372,18408,1,0,21,40634,15,0,1577,39551,0
Reachability property Peterson-PT-2-ReachabilityCardinality-06 does not hold.
FORMULA Peterson-PT-2-ReachabilityCardinality-06 FALSE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL COLLATERAL_PROCESSING
No reachable states exhibit your property : Peterson-PT-2-ReachabilityCardinality-06

[2023-03-17 09:04:46] [INFO ] Flow matrix only has 120 transitions (discarded 6 similar events)
Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
Peterson-PT-2-ReachabilityCardinality-06,0,1.25671,18408,1,0,21,40634,15,0,1751,39551,0
Reachability property Peterson-PT-2-ReachabilityCardinality-07 does not hold.
FORMULA Peterson-PT-2-ReachabilityCardinality-07 FALSE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL COLLATERAL_PROCESSING
No reachable states exhibit your property : Peterson-PT-2-ReachabilityCardinality-07

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
Peterson-PT-2-ReachabilityCardinality-07,0,1.26517,18408,1,0,21,40634,15,0,1865,39551,0
Invariant property Peterson-PT-2-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
Peterson-PT-2-ReachabilityCardinality-10,1,1.27261,18408,2,103,21,40634,16,0,1953,39551,0
Invariant property Peterson-PT-2-ReachabilityCardinality-11 is true.
FORMULA Peterson-PT-2-ReachabilityCardinality-11 TRUE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL COLLATERAL_PROCESSING

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
Peterson-PT-2-ReachabilityCardinality-11,0,1.28009,18408,1,0,21,40634,16,0,1981,39551,0
Invariant property Peterson-PT-2-ReachabilityCardinality-12 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
Peterson-PT-2-ReachabilityCardinality-12,196,1.28069,18408,2,589,21,40634,17,0,1981,39551,0
Invariant property Peterson-PT-2-ReachabilityCardinality-13 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
Peterson-PT-2-ReachabilityCardinality-13,350,1.28176,18408,2,573,21,40634,18,0,1985,39551,0
// Phase 1: matrix 120 rows 102 cols
[2023-03-17 09:04:46] [INFO ] Computed 11 place invariants in 12 ms
ITS tools runner thread asked to quit. Dying gracefully.
[2023-03-17 09:04:46] [INFO ] [Real]Absence check using 8 positive place invariants in 5 ms returned sat
[2023-03-17 09:04:46] [INFO ] [Real]Absence check using 8 positive and 3 generalized place invariants in 16 ms returned sat
[2023-03-17 09:04:46] [INFO ] After 276ms SMT Verify possible using all constraints in real domain returned unsat :8 sat :0 real:2
[2023-03-17 09:04:47] [INFO ] [Nat]Absence check using 8 positive place invariants in 3 ms returned sat
[2023-03-17 09:04:47] [INFO ] [Nat]Absence check using 8 positive and 3 generalized place invariants in 1 ms returned sat
[2023-03-17 09:04:47] [INFO ] After 111ms SMT Verify possible using state equation in natural domain returned unsat :8 sat :2
[2023-03-17 09:04:47] [INFO ] State equation strengthened by 22 read => feed constraints.
[2023-03-17 09:04:47] [INFO ] After 47ms SMT Verify possible using 22 Read/Feed constraints in natural domain returned unsat :8 sat :2
[2023-03-17 09:04:47] [INFO ] Deduced a trap composed of 25 places in 75 ms of which 7 ms to minimize.
[2023-03-17 09:04:47] [INFO ] Deduced a trap composed of 12 places in 59 ms of which 1 ms to minimize.
[2023-03-17 09:04:47] [INFO ] Deduced a trap composed of 13 places in 47 ms of which 1 ms to minimize.
[2023-03-17 09:04:47] [INFO ] Deduced a trap composed of 26 places in 68 ms of which 2 ms to minimize.
[2023-03-17 09:04:47] [INFO ] Trap strengthening (SAT) tested/added 5/4 trap constraints in 322 ms
[2023-03-17 09:04:47] [INFO ] After 426ms SMT Verify possible using trap constraints in natural domain returned unsat :8 sat :2
Attempting to minimize the solution found.
Minimization took 39 ms.
[2023-03-17 09:04:47] [INFO ] After 687ms SMT Verify possible using all constraints in natural domain returned unsat :8 sat :2
Fused 10 Parikh solutions to 2 different solutions.
Parikh walk visited 0 properties in 7 ms.
All properties solved without resorting to model-checking.
Total runtime 3677 ms.

BK_STOP 1679043888608

--------------------
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="Peterson-PT-2"
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 Peterson-PT-2, 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 r261-smll-167863536600606"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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