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

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
507.910 7592.00 15579.00 112.40 3 6 6 6 6 6 3 3 4 1 1 1 1 1 4 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.r085-csrt-155246554600524.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 GlobalResAllocation-PT-03, examination is UpperBounds
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r085-csrt-155246554600524
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 12M
-rw-r--r-- 1 mcc users 9.3K Feb 11 01:35 CTLCardinality.txt
-rw-r--r-- 1 mcc users 34K Feb 11 01:35 CTLCardinality.xml
-rw-r--r-- 1 mcc users 156K Feb 7 00:43 CTLFireability.txt
-rw-r--r-- 1 mcc users 505K Feb 7 00:43 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.0K Mar 10 17:31 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 112 Feb 24 15:05 GlobalProperties.txt
-rw-r--r-- 1 mcc users 350 Feb 24 15:05 GlobalProperties.xml
-rw-r--r-- 1 mcc users 3.4K Feb 4 23:54 LTLCardinality.txt
-rw-r--r-- 1 mcc users 12K Feb 4 23:54 LTLCardinality.xml
-rw-r--r-- 1 mcc users 175K Feb 4 22:35 LTLFireability.txt
-rw-r--r-- 1 mcc users 550K Feb 4 22:35 LTLFireability.xml
-rw-r--r-- 1 mcc users 6.8K Feb 3 08:47 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 24K Feb 3 08:47 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 961K Jan 31 02:15 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 3.0M Jan 31 02:15 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 2.8K Feb 4 22:20 UpperBounds.txt
-rw-r--r-- 1 mcc users 5.9K Feb 4 22:20 UpperBounds.xml
-rw-r--r-- 1 mcc users 5 Jan 29 09:34 equiv_col

-rw-r--r-- 1 mcc users 3 Jan 29 09:34 instance
-rw-r--r-- 1 mcc users 6 Jan 29 09:34 iscolored
-rw-r--r-- 1 mcc users 5.7M 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 GlobalResAllocation-PT-03-UpperBounds-00
FORMULA_NAME GlobalResAllocation-PT-03-UpperBounds-01
FORMULA_NAME GlobalResAllocation-PT-03-UpperBounds-02
FORMULA_NAME GlobalResAllocation-PT-03-UpperBounds-03
FORMULA_NAME GlobalResAllocation-PT-03-UpperBounds-04
FORMULA_NAME GlobalResAllocation-PT-03-UpperBounds-05
FORMULA_NAME GlobalResAllocation-PT-03-UpperBounds-06
FORMULA_NAME GlobalResAllocation-PT-03-UpperBounds-07
FORMULA_NAME GlobalResAllocation-PT-03-UpperBounds-08
FORMULA_NAME GlobalResAllocation-PT-03-UpperBounds-09
FORMULA_NAME GlobalResAllocation-PT-03-UpperBounds-10
FORMULA_NAME GlobalResAllocation-PT-03-UpperBounds-11
FORMULA_NAME GlobalResAllocation-PT-03-UpperBounds-12
FORMULA_NAME GlobalResAllocation-PT-03-UpperBounds-13
FORMULA_NAME GlobalResAllocation-PT-03-UpperBounds-14
FORMULA_NAME GlobalResAllocation-PT-03-UpperBounds-15

=== Now, execution of the tool begins

BK_START 1552789905334

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 : GlobalResAllocation-PT-03-UpperBounds-00 with value :Processes_1+Processes_2+Processes_3
Read [bounds] property : GlobalResAllocation-PT-03-UpperBounds-01 with value :pr_in_2+pr_in_1+pr_in_3
Read [bounds] property : GlobalResAllocation-PT-03-UpperBounds-02 with value :in_critical_s_1_1+in_critical_s_2_1+in_critical_s_3_1+in_critical_s_1_2+in_critical_s_3_2+in_critical_s_2_2+in_critical_s_2_3+in_critical_s_1_3+in_critical_s_1_4+in_critical_s_3_3+in_critical_s_3_4+in_critical_s_2_4+in_critical_s_2_5+in_critical_s_1_5+in_critical_s_1_6+in_critical_s_3_5+in_critical_s_3_6+in_critical_s_2_6
Read [bounds] property : GlobalResAllocation-PT-03-UpperBounds-03 with value :in_critical_s_1_1+in_critical_s_2_1+in_critical_s_3_1+in_critical_s_1_2+in_critical_s_3_2+in_critical_s_2_2+in_critical_s_2_3+in_critical_s_1_3+in_critical_s_1_4+in_critical_s_3_3+in_critical_s_3_4+in_critical_s_2_4+in_critical_s_2_5+in_critical_s_1_5+in_critical_s_1_6+in_critical_s_3_5+in_critical_s_3_6+in_critical_s_2_6
Read [bounds] property : GlobalResAllocation-PT-03-UpperBounds-04 with value :Resources_1+Resources_2+Resources_3+Resources_4+Resources_5+Resources_6
Read [bounds] property : GlobalResAllocation-PT-03-UpperBounds-05 with value :Resources_1+Resources_2+Resources_3+Resources_4+Resources_5+Resources_6
Read [bounds] property : GlobalResAllocation-PT-03-UpperBounds-06 with value :Processes_1+Processes_2+Processes_3
Read [bounds] property : GlobalResAllocation-PT-03-UpperBounds-07 with value :Processes_1+Processes_2+Processes_3
Read [bounds] property : GlobalResAllocation-PT-03-UpperBounds-08 with value :pr_in_3
Read [bounds] property : GlobalResAllocation-PT-03-UpperBounds-09 with value :in_critical_s_2_3
Read [bounds] property : GlobalResAllocation-PT-03-UpperBounds-10 with value :in_critical_s_2_6
Read [bounds] property : GlobalResAllocation-PT-03-UpperBounds-11 with value :in_critical_s_2_4
Read [bounds] property : GlobalResAllocation-PT-03-UpperBounds-12 with value :in_critical_s_3_4
Read [bounds] property : GlobalResAllocation-PT-03-UpperBounds-13 with value :in_critical_s_1_4
Read [bounds] property : GlobalResAllocation-PT-03-UpperBounds-14 with value :pr_in_1
Read [bounds] property : GlobalResAllocation-PT-03-UpperBounds-15 with value :Resources_1
Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
GlobalResAllocation\_PT\_03\_flat,6320,2.25841,75820,2,3279,5,30549,6,0,1376,17904,0
Total reachable state count : 6320

