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

About the Execution of ITS-Tools for GlobalResAllocation-PT-03

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
15741.570 13792.00 25596.00 106.70 TFFFTFFTTFFTTFTF 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.r096-oct2-158940144500059.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 GlobalResAllocation-PT-03, examination is CTLCardinality
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r096-oct2-158940144500059
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 12M
-rw-r--r-- 1 mcc users 7.7K Apr 27 15:14 CTLCardinality.txt
-rw-r--r-- 1 mcc users 31K Apr 27 15:14 CTLCardinality.xml
-rw-r--r-- 1 mcc users 35K Apr 27 15:14 CTLFireability.txt
-rw-r--r-- 1 mcc users 122K Apr 27 15:14 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.0K Apr 27 15:14 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 6.0K Apr 27 15:14 GenericPropertiesVerdict.xml
-rw-r--r-- 1 mcc users 7.6K Apr 27 15:14 LTLCardinality.txt
-rw-r--r-- 1 mcc users 35K Apr 28 14:01 LTLCardinality.xml
-rw-r--r-- 1 mcc users 209K Apr 27 15:14 LTLFireability.txt
-rw-r--r-- 1 mcc users 662K Apr 28 14:01 LTLFireability.xml
-rw-r--r-- 1 mcc users 8.6K Apr 27 15:14 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 31K Apr 27 15:14 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 1.1M Apr 27 15:14 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 3.4M Apr 27 15:14 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 2.8K Apr 27 15:14 UpperBounds.txt
-rw-r--r-- 1 mcc users 5.9K Apr 27 15:14 UpperBounds.xml
-rw-r--r-- 1 mcc users 5 Apr 27 15:14 equiv_col
-rw-r--r-- 1 mcc users 3 Apr 27 15:14 instance
-rw-r--r-- 1 mcc users 6 Apr 27 15:14 iscolored
-rw-r--r-- 1 mcc users 5.7M Apr 27 15:14 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 GlobalResAllocation-PT-03-CTLCardinality-00
FORMULA_NAME GlobalResAllocation-PT-03-CTLCardinality-01
FORMULA_NAME GlobalResAllocation-PT-03-CTLCardinality-02
FORMULA_NAME GlobalResAllocation-PT-03-CTLCardinality-03
FORMULA_NAME GlobalResAllocation-PT-03-CTLCardinality-04
FORMULA_NAME GlobalResAllocation-PT-03-CTLCardinality-05
FORMULA_NAME GlobalResAllocation-PT-03-CTLCardinality-06
FORMULA_NAME GlobalResAllocation-PT-03-CTLCardinality-07
FORMULA_NAME GlobalResAllocation-PT-03-CTLCardinality-08
FORMULA_NAME GlobalResAllocation-PT-03-CTLCardinality-09
FORMULA_NAME GlobalResAllocation-PT-03-CTLCardinality-10
FORMULA_NAME GlobalResAllocation-PT-03-CTLCardinality-11
FORMULA_NAME GlobalResAllocation-PT-03-CTLCardinality-12
FORMULA_NAME GlobalResAllocation-PT-03-CTLCardinality-13
FORMULA_NAME GlobalResAllocation-PT-03-CTLCardinality-14
FORMULA_NAME GlobalResAllocation-PT-03-CTLCardinality-15

=== Now, execution of the tool begins

BK_START 1589544272846

