fond
Model Checking Contest 2019
9th edition, Prague, Czech Republic, April 7, 2019 (TOOLympics)
Execution of r195-csrt-155246554000167
Last Updated
Apr 15, 2019

About the Execution of ITS-Tools.M for FlexibleBarrier-PT-08a

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
1020.610 37532.00 42847.00 136.50 TTFTTFFFFFFFFTFF normal

Execution Chart

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

Trace from the execution

Formatting '/local/x2003239/mcc2019-input.r195-csrt-155246554000167.qcow2', fmt=qcow2 size=4294967296 backing_file=/local/x2003239/mcc2019-input.qcow2 encryption=off cluster_size=65536 lazy_refcounts=off refcount_bits=16
Waiting for the VM to be ready (probing ssh)
..................
=====================================================================
Generated by BenchKit 2-3954
Executing tool itstoolsm
Input is FlexibleBarrier-PT-08a, examination is CTLFireability
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r195-csrt-155246554000167
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 228K
-rw-r--r-- 1 mcc users 3.3K Feb 10 23:52 CTLCardinality.txt
-rw-r--r-- 1 mcc users 19K Feb 10 23:52 CTLCardinality.xml
-rw-r--r-- 1 mcc users 2.7K Feb 6 21:28 CTLFireability.txt
-rw-r--r-- 1 mcc users 19K Feb 6 21:28 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.0K Mar 10 17:31 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 6.1K Mar 10 17:31 GenericPropertiesVerdict.xml
-rw-r--r-- 1 mcc users 109 Feb 24 15:05 GlobalProperties.txt
-rw-r--r-- 1 mcc users 347 Feb 24 15:05 GlobalProperties.xml
-rw-r--r-- 1 mcc users 2.4K Feb 4 23:48 LTLCardinality.txt
-rw-r--r-- 1 mcc users 11K Feb 4 23:48 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.0K Feb 4 22:35 LTLFireability.txt
-rw-r--r-- 1 mcc users 11K Feb 4 22:35 LTLFireability.xml
-rw-r--r-- 1 mcc users 3.7K Feb 3 08:15 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 19K Feb 3 08:15 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 2.6K Jan 31 01:08 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 15K Jan 31 01:08 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.7K Feb 4 22:20 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.7K Feb 4 22:20 UpperBounds.xml

-rw-r--r-- 1 mcc users 6 Jan 29 09:34 equiv_col
-rw-r--r-- 1 mcc users 4 Jan 29 09:34 instance
-rw-r--r-- 1 mcc users 6 Jan 29 09:34 iscolored
-rw-r--r-- 1 mcc users 0 Jan 29 09:34 model-fix.log
-rw-r--r-- 1 mcc users 64K Mar 10 17:31 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 FlexibleBarrier-PT-08a-CTLFireability-00
FORMULA_NAME FlexibleBarrier-PT-08a-CTLFireability-01
FORMULA_NAME FlexibleBarrier-PT-08a-CTLFireability-02
FORMULA_NAME FlexibleBarrier-PT-08a-CTLFireability-03
FORMULA_NAME FlexibleBarrier-PT-08a-CTLFireability-04
FORMULA_NAME FlexibleBarrier-PT-08a-CTLFireability-05
FORMULA_NAME FlexibleBarrier-PT-08a-CTLFireability-06
FORMULA_NAME FlexibleBarrier-PT-08a-CTLFireability-07
FORMULA_NAME FlexibleBarrier-PT-08a-CTLFireability-08
FORMULA_NAME FlexibleBarrier-PT-08a-CTLFireability-09
FORMULA_NAME FlexibleBarrier-PT-08a-CTLFireability-10
FORMULA_NAME FlexibleBarrier-PT-08a-CTLFireability-11
FORMULA_NAME FlexibleBarrier-PT-08a-CTLFireability-12
FORMULA_NAME FlexibleBarrier-PT-08a-CTLFireability-13
FORMULA_NAME FlexibleBarrier-PT-08a-CTLFireability-14
FORMULA_NAME FlexibleBarrier-PT-08a-CTLFireability-15

=== Now, execution of the tool begins

BK_START 1553718684835