Verifying 16 reachability properties.
Min sum of variable value : 0
Maximum sum along a path : 3
Bounds property GlobalResAllocation-PT-03-UpperBounds-00 :0 <= Processes_1+Processes_2+Processes_3 <= 3
FORMULA GlobalResAllocation-PT-03-UpperBounds-00 3 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
GlobalResAllocation-PT-03-UpperBounds-00,0,2.26271,75852,1,0,7,30549,9,1,1472,17904,4
Min sum of variable value : 0
Maximum sum along a path : 6
Bounds property GlobalResAllocation-PT-03-UpperBounds-01 :0 <= pr_in_2+pr_in_1+pr_in_3 <= 6
FORMULA GlobalResAllocation-PT-03-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
GlobalResAllocation-PT-03-UpperBounds-01,0,2.26717,75920,1,0,8,30549,10,1,1544,17904,5
Min sum of variable value : 0
Maximum sum along a path : 6
Bounds property GlobalResAllocation-PT-03-UpperBounds-02 :0 <= in_critical_s_1_1+in_critical_s_2_1+in_critical_s_3_1+in_critical_s_1_2+in_critical_s_3_2+in_critical_s_2_2+in_critical_s_2_3+in_critical_s_1_3+in_critical_s_1_4+in_critical_s_3_3+in_critical_s_3_4+in_critical_s_2_4+in_critical_s_2_5+in_critical_s_1_5+in_critical_s_1_6+in_critical_s_3_5+in_critical_s_3_6+in_critical_s_2_6 <= 6
FORMULA GlobalResAllocation-PT-03-UpperBounds-02 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
GlobalResAllocation-PT-03-UpperBounds-02,0,2.27695,75924,1,0,9,30549,11,1,1628,17904,6
Min sum of variable value : 0
Maximum sum along a path : 6
Bounds property GlobalResAllocation-PT-03-UpperBounds-03 :0 <= in_critical_s_1_1+in_critical_s_2_1+in_critical_s_3_1+in_critical_s_1_2+in_critical_s_3_2+in_critical_s_2_2+in_critical_s_2_3+in_critical_s_1_3+in_critical_s_1_4+in_critical_s_3_3+in_critical_s_3_4+in_critical_s_2_4+in_critical_s_2_5+in_critical_s_1_5+in_critical_s_1_6+in_critical_s_3_5+in_critical_s_3_6+in_critical_s_2_6 <= 6
FORMULA GlobalResAllocation-PT-03-UpperBounds-03 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
GlobalResAllocation-PT-03-UpperBounds-03,0,2.2778,75924,1,0,9,30549,11,1,1628,17904,6
Min sum of variable value : 0
Maximum sum along a path : 6
Bounds property GlobalResAllocation-PT-03-UpperBounds-04 :0 <= Resources_1+Resources_2+Resources_3+Resources_4+Resources_5+Resources_6 <= 6
FORMULA GlobalResAllocation-PT-03-UpperBounds-04 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
GlobalResAllocation-PT-03-UpperBounds-04,0,2.28251,75924,1,0,10,30549,12,1,1682,17904,7
Min sum of variable value : 0
Maximum sum along a path : 6
Bounds property GlobalResAllocation-PT-03-UpperBounds-05 :0 <= Resources_1+Resources_2+Resources_3+Resources_4+Resources_5+Resources_6 <= 6
FORMULA GlobalResAllocation-PT-03-UpperBounds-05 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
GlobalResAllocation-PT-03-UpperBounds-05,0,2.28261,75924,1,0,10,30549,12,1,1682,17904,7
Min sum of variable value : 0
Maximum sum along a path : 3
Bounds property GlobalResAllocation-PT-03-UpperBounds-06 :0 <= Processes_1+Processes_2+Processes_3 <= 3
FORMULA GlobalResAllocation-PT-03-UpperBounds-06 3 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
GlobalResAllocation-PT-03-UpperBounds-06,0,2.28269,75924,1,0,10,30549,12,1,1682,17904,7
Min sum of variable value : 0
Maximum sum along a path : 3
Bounds property GlobalResAllocation-PT-03-UpperBounds-07 :0 <= Processes_1+Processes_2+Processes_3 <= 3
FORMULA GlobalResAllocation-PT-03-UpperBounds-07 3 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
GlobalResAllocation-PT-03-UpperBounds-07,0,2.28276,75924,1,0,10,30549,12,1,1682,17904,7
Min sum of variable value : 0
Maximum sum along a path : 4
Bounds property GlobalResAllocation-PT-03-UpperBounds-08 :0 <= pr_in_3 <= 4
FORMULA GlobalResAllocation-PT-03-UpperBounds-08 4 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
GlobalResAllocation-PT-03-UpperBounds-08,0,2.28297,75924,1,0,11,30549,13,1,1698,17904,8
Min sum of variable value : 0
Maximum sum along a path : 1
Bounds property GlobalResAllocation-PT-03-UpperBounds-09 :0 <= in_critical_s_2_3 <= 1
FORMULA GlobalResAllocation-PT-03-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
GlobalResAllocation-PT-03-UpperBounds-09,0,2.28507,75924,1,0,12,30549,14,1,1737,17904,9
Min sum of variable value : 0
Maximum sum along a path : 1
Bounds property GlobalResAllocation-PT-03-UpperBounds-10 :0 <= in_critical_s_2_6 <= 1
FORMULA GlobalResAllocation-PT-03-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
GlobalResAllocation-PT-03-UpperBounds-10,0,2.28551,75924,1,0,13,30549,15,1,1760,17904,10
Min sum of variable value : 0
Maximum sum along a path : 1
Bounds property GlobalResAllocation-PT-03-UpperBounds-11 :0 <= in_critical_s_2_4 <= 1
FORMULA GlobalResAllocation-PT-03-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
GlobalResAllocation-PT-03-UpperBounds-11,0,2.28642,75924,1,0,14,30549,16,1,1791,17904,11
Min sum of variable value : 0
Maximum sum along a path : 1
Bounds property GlobalResAllocation-PT-03-UpperBounds-12 :0 <= in_critical_s_3_4 <= 1
FORMULA GlobalResAllocation-PT-03-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
GlobalResAllocation-PT-03-UpperBounds-12,0,2.28658,75924,1,0,15,30549,17,1,1802,17904,12
Min sum of variable value : 0
Maximum sum along a path : 1
Bounds property GlobalResAllocation-PT-03-UpperBounds-13 :0 <= in_critical_s_1_4 <= 1
FORMULA GlobalResAllocation-PT-03-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
GlobalResAllocation-PT-03-UpperBounds-13,0,2.28991,75924,1,0,16,30549,18,1,1859,17904,13
Min sum of variable value : 0
Maximum sum along a path : 4
Bounds property GlobalResAllocation-PT-03-UpperBounds-14 :0 <= pr_in_1 <= 4
FORMULA GlobalResAllocation-PT-03-UpperBounds-14 4 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
GlobalResAllocation-PT-03-UpperBounds-14,0,2.29197,75924,1,0,17,30549,19,1,1892,17904,14
Min sum of variable value : 0
Maximum sum along a path : 1
Bounds property GlobalResAllocation-PT-03-UpperBounds-15 :0 <= Resources_1 <= 1
FORMULA GlobalResAllocation-PT-03-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
GlobalResAllocation-PT-03-UpperBounds-15,0,2.29479,75924,1,0,18,30549,20,1,1933,17904,15