[2020-05-15 12:04:35] [INFO ] Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, CTLCardinality, -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-15 12:04:35] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2020-05-15 12:04:36] [INFO ] Load time of PNML (sax parser for PT used): 470 ms
[2020-05-15 12:04:36] [INFO ] Transformed 33 places.
[2020-05-15 12:04:36] [INFO ] Transformed 4791 transitions.
[2020-05-15 12:04:36] [INFO ] Parsed PT model containing 33 places and 4791 transitions in 624 ms.
Ensure Unique test removed 4080 transitions
Reduce redundant transitions removed 4080 transitions.
Parsed 16 properties from file /home/mcc/execution/CTLCardinality.xml in 66 ms.
Incomplete random walk after 100000 steps, including 0 resets, run finished after 893 ms. (steps per millisecond=111 ) properties seen :[1, 1, 0, 1, 1, 0, 0, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0, 1, 1, 0, 0, 1]
Normalized transition count is 693 out of 711 initially.
// Phase 1: matrix 693 rows 33 cols
[2020-05-15 12:04:37] [INFO ] Computed 12 place invariants in 24 ms
[2020-05-15 12:04:37] [INFO ] [Real]Absence check using 7 positive place invariants in 7 ms returned unsat
[2020-05-15 12:04:37] [INFO ] [Real]Absence check using 7 positive place invariants in 2 ms returned unsat
[2020-05-15 12:04:37] [INFO ] [Real]Absence check using 7 positive place invariants in 6 ms returned sat
[2020-05-15 12:04:37] [INFO ] [Real]Absence check using 7 positive and 5 generalized place invariants in 2 ms returned unsat
[2020-05-15 12:04:37] [INFO ] [Real]Absence check using 7 positive place invariants in 2 ms returned unsat
[2020-05-15 12:04:37] [INFO ] [Real]Absence check using 7 positive place invariants in 3 ms returned sat
[2020-05-15 12:04:37] [INFO ] [Real]Absence check using 7 positive and 5 generalized place invariants in 7 ms returned unsat
[2020-05-15 12:04:37] [INFO ] [Real]Absence check using 7 positive place invariants in 3 ms returned unsat
[2020-05-15 12:04:37] [INFO ] [Real]Absence check using 7 positive place invariants in 29 ms returned unsat
[2020-05-15 12:04:37] [INFO ] [Real]Absence check using 7 positive place invariants in 29 ms returned unsat
Successfully simplified 8 atomic propositions for a total of 8 simplifications.
[2020-05-15 12:04:38] [INFO ] Initial state reduction rules for CTL removed 6 formulas.
[2020-05-15 12:04:38] [INFO ] Flatten gal took : 209 ms
[2020-05-15 12:04:38] [INFO ] Initial state reduction rules for CTL removed 6 formulas.
[2020-05-15 12:04:38] [INFO ] Flatten gal took : 101 ms
FORMULA GlobalResAllocation-PT-03-CTLCardinality-15 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA GlobalResAllocation-PT-03-CTLCardinality-14 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA GlobalResAllocation-PT-03-CTLCardinality-13 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA GlobalResAllocation-PT-03-CTLCardinality-09 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA GlobalResAllocation-PT-03-CTLCardinality-03 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA GlobalResAllocation-PT-03-CTLCardinality-01 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
[2020-05-15 12:04:38] [INFO ] Applying decomposition
[2020-05-15 12:04:38] [INFO ] Flatten gal took : 54 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/graph7665007000340157276.txt, -o, /tmp/graph7665007000340157276.bin, -w, /tmp/graph7665007000340157276.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/graph7665007000340157276.bin, -l, -1, -v, -w, /tmp/graph7665007000340157276.weights, -q, 0, -e, 0.001], workingDir=null]
[2020-05-15 12:04:38] [INFO ] Decomposing Gal with order
[2020-05-15 12:04:38] [INFO ] Rewriting arrays to variables to allow decomposition.
[2020-05-15 12:04:39] [INFO ] Removed a total of 1852 redundant transitions.
[2020-05-15 12:04:39] [INFO ] Flatten gal took : 573 ms
[2020-05-15 12:04:39] [INFO ] Fuse similar labels procedure discarded/fused a total of 0 labels/synchronizations in 31 ms.
[2020-05-15 12:04:39] [INFO ] Time to serialize gal into /home/mcc/execution/CTLCardinality.pnml.gal : 13 ms
[2020-05-15 12:04:39] [INFO ] Time to serialize properties into /home/mcc/execution/CTLCardinality.ctl : 1 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/CTLCardinality.pnml.gal, -t, CGAL, -ctl, /home/mcc/execution/CTLCardinality.ctl, --gen-order, FOLLOW], 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/CTLCardinality.pnml.gal -t CGAL -ctl /home/mcc/execution/CTLCardinality.ctl --gen-order FOLLOW
No direction supplied, using forward translation only.
Parsed 10 CTL formulae.
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,6320,0.798811,24348,2,2541,5,27613,6,0,1038,18094,0


