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

About the Execution of ITS-Tools for SafeBus-PT-06

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
4704.340 367031.00 380336.00 189.30 5 6 1 5 1 1 1 1 1 1 1 1 1 1 1 1 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.r162-csrt-155286433600074.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 itstools
Input is SafeBus-PT-06, examination is UpperBounds
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r162-csrt-155286433600074
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 868K
-rw-r--r-- 1 mcc users 5.3K Feb 12 15:43 CTLCardinality.txt
-rw-r--r-- 1 mcc users 25K Feb 12 15:43 CTLCardinality.xml
-rw-r--r-- 1 mcc users 30K Feb 8 17:42 CTLFireability.txt
-rw-r--r-- 1 mcc users 105K Feb 8 17:42 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.0K Mar 10 17:31 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 100 Feb 24 15:05 GlobalProperties.txt
-rw-r--r-- 1 mcc users 338 Feb 24 15:05 GlobalProperties.xml
-rw-r--r-- 1 mcc users 3.8K Feb 5 01:21 LTLCardinality.txt
-rw-r--r-- 1 mcc users 15K Feb 5 01:21 LTLCardinality.xml
-rw-r--r-- 1 mcc users 6.5K Feb 4 22:48 LTLFireability.txt
-rw-r--r-- 1 mcc users 24K Feb 4 22:48 LTLFireability.xml
-rw-r--r-- 1 mcc users 6.7K Feb 4 17:34 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 29K Feb 4 17:34 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 26K Feb 1 13:57 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 87K Feb 1 13:57 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 2.1K Feb 4 22:30 UpperBounds.txt
-rw-r--r-- 1 mcc users 5.1K Feb 4 22:30 UpperBounds.xml
-rw-r--r-- 1 mcc users 5 Jan 29 09:35 equiv_col

-rw-r--r-- 1 mcc users 3 Jan 29 09:35 instance
-rw-r--r-- 1 mcc users 6 Jan 29 09:35 iscolored
-rw-r--r-- 1 mcc users 448K 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 positive values
NUM_VECTOR

here is the order used to build the result vector(from text file)
FORMULA_NAME SafeBus-PT-06-UpperBounds-00
FORMULA_NAME SafeBus-PT-06-UpperBounds-01
FORMULA_NAME SafeBus-PT-06-UpperBounds-02
FORMULA_NAME SafeBus-PT-06-UpperBounds-03
FORMULA_NAME SafeBus-PT-06-UpperBounds-04
FORMULA_NAME SafeBus-PT-06-UpperBounds-05
FORMULA_NAME SafeBus-PT-06-UpperBounds-06
FORMULA_NAME SafeBus-PT-06-UpperBounds-07
FORMULA_NAME SafeBus-PT-06-UpperBounds-08
FORMULA_NAME SafeBus-PT-06-UpperBounds-09
FORMULA_NAME SafeBus-PT-06-UpperBounds-10
FORMULA_NAME SafeBus-PT-06-UpperBounds-11
FORMULA_NAME SafeBus-PT-06-UpperBounds-12
FORMULA_NAME SafeBus-PT-06-UpperBounds-13
FORMULA_NAME SafeBus-PT-06-UpperBounds-14
FORMULA_NAME SafeBus-PT-06-UpperBounds-15

=== Now, execution of the tool begins

BK_START 1553040940334