BK_STOP 1552789912926

--------------------
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 17, 2019 2:31:47 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 17, 2019 2:31:47 AM fr.lip6.move.gal.application.MccTranslator transformPNML
INFO: Parsing pnml file : /home/mcc/execution/model.pnml
Mar 17, 2019 2:31:48 AM fr.lip6.move.gal.nupn.PTNetReader loadFromXML
INFO: Load time of PNML (sax parser for PT used): 325 ms
Mar 17, 2019 2:31:48 AM fr.lip6.move.gal.pnml.togal.PTGALTransformer handlePage
INFO: Transformed 33 places.
Mar 17, 2019 2:31:48 AM fr.lip6.move.gal.pnml.togal.PTGALTransformer handlePage
INFO: Transformed 4791 transitions.
Mar 17, 2019 2:31:49 AM fr.lip6.move.gal.instantiate.GALRewriter flatten
INFO: Flatten gal took : 1374 ms
Mar 17, 2019 2:31:49 AM fr.lip6.move.serialization.SerializationUtil systemToFile
INFO: Time to serialize gal into /home/mcc/execution/UpperBounds.pnml.gal : 133 ms
Mar 17, 2019 2:31:50 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="GlobalResAllocation-PT-03"
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 GlobalResAllocation-PT-03, 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 r085-csrt-155246554600524"
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 [ "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 ;