fond
Model Checking Contest 2020
10th edition, Paris, France, June 23, 2020
Execution of r227-oct2-159033546100052
Last Updated
Jun 28, 2020

About the Execution of ITS-Tools for SmartHome-PT-07

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
15742.080 63114.00 70646.00 69.90 FTTTFFFFFFTFTTFT normal

Execution Chart

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

Trace from the execution

Formatting '/data/fko/mcc2020-input.r227-oct2-159033546100052.qcow2', fmt=qcow2 size=4294967296 backing_file=/data/fko/mcc2020-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 SmartHome-PT-07, examination is CTLFireability
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r227-oct2-159033546100052
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 232K
-rw-r--r-- 1 mcc users 3.5K May 14 03:55 CTLCardinality.txt
-rw-r--r-- 1 mcc users 20K May 14 03:55 CTLCardinality.xml
-rw-r--r-- 1 mcc users 2.5K May 13 21:27 CTLFireability.txt
-rw-r--r-- 1 mcc users 18K May 13 21:27 CTLFireability.xml
-rw-r--r-- 1 mcc users 3.4K May 14 10:06 LTLCardinality.txt
-rw-r--r-- 1 mcc users 26K May 14 10:06 LTLCardinality.xml
-rw-r--r-- 1 mcc users 1.8K May 14 10:06 LTLFireability.txt
-rw-r--r-- 1 mcc users 15K May 14 10:06 LTLFireability.xml
-rw-r--r-- 1 mcc users 1 May 12 20:42 NewModel
-rw-r--r-- 1 mcc users 3.7K May 13 15:04 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 20K May 13 15:04 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 2.6K May 13 10:21 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 16K May 13 10:21 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.6K May 13 16:53 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.6K May 13 16:53 UpperBounds.xml
-rw-r--r-- 1 mcc users 6 May 12 20:42 equiv_col
-rw-r--r-- 1 mcc users 3 May 12 20:42 instance
-rw-r--r-- 1 mcc users 6 May 12 20:42 iscolored
-rw-r--r-- 1 mcc users 63K May 12 20:42 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 SmartHome-PT-07-CTLFireability-00
FORMULA_NAME SmartHome-PT-07-CTLFireability-01
FORMULA_NAME SmartHome-PT-07-CTLFireability-02
FORMULA_NAME SmartHome-PT-07-CTLFireability-03
FORMULA_NAME SmartHome-PT-07-CTLFireability-04
FORMULA_NAME SmartHome-PT-07-CTLFireability-05
FORMULA_NAME SmartHome-PT-07-CTLFireability-06
FORMULA_NAME SmartHome-PT-07-CTLFireability-07
FORMULA_NAME SmartHome-PT-07-CTLFireability-08
FORMULA_NAME SmartHome-PT-07-CTLFireability-09
FORMULA_NAME SmartHome-PT-07-CTLFireability-10
FORMULA_NAME SmartHome-PT-07-CTLFireability-11
FORMULA_NAME SmartHome-PT-07-CTLFireability-12
FORMULA_NAME SmartHome-PT-07-CTLFireability-13
FORMULA_NAME SmartHome-PT-07-CTLFireability-14
FORMULA_NAME SmartHome-PT-07-CTLFireability-15

=== Now, execution of the tool begins

BK_START 1590483683364