Running greatSPN : CommandLine [args=[/home/mcc/BenchKit//greatspn//bin/pinvar, /home/mcc/execution/gspn], workingDir=/home/mcc/execution]
Run of greatSPN captured in /home/mcc/execution/outPut.txt
Running greatSPN : CommandLine [args=[/home/mcc/BenchKit//greatspn//bin/RGMEDD2, /home/mcc/execution/gspn, -META, -varord-only], workingDir=/home/mcc/execution]
Run of greatSPN captured in /home/mcc/execution/outPut.txt
Using order generated by GreatSPN with heuristic : META
Invoking ITS tools like this :CommandLine [args=[/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.201903251645/bin/its-ctl-linux64, --gc-threshold, 2000000, --quiet, -i, /home/mcc/execution/CTLFireability.pnml.gal, -t, CGAL, -ctl, /home/mcc/execution/CTLFireability.ctl, --load-order, /home/mcc/execution/model.ord], workingDir=/home/mcc/execution]

its-ctl command run as :

/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.201903251645/bin/its-ctl-linux64 --gc-threshold 2000000 --quiet -i /home/mcc/execution/CTLFireability.pnml.gal -t CGAL -ctl /home/mcc/execution/CTLFireability.ctl --load-order /home/mcc/execution/model.ord
Successfully loaded order from file /home/mcc/execution/model.ord
No direction supplied, using forward translation only.
Parsed 16 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,4.29982e+08,5.72996,154324,2,6526,5,863836,6,0,580,307530,0


Converting to forward existential form...Done !
original formula: E(!((((p35>=1)&&(p84>=1))&&(p97>=1))) U EX((p29>=1)))
=> equivalent forward existential formula: [(EY(FwdU(Init,!((((p35>=1)&&(p84>=1))&&(p97>=1))))) * (p29>=1))] != FALSE
Hit Full ! (commute/partial/dont) 115/0/71
(forward)formula 0,1,12.8481,221588,1,0,9,1.23711e+06,16,1,1188,662595,5
FORMULA FlexibleBarrier-PT-08a-CTLFireability-00 TRUE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN
Formula is TRUE !

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

original formula: EF(((((p11>=1)&&(p24>=1))&&(p97>=1)) * ((p37>=1) * EF(((p53>=1)&&(p98>=1))))))
=> equivalent forward existential formula: [(FwdU(((FwdU(Init,TRUE) * (((p11>=1)&&(p24>=1))&&(p97>=1))) * (p37>=1)),TRUE) * ((p53>=1)&&(p98>=1)))] != FALSE
(forward)formula 1,1,14.8873,284948,1,0,14,1.6011e+06,20,4,1226,781828,10
FORMULA FlexibleBarrier-PT-08a-CTLFireability-01 TRUE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN
Formula is TRUE !

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

original formula: EF(AX((((p48>=1)||((p26>=1)&&(p98>=1)))&&(((p98>=1)&&(p9>=1))&&((p4>=1)&&(p98>=1))))))
=> equivalent forward existential formula: [(FwdU(Init,TRUE) * !(EX(!((((p48>=1)||((p26>=1)&&(p98>=1)))&&(((p98>=1)&&(p9>=1))&&((p4>=1)&&(p98>=1))))))))] != FALSE
Reverse transition relation is exact ! Faster fixpoint algorithm enabled.
(forward)formula 2,0,19.2804,373652,1,0,14,1.88802e+06,24,4,3210,875405,13
FORMULA FlexibleBarrier-PT-08a-CTLFireability-02 FALSE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN
Formula is FALSE !

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

original formula: !(EF(AG(!((((p60>=1)&&(p83>=1))&&(p97>=1))))))
=> equivalent forward existential formula: [(FwdU(Init,TRUE) * !(E(TRUE U !(!((((p60>=1)&&(p83>=1))&&(p97>=1)))))))] = FALSE
(forward)formula 3,1,21.8653,433048,1,0,15,2.55048e+06,29,4,3344,1.02717e+06,16
FORMULA FlexibleBarrier-PT-08a-CTLFireability-03 TRUE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN
Formula is TRUE !

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

original formula: (EF(((p88>=1)&&(p98>=1))) + EG((((p60>=1)&&(p95>=1))&&(p97>=1))))
=> equivalent forward existential formula: ([(FwdU(Init,TRUE) * ((p88>=1)&&(p98>=1)))] != FALSE + [FwdG(Init,(((p60>=1)&&(p95>=1))&&(p97>=1)))] != FALSE)
(forward)formula 4,1,21.8729,433312,1,0,17,2.55055e+06,30,5,3345,1.03048e+06,17
FORMULA FlexibleBarrier-PT-08a-CTLFireability-04 TRUE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN
Formula is TRUE !

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

original formula: EF(((((p19>=1)&&(p98>=1)) + EX((((p24>=1)&&(p71>=1))&&(p97>=1)))) * ((((p11>=1)&&(p72>=1))&&(p97>=1))&&(((p20>=1)&&(p8>=1))&&(!(p11>=1))))))
=> equivalent forward existential formula: ([((FwdU(Init,TRUE) * ((((p11>=1)&&(p72>=1))&&(p97>=1))&&(((p20>=1)&&(p8>=1))&&(!(p11>=1))))) * ((p19>=1)&&(p98>=1)))] != FALSE + [(EY((FwdU(Init,TRUE) * ((((p11>=1)&&(p72>=1))&&(p97>=1))&&(((p20>=1)&&(p8>=1))&&(!(p11>=1)))))) * (((p24>=1)&&(p71>=1))&&(p97>=1)))] != FALSE)
(forward)formula 5,0,21.882,433840,1,0,21,2.55059e+06,33,5,3353,1.03054e+06,20
FORMULA FlexibleBarrier-PT-08a-CTLFireability-05 FALSE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN
Formula is FALSE !

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

original formula: EF(!(EF(((p73>=1)||(((p12>=1)&&(p83>=1))&&(p97>=1))))))
=> equivalent forward existential formula: [(FwdU(Init,TRUE) * !(E(TRUE U ((p73>=1)||(((p12>=1)&&(p83>=1))&&(p97>=1))))))] != FALSE
(forward)formula 6,0,23.8038,490336,1,0,22,3.00732e+06,34,5,3356,1.1287e+06,23
FORMULA FlexibleBarrier-PT-08a-CTLFireability-06 FALSE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN
Formula is FALSE !

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

original formula: E(((((p36>=1)&&(p71>=1))&&(p97>=1))||(!((p22>=1)&&(p29>=1)))) U ((((p20>=1)&&((p29>=1)&&(p98>=1)))&&((((p60>=1)&&(p71>=1))&&(p97>=1))&&((p59>=1)&&(p97>=1))))&&((p5>=1)&&(p98>=1))))
=> equivalent forward existential formula: [(FwdU(Init,((((p36>=1)&&(p71>=1))&&(p97>=1))||(!((p22>=1)&&(p29>=1))))) * ((((p20>=1)&&((p29>=1)&&(p98>=1)))&&((((p60>=1)&&(p71>=1))&&(p97>=1))&&((p59>=1)&&(p97>=1))))&&((p5>=1)&&(p98>=1))))] != FALSE
(forward)formula 7,0,23.812,490596,1,0,22,3.0079e+06,35,5,3363,1.12878e+06,23
FORMULA FlexibleBarrier-PT-08a-CTLFireability-07 FALSE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN
Formula is FALSE !

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

original formula: ((A((((p47>=1)&&(p60>=1))&&(p97>=1)) U ((p47>=1)&&(p97>=1))) + !(EF(((p52>=1)&&(p98>=1))))) * EF((p29>=1)))
=> equivalent forward existential formula: ([(FwdU((Init * !(!((E(!(((p47>=1)&&(p97>=1))) U (!((((p47>=1)&&(p60>=1))&&(p97>=1))) * !(((p47>=1)&&(p97>=1))))) + EG(!(((p47>=1)&&(p97>=1)))))))),TRUE) * ((p52>=1)&&(p98>=1)))] = FALSE * [(Init * !(E(TRUE U (p29>=1))))] = FALSE)
Hit Full ! (commute/partial/dont) 118/0/68
(forward)formula 8,0,28.6618,594348,1,0,25,3.66071e+06,51,7,3422,1.3226e+06,36
FORMULA FlexibleBarrier-PT-08a-CTLFireability-08 FALSE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN
Formula is FALSE !

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

original formula: EF((E(((p40>=1)&&(p98>=1)) U (p60>=1)) * AX(((p61>=1)||(((p59>=1)&&(p72>=1))&&(p97>=1))))))
=> equivalent forward existential formula: [((FwdU(Init,TRUE) * E(((p40>=1)&&(p98>=1)) U (p60>=1))) * !(EX(!(((p61>=1)||(((p59>=1)&&(p72>=1))&&(p97>=1)))))))] != FALSE
(forward)formula 9,0,29.7981,625764,1,0,26,3.89852e+06,53,7,3430,1.3927e+06,38
FORMULA FlexibleBarrier-PT-08a-CTLFireability-09 FALSE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN
Formula is FALSE !

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

original formula: EF(AX(AG((p94>=1))))
=> equivalent forward existential formula: [(FwdU(Init,TRUE) * !(EX(!(!(E(TRUE U !((p94>=1))))))))] != FALSE
(forward)formula 10,0,29.8286,626556,1,0,27,3.90181e+06,55,7,3431,1.39271e+06,41
FORMULA FlexibleBarrier-PT-08a-CTLFireability-10 FALSE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN
Formula is FALSE !

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

original formula: E((EF((((p12>=1)&&(p35>=1))&&(p97>=1))) * (((p20>=1)||(p51>=1))||(!(p94>=1)))) U AX((p75>=1)))
=> equivalent forward existential formula: [(FwdU(Init,(E(TRUE U (((p12>=1)&&(p35>=1))&&(p97>=1))) * (((p20>=1)||(p51>=1))||(!(p94>=1))))) * !(EX(!((p75>=1)))))] != FALSE
(forward)formula 11,0,30.709,650580,1,0,28,4.08696e+06,57,7,3432,1.45004e+06,43
FORMULA FlexibleBarrier-PT-08a-CTLFireability-11 FALSE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN
Formula is FALSE !

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

original formula: !(EF((((p16>=1)&&(p98>=1))&&(((p59>=1)&&(p72>=1))&&(p97>=1)))))
=> equivalent forward existential formula: [(FwdU(Init,TRUE) * (((p16>=1)&&(p98>=1))&&(((p59>=1)&&(p72>=1))&&(p97>=1))))] = FALSE
(forward)formula 12,0,30.7159,650844,1,0,29,4.08752e+06,58,8,3436,1.45067e+06,44
FORMULA FlexibleBarrier-PT-08a-CTLFireability-12 FALSE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN
Formula is FALSE !

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

original formula: (AG((EX((p96>=1)) + !((((p2>=1)&&(p98>=1))&&(((p48>=1)&&(p95>=1))&&(p97>=1)))))) + AX((((p59>=1)&&(p72>=1))&&(p97>=1))))
=> equivalent forward existential formula: [(EY((Init * !(!(E(TRUE U !((EX((p96>=1)) + !((((p2>=1)&&(p98>=1))&&(((p48>=1)&&(p95>=1))&&(p97>=1))))))))))) * !((((p59>=1)&&(p72>=1))&&(p97>=1))))] = FALSE
(forward)formula 13,1,30.8361,652164,1,0,34,4.10866e+06,63,10,3444,1.47736e+06,48
FORMULA FlexibleBarrier-PT-08a-CTLFireability-13 TRUE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN
Formula is TRUE !

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

original formula: (EF(AG((((p36>=1)&&(p59>=1))&&(p97>=1)))) * EX(!((((((p48>=1)&&(p71>=1))&&(p97>=1))||(((p12>=1)&&(p35>=1))&&(p97>=1)))||((p1>=1)||(((p12>=1)&&(p95>=1))&&(p97>=1)))))))
=> equivalent forward existential formula: [(EY((Init * E(TRUE U !(E(TRUE U !((((p36>=1)&&(p59>=1))&&(p97>=1)))))))) * !((((((p48>=1)&&(p71>=1))&&(p97>=1))||(((p12>=1)&&(p35>=1))&&(p97>=1)))||((p1>=1)||(((p12>=1)&&(p95>=1))&&(p97>=1))))))] != FALSE
(forward)formula 14,0,30.8778,652688,1,0,37,4.11529e+06,67,11,3465,1.48926e+06,52
FORMULA FlexibleBarrier-PT-08a-CTLFireability-14 FALSE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN
Formula is FALSE !

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

original formula: AG((((p59>=1)||((!(((p12>=1)&&(p95>=1))&&(p97>=1)))&&(!(p25>=1)))) + AG(!((p61>=1)))))
=> equivalent forward existential formula: [(FwdU((FwdU(Init,TRUE) * !(((p59>=1)||((!(((p12>=1)&&(p95>=1))&&(p97>=1)))&&(!(p25>=1)))))),TRUE) * (p61>=1))] = FALSE
(forward)formula 15,0,33.4988,719708,1,0,41,4.4998e+06,70,14,3470,1.63557e+06,56
FORMULA FlexibleBarrier-PT-08a-CTLFireability-15 FALSE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN
Formula is FALSE !

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


BK_STOP 1553718722367

--------------------
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
+ 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 -vmargs -Dosgi.locking=none -Declipse.stateSaveDelayInterval=-1 -Dosgi.configuration.area=/tmp/.eclipse -Xss8m -Xms40m -Xmx8192m -Dfile.encoding=UTF-8 -Dosgi.requiredJavaVersion=1.6
Mar 27, 2019 8:31:27 PM fr.lip6.move.gal.application.Application start
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]
Mar 27, 2019 8:31:27 PM fr.lip6.move.gal.application.MccTranslator transformPNML
INFO: Parsing pnml file : /home/mcc/execution/model.pnml
Mar 27, 2019 8:31:27 PM fr.lip6.move.gal.nupn.PTNetReader loadFromXML
INFO: Load time of PNML (sax parser for PT used): 103 ms
Mar 27, 2019 8:31:27 PM fr.lip6.move.gal.pnml.togal.PTGALTransformer handlePage
INFO: Transformed 99 places.
Mar 27, 2019 8:31:27 PM fr.lip6.move.gal.pnml.togal.PTGALTransformer handlePage
INFO: Transformed 236 transitions.
Mar 27, 2019 8:31:27 PM fr.lip6.move.gal.pnml.togal.PnmlToGalTransformer transform
INFO: Found NUPN structural information;
Mar 27, 2019 8:31:27 PM fr.lip6.move.serialization.SerializationUtil systemToFile
INFO: Time to serialize gal into /home/mcc/execution/model.pnml.img.gal : 15 ms
Mar 27, 2019 8:31:27 PM fr.lip6.move.gal.instantiate.GALRewriter flatten
INFO: Flatten gal took : 122 ms
Mar 27, 2019 8:31:28 PM fr.lip6.move.gal.semantics.DeterministicNextBuilder getDeterministicNext
INFO: Input system was already deterministic with 236 transitions.
Mar 27, 2019 8:31:28 PM fr.lip6.move.gal.application.StructuralToGreatSPN handlePage
INFO: Transformed 99 places.
Mar 27, 2019 8:31:28 PM fr.lip6.move.gal.application.StructuralToGreatSPN handlePage
INFO: Transformed 236 transitions.
Mar 27, 2019 8:31:28 PM fr.lip6.move.serialization.SerializationUtil systemToFile
INFO: Time to serialize gal into /home/mcc/execution/CTLFireability.pnml.gal : 2 ms
Mar 27, 2019 8:31:28 PM fr.lip6.move.serialization.SerializationUtil serializePropertiesForITSCTLTools
INFO: Time to serialize properties into /home/mcc/execution/CTLFireability.ctl : 2 ms

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="FlexibleBarrier-PT-08a"
export BK_EXAMINATION="CTLFireability"
export BK_TOOL="itstoolsm"
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-3954"
echo " Executing tool itstoolsm"
echo " Input is FlexibleBarrier-PT-08a, 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 r195-csrt-155246554000167"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

tar xzf /home/mcc/BenchKit/INPUTS/FlexibleBarrier-PT-08a.tgz
mv FlexibleBarrier-PT-08a execution
cd execution
if [ "CTLFireability" = "GlobalProperties" ] ; then
rm -f GenericPropertiesVerdict.xml
fi
if [ "CTLFireability" = "UpperBounds" ] ; 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
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 ;