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

About the Execution of ITS-Tools for Parking-PT-104

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
303.560 2678.00 4700.00 85.10 TTTFTFFFTFFFFTFT normal

Execution Chart

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

Trace from the execution

Formatting '/data/fko/mcc2019-input.r107-oct2-155272230600311.qcow2', fmt=qcow2 size=4294967296 backing_file=/data/fko/mcc2019-input.qcow2 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 itstools
Input is Parking-PT-104, examination is CTLFireability
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r107-oct2-155272230600311
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 180K
-rw-r--r-- 1 mcc users 3.2K Feb 12 03:18 CTLCardinality.txt
-rw-r--r-- 1 mcc users 18K Feb 12 03:18 CTLCardinality.xml
-rw-r--r-- 1 mcc users 2.3K Feb 8 02:16 CTLFireability.txt
-rw-r--r-- 1 mcc users 16K Feb 8 02:16 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 101 Feb 24 15:05 GlobalProperties.txt
-rw-r--r-- 1 mcc users 339 Feb 24 15:05 GlobalProperties.xml
-rw-r--r-- 1 mcc users 2.2K Feb 5 00:21 LTLCardinality.txt
-rw-r--r-- 1 mcc users 9.4K Feb 5 00:21 LTLCardinality.xml
-rw-r--r-- 1 mcc users 1.8K Feb 4 22:37 LTLFireability.txt
-rw-r--r-- 1 mcc users 9.2K Feb 4 22:37 LTLFireability.xml
-rw-r--r-- 1 mcc users 2.9K Feb 4 07:18 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 14K Feb 4 07:18 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 2.5K Feb 1 01:26 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 15K Feb 1 01:26 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.6K Feb 4 22:22 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.6K Feb 4 22:22 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 23K 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 Parking-PT-104-CTLFireability-00
FORMULA_NAME Parking-PT-104-CTLFireability-01
FORMULA_NAME Parking-PT-104-CTLFireability-02
FORMULA_NAME Parking-PT-104-CTLFireability-03
FORMULA_NAME Parking-PT-104-CTLFireability-04
FORMULA_NAME Parking-PT-104-CTLFireability-05
FORMULA_NAME Parking-PT-104-CTLFireability-06
FORMULA_NAME Parking-PT-104-CTLFireability-07
FORMULA_NAME Parking-PT-104-CTLFireability-08
FORMULA_NAME Parking-PT-104-CTLFireability-09
FORMULA_NAME Parking-PT-104-CTLFireability-10
FORMULA_NAME Parking-PT-104-CTLFireability-11
FORMULA_NAME Parking-PT-104-CTLFireability-12
FORMULA_NAME Parking-PT-104-CTLFireability-13
FORMULA_NAME Parking-PT-104-CTLFireability-14
FORMULA_NAME Parking-PT-104-CTLFireability-15

=== Now, execution of the tool begins

BK_START 1552922859921