[2020-05-26 09:01:24] [INFO ] Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, CTLFireability, -z3path, /home/mcc/BenchKit//z3/bin/z3, -yices2path, /home/mcc/BenchKit//yices/bin/yices, -its, -ltsminpath, /home/mcc/BenchKit//lts_install_dir/, -greatspnpath, /home/mcc/BenchKit//greatspn/, -order, META, -manyOrder, -smt, -timeout, 3600]
[2020-05-26 09:01:24] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2020-05-26 09:01:25] [INFO ] Load time of PNML (sax parser for PT used): 46 ms
[2020-05-26 09:01:25] [INFO ] Transformed 251 places.
[2020-05-26 09:01:25] [INFO ] Transformed 290 transitions.
[2020-05-26 09:01:25] [INFO ] Found NUPN structural information;
[2020-05-26 09:01:25] [INFO ] Parsed PT model containing 251 places and 290 transitions in 100 ms.
Deduced a syphon composed of 29 places in 2 ms
Reduce places removed 29 places and 30 transitions.
Parsed 16 properties from file /home/mcc/execution/CTLFireability.xml in 16 ms.
Incomplete random walk after 100000 steps, including 572 resets, run finished after 157 ms. (steps per millisecond=636 ) properties seen :[1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]
// Phase 1: matrix 260 rows 222 cols
[2020-05-26 09:01:25] [INFO ] Computed 10 place invariants in 7 ms
[2020-05-26 09:01:25] [INFO ] [Real]Absence check using 10 positive place invariants in 18 ms returned sat
[2020-05-26 09:01:25] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2020-05-26 09:01:25] [INFO ] [Real]Absence check using state equation in 157 ms returned sat
[2020-05-26 09:01:25] [INFO ] Deduced a trap composed of 46 places in 69 ms
[2020-05-26 09:01:25] [INFO ] Trap strengthening (SAT) tested/added 2/1 trap constraints in 101 ms
[2020-05-26 09:01:25] [INFO ] Solution in real domain found non-integer solution.
[2020-05-26 09:01:25] [INFO ] [Nat]Absence check using 10 positive place invariants in 154 ms returned sat
[2020-05-26 09:01:25] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2020-05-26 09:01:26] [INFO ] [Nat]Absence check using state equation in 144 ms returned sat
[2020-05-26 09:01:26] [INFO ] Deduced a trap composed of 49 places in 51 ms
[2020-05-26 09:01:26] [INFO ] Trap strengthening (SAT) tested/added 2/1 trap constraints in 76 ms
[2020-05-26 09:01:26] [INFO ] Computed and/alt/rep : 259/747/259 causal constraints in 17 ms.
[2020-05-26 09:01:27] [INFO ] Added : 225 causal constraints over 45 iterations in 860 ms. Result :sat
[2020-05-26 09:01:27] [INFO ] Initial state reduction rules for CTL removed 5 formulas.
[2020-05-26 09:01:27] [INFO ] Flatten gal took : 41 ms
[2020-05-26 09:01:27] [INFO ] Initial state reduction rules for CTL removed 5 formulas.
[2020-05-26 09:01:27] [INFO ] Flatten gal took : 14 ms
FORMULA SmartHome-PT-07-CTLFireability-11 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA SmartHome-PT-07-CTLFireability-09 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA SmartHome-PT-07-CTLFireability-08 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA SmartHome-PT-07-CTLFireability-06 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA SmartHome-PT-07-CTLFireability-04 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
[2020-05-26 09:01:27] [INFO ] Applying decomposition
[2020-05-26 09:01:27] [INFO ] Flatten gal took : 12 ms
Converted graph to binary with : CommandLine [args=[/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.louvain.binaries_1.0.0.202005100927/bin/convert-linux64, -i, /tmp/graph281620735355571801.txt, -o, /tmp/graph281620735355571801.bin, -w, /tmp/graph281620735355571801.weights], workingDir=null]
Built communities with : CommandLine [args=[/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.louvain.binaries_1.0.0.202005100927/bin/louvain-linux64, /tmp/graph281620735355571801.bin, -l, -1, -v, -w, /tmp/graph281620735355571801.weights, -q, 0, -e, 0.001], workingDir=null]
[2020-05-26 09:01:27] [INFO ] Decomposing Gal with order
[2020-05-26 09:01:27] [INFO ] Rewriting arrays to variables to allow decomposition.
[2020-05-26 09:01:27] [INFO ] Removed a total of 54 redundant transitions.
[2020-05-26 09:01:27] [INFO ] Flatten gal took : 36 ms
[2020-05-26 09:01:27] [INFO ] Fuse similar labels procedure discarded/fused a total of 16 labels/synchronizations in 6 ms.
[2020-05-26 09:01:27] [INFO ] Time to serialize gal into /home/mcc/execution/CTLFireability.pnml.gal : 7 ms
[2020-05-26 09:01:27] [INFO ] Time to serialize properties into /home/mcc/execution/CTLFireability.ctl : 0 ms
Invoking ITS tools like this :CommandLine [args=[/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202005100927/bin/its-ctl-linux64, --gc-threshold, 2000000, --quiet, -i, /home/mcc/execution/CTLFireability.pnml.gal, -t, CGAL, -ctl, /home/mcc/execution/CTLFireability.ctl], workingDir=/home/mcc/execution]