Converting to forward existential form...Done !
original formula: EG((((gu0.Processes_1+gu0.Processes_2)+gu0.Processes_3)>=2))
=> equivalent forward existential formula: [FwdG(Init,(((gu0.Processes_1+gu0.Processes_2)+gu0.Processes_3)>=2))] != FALSE
Hit Full ! (commute/partial/dont) 81/0/630
(forward)formula 0,1,2.3327,69608,1,0,6,230057,19,1,9592,80085,8
FORMULA GlobalResAllocation-PT-03-CTLCardinality-00 TRUE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN
Formula is TRUE !

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

original formula: !(A(((((gu3.pr_in_2+gu3.pr_in_1)+gu3.pr_in_3)>=1)||(((gu0.Processes_1+gu0.Processes_2)+gu0.Processes_3)>=2)) U (((((((gu1.Resources_1+gu1.Resources_2)+gu1.Resources_3)+gu1.Resources_4)+gu1.Resources_5)+gu1.Resources_6)>=1)&&(((gu0.Processes_1+gu0.Processes_2)+gu0.Processes_3)<=((gu0.pr_released_2+gu0.pr_released_3)+gu0.pr_released_1)))))
=> equivalent forward existential formula: ([(FwdU(Init,!((((((((gu1.Resources_1+gu1.Resources_2)+gu1.Resources_3)+gu1.Resources_4)+gu1.Resources_5)+gu1.Resources_6)>=1)&&(((gu0.Processes_1+gu0.Processes_2)+gu0.Processes_3)<=((gu0.pr_released_2+gu0.pr_released_3)+gu0.pr_released_1))))) * (!(((((gu3.pr_in_2+gu3.pr_in_1)+gu3.pr_in_3)>=1)||(((gu0.Processes_1+gu0.Processes_2)+gu0.Processes_3)>=2))) * !((((((((gu1.Resources_1+gu1.Resources_2)+gu1.Resources_3)+gu1.Resources_4)+gu1.Resources_5)+gu1.Resources_6)>=1)&&(((gu0.Processes_1+gu0.Processes_2)+gu0.Processes_3)<=((gu0.pr_released_2+gu0.pr_released_3)+gu0.pr_released_1))))))] != FALSE + [FwdG(Init,!((((((((gu1.Resources_1+gu1.Resources_2)+gu1.Resources_3)+gu1.Resources_4)+gu1.Resources_5)+gu1.Resources_6)>=1)&&(((gu0.Processes_1+gu0.Processes_2)+gu0.Processes_3)<=((gu0.pr_released_2+gu0.pr_released_3)+gu0.pr_released_1)))))] != FALSE)
Hit Full ! (commute/partial/dont) 0/0/711
(forward)formula 1,0,3.01869,86240,1,0,8,257929,31,2,9736,103219,12
FORMULA GlobalResAllocation-PT-03-CTLCardinality-02 FALSE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN
Formula is FALSE !

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