Invoking ITS tools like this :CommandLine [args=[/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.201903111103/bin/its-reach-linux64, --gc-threshold, 2000000, --quiet, -i, /home/mcc/execution/UpperBounds.pnml.gal, -t, CGAL, -reachable-file, UpperBounds.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.201903111103/bin/its-reach-linux64 --gc-threshold 2000000 --quiet -i /home/mcc/execution/UpperBounds.pnml.gal -t CGAL -reachable-file UpperBounds.prop --nowitness
Loading property file UpperBounds.prop.
Read [bounds] property : SafeBus-PT-06-UpperBounds-00 with value :RMC_1+RMC_2+RMC_3+RMC_4+RMC_5+RMC_6
Read [bounds] property : SafeBus-PT-06-UpperBounds-01 with value :AMC_1_1+AMC_2_1+AMC_3_1+AMC_4_1+AMC_5_1+AMC_6_1+AMC_1_2+AMC_2_2+AMC_3_2+AMC_4_2+AMC_5_2+AMC_6_2+AMC_1_3+AMC_2_3+AMC_3_3+AMC_4_3+AMC_5_3+AMC_6_3+AMC_1_4+AMC_2_4+AMC_3_4+AMC_4_4+AMC_5_4+AMC_6_4+AMC_1_5+AMC_2_5+AMC_3_5+AMC_4_5+AMC_5_5+AMC_6_5+AMC_1_6+AMC_2_6+AMC_3_6+AMC_4_6+AMC_5_6+AMC_6_6
Read [bounds] property : SafeBus-PT-06-UpperBounds-02 with value :ACK
Read [bounds] property : SafeBus-PT-06-UpperBounds-03 with value :RMC_1+RMC_2+RMC_3+RMC_4+RMC_5+RMC_6
Read [bounds] property : SafeBus-PT-06-UpperBounds-04 with value :R_tout
Read [bounds] property : SafeBus-PT-06-UpperBounds-05 with value :cable_free
Read [bounds] property : SafeBus-PT-06-UpperBounds-06 with value :FMCb
Read [bounds] property : SafeBus-PT-06-UpperBounds-07 with value :MSG_1+MSG_2+MSG_3+MSG_4+MSG_5+MSG_6
Read [bounds] property : SafeBus-PT-06-UpperBounds-08 with value :AMC_5_2
Read [bounds] property : SafeBus-PT-06-UpperBounds-09 with value :wait_ack_5_3
Read [bounds] property : SafeBus-PT-06-UpperBounds-10 with value :cable_used_3
Read [bounds] property : SafeBus-PT-06-UpperBounds-11 with value :FMC_5
Read [bounds] property : SafeBus-PT-06-UpperBounds-12 with value :FMC_3
Read [bounds] property : SafeBus-PT-06-UpperBounds-13 with value :cable_used_1
Read [bounds] property : SafeBus-PT-06-UpperBounds-14 with value :AMC_5_1
Read [bounds] property : SafeBus-PT-06-UpperBounds-15 with value :wait_ack_3_2
Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
SafeBus\_PT\_06\_flat,6.81676e+06,359.855,4458832,2,235604,5,5.0505e+06,6,0,1006,5.12376e+06,0
Total reachable state count : 6816756

Verifying 16 reachability properties.
Min sum of variable value : 0
Maximum sum along a path : 5
Bounds property SafeBus-PT-06-UpperBounds-00 :0 <= RMC_1+RMC_2+RMC_3+RMC_4+RMC_5+RMC_6 <= 5
FORMULA SafeBus-PT-06-UpperBounds-00 5 TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
SafeBus-PT-06-UpperBounds-00,0,360.217,4458864,1,0,7,5.0505e+06,9,1,1372,5.12376e+06,4
Min sum of variable value : 0
Maximum sum along a path : 6
Bounds property SafeBus-PT-06-UpperBounds-01 :0 <= AMC_1_1+AMC_2_1+AMC_3_1+AMC_4_1+AMC_5_1+AMC_6_1+AMC_1_2+AMC_2_2+AMC_3_2+AMC_4_2+AMC_5_2+AMC_6_2+AMC_1_3+AMC_2_3+AMC_3_3+AMC_4_3+AMC_5_3+AMC_6_3+AMC_1_4+AMC_2_4+AMC_3_4+AMC_4_4+AMC_5_4+AMC_6_4+AMC_1_5+AMC_2_5+AMC_3_5+AMC_4_5+AMC_5_5+AMC_6_5+AMC_1_6+AMC_2_6+AMC_3_6+AMC_4_6+AMC_5_6+AMC_6_6 <= 6
FORMULA SafeBus-PT-06-UpperBounds-01 6 TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
SafeBus-PT-06-UpperBounds-01,0,361.184,4458932,1,0,8,5.0505e+06,10,1,1676,5.12376e+06,5
Min sum of variable value : 0
Maximum sum along a path : 1
Bounds property SafeBus-PT-06-UpperBounds-02 :0 <= ACK <= 1
FORMULA SafeBus-PT-06-UpperBounds-02 1 TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
SafeBus-PT-06-UpperBounds-02,0,361.186,4458932,1,0,9,5.0505e+06,11,1,1759,5.12376e+06,6
Min sum of variable value : 0
Maximum sum along a path : 5
Bounds property SafeBus-PT-06-UpperBounds-03 :0 <= RMC_1+RMC_2+RMC_3+RMC_4+RMC_5+RMC_6 <= 5
FORMULA SafeBus-PT-06-UpperBounds-03 5 TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
SafeBus-PT-06-UpperBounds-03,0,361.186,4458932,1,0,9,5.0505e+06,11,1,1759,5.12376e+06,6
Min sum of variable value : 0
Maximum sum along a path : 1
Bounds property SafeBus-PT-06-UpperBounds-04 :0 <= R_tout <= 1
FORMULA SafeBus-PT-06-UpperBounds-04 1 TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
SafeBus-PT-06-UpperBounds-04,0,361.186,4458932,1,0,10,5.0505e+06,12,1,1766,5.12376e+06,7
Min sum of variable value : 0
Maximum sum along a path : 1
Bounds property SafeBus-PT-06-UpperBounds-05 :0 <= cable_free <= 1
FORMULA SafeBus-PT-06-UpperBounds-05 1 TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
SafeBus-PT-06-UpperBounds-05,0,361.207,4458932,1,0,11,5.0505e+06,13,1,1909,5.12376e+06,8
Min sum of variable value : 0
Maximum sum along a path : 1
Bounds property SafeBus-PT-06-UpperBounds-06 :0 <= FMCb <= 1
FORMULA SafeBus-PT-06-UpperBounds-06 1 TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
SafeBus-PT-06-UpperBounds-06,0,361.258,4458932,1,0,12,5.0505e+06,14,1,2066,5.12376e+06,9
Min sum of variable value : 0
Maximum sum along a path : 1
Bounds property SafeBus-PT-06-UpperBounds-07 :0 <= MSG_1+MSG_2+MSG_3+MSG_4+MSG_5+MSG_6 <= 1
FORMULA SafeBus-PT-06-UpperBounds-07 1 TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
SafeBus-PT-06-UpperBounds-07,0,361.259,4458932,1,0,13,5.0505e+06,15,1,2138,5.12376e+06,10
Min sum of variable value : 0
Maximum sum along a path : 1
Bounds property SafeBus-PT-06-UpperBounds-08 :0 <= AMC_5_2 <= 1
FORMULA SafeBus-PT-06-UpperBounds-08 1 TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
SafeBus-PT-06-UpperBounds-08,0,361.55,4458932,1,0,14,5.0505e+06,16,1,2361,5.12376e+06,11
Min sum of variable value : 0
Maximum sum along a path : 1
Bounds property SafeBus-PT-06-UpperBounds-09 :0 <= wait_ack_5_3 <= 1
FORMULA SafeBus-PT-06-UpperBounds-09 1 TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
SafeBus-PT-06-UpperBounds-09,0,361.55,4458932,1,0,15,5.0505e+06,17,1,2384,5.12376e+06,12
Min sum of variable value : 0
Maximum sum along a path : 1
Bounds property SafeBus-PT-06-UpperBounds-10 :0 <= cable_used_3 <= 1
FORMULA SafeBus-PT-06-UpperBounds-10 1 TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
SafeBus-PT-06-UpperBounds-10,0,361.724,4458932,1,0,16,5.0505e+06,18,1,2571,5.12376e+06,13
Min sum of variable value : 0
Maximum sum along a path : 1
Bounds property SafeBus-PT-06-UpperBounds-11 :0 <= FMC_5 <= 1
FORMULA SafeBus-PT-06-UpperBounds-11 1 TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
SafeBus-PT-06-UpperBounds-11,0,361.725,4458932,1,0,17,5.0505e+06,19,1,2622,5.12376e+06,14
Min sum of variable value : 0
Maximum sum along a path : 1
Bounds property SafeBus-PT-06-UpperBounds-12 :0 <= FMC_3 <= 1
FORMULA SafeBus-PT-06-UpperBounds-12 1 TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
SafeBus-PT-06-UpperBounds-12,0,361.726,4458932,1,0,18,5.0505e+06,20,1,2701,5.12376e+06,15
Min sum of variable value : 0
Maximum sum along a path : 1
Bounds property SafeBus-PT-06-UpperBounds-13 :0 <= cable_used_1 <= 1
FORMULA SafeBus-PT-06-UpperBounds-13 1 TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
SafeBus-PT-06-UpperBounds-13,0,361.916,4458932,1,0,19,5.0505e+06,21,1,2892,5.12376e+06,16
Min sum of variable value : 0
Maximum sum along a path : 1
Bounds property SafeBus-PT-06-UpperBounds-14 :0 <= AMC_5_1 <= 1
FORMULA SafeBus-PT-06-UpperBounds-14 1 TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
SafeBus-PT-06-UpperBounds-14,0,362.205,4458932,1,0,20,5.0505e+06,22,1,3103,5.12376e+06,17
Min sum of variable value : 0
Maximum sum along a path : 1
Bounds property SafeBus-PT-06-UpperBounds-15 :0 <= wait_ack_3_2 <= 1
FORMULA SafeBus-PT-06-UpperBounds-15 1 TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
SafeBus-PT-06-UpperBounds-15,0,362.206,4458932,1,0,21,5.0505e+06,23,1,3176,5.12376e+06,18
ITS tools runner thread asked to quit. Dying gracefully.

BK_STOP 1553041307365

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

+ export BINDIR=/home/mcc/BenchKit/
+ BINDIR=/home/mcc/BenchKit/
++ pwd
+ export MODEL=/home/mcc/execution
+ MODEL=/home/mcc/execution
+ [[ UpperBounds = StateSpace ]]
+ /home/mcc/BenchKit//runeclipse.sh /home/mcc/execution UpperBounds -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 UpperBounds -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 20, 2019 12:15:42 AM fr.lip6.move.gal.application.Application start
INFO: Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, UpperBounds, -z3path, /home/mcc/BenchKit//z3/bin/z3, -yices2path, /home/mcc/BenchKit//yices/bin/yices, -its, -ltsminpath, /home/mcc/BenchKit//lts_install_dir/, -smt]
Mar 20, 2019 12:15:43 AM fr.lip6.move.gal.application.MccTranslator transformPNML
INFO: Parsing pnml file : /home/mcc/execution/model.pnml
Mar 20, 2019 12:15:43 AM fr.lip6.move.gal.nupn.PTNetReader loadFromXML
INFO: Load time of PNML (sax parser for PT used): 289 ms
Mar 20, 2019 12:15:43 AM fr.lip6.move.gal.pnml.togal.PTGALTransformer handlePage
INFO: Transformed 144 places.
Mar 20, 2019 12:15:43 AM fr.lip6.move.gal.pnml.togal.PTGALTransformer handlePage
INFO: Transformed 451 transitions.
Mar 20, 2019 12:15:43 AM fr.lip6.move.serialization.SerializationUtil systemToFile
INFO: Time to serialize gal into /home/mcc/execution/model.pnml.img.gal : 44 ms
Mar 20, 2019 12:15:43 AM fr.lip6.move.gal.instantiate.DomainAnalyzer computeVariableDomains
INFO: Found a total of 6 fixed domain variables (out of 144 variables) in GAL type SafeBus_PT_06
Mar 20, 2019 12:15:43 AM fr.lip6.move.gal.instantiate.Simplifier printConstantVars
INFO: Found a total of 6 constant array cells/variables (out of 144 variables) in type SafeBus_PT_06
Mar 20, 2019 12:15:43 AM fr.lip6.move.gal.instantiate.Simplifier printConstantVars
INFO: msgl_3,msgl_6,msgl_4,msgl_2,msgl_5,msgl_1,
Mar 20, 2019 12:15:43 AM fr.lip6.move.gal.instantiate.Simplifier simplifyConstantVariables
INFO: Removed 6 constant variables :msgl_3=1, msgl_6=1, msgl_4=1, msgl_2=1, msgl_5=1, msgl_1=1
Mar 20, 2019 12:15:43 AM fr.lip6.move.gal.instantiate.Simplifier simplifyConstantVariables
INFO: Simplified 30 expressions due to constant valuations.
Mar 20, 2019 12:15:43 AM fr.lip6.move.gal.instantiate.GALRewriter flatten
INFO: Flatten gal took : 259 ms
Mar 20, 2019 12:15:43 AM fr.lip6.move.serialization.SerializationUtil systemToFile
INFO: Time to serialize gal into /home/mcc/execution/UpperBounds.pnml.gal : 9 ms
Mar 20, 2019 12:15:43 AM fr.lip6.move.serialization.SerializationUtil serializePropertiesForITSTools
INFO: Time to serialize properties into /home/mcc/execution/UpperBounds.prop : 1 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="SafeBus-PT-06"
export BK_EXAMINATION="UpperBounds"
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 SafeBus-PT-06, examination is UpperBounds"
echo " Time confinement is $BK_TIME_CONFINEMENT seconds"
echo " Memory confinement is 16384 MBytes"
echo " Number of cores is 4"
echo " Run identifier is r162-csrt-155286433600074"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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