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

About the Execution of ITS-Tools for ParamProductionCell-PT-1

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
297.579 12119.00 28398.00 491.40 TTTTFFTFFTFTFTTT 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-167863536300374.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 ParamProductionCell-PT-1, examination is ReachabilityCardinality
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r261-smll-167863536300374
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 728K
-rw-r--r-- 1 mcc users 7.6K Feb 26 17:16 CTLCardinality.txt
-rw-r--r-- 1 mcc users 69K Feb 26 17:16 CTLCardinality.xml
-rw-r--r-- 1 mcc users 6.5K Feb 26 17:15 CTLFireability.txt
-rw-r--r-- 1 mcc users 50K Feb 26 17:15 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.2K Jan 29 11:40 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 6.2K Jan 29 11:40 GenericPropertiesVerdict.xml
-rw-r--r-- 1 mcc users 4.8K Feb 25 16:29 LTLCardinality.txt
-rw-r--r-- 1 mcc users 29K Feb 25 16:29 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.9K Feb 25 16:29 LTLFireability.txt
-rw-r--r-- 1 mcc users 18K Feb 25 16:29 LTLFireability.xml
-rw-r--r-- 1 mcc users 20K Feb 26 17:17 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 185K Feb 26 17:17 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 13K Feb 26 17:16 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 87K Feb 26 17:16 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.9K Feb 25 16:29 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.9K Feb 25 16:29 UpperBounds.xml
-rw-r--r-- 1 mcc users 6 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 174K 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 ParamProductionCell-PT-1-ReachabilityCardinality-00
FORMULA_NAME ParamProductionCell-PT-1-ReachabilityCardinality-01
FORMULA_NAME ParamProductionCell-PT-1-ReachabilityCardinality-02
FORMULA_NAME ParamProductionCell-PT-1-ReachabilityCardinality-03
FORMULA_NAME ParamProductionCell-PT-1-ReachabilityCardinality-04
FORMULA_NAME ParamProductionCell-PT-1-ReachabilityCardinality-05
FORMULA_NAME ParamProductionCell-PT-1-ReachabilityCardinality-06
FORMULA_NAME ParamProductionCell-PT-1-ReachabilityCardinality-07
FORMULA_NAME ParamProductionCell-PT-1-ReachabilityCardinality-08
FORMULA_NAME ParamProductionCell-PT-1-ReachabilityCardinality-09
FORMULA_NAME ParamProductionCell-PT-1-ReachabilityCardinality-10
FORMULA_NAME ParamProductionCell-PT-1-ReachabilityCardinality-11
FORMULA_NAME ParamProductionCell-PT-1-ReachabilityCardinality-12
FORMULA_NAME ParamProductionCell-PT-1-ReachabilityCardinality-13
FORMULA_NAME ParamProductionCell-PT-1-ReachabilityCardinality-14
FORMULA_NAME ParamProductionCell-PT-1-ReachabilityCardinality-15

=== Now, execution of the tool begins