original formula: EX(((((gu3.pr_in_2+gu3.pr_in_1)+gu3.pr_in_3)>=2)||(((((((gu1.Resources_1+gu1.Resources_2)+gu1.Resources_3)+gu1.Resources_4)+gu1.Resources_5)+gu1.Resources_6)>=3)&&(((gu0.Processes_1+gu0.Processes_2)+gu0.Processes_3)>=3))))
=> equivalent forward existential formula: [(EY(Init) * ((((gu3.pr_in_2+gu3.pr_in_1)+gu3.pr_in_3)>=2)||(((((((gu1.Resources_1+gu1.Resources_2)+gu1.Resources_3)+gu1.Resources_4)+gu1.Resources_5)+gu1.Resources_6)>=3)&&(((gu0.Processes_1+gu0.Processes_2)+gu0.Processes_3)>=3))))] != FALSE
(forward)formula 2,1,3.03225,86504,1,0,11,259070,32,3,9787,104052,14
FORMULA GlobalResAllocation-PT-03-CTLCardinality-04 TRUE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN
Formula is TRUE !

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

original formula: AF(AG(((((gu0.pr_released_2+gu0.pr_released_3)+gu0.pr_released_1)>=1)&&((((((gu1.Resources_1+gu1.Resources_2)+gu1.Resources_3)+gu1.Resources_4)+gu1.Resources_5)+gu1.Resources_6)>=3))))
=> equivalent forward existential formula: [FwdG(Init,!(!(E(TRUE U !(((((gu0.pr_released_2+gu0.pr_released_3)+gu0.pr_released_1)>=1)&&((((((gu1.Resources_1+gu1.Resources_2)+gu1.Resources_3)+gu1.Resources_4)+gu1.Resources_5)+gu1.Resources_6)>=3)))))))] = FALSE
Reverse transition relation is exact ! Faster fixpoint algorithm enabled.
(forward)formula 3,0,3.16377,88088,1,0,12,260521,39,4,9890,106322,20
FORMULA GlobalResAllocation-PT-03-CTLCardinality-05 FALSE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN
Formula is FALSE !

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

original formula: AF((((((((((((((((((((gu2.in_critical_s_1_1+gu2.in_critical_s_2_1)+gu2.in_critical_s_3_1)+gu2.in_critical_s_1_2)+gu2.in_critical_s_3_2)+gu2.in_critical_s_2_2)+gu2.in_critical_s_2_3)+gu2.in_critical_s_1_3)+gu2.in_critical_s_1_4)+gu2.in_critical_s_3_3)+gu2.in_critical_s_3_4)+gu2.in_critical_s_2_4)+gu2.in_critical_s_2_5)+gu2.in_critical_s_1_5)+gu2.in_critical_s_1_6)+gu2.in_critical_s_3_5)+gu2.in_critical_s_3_6)+gu2.in_critical_s_2_6)>=1)&&(((gu3.pr_in_2+gu3.pr_in_1)+gu3.pr_in_3)>=3)))
=> equivalent forward existential formula: [FwdG(Init,!((((((((((((((((((((gu2.in_critical_s_1_1+gu2.in_critical_s_2_1)+gu2.in_critical_s_3_1)+gu2.in_critical_s_1_2)+gu2.in_critical_s_3_2)+gu2.in_critical_s_2_2)+gu2.in_critical_s_2_3)+gu2.in_critical_s_1_3)+gu2.in_critical_s_1_4)+gu2.in_critical_s_3_3)+gu2.in_critical_s_3_4)+gu2.in_critical_s_2_4)+gu2.in_critical_s_2_5)+gu2.in_critical_s_1_5)+gu2.in_critical_s_1_6)+gu2.in_critical_s_3_5)+gu2.in_critical_s_3_6)+gu2.in_critical_s_2_6)>=1)&&(((gu3.pr_in_2+gu3.pr_in_1)+gu3.pr_in_3)>=3))))] = FALSE
Hit Full ! (commute/partial/dont) 3/0/708
(forward)formula 4,0,3.60017,104652,1,0,13,275852,47,5,10504,118704,24
FORMULA GlobalResAllocation-PT-03-CTLCardinality-06 FALSE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN
Formula is FALSE !

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