its-ctl command run as :

/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202005100927/bin/its-ctl-linux64 --gc-threshold 2000000 --quiet -i /home/mcc/execution/CTLFireability.pnml.gal -t CGAL -ctl /home/mcc/execution/CTLFireability.ctl
No direction supplied, using forward translation only.
Parsed 11 CTL formulae.
built 24 ordering constraints for composite.
built 7 ordering constraints for composite.
built 6 ordering constraints for composite.
built 10 ordering constraints for composite.
built 3 ordering constraints for composite.
built 5 ordering constraints for composite.
built 10 ordering constraints for composite.
built 6 ordering constraints for composite.
built 8 ordering constraints for composite.
built 7 ordering constraints for composite.
built 3 ordering constraints for composite.
built 3 ordering constraints for composite.
built 8 ordering constraints for composite.
built 5 ordering constraints for composite.
built 4 ordering constraints for composite.
built 8 ordering constraints for composite.
built 5 ordering constraints for composite.
built 10 ordering constraints for composite.
built 6 ordering constraints for composite.
built 10 ordering constraints for composite.
built 17 ordering constraints for composite.
built 7 ordering constraints for composite.
built 7 ordering constraints for composite.
built 4 ordering constraints for composite.
built 6 ordering constraints for composite.
built 5 ordering constraints for composite.
built 5 ordering constraints for composite.
built 9 ordering constraints for composite.
built 3 ordering constraints for composite.
built 10 ordering constraints for composite.
built 5 ordering constraints for composite.
built 10 ordering constraints for composite.
built 5 ordering constraints for composite.
Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
reachable,3.41149e+11,0.124579,9440,891,192,9340,607,505,16195,110,3456,0


Converting to forward existential form...Done !
original formula: (!(EF((i7.i0.u46.p152==1))) + AG(A((i4.i1.u29.p93==1) U (i7.i0.u46.p152==1))))
=> equivalent forward existential formula: ([(FwdU(FwdU((Init * !(!(E(TRUE U (i7.i0.u46.p152==1))))),TRUE),!((i7.i0.u46.p152==1))) * (!((i4.i1.u29.p93==1)) * !((i7.i0.u46.p152==1))))] = FALSE * [FwdG(FwdU((Init * !(!(E(TRUE U (i7.i0.u46.p152==1))))),TRUE),!((i7.i0.u46.p152==1)))] = FALSE)
Reverse transition relation is NOT exact ! Due to transitions t6, t20, t57, t112, t148, t219, u1.t251, u1.t252, u1.t253, u1.t254, u1.t255, u1.t256, u1.t257, u1.t258, u1.t259, u1.t260, u74.t10, u74.t11, u74.t12, u74.t13, u74.t14, i2.i0.t244, i2.i0.t246, i2.i0.u5.t220, i3.t184, i3.i1.t188, i3.i1.u21.t185, i4.t175, i4.i2.u25.t149, i6.i0.t137, i6.i0.t139, i6.i0.u43.t113, i7.i0.t62, i7.i0.t97, i7.i0.t101, i7.i0.t103, i7.i0.u61.t58, i7.i0.u61.t59, i10.i0.t45, i10.i0.t47, i10.i0.u65.t21, Intersection with reachable at each step enabled. (destroyed/reverse/intersect/total) :0/211/41/252
Fast SCC detection found an SCC at level 1
Fast SCC detection found an SCC at level 2
Fast SCC detection found an SCC at level 3
Fast SCC detection found an SCC at level 4
Fast SCC detection found an SCC at level 5
Fast SCC detection found an SCC at level 6
Fast SCC detection found an SCC at level 7
Fast SCC detection found an SCC at level 8
Fast SCC detection found an SCC at level 9
Fast SCC detection found an SCC at level 10
(forward)formula 0,0,1.37024,56552,1,0,107651,1789,3758,173896,530,8733,230006
FORMULA SmartHome-PT-07-CTLFireability-00 FALSE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN
Formula is FALSE !