BK_START 1678917543222

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=ParamProductionCell-PT-1
Not applying reductions.
Model is PT
ReachabilityCardinality PT
Running Version 202303021504
[2023-03-15 21:59:07] [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-15 21:59:07] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2023-03-15 21:59:07] [INFO ] Load time of PNML (sax parser for PT used): 157 ms
[2023-03-15 21:59:07] [INFO ] Transformed 231 places.
[2023-03-15 21:59:07] [INFO ] Transformed 202 transitions.
[2023-03-15 21:59:07] [INFO ] Found NUPN structural information;
[2023-03-15 21:59:07] [INFO ] Parsed PT model containing 231 places and 202 transitions and 846 arcs in 330 ms.
Parsed 16 properties from file /home/mcc/execution/ReachabilityCardinality.xml in 42 ms.
Working with output stream class java.io.PrintStream
FORMULA ParamProductionCell-PT-1-ReachabilityCardinality-02 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA ParamProductionCell-PT-1-ReachabilityCardinality-03 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA ParamProductionCell-PT-1-ReachabilityCardinality-06 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA ParamProductionCell-PT-1-ReachabilityCardinality-09 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA ParamProductionCell-PT-1-ReachabilityCardinality-10 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA ParamProductionCell-PT-1-ReachabilityCardinality-11 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
[2023-03-15 21:59:08] [INFO ] Flatten gal took : 170 ms
[2023-03-15 21:59:08] [INFO ] Flatten gal took : 93 ms
[2023-03-15 21:59:08] [INFO ] Time to serialize gal into /tmp/ReachabilityCardinality7490837239528705044.gal : 24 ms
[2023-03-15 21:59:08] [INFO ] Time to serialize properties into /tmp/ReachabilityCardinality1531364965303204641.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/ReachabilityCardinality7490837239528705044.gal' '-t' 'CGAL' '-reachable-file' '/tmp/ReachabilityCardinality1531364965303204641.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 ...328
Incomplete random walk after 10000 steps, including 2 resets, run finished after 985 ms. (steps per millisecond=10 ) properties (out of 10) seen :1
FORMULA ParamProductionCell-PT-1-ReachabilityCardinality-15 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
Loading property file /tmp/ReachabilityCardinality1531364965303204641.prop.
SDD proceeding with computation,10 properties remain. new max is 4
SDD size :1 after 2
SDD proceeding with computation,10 properties remain. new max is 8
SDD size :2 after 7
SDD proceeding with computation,10 properties remain. new max is 16
SDD size :7 after 13
SDD proceeding with computation,10 properties remain. new max is 32
SDD size :13 after 16
SDD proceeding with computation,10 properties remain. new max is 64
SDD size :16 after 30
SDD proceeding with computation,10 properties remain. new max is 128
SDD size :30 after 41
SDD proceeding with computation,10 properties remain. new max is 256
SDD size :57 after 78
SDD proceeding with computation,10 properties remain. new max is 512
SDD size :78 after 159
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 323 ms. (steps per millisecond=30 ) properties (out of 9) seen :1
FORMULA ParamProductionCell-PT-1-ReachabilityCardinality-00 TRUE TECHNIQUES TOPOLOGICAL BESTFIRST_WALK
Reachability property ParamProductionCell-PT-1-ReachabilityCardinality-15 is true.
Reachability property ParamProductionCell-PT-1-ReachabilityCardinality-00 is true.
SDD proceeding with computation,8 properties remain. new max is 512
SDD size :159 after 1363
Incomplete Best-First random walk after 10000 steps, including 2 resets, run finished after 291 ms. (steps per millisecond=34 ) properties (out of 8) seen :0
Incomplete Best-First random walk after 10000 steps, including 2 resets, run finished after 156 ms. (steps per millisecond=64 ) properties (out of 8) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 192 ms. (steps per millisecond=52 ) properties (out of 8) seen :0
Incomplete Best-First random walk after 10000 steps, including 2 resets, run finished after 250 ms. (steps per millisecond=40 ) properties (out of 8) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 177 ms. (steps per millisecond=56 ) properties (out of 8) seen :0
Incomplete Best-First random walk after 10000 steps, including 2 resets, run finished after 167 ms. (steps per millisecond=59 ) properties (out of 8) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 135 ms. (steps per millisecond=74 ) properties (out of 8) seen :0
Incomplete Best-First random walk after 10000 steps, including 2 resets, run finished after 173 ms. (steps per millisecond=57 ) properties (out of 8) seen :0
Running SMT prover for 8 properties.
// Phase 1: matrix 202 rows 231 cols
[2023-03-15 21:59:10] [INFO ] Computed 59 place invariants in 17 ms
[2023-03-15 21:59:11] [INFO ] After 360ms SMT Verify possible using all constraints in real domain returned unsat :0 sat :0 real:8
SDD proceeding with computation,8 properties remain. new max is 1024
SDD size :18257 after 22612
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,25632,2.25583,12532,2,5433,19,31088,14,0,1358,13696,0
Total reachable state count : 25632