Invoking ITS tools like this :CommandLine [args=[/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.201903111103/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.201903111103/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 16 CTL formulae.
built 26 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,31745,0.03771,4888,88,54,685,373,174,835,65,1074,0


Converting to forward existential form...Done !
original formula: EX(EF(AX((u5.p10>=1))))
=> equivalent forward existential formula: [(FwdU(EY(Init),TRUE) * !(EX(!((u5.p10>=1)))))] != FALSE
Reverse transition relation is NOT exact ! Due to transitions t92, t93, t94, t95, u15.t3, u15.t4, u15.t5, u15.t6, Intersection with reachable at each step enabled. (destroyed/reverse/intersect/total) :41/50/6/97
(forward)formula 0,1,0.058199,6072,1,0,2365,646,796,2930,259,2210,7500
FORMULA Parking-PT-104-CTLFireability-00 TRUE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN
Formula is TRUE !

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

original formula: !(AG((((!(u15.p61>=1))||((u9.p20>=1)&&(u15.p62>=1)))||(((u15.p64>=1)&&(u12.p46>=1))&&(!((u5.p9>=1)&&(u13.p56>=1)))))))
=> equivalent forward existential formula: [(FwdU(Init,TRUE) * !((((!(u15.p61>=1))||((u9.p20>=1)&&(u15.p62>=1)))||(((u15.p64>=1)&&(u12.p46>=1))&&(!((u5.p9>=1)&&(u13.p56>=1)))))))] != FALSE
(forward)formula 1,1,0.059422,6600,1,0,2373,655,825,2944,260,2236,7584
FORMULA Parking-PT-104-CTLFireability-01 TRUE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN
Formula is TRUE !

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

original formula: AF(((((((u3.p6>=1)&&(u10.p27>=1))||((u3.p5>=1)&&(u13.p55>=1)))&&(((u3.p6>=1)&&(u10.p26>=1))||(u12.p44>=1))) + AF((u16.p0>=1))) * EG(!(((u6.p12>=1)&&(u13.p52>=1))))))
=> equivalent forward existential formula: [FwdG(Init,!(((((((u3.p6>=1)&&(u10.p27>=1))||((u3.p5>=1)&&(u13.p55>=1)))&&(((u3.p6>=1)&&(u10.p26>=1))||(u12.p44>=1))) + !(EG(!((u16.p0>=1))))) * EG(!(((u6.p12>=1)&&(u13.p52>=1)))))))] = FALSE
Using saturation style SCC detection
Using saturation style SCC detection
Using saturation style SCC detection
Using saturation style SCC detection
Using saturation style SCC detection
Using saturation style SCC detection
Using saturation style SCC detection
Fast SCC detection found an SCC at level 13
Fast SCC detection found an SCC at level 14
Fast SCC detection found an SCC at level 15
(forward)formula 2,1,0.229188,15840,1,0,21154,1936,1106,31775,282,11327,53424
FORMULA Parking-PT-104-CTLFireability-02 TRUE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN
Formula is TRUE !

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

original formula: E(AF((u9.p20>=1)) U (u9.p20>=1))
=> equivalent forward existential formula: [(FwdU(Init,!(EG(!((u9.p20>=1))))) * (u9.p20>=1))] != FALSE
(forward)formula 3,0,0.290562,19536,1,0,30003,1955,1150,43557,283,11594,73044
FORMULA Parking-PT-104-CTLFireability-03 FALSE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN
Formula is FALSE !

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

original formula: EG(!(A((u11.p36>=1) U ((u11.p35>=1)&&(u15.p64>=1)))))
=> equivalent forward existential formula: [FwdG(Init,!(!((E(!(((u11.p35>=1)&&(u15.p64>=1))) U (!((u11.p36>=1)) * !(((u11.p35>=1)&&(u15.p64>=1))))) + EG(!(((u11.p35>=1)&&(u15.p64>=1))))))))] != FALSE
(forward)formula 4,1,0.357199,22968,1,0,38028,2097,1175,53817,283,13002,89457
FORMULA Parking-PT-104-CTLFireability-04 TRUE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN
Formula is TRUE !

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

original formula: (AG(((((u11.p36>=1)&&((u13.p58>=1)&&(u14.p59>=1)))||(((u12.p43>=1)&&(u15.p64>=1))||((u8.p16>=1)&&(u13.p53>=1))))||((!((u10.p32>=1)&&(u14.p59>=1)))||(!(u12.p44>=1))))) * EF(((u11.p36>=1)&&((u8.p15>=1)&&(u12.p47>=1)))))
=> equivalent forward existential formula: ([(FwdU(Init,TRUE) * !(((((u11.p36>=1)&&((u13.p58>=1)&&(u14.p59>=1)))||(((u12.p43>=1)&&(u15.p64>=1))||((u8.p16>=1)&&(u13.p53>=1))))||((!((u10.p32>=1)&&(u14.p59>=1)))||(!(u12.p44>=1))))))] = FALSE * [(Init * !(E(TRUE U ((u11.p36>=1)&&((u8.p15>=1)&&(u12.p47>=1))))))] = FALSE)
(forward)formula 5,0,0.357907,23232,1,0,38028,2097,1184,53818,283,13002,89468
FORMULA Parking-PT-104-CTLFireability-05 FALSE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN
Formula is FALSE !

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

original formula: !(EF(((u2.p4>=1)&&((u8.p16>=1)&&(u13.p53>=1)))))
=> equivalent forward existential formula: [(FwdU(Init,TRUE) * ((u2.p4>=1)&&((u8.p16>=1)&&(u13.p53>=1))))] = FALSE
(forward)formula 6,0,0.35844,23496,1,0,38042,2097,1191,53850,283,13002,89528
FORMULA Parking-PT-104-CTLFireability-06 FALSE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN
Formula is FALSE !

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

original formula: ((AF((u12.p44>=1)) + (u12.p44>=1)) * (EX(((((u4.p7>=1)&&(u10.p31>=1))&&(u1.p2>=1))||((u9.p20>=1)&&((u10.p30>=1)&&(u15.p63>=1))))) + (AX(!((u15.p61>=1))) * !((u1.p2>=1)))))
=> equivalent forward existential formula: ([FwdG((Init * !((u12.p44>=1))),!((u12.p44>=1)))] = FALSE * ([(EY((Init * !(EX(((((u4.p7>=1)&&(u10.p31>=1))&&(u1.p2>=1))||((u9.p20>=1)&&((u10.p30>=1)&&(u15.p63>=1)))))))) * (u15.p61>=1))] = FALSE * [((Init * !(EX(((((u4.p7>=1)&&(u10.p31>=1))&&(u1.p2>=1))||((u9.p20>=1)&&((u10.p30>=1)&&(u15.p63>=1))))))) * (u1.p2>=1))] = FALSE))
(forward)formula 7,0,0.361405,23496,1,0,38178,2098,1218,54023,283,13069,90127
FORMULA Parking-PT-104-CTLFireability-07 FALSE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN
Formula is FALSE !

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

original formula: (EG(!(AF(((u11.p35>=1)&&(u15.p64>=1))))) + EX((AG((u12.p44>=1)) * (u3.p6>=1))))
=> equivalent forward existential formula: ([FwdG(Init,!(!(EG(!(((u11.p35>=1)&&(u15.p64>=1)))))))] != FALSE + [((EY(Init) * (u3.p6>=1)) * !(E(TRUE U !((u12.p44>=1)))))] != FALSE)
(forward)formula 8,1,0.361749,23496,1,0,38178,2098,1218,54023,283,13069,90127
FORMULA Parking-PT-104-CTLFireability-08 TRUE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN
Formula is TRUE !

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

original formula: EF((EF(((u9.p20>=1)&&(u12.p45>=1))) * (EG(((u3.p6>=1)&&(u10.p26>=1))) + ((u7.p14>=1)&&(u12.p42>=1)))))
=> equivalent forward existential formula: ([FwdG((FwdU(Init,TRUE) * E(TRUE U ((u9.p20>=1)&&(u12.p45>=1)))),((u3.p6>=1)&&(u10.p26>=1)))] != FALSE + [((FwdU(Init,TRUE) * E(TRUE U ((u9.p20>=1)&&(u12.p45>=1)))) * ((u7.p14>=1)&&(u12.p42>=1)))] != FALSE)
(forward)formula 9,0,0.362617,23496,1,0,38178,2098,1235,54023,283,13069,90139
FORMULA Parking-PT-104-CTLFireability-09 FALSE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN
Formula is FALSE !

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

original formula: AG(EF((((u10.p28>=1)&&(u12.p44>=1))||(((u12.p41>=1)&&(u14.p60>=1))||((u1.p1>=1)&&(u13.p54>=1))))))
=> equivalent forward existential formula: [(FwdU(Init,TRUE) * !(E(TRUE U (((u10.p28>=1)&&(u12.p44>=1))||(((u12.p41>=1)&&(u14.p60>=1))||((u1.p1>=1)&&(u13.p54>=1)))))))] = FALSE
(forward)formula 10,0,0.369292,23496,1,0,38666,2109,1255,55285,283,13107,92343
FORMULA Parking-PT-104-CTLFireability-10 FALSE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN
Formula is FALSE !

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

original formula: AF((AF(((u12.p44>=1)||(u11.p36>=1))) * AF(((u12.p48>=1)&&(u14.p59>=1)))))
=> equivalent forward existential formula: [FwdG(Init,!((!(EG(!(((u12.p44>=1)||(u11.p36>=1))))) * !(EG(!(((u12.p48>=1)&&(u14.p59>=1))))))))] = FALSE
(forward)formula 11,0,0.428876,26928,1,0,45289,2394,1291,63846,283,14800,110883
FORMULA Parking-PT-104-CTLFireability-11 FALSE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN
Formula is FALSE !

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

original formula: ((EG((u4.p8>=1)) + AX(((u11.p35>=1)&&(u15.p64>=1)))) + AF((((u4.p8>=1)&&(u13.p51>=1))&&(u11.p36>=1))))
=> equivalent forward existential formula: [FwdG((Init * !((EG((u4.p8>=1)) + !(EX(!(((u11.p35>=1)&&(u15.p64>=1)))))))),!((((u4.p8>=1)&&(u13.p51>=1))&&(u11.p36>=1))))] = FALSE
(forward)formula 12,0,0.515741,32208,1,0,56891,2423,1309,78483,283,15655,133921
FORMULA Parking-PT-104-CTLFireability-12 FALSE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN
Formula is FALSE !

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

original formula: (AX(AX((((u10.p25>=1)&&(u14.p60>=1))||(u12.p44>=1)))) + !(AF(((u1.p2>=1)&&(u9.p18>=1)))))
=> equivalent forward existential formula: [(EY(EY((Init * !(!(!(EG(!(((u1.p2>=1)&&(u9.p18>=1)))))))))) * !((((u10.p25>=1)&&(u14.p60>=1))||(u12.p44>=1))))] = FALSE
(forward)formula 13,1,0.567731,35112,1,0,64175,2427,1358,88567,283,15920,149882
FORMULA Parking-PT-104-CTLFireability-13 TRUE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN
Formula is TRUE !

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

original formula: (((u9.p20>=1)&&(u5.p10>=1)) + !(EF((u15.p61>=1))))
=> equivalent forward existential formula: [(FwdU((Init * !(((u9.p20>=1)&&(u5.p10>=1)))),TRUE) * (u15.p61>=1))] = FALSE
(forward)formula 14,0,0.568141,35376,1,0,64175,2427,1361,88567,283,15920,149894
FORMULA Parking-PT-104-CTLFireability-14 FALSE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN
Formula is FALSE !

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

original formula: AX(EF(((u12.p43>=1)&&(u15.p64>=1))))
=> equivalent forward existential formula: [(EY(Init) * !(E(TRUE U ((u12.p43>=1)&&(u15.p64>=1)))))] = FALSE
(forward)formula 15,1,0.583169,35376,1,0,64754,2445,1364,90035,283,16118,152516
FORMULA Parking-PT-104-CTLFireability-15 TRUE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN
Formula is TRUE !

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


BK_STOP 1552922862599

--------------------
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/ -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/ -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 18, 2019 3:27:41 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/, -smt]
Mar 18, 2019 3:27:41 PM fr.lip6.move.gal.application.MccTranslator transformPNML
INFO: Parsing pnml file : /home/mcc/execution/model.pnml
Mar 18, 2019 3:27:41 PM fr.lip6.move.gal.nupn.PTNetReader loadFromXML
INFO: Load time of PNML (sax parser for PT used): 29 ms
Mar 18, 2019 3:27:41 PM fr.lip6.move.gal.pnml.togal.PTGALTransformer handlePage
INFO: Transformed 65 places.
Mar 18, 2019 3:27:41 PM fr.lip6.move.gal.pnml.togal.PTGALTransformer handlePage
INFO: Transformed 97 transitions.
Mar 18, 2019 3:27:41 PM fr.lip6.move.gal.pnml.togal.PnmlToGalTransformer transform
INFO: Found NUPN structural information;
Mar 18, 2019 3:27:41 PM fr.lip6.move.serialization.SerializationUtil systemToFile
INFO: Time to serialize gal into /home/mcc/execution/model.pnml.img.gal : 7 ms
Mar 18, 2019 3:27:41 PM fr.lip6.move.gal.application.MccTranslator applyOrder
INFO: Applying decomposition
Mar 18, 2019 3:27:41 PM fr.lip6.move.gal.instantiate.GALRewriter flatten
INFO: Flatten gal took : 57 ms
Mar 18, 2019 3:27:41 PM fr.lip6.move.gal.instantiate.GALRewriter flatten
INFO: Flatten gal took : 23 ms
Mar 18, 2019 3:27:41 PM fr.lip6.move.gal.instantiate.CompositeBuilder decomposeWithOrder
INFO: Decomposing Gal with order
Mar 18, 2019 3:27:41 PM fr.lip6.move.gal.instantiate.CompositeBuilder rewriteArraysToAllowPartition
INFO: Rewriting arrays to variables to allow decomposition.
Mar 18, 2019 3:27:41 PM fr.lip6.move.gal.instantiate.Instantiator dropEvents
INFO: Dropping 8 events :t92,t92,t92,t92,t87,t87,t87,t87,
Mar 18, 2019 3:27:41 PM fr.lip6.move.gal.instantiate.Instantiator dropEvents
INFO: Dropping 1 events :t61,
Mar 18, 2019 3:27:41 PM fr.lip6.move.gal.instantiate.Instantiator dropEvents
INFO: Dropping 1 events :t72,
Mar 18, 2019 3:27:41 PM fr.lip6.move.gal.instantiate.Instantiator dropEvents
INFO: Dropping 1 events :t75,
Mar 18, 2019 3:27:41 PM fr.lip6.move.gal.instantiate.Instantiator dropEvents
INFO: Dropping 6 events :t67,t65,t63,t59,t59,t59,
Mar 18, 2019 3:27:41 PM fr.lip6.move.gal.instantiate.Instantiator dropEvents
INFO: Dropping 1 events :t59,
Mar 18, 2019 3:27:41 PM fr.lip6.move.gal.instantiate.Instantiator fuseIsomorphicEffects
INFO: Removed a total of 18 redundant transitions.
Mar 18, 2019 3:27:41 PM fr.lip6.move.gal.instantiate.GALRewriter flatten
INFO: Flatten gal took : 49 ms
Mar 18, 2019 3:27:41 PM fr.lip6.move.serialization.SerializationUtil systemToFile
INFO: Time to serialize gal into /home/mcc/execution/CTLFireability.pnml.gal : 9 ms
Mar 18, 2019 3:27:41 PM fr.lip6.move.serialization.SerializationUtil serializePropertiesForITSCTLTools
INFO: Time to serialize properties into /home/mcc/execution/CTLFireability.ctl : 5 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="Parking-PT-104"
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-3954"
echo " Executing tool itstools"
echo " Input is Parking-PT-104, 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 r107-oct2-155272230600311"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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