original formula: EG(EX(((((((gu1.Resources_1+gu1.Resources_2)+gu1.Resources_3)+gu1.Resources_4)+gu1.Resources_5)+gu1.Resources_6)>((gu0.pr_released_2+gu0.pr_released_3)+gu0.pr_released_1))))
=> equivalent forward existential formula: [FwdG(Init,EX(((((((gu1.Resources_1+gu1.Resources_2)+gu1.Resources_3)+gu1.Resources_4)+gu1.Resources_5)+gu1.Resources_6)>((gu0.pr_released_2+gu0.pr_released_3)+gu0.pr_released_1))))] != FALSE
(forward)formula 5,1,4.08021,124716,1,0,21,291285,51,15,10721,134125,37
FORMULA GlobalResAllocation-PT-03-CTLCardinality-07 TRUE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN
Formula is TRUE !

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

original formula: EX(EG((gu0.pr_released_2<=gu0.Processes_3)))
=> equivalent forward existential formula: [FwdG(EY(Init),(gu0.pr_released_2<=gu0.Processes_3))] != FALSE
Hit Full ! (commute/partial/dont) 390/0/321
(forward)formula 6,1,4.64593,137916,1,0,23,301672,58,16,10783,147776,41
FORMULA GlobalResAllocation-PT-03-CTLCardinality-08 TRUE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN
Formula is TRUE !

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

original formula: EF(AG((gu2.in_critical_s_2_3>=1)))
=> equivalent forward existential formula: [(FwdU(Init,TRUE) * !(E(TRUE U !((gu2.in_critical_s_2_3>=1)))))] != FALSE
(forward)formula 7,0,4.65162,137916,1,0,24,302047,60,16,10784,147999,44
FORMULA GlobalResAllocation-PT-03-CTLCardinality-10 FALSE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN
Formula is FALSE !

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

original formula: EG(EX(((gu0.pr_released_3>=3)&&(gu0.pr_released_1<=gu2.in_critical_s_3_6))))
=> equivalent forward existential formula: [FwdG(Init,EX(((gu0.pr_released_3>=3)&&(gu0.pr_released_1<=gu2.in_critical_s_3_6))))] != FALSE
(forward)formula 8,1,5.43349,151644,1,0,37,363253,64,27,10791,185610,59
FORMULA GlobalResAllocation-PT-03-CTLCardinality-11 TRUE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN
Formula is TRUE !

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

original formula: EG((((gu3.pr_in_1>=3)||(gu2.in_critical_s_2_6<=gu2.in_critical_s_1_1))||((gu2.in_critical_s_3_5>=1)&&(gu2.in_critical_s_2_4<=gu2.in_critical_s_1_5))))
=> equivalent forward existential formula: [FwdG(Init,(((gu3.pr_in_1>=3)||(gu2.in_critical_s_2_6<=gu2.in_critical_s_1_1))||((gu2.in_critical_s_3_5>=1)&&(gu2.in_critical_s_2_4<=gu2.in_critical_s_1_5))))] != FALSE
Hit Full ! (commute/partial/dont) 231/0/480
(forward)formula 9,1,6.53916,175404,1,0,38,394326,71,28,10837,222018,63
FORMULA GlobalResAllocation-PT-03-CTLCardinality-12 TRUE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN
Formula is TRUE !

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


BK_STOP 1589544286638

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

+ export BINDIR=/home/mcc/BenchKit/
+ BINDIR=/home/mcc/BenchKit/
++ pwd
+ export MODEL=/home/mcc/execution
+ MODEL=/home/mcc/execution
+ [[ CTLCardinality = StateSpace ]]
+ /home/mcc/BenchKit//runeclipse.sh /home/mcc/execution CTLCardinality -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 CTLCardinality -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="GlobalResAllocation-PT-03"
export BK_EXAMINATION="CTLCardinality"
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 GlobalResAllocation-PT-03, examination is CTLCardinality"
echo " Time confinement is $BK_TIME_CONFINEMENT seconds"
echo " Memory confinement is 16384 MBytes"
echo " Number of cores is 4"
echo " Run identifier is r096-oct2-158940144500059"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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