Verifying 10 reachability properties.
Reachability property ParamProductionCell-PT-1-ReachabilityCardinality-00 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
ParamProductionCell-PT-1-ReachabilityCardinality-00,1176,2.27622,12532,2,1424,19,31088,15,0,1435,13696,0
Invariant property ParamProductionCell-PT-1-ReachabilityCardinality-01 is true.
FORMULA ParamProductionCell-PT-1-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
ParamProductionCell-PT-1-ReachabilityCardinality-01,0,2.28386,12776,1,0,19,31088,15,0,1461,13696,0
Reachability property ParamProductionCell-PT-1-ReachabilityCardinality-04 does not hold.
FORMULA ParamProductionCell-PT-1-ReachabilityCardinality-04 FALSE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL COLLATERAL_PROCESSING
No reachable states exhibit your property : ParamProductionCell-PT-1-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
ParamProductionCell-PT-1-ReachabilityCardinality-04,0,2.29211,12776,1,0,19,31088,15,0,1501,13696,0
Reachability property ParamProductionCell-PT-1-ReachabilityCardinality-05 does not hold.
FORMULA ParamProductionCell-PT-1-ReachabilityCardinality-05 FALSE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL COLLATERAL_PROCESSING
No reachable states exhibit your property : ParamProductionCell-PT-1-ReachabilityCardinality-05

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
ParamProductionCell-PT-1-ReachabilityCardinality-05,0,2.30134,12776,1,0,19,31088,15,0,1515,13696,0
Reachability property ParamProductionCell-PT-1-ReachabilityCardinality-07 does not hold.
FORMULA ParamProductionCell-PT-1-ReachabilityCardinality-07 FALSE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL COLLATERAL_PROCESSING
No reachable states exhibit your property : ParamProductionCell-PT-1-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
ParamProductionCell-PT-1-ReachabilityCardinality-07,0,2.31057,12776,1,0,19,31088,15,0,1550,13696,0
Reachability property ParamProductionCell-PT-1-ReachabilityCardinality-08 does not hold.
FORMULA ParamProductionCell-PT-1-ReachabilityCardinality-08 FALSE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL COLLATERAL_PROCESSING
No reachable states exhibit your property : ParamProductionCell-PT-1-ReachabilityCardinality-08

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
ParamProductionCell-PT-1-ReachabilityCardinality-08,0,2.3151,12776,1,0,19,31088,15,0,1554,13696,0
Reachability property ParamProductionCell-PT-1-ReachabilityCardinality-12 does not hold.
FORMULA ParamProductionCell-PT-1-ReachabilityCardinality-12 FALSE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL COLLATERAL_PROCESSING
No reachable states exhibit your property : ParamProductionCell-PT-1-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
ParamProductionCell-PT-1-ReachabilityCardinality-12,0,2.31722,12776,1,0,19,31088,15,0,1556,13696,0
Invariant property ParamProductionCell-PT-1-ReachabilityCardinality-13 is true.
FORMULA ParamProductionCell-PT-1-ReachabilityCardinality-13 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
ParamProductionCell-PT-1-ReachabilityCardinality-13,0,2.32009,12776,1,0,19,31088,15,0,1559,13696,0
Invariant property ParamProductionCell-PT-1-ReachabilityCardinality-14 is true.
FORMULA ParamProductionCell-PT-1-ReachabilityCardinality-14 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
ParamProductionCell-PT-1-ReachabilityCardinality-14,0,2.32344,12776,1,0,19,31088,15,0,1561,13696,0
Reachability property ParamProductionCell-PT-1-ReachabilityCardinality-15 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
ParamProductionCell-PT-1-ReachabilityCardinality-15,2,2.33244,12776,2,278,19,31088,16,0,1613,13696,0
[2023-03-15 21:59:11] [INFO ] [Nat]Absence check using 35 positive place invariants in 19 ms returned sat
[2023-03-15 21:59:11] [INFO ] [Nat]Absence check using 35 positive and 24 generalized place invariants in 16 ms returned sat
[2023-03-15 21:59:11] [INFO ] After 311ms SMT Verify possible using state equation in natural domain returned unsat :5 sat :3
[2023-03-15 21:59:11] [INFO ] State equation strengthened by 68 read => feed constraints.
[2023-03-15 21:59:11] [INFO ] After 187ms SMT Verify possible using 68 Read/Feed constraints in natural domain returned unsat :5 sat :3
[2023-03-15 21:59:12] [INFO ] Deduced a trap composed of 5 places in 168 ms of which 9 ms to minimize.
[2023-03-15 21:59:12] [INFO ] Deduced a trap composed of 10 places in 142 ms of which 2 ms to minimize.
[2023-03-15 21:59:12] [INFO ] Deduced a trap composed of 7 places in 124 ms of which 1 ms to minimize.
[2023-03-15 21:59:12] [INFO ] Deduced a trap composed of 10 places in 118 ms of which 2 ms to minimize.
[2023-03-15 21:59:12] [INFO ] Deduced a trap composed of 10 places in 99 ms of which 1 ms to minimize.
[2023-03-15 21:59:12] [INFO ] Trap strengthening procedure managed to obtain unsat after adding 5 trap constraints in 778 ms
[2023-03-15 21:59:12] [INFO ] Deduced a trap composed of 6 places in 126 ms of which 1 ms to minimize.
[2023-03-15 21:59:13] [INFO ] Deduced a trap composed of 24 places in 159 ms of which 2 ms to minimize.
[2023-03-15 21:59:13] [INFO ] Deduced a trap composed of 48 places in 154 ms of which 1 ms to minimize.
[2023-03-15 21:59:13] [INFO ] Deduced a trap composed of 11 places in 138 ms of which 0 ms to minimize.
[2023-03-15 21:59:13] [INFO ] Deduced a trap composed of 24 places in 128 ms of which 1 ms to minimize.
[2023-03-15 21:59:13] [INFO ] Deduced a trap composed of 34 places in 159 ms of which 1 ms to minimize.
[2023-03-15 21:59:13] [INFO ] Deduced a trap composed of 5 places in 43 ms of which 0 ms to minimize.
[2023-03-15 21:59:13] [INFO ] Trap strengthening procedure managed to obtain unsat after adding 7 trap constraints in 1065 ms
[2023-03-15 21:59:14] [INFO ] Deduced a trap composed of 11 places in 151 ms of which 1 ms to minimize.
[2023-03-15 21:59:14] [INFO ] Deduced a trap composed of 23 places in 134 ms of which 1 ms to minimize.
[2023-03-15 21:59:14] [INFO ] Trap strengthening procedure managed to obtain unsat after adding 2 trap constraints in 344 ms
[2023-03-15 21:59:14] [INFO ] After 2627ms SMT Verify possible using trap constraints in natural domain returned unsat :8 sat :0
[2023-03-15 21:59:14] [INFO ] After 3199ms SMT Verify possible using all constraints in natural domain returned unsat :8 sat :0
Fused 8 Parikh solutions to 0 different solutions.
Parikh walk visited 0 properties in 0 ms.
All properties solved without resorting to model-checking.
Total runtime 7084 ms.

BK_STOP 1678917555341

--------------------
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="ParamProductionCell-PT-1"
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 ParamProductionCell-PT-1, 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-167863536300374"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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