***************************************

original formula: EG(E(((i4.i2.u25.p107!=1)||(i4.i2.u78.p238!=1)) U (i4.i0.u26.p85==1)))
=> equivalent forward existential formula: [FwdG(Init,E(((i4.i2.u25.p107!=1)||(i4.i2.u78.p238!=1)) U (i4.i0.u26.p85==1)))] != FALSE
(forward)formula 1,1,18.8151,395528,1,0,731684,2104,3803,1.06651e+06,532,10496,629332
FORMULA SmartHome-PT-07-CTLFireability-01 TRUE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN
Formula is TRUE !

***************************************

original formula: E(EF((i8.i2.u54.p165==1)) U ((i3.i0.u18.p70==1)||((i4.i2.u25.p107==1)&&(u74.p222==1))))
=> equivalent forward existential formula: [(FwdU(Init,E(TRUE U (i8.i2.u54.p165==1))) * ((i3.i0.u18.p70==1)||((i4.i2.u25.p107==1)&&(u74.p222==1))))] != FALSE
(forward)formula 2,1,37.5528,702468,1,0,1.27877e+06,2132,3823,1.93309e+06,533,11101,1006077
FORMULA SmartHome-PT-07-CTLFireability-02 TRUE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN
Formula is TRUE !

***************************************

original formula: EF(EG(((i7.i0.u61.p183==1)&&(i10.i1.u71.p208==1))))
=> equivalent forward existential formula: [FwdG(FwdU(Init,TRUE),((i7.i0.u61.p183==1)&&(i10.i1.u71.p208==1)))] != FALSE
(forward)formula 3,1,37.6694,707484,1,0,1.29102e+06,2138,3840,1.94576e+06,533,11138,1020957
FORMULA SmartHome-PT-07-CTLFireability-03 TRUE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN
Formula is TRUE !

***************************************

original formula: AG(A(((u1.p2==1)&&(i7.i0.u61.p185==1)) U (i7.i0.u61.p185!=1)))
=> equivalent forward existential formula: ([(FwdU(FwdU(Init,TRUE),!((i7.i0.u61.p185!=1))) * (!(((u1.p2==1)&&(i7.i0.u61.p185==1))) * !((i7.i0.u61.p185!=1))))] = FALSE * [FwdG(FwdU(Init,TRUE),!((i7.i0.u61.p185!=1)))] = FALSE)
(forward)formula 4,0,37.8943,717516,1,0,1.31739e+06,2139,3858,1.96875e+06,535,11155,1048940
FORMULA SmartHome-PT-07-CTLFireability-05 FALSE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN
Formula is FALSE !

***************************************

original formula: EF(AG((i8.i3.u50.p158==1)))
=> equivalent forward existential formula: [(FwdU(Init,TRUE) * !(E(TRUE U !((i8.i3.u50.p158==1)))))] != FALSE
(forward)formula 5,0,37.9006,717780,1,0,1.31765e+06,2140,3864,1.96918e+06,536,11158,1049822
FORMULA SmartHome-PT-07-CTLFireability-07 FALSE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN
Formula is FALSE !

***************************************

original formula: ((E((i3.i1.u21.p50==1) U (i6.i0.u43.p112==1)) + EF(((i10.i1.u71.p208==1)&&(i6.i0.u35.p118==1)))) + AF((i6.i0.u43.p137==1)))
=> equivalent forward existential formula: [FwdG((Init * !((E((i3.i1.u21.p50==1) U (i6.i0.u43.p112==1)) + E(TRUE U ((i10.i1.u71.p208==1)&&(i6.i0.u35.p118==1)))))),!((i6.i0.u43.p137==1)))] = FALSE
(forward)formula 6,1,38.0385,723852,1,0,1.33264e+06,2161,3925,1.98825e+06,536,11298,1076082
FORMULA SmartHome-PT-07-CTLFireability-10 TRUE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN
Formula is TRUE !

***************************************

original formula: A(((i4.i1.u29.p94==1)&&((i7.i1.u80.p242!=1)||(i4.i0.u26.p85!=1))) U EF(((i7.i0.u61.p185==1)&&(i7.i1.u80.p249==1))))
=> equivalent forward existential formula: [((Init * !(EG(!(E(TRUE U ((i7.i0.u61.p185==1)&&(i7.i1.u80.p249==1))))))) * !(E(!(E(TRUE U ((i7.i0.u61.p185==1)&&(i7.i1.u80.p249==1)))) U (!(((i4.i1.u29.p94==1)&&((i7.i1.u80.p242!=1)||(i4.i0.u26.p85!=1)))) * !(E(TRUE U ((i7.i0.u61.p185==1)&&(i7.i1.u80.p249==1))))))))] != FALSE
Using saturation style SCC detection
Fast SCC detection found an SCC at level 1
Fast SCC detection found an SCC at level 2
Fast SCC detection found an SCC at level 3
Fast SCC detection found an SCC at level 4
Fast SCC detection found an SCC at level 5
Fast SCC detection found an SCC at level 6
Fast SCC detection found an SCC at level 7
Fast SCC detection found an SCC at level 8
Fast SCC detection found an SCC at level 9
Fast SCC detection found an SCC at level 10
(forward)formula 7,1,40.5338,793548,1,0,1.46719e+06,2299,4004,2.20245e+06,540,12296,1223933
FORMULA SmartHome-PT-07-CTLFireability-12 TRUE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN
Formula is TRUE !

***************************************

original formula: EF((i8.i1.u55.p168==1))
=> equivalent forward existential formula: [(FwdU(Init,TRUE) * (i8.i1.u55.p168==1))] != FALSE
(forward)formula 8,1,40.5344,793812,1,0,1.46719e+06,2299,4007,2.20249e+06,540,12296,1224013
FORMULA SmartHome-PT-07-CTLFireability-13 TRUE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN
Formula is TRUE !

***************************************

original formula: EF((AG((i5.i2.u44.p139==1)) * (((((i4.i2.u25.p107==1)&&(u74.p222==1))&&(i3.i1.u21.p75==1))||(i2.i0.u5.p45!=1))||(u74.p222!=1))))
=> equivalent forward existential formula: [((FwdU(Init,TRUE) * (((((i4.i2.u25.p107==1)&&(u74.p222==1))&&(i3.i1.u21.p75==1))||(i2.i0.u5.p45!=1))||(u74.p222!=1))) * !(E(TRUE U !((i5.i2.u44.p139==1)))))] != FALSE
(forward)formula 9,0,40.5498,794076,1,0,1.46866e+06,2299,4013,2.20447e+06,540,12296,1227129
FORMULA SmartHome-PT-07-CTLFireability-14 FALSE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN
Formula is FALSE !

***************************************

original formula: EG(EF(((i8.i3.u58.p175==1)&&((i9.i1.u2.p14==1)||(i2.i0.u6.p23==1)))))
=> equivalent forward existential formula: [FwdG(Init,E(TRUE U ((i8.i3.u58.p175==1)&&((i9.i1.u2.p14==1)||(i2.i0.u6.p23==1)))))] != FALSE
(forward)formula 10,1,58.6481,1091760,1,0,2.01014e+06,2305,4025,3.01888e+06,540,12541,1619572
FORMULA SmartHome-PT-07-CTLFireability-15 TRUE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN
Formula is TRUE !

***************************************


BK_STOP 1590483746478

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

+ export BINDIR=/home/mcc/BenchKit/
+ BINDIR=/home/mcc/BenchKit/
++ pwd
+ export MODEL=/home/mcc/execution
+ MODEL=/home/mcc/execution
+ [[ CTLFireability = StateSpace ]]
+ /home/mcc/BenchKit//runeclipse.sh /home/mcc/execution CTLFireability -its -ltsminpath /home/mcc/BenchKit//lts_install_dir/ -greatspnpath /home/mcc/BenchKit//greatspn/ -order META -manyOrder -smt -timeout 3600
+ ulimit -s 65536
+ [[ -z '' ]]
+ export LTSMIN_MEM_SIZE=8589934592
+ LTSMIN_MEM_SIZE=8589934592
+ /home/mcc/BenchKit//itstools/its-tools -data /home/mcc/execution/workspace -pnfolder /home/mcc/execution -examination CTLFireability -z3path /home/mcc/BenchKit//z3/bin/z3 -yices2path /home/mcc/BenchKit//yices/bin/yices -its -ltsminpath /home/mcc/BenchKit//lts_install_dir/ -greatspnpath /home/mcc/BenchKit//greatspn/ -order META -manyOrder -smt -timeout 3600 -vmargs -Dosgi.locking=none -Declipse.stateSaveDelayInterval=-1 -Dosgi.configuration.area=/tmp/.eclipse -Xss128m -Xms40m -Xmx16000m -Dfile.encoding=UTF-8 -Dosgi.requiredJavaVersion=1.6

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="SmartHome-PT-07"
export BK_EXAMINATION="CTLFireability"
export BK_TOOL="itstools"
export BK_RESULT_DIR="/tmp/BK_RESULTS/OUTPUTS"
export BK_TIME_CONFINEMENT="3600"
export BK_MEMORY_CONFINEMENT="16384"

# 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 SmartHome-PT-07, examination is CTLFireability"
echo " Time confinement is $BK_TIME_CONFINEMENT seconds"
echo " Memory confinement is 16384 MBytes"
echo " Number of cores is 4"
echo " Run identifier is r227-oct2-159033546100052"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

tar xzf /home/mcc/BenchKit/INPUTS/SmartHome-PT-07.tgz
mv SmartHome-PT-07 execution
cd execution
if [ "CTLFireability" = "ReachabilityDeadlock" ] || [ "CTLFireability" = "UpperBounds" ] || [ "CTLFireability" = "QuasiLiveness" ] || [ "CTLFireability" = "StableMarking" ] || [ "CTLFireability" = "Liveness" ] || [ "CTLFireability" = "OneSafe" ] || [ "CTLFireability" = "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 [ "CTLFireability" = "UpperBounds" ] ; then
echo "The expected result is a vector of positive values"
echo NUM_VECTOR
elif [ "CTLFireability" != "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 "CTLFireability.txt" ] ; then
echo "here is the order used to build the result vector(from text file)"
for x in $(grep Property CTLFireability.txt | cut -d ' ' -f 2 | sort -u) ; do
echo "FORMULA_NAME $x"
done
elif [ -f "CTLFireability.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 '' CTLFireability.xml | cut -d '>' -f 2 | cut -d '<' -f 1 | sort -u) ; do
echo "FORMULA_NAME $x"
done
elif [ "CTLFireability" = "ReachabilityDeadlock" ] || [ "CTLFireability" = "QuasiLiveness" ] || [ "CTLFireability" = "StableMarking" ] || [ "CTLFireability" = "Liveness" ] || [ "CTLFireability" = "OneSafe" ] ; then
echo "FORMULA_NAME CTLFireability"
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 ;