fond
Model Checking Contest 2021
11th edition, Paris, France, June 23, 2021
Execution of r045-oct2-162038291800350
Last Updated
Jun 28, 2021

About the Execution of ITS-Tools for CloudDeployment-PT-7a

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
302.783 21791.00 30444.00 259.60 FFTFFFTTTTFFTFTF normal

Execution Chart

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

Trace from the execution

Formatting '/data/fko/mcc2021-input.r045-oct2-162038291800350.qcow2', fmt=qcow2 size=4294967296 backing_file=/data/fko/mcc2021-input.qcow2 cluster_size=65536 lazy_refcounts=off refcount_bits=16
Waiting for the VM to be ready (probing ssh)
...................................................................................................................................................................
=====================================================================
Generated by BenchKit 2-4028
Executing tool itstools
Input is CloudDeployment-PT-7a, examination is ReachabilityCardinality
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r045-oct2-162038291800350
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 800K
-rw-r--r-- 1 mcc users 14K May 5 16:58 CTLCardinality.txt
-rw-r--r-- 1 mcc users 132K May 5 16:58 CTLCardinality.xml
-rw-r--r-- 1 mcc users 11K May 5 16:58 CTLFireability.txt
-rw-r--r-- 1 mcc users 91K May 5 16:58 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.2K May 6 14:48 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 6.8K May 6 14:48 GenericPropertiesVerdict.xml
-rw-r--r-- 1 mcc users 3.2K Mar 28 15:52 LTLCardinality.txt
-rw-r--r-- 1 mcc users 22K Mar 28 15:52 LTLCardinality.xml
-rw-r--r-- 1 mcc users 1.9K Mar 28 15:52 LTLFireability.txt
-rw-r--r-- 1 mcc users 15K Mar 28 15:52 LTLFireability.xml
-rw-r--r-- 1 mcc users 3.6K Mar 23 03:21 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 18K Mar 23 03:21 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 2.6K Mar 22 12:49 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 14K Mar 22 12:49 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.7K Mar 22 09:10 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.7K Mar 22 09:10 UpperBounds.xml
-rw-r--r-- 1 mcc users 6 May 5 16:51 equiv_col
-rw-r--r-- 1 mcc users 3 May 5 16:51 instance
-rw-r--r-- 1 mcc users 6 May 5 16:51 iscolored
-rw-r--r-- 1 mcc users 420K May 5 16:51 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 CloudDeployment-PT-7a-ReachabilityCardinality-00
FORMULA_NAME CloudDeployment-PT-7a-ReachabilityCardinality-01
FORMULA_NAME CloudDeployment-PT-7a-ReachabilityCardinality-02
FORMULA_NAME CloudDeployment-PT-7a-ReachabilityCardinality-03
FORMULA_NAME CloudDeployment-PT-7a-ReachabilityCardinality-04
FORMULA_NAME CloudDeployment-PT-7a-ReachabilityCardinality-05
FORMULA_NAME CloudDeployment-PT-7a-ReachabilityCardinality-06
FORMULA_NAME CloudDeployment-PT-7a-ReachabilityCardinality-07
FORMULA_NAME CloudDeployment-PT-7a-ReachabilityCardinality-08
FORMULA_NAME CloudDeployment-PT-7a-ReachabilityCardinality-09
FORMULA_NAME CloudDeployment-PT-7a-ReachabilityCardinality-10
FORMULA_NAME CloudDeployment-PT-7a-ReachabilityCardinality-11
FORMULA_NAME CloudDeployment-PT-7a-ReachabilityCardinality-12
FORMULA_NAME CloudDeployment-PT-7a-ReachabilityCardinality-13
FORMULA_NAME CloudDeployment-PT-7a-ReachabilityCardinality-14
FORMULA_NAME CloudDeployment-PT-7a-ReachabilityCardinality-15

=== Now, execution of the tool begins

BK_START 1620576763269

Running Version 0
[2021-05-09 16:12:44] [INFO ] Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, ReachabilityCardinality, -spotpath, /home/mcc/BenchKit/bin//..//ltlfilt, -z3path, /home/mcc/BenchKit/bin//..//z3/bin/z3, -yices2path, /home/mcc/BenchKit/bin//..//yices/bin/yices, -its, -ltsmin, -greatspnpath, /home/mcc/BenchKit/bin//..//greatspn/, -order, META, -manyOrder, -smt, -timeout, 3600]
[2021-05-09 16:12:44] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2021-05-09 16:12:45] [INFO ] Load time of PNML (sax parser for PT used): 87 ms
[2021-05-09 16:12:45] [INFO ] Transformed 264 places.
[2021-05-09 16:12:45] [INFO ] Transformed 1174 transitions.
[2021-05-09 16:12:45] [INFO ] Found NUPN structural information;
[2021-05-09 16:12:45] [INFO ] Parsed PT model containing 264 places and 1174 transitions in 128 ms.
Parsed 16 properties from file /home/mcc/execution/ReachabilityCardinality.xml in 8 ms.
Working with output stream class java.io.PrintStream
Ensure Unique test removed 154 transitions
Reduce redundant transitions removed 154 transitions.
FORMULA CloudDeployment-PT-7a-ReachabilityCardinality-01 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA CloudDeployment-PT-7a-ReachabilityCardinality-03 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA CloudDeployment-PT-7a-ReachabilityCardinality-04 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA CloudDeployment-PT-7a-ReachabilityCardinality-15 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
Incomplete random walk after 10000 steps, including 91 resets, run finished after 65 ms. (steps per millisecond=153 ) properties (out of 12) seen :7
FORMULA CloudDeployment-PT-7a-ReachabilityCardinality-14 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA CloudDeployment-PT-7a-ReachabilityCardinality-13 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA CloudDeployment-PT-7a-ReachabilityCardinality-11 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA CloudDeployment-PT-7a-ReachabilityCardinality-08 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA CloudDeployment-PT-7a-ReachabilityCardinality-06 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA CloudDeployment-PT-7a-ReachabilityCardinality-05 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA CloudDeployment-PT-7a-ReachabilityCardinality-00 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
Incomplete Best-First random walk after 10001 steps, including 10 resets, run finished after 15 ms. (steps per millisecond=666 ) properties (out of 5) seen :0
Incomplete Best-First random walk after 10001 steps, including 9 resets, run finished after 17 ms. (steps per millisecond=588 ) properties (out of 5) seen :0
Incomplete Best-First random walk after 10001 steps, including 8 resets, run finished after 15 ms. (steps per millisecond=666 ) properties (out of 5) seen :0
Incomplete Best-First random walk after 10001 steps, including 10 resets, run finished after 14 ms. (steps per millisecond=714 ) properties (out of 5) seen :0
Incomplete Best-First random walk after 10001 steps, including 9 resets, run finished after 15 ms. (steps per millisecond=666 ) properties (out of 5) seen :0
Running SMT prover for 5 properties.
[2021-05-09 16:12:45] [INFO ] Flow matrix only has 475 transitions (discarded 545 similar events)
// Phase 1: matrix 475 rows 264 cols
[2021-05-09 16:12:45] [INFO ] Computed 42 place invariants in 20 ms
[2021-05-09 16:12:45] [INFO ] [Real]Absence check using 0 positive and 42 generalized place invariants in 22 ms returned sat
[2021-05-09 16:12:45] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2021-05-09 16:12:45] [INFO ] [Real]Absence check using state equation in 118 ms returned sat
[2021-05-09 16:12:45] [INFO ] Solution in real domain found non-integer solution.
[2021-05-09 16:12:45] [INFO ] [Real]Absence check using 0 positive and 42 generalized place invariants in 12 ms returned sat
[2021-05-09 16:12:45] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2021-05-09 16:12:45] [INFO ] [Real]Absence check using state equation in 149 ms returned sat
[2021-05-09 16:12:46] [INFO ] Solution in real domain found non-integer solution.
[2021-05-09 16:12:46] [INFO ] [Real]Absence check using 0 positive and 42 generalized place invariants in 9 ms returned sat
[2021-05-09 16:12:46] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2021-05-09 16:12:46] [INFO ] [Real]Absence check using state equation in 130 ms returned sat
[2021-05-09 16:12:46] [INFO ] Solution in real domain found non-integer solution.
[2021-05-09 16:12:46] [INFO ] [Real]Absence check using 0 positive and 42 generalized place invariants in 30 ms returned sat
[2021-05-09 16:12:46] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2021-05-09 16:12:46] [INFO ] [Real]Absence check using state equation in 209 ms returned sat
[2021-05-09 16:12:46] [INFO ] Solution in real domain found non-integer solution.
[2021-05-09 16:12:46] [INFO ] [Nat]Absence check using 0 positive and 42 generalized place invariants in 11 ms returned sat
[2021-05-09 16:12:46] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2021-05-09 16:12:46] [INFO ] [Nat]Absence check using state equation in 95 ms returned sat
[2021-05-09 16:12:46] [INFO ] State equation strengthened by 240 read => feed constraints.
[2021-05-09 16:12:46] [INFO ] [Nat]Added 240 Read/Feed constraints in 47 ms returned sat
[2021-05-09 16:12:46] [INFO ] Computed and/alt/rep : 337/960/337 causal constraints (skipped 137 transitions) in 41 ms.
[2021-05-09 16:12:48] [INFO ] Added : 230 causal constraints over 47 iterations in 1395 ms. Result :sat
Attempting to minimize the solution found.
Minimization took 12 ms.
[2021-05-09 16:12:48] [INFO ] [Real]Absence check using 0 positive and 42 generalized place invariants in 12 ms returned sat
[2021-05-09 16:12:48] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2021-05-09 16:12:48] [INFO ] [Real]Absence check using state equation in 109 ms returned sat
[2021-05-09 16:12:48] [INFO ] Solution in real domain found non-integer solution.
[2021-05-09 16:12:48] [INFO ] [Nat]Absence check using 0 positive and 42 generalized place invariants in 10 ms returned unsat
FORMULA CloudDeployment-PT-7a-ReachabilityCardinality-12 TRUE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA CloudDeployment-PT-7a-ReachabilityCardinality-09 TRUE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA CloudDeployment-PT-7a-ReachabilityCardinality-07 TRUE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA CloudDeployment-PT-7a-ReachabilityCardinality-02 TRUE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
Fused 5 Parikh solutions to 1 different solutions.
Incomplete Parikh walk after 21400 steps, including 216 resets, run finished after 82 ms. (steps per millisecond=260 ) properties (out of 1) seen :0 could not realise parikh vector
Support contains 5 out of 264 places. Attempting structural reductions.
Starting structural reductions, iteration 0 : 264/264 places, 1020/1020 transitions.
Graph (trivial) has 274 edges and 264 vertex of which 67 / 264 are part of one of the 21 SCC in 3 ms
Free SCC test removed 46 places
Drop transitions removed 246 transitions
Ensure Unique test removed 49 transitions
Reduce isomorphic transitions removed 295 transitions.
Ensure Unique test removed 14 places
Iterating post reduction 0 with 14 rules applied. Total rules applied 15 place count 204 transition count 725
Discarding 11 places :
Symmetric choice reduction at 1 with 11 rule applications. Total rules 26 place count 193 transition count 672
Iterating global reduction 1 with 11 rules applied. Total rules applied 37 place count 193 transition count 672
Discarding 4 places :
Symmetric choice reduction at 1 with 4 rule applications. Total rules 41 place count 189 transition count 668
Iterating global reduction 1 with 4 rules applied. Total rules applied 45 place count 189 transition count 668
Discarding 3 places :
Symmetric choice reduction at 1 with 3 rule applications. Total rules 48 place count 186 transition count 665
Iterating global reduction 1 with 3 rules applied. Total rules applied 51 place count 186 transition count 665
Discarding 2 places :
Symmetric choice reduction at 1 with 2 rule applications. Total rules 53 place count 184 transition count 663
Iterating global reduction 1 with 2 rules applied. Total rules applied 55 place count 184 transition count 663
Discarding 1 places :
Symmetric choice reduction at 1 with 1 rule applications. Total rules 56 place count 183 transition count 662
Iterating global reduction 1 with 1 rules applied. Total rules applied 57 place count 183 transition count 662
Performed 21 Post agglomeration using F-continuation condition.Transition count delta: -91
Deduced a syphon composed of 21 places in 0 ms
Reduce places removed 21 places and 0 transitions.
Iterating global reduction 1 with 42 rules applied. Total rules applied 99 place count 162 transition count 753
Drop transitions removed 141 transitions
Redundant transition composition rules discarded 141 transitions
Iterating global reduction 1 with 141 rules applied. Total rules applied 240 place count 162 transition count 612
Free-agglomeration rule (complex) applied 8 times.
Iterating global reduction 1 with 8 rules applied. Total rules applied 248 place count 162 transition count 739
Reduce places removed 8 places and 0 transitions.
Iterating post reduction 1 with 8 rules applied. Total rules applied 256 place count 154 transition count 739
Drop transitions removed 15 transitions
Redundant transition composition rules discarded 15 transitions
Iterating global reduction 2 with 15 rules applied. Total rules applied 271 place count 154 transition count 724
Partial Free-agglomeration rule applied 1 times.
Drop transitions removed 1 transitions
Iterating global reduction 2 with 1 rules applied. Total rules applied 272 place count 154 transition count 724
Applied a total of 272 rules in 168 ms. Remains 154 /264 variables (removed 110) and now considering 724/1020 (removed 296) transitions.
Finished structural reductions, in 1 iterations. Remains : 154/264 places, 724/1020 transitions.
[2021-05-09 16:12:49] [INFO ] Flatten gal took : 110 ms
[2021-05-09 16:12:49] [INFO ] Flatten gal took : 83 ms
[2021-05-09 16:12:49] [INFO ] Time to serialize gal into /tmp/ReachabilityCardinality16035900698123390939.gal : 25 ms
[2021-05-09 16:12:49] [INFO ] Time to serialize properties into /tmp/ReachabilityCardinality2923444284351520166.prop : 1 ms
Invoking ITS tools like this :CommandLine [args=[/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202104292328/bin/its-reach-linux64, --gc-threshold, 2000000, --quiet, -i, /tmp/ReachabilityCardinality16035900698123390939.gal, -t, CGAL, -reachable-file, /tmp/ReachabilityCardinality2923444284351520166.prop, --nowitness, --gen-order, FOLLOW], workingDir=/home/mcc/execution]

its-reach command run as :

/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202104292328/bin/its-reach-linux64 --gc-threshold 2000000 --quiet -i /tmp/ReachabilityCardinality16035900698123390939.gal -t CGAL -reachable-file /tmp/ReachabilityCardinality2923444284351520166.prop --nowitness --gen-order FOLLOW
Loading property file /tmp/ReachabilityCardinality2923444284351520166.prop.
SDD proceeding with computation,1 properties remain. new max is 4
SDD size :1 after 7
SDD proceeding with computation,1 properties remain. new max is 8
SDD size :7 after 10
SDD proceeding with computation,1 properties remain. new max is 16
SDD size :10 after 14
SDD proceeding with computation,1 properties remain. new max is 32
SDD size :14 after 22
SDD proceeding with computation,1 properties remain. new max is 64
SDD size :22 after 26
SDD proceeding with computation,1 properties remain. new max is 128
SDD size :26 after 189
SDD proceeding with computation,1 properties remain. new max is 256
SDD size :189 after 1071
SDD proceeding with computation,1 properties remain. new max is 512
SDD size :1071 after 13877
SDD proceeding with computation,1 properties remain. new max is 1024
SDD size :13877 after 400514
SDD proceeding with computation,1 properties remain. new max is 2048
SDD size :400514 after 2.267e+06
Detected timeout of ITS tools.
[2021-05-09 16:13:04] [INFO ] Flatten gal took : 64 ms
[2021-05-09 16:13:04] [INFO ] Applying decomposition
[2021-05-09 16:13:04] [INFO ] Flatten gal took : 49 ms
Converted graph to binary with : CommandLine [args=[/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.louvain.binaries_1.0.0.202104292328/bin/convert-linux64, -i, /tmp/graph16965254757030706745.txt, -o, /tmp/graph16965254757030706745.bin, -w, /tmp/graph16965254757030706745.weights], workingDir=null]
Built communities with : CommandLine [args=[/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.louvain.binaries_1.0.0.202104292328/bin/louvain-linux64, /tmp/graph16965254757030706745.bin, -l, -1, -v, -w, /tmp/graph16965254757030706745.weights, -q, 0, -e, 0.001], workingDir=null]
[2021-05-09 16:13:04] [INFO ] Decomposing Gal with order
[2021-05-09 16:13:04] [INFO ] Rewriting arrays to variables to allow decomposition.
[2021-05-09 16:13:04] [INFO ] Removed a total of 2090 redundant transitions.
[2021-05-09 16:13:04] [INFO ] Flatten gal took : 176 ms
[2021-05-09 16:13:04] [INFO ] Fuse similar labels procedure discarded/fused a total of 199 labels/synchronizations in 24 ms.
[2021-05-09 16:13:04] [INFO ] Time to serialize gal into /tmp/ReachabilityCardinality11547259828392538563.gal : 4 ms
[2021-05-09 16:13:04] [INFO ] Time to serialize properties into /tmp/ReachabilityCardinality14739778016144382390.prop : 0 ms
Invoking ITS tools like this :CommandLine [args=[/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202104292328/bin/its-reach-linux64, --gc-threshold, 2000000, --quiet, -i, /tmp/ReachabilityCardinality11547259828392538563.gal, -t, CGAL, -reachable-file, /tmp/ReachabilityCardinality14739778016144382390.prop, --nowitness], workingDir=/home/mcc/execution]

its-reach command run as :

/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202104292328/bin/its-reach-linux64 --gc-threshold 2000000 --quiet -i /tmp/ReachabilityCardinality11547259828392538563.gal -t CGAL -reachable-file /tmp/ReachabilityCardinality14739778016144382390.prop --nowitness
Loading property file /tmp/ReachabilityCardinality14739778016144382390.prop.
SDD proceeding with computation,1 properties remain. new max is 4
SDD size :1 after 65
SDD proceeding with computation,1 properties remain. new max is 8
SDD size :65 after 3.33831e+06
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\_mod\_flat,1.94056e+09,0.135068,10268,365,79,11949,645,826,23497,222,1602,0
Total reachable state count : 1940562762

Verifying 1 reachability properties.
Invariant property CloudDeployment-PT-7a-ReachabilityCardinality-10 does not hold.
FORMULA CloudDeployment-PT-7a-ReachabilityCardinality-10 FALSE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL COLLATERAL_PROCESSING USE_NUPN

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
CloudDeployment-PT-7a-ReachabilityCardinality-10,128,0.137154,10532,77,24,11949,645,834,23497,226,1602,350
All properties solved without resorting to model-checking.

BK_STOP 1620576785060

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

+ export BINDIR=/home/mcc/BenchKit/bin//../
+ BINDIR=/home/mcc/BenchKit/bin//../
++ pwd
+ export MODEL=/home/mcc/execution
+ MODEL=/home/mcc/execution
+ [[ ReachabilityCardinality = StateSpace ]]
+ /home/mcc/BenchKit/bin//..//runeclipse.sh /home/mcc/execution ReachabilityCardinality -its -ltsmin -greatspnpath /home/mcc/BenchKit/bin//..//greatspn/ -order META -manyOrder -smt -timeout 3600
+ ulimit -s 65536
+ [[ -z '' ]]
+ export LTSMIN_MEM_SIZE=8589934592
+ LTSMIN_MEM_SIZE=8589934592
++ cut -d . -f 9
++ ls /home/mcc/BenchKit/bin//..//itstools/plugins/fr.lip6.move.gal.application.pnmcc_1.0.0.202104292328.jar
+ VERSION=0
+ echo 'Running Version 0'
+ /home/mcc/BenchKit/bin//..//itstools/its-tools -data /home/mcc/execution/workspace -pnfolder /home/mcc/execution -examination ReachabilityCardinality -spotpath /home/mcc/BenchKit/bin//..//ltlfilt -z3path /home/mcc/BenchKit/bin//..//z3/bin/z3 -yices2path /home/mcc/BenchKit/bin//..//yices/bin/yices -its -ltsmin -greatspnpath /home/mcc/BenchKit/bin//..//greatspn/ -order META -manyOrder -smt -timeout 3600 -vmargs -Dosgi.locking=none -Declipse.stateSaveDelayInterval=-1 -Dosgi.configuration.area=/tmp/.eclipse -Xss128m -Xms40m -Xmx16000m

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="CloudDeployment-PT-7a"
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-4028"
echo " Executing tool itstools"
echo " Input is CloudDeployment-PT-7a, 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 r045-oct2-162038291800350"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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