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

About the Execution of ITS-Tools.M for Diffusion2D-PT-D10N150

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
1111.970 116183.00 123521.00 169.80 150 150 150 150 150 150 150 150 150 150 150 150 150 150 150 150 normal

Execution Chart

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

Trace from the execution

Formatting '/mnt/tpsp/fkordon/mcc2019-input.r193-ebro-155234659000101.qcow2', fmt=qcow2 size=4294967296 backing_file='/mnt/tpsp/fkordon/mcc2019-input.qcow2' encryption=off cluster_size=65536 lazy_refcounts=off
Waiting for the VM to be ready (probing ssh)
.......................
=====================================================================
Generated by BenchKit 2-3954
Executing tool itstoolsm
Input is Diffusion2D-PT-D10N150, examination is UpperBounds
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r193-ebro-155234659000101
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 420K
-rw-r--r-- 1 mcc users 3.7K Feb 10 21:32 CTLCardinality.txt
-rw-r--r-- 1 mcc users 18K Feb 10 21:32 CTLCardinality.xml
-rw-r--r-- 1 mcc users 2.7K Feb 6 17:53 CTLFireability.txt
-rw-r--r-- 1 mcc users 15K Feb 6 17:53 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.0K Mar 10 17:31 GenericPropertiesDefinition.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.8K Feb 4 23:30 LTLCardinality.txt
-rw-r--r-- 1 mcc users 12K Feb 4 23:30 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.0K Feb 4 22:34 LTLFireability.txt
-rw-r--r-- 1 mcc users 8.1K Feb 4 22:34 LTLFireability.xml
-rw-r--r-- 1 mcc users 4.6K Feb 3 07:21 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 22K Feb 3 07:21 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 3.3K Jan 30 23:45 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 17K Jan 30 23:45 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.8K Feb 4 22:19 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.8K Feb 4 22:19 UpperBounds.xml
-rw-r--r-- 1 mcc users 6 Jan 29 09:34 equiv_col

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

=== Now, execution of the tool begins

BK_START 1553555626622

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-reach-linux64, --gc-threshold, 2000000, --quiet, -i, /home/mcc/execution/UpperBounds.pnml.gal, -t, CGAL, -reachable-file, UpperBounds.prop, --nowitness, --load-order, /home/mcc/execution/model.ord], workingDir=/home/mcc/execution]

its-reach command run as :

/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.201903251645/bin/its-reach-linux64 --gc-threshold 2000000 --quiet -i /home/mcc/execution/UpperBounds.pnml.gal -t CGAL -reachable-file UpperBounds.prop --nowitness --load-order /home/mcc/execution/model.ord
Successfully loaded order from file /home/mcc/execution/model.ord
Loading property file UpperBounds.prop.
Read [bounds] property : Diffusion2D-PT-D10N150-UpperBounds-00 with value :cAMP__5_9_
Read [bounds] property : Diffusion2D-PT-D10N150-UpperBounds-01 with value :cAMP__4_8_
Read [bounds] property : Diffusion2D-PT-D10N150-UpperBounds-02 with value :cAMP__1_4_
Read [bounds] property : Diffusion2D-PT-D10N150-UpperBounds-03 with value :cAMP__8_10_
Read [bounds] property : Diffusion2D-PT-D10N150-UpperBounds-04 with value :cAMP__5_1_
Read [bounds] property : Diffusion2D-PT-D10N150-UpperBounds-05 with value :cAMP__5_9_
Read [bounds] property : Diffusion2D-PT-D10N150-UpperBounds-06 with value :cAMP__3_5_
Read [bounds] property : Diffusion2D-PT-D10N150-UpperBounds-07 with value :cAMP__9_2_
Read [bounds] property : Diffusion2D-PT-D10N150-UpperBounds-08 with value :cAMP__6_9_
Read [bounds] property : Diffusion2D-PT-D10N150-UpperBounds-09 with value :cAMP__8_8_
Read [bounds] property : Diffusion2D-PT-D10N150-UpperBounds-10 with value :cAMP__8_7_
Read [bounds] property : Diffusion2D-PT-D10N150-UpperBounds-11 with value :cAMP__6_2_
Read [bounds] property : Diffusion2D-PT-D10N150-UpperBounds-12 with value :cAMP__9_5_
Read [bounds] property : Diffusion2D-PT-D10N150-UpperBounds-13 with value :cAMP__2_9_
Read [bounds] property : Diffusion2D-PT-D10N150-UpperBounds-14 with value :cAMP__6_9_
Read [bounds] property : Diffusion2D-PT-D10N150-UpperBounds-15 with value :cAMP__6_6_
Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
petri,2.42521e+71,96.1592,831276,2,14951,5,5.48636e+06,6,0,1087,5.40426e+06,0
Total reachable state count : 2.425209837113642747864971065424760752666e+71

Verifying 16 reachability properties.
Min sum of variable value : 0
Maximum sum along a path : 150
Bounds property Diffusion2D-PT-D10N150-UpperBounds-00 :0 <= cAMP__5_9_ <= 150
FORMULA Diffusion2D-PT-D10N150-UpperBounds-00 150 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
Diffusion2D-PT-D10N150-UpperBounds-00,0,97.4511,831528,1,0,7,5.48636e+06,9,1,1469,5.40426e+06,4
Min sum of variable value : 0
Maximum sum along a path : 150
Bounds property Diffusion2D-PT-D10N150-UpperBounds-01 :0 <= cAMP__4_8_ <= 150
FORMULA Diffusion2D-PT-D10N150-UpperBounds-01 150 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
Diffusion2D-PT-D10N150-UpperBounds-01,0,98.4187,831596,1,0,8,5.48636e+06,10,1,1721,5.40426e+06,5
Min sum of variable value : 0
Maximum sum along a path : 150
Bounds property Diffusion2D-PT-D10N150-UpperBounds-02 :0 <= cAMP__1_4_ <= 150
FORMULA Diffusion2D-PT-D10N150-UpperBounds-02 150 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
Diffusion2D-PT-D10N150-UpperBounds-02,0,98.647,831596,1,0,9,5.48636e+06,11,1,1893,5.40426e+06,6
Min sum of variable value : 0
Maximum sum along a path : 150
Bounds property Diffusion2D-PT-D10N150-UpperBounds-03 :0 <= cAMP__8_10_ <= 150
FORMULA Diffusion2D-PT-D10N150-UpperBounds-03 150 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
Diffusion2D-PT-D10N150-UpperBounds-03,0,100.298,831596,1,0,10,5.48636e+06,12,1,2205,5.40426e+06,7
Min sum of variable value : 0
Maximum sum along a path : 150
Bounds property Diffusion2D-PT-D10N150-UpperBounds-04 :0 <= cAMP__5_1_ <= 150
FORMULA Diffusion2D-PT-D10N150-UpperBounds-04 150 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
Diffusion2D-PT-D10N150-UpperBounds-04,0,100.742,831596,1,0,11,5.48636e+06,13,1,2401,5.40426e+06,8
Min sum of variable value : 0
Maximum sum along a path : 150
Bounds property Diffusion2D-PT-D10N150-UpperBounds-05 :0 <= cAMP__5_9_ <= 150
FORMULA Diffusion2D-PT-D10N150-UpperBounds-05 150 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
Diffusion2D-PT-D10N150-UpperBounds-05,0,100.742,831596,1,0,11,5.48636e+06,13,1,2401,5.40426e+06,8
Min sum of variable value : 0
Maximum sum along a path : 150
Bounds property Diffusion2D-PT-D10N150-UpperBounds-06 :0 <= cAMP__3_5_ <= 150
FORMULA Diffusion2D-PT-D10N150-UpperBounds-06 150 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
Diffusion2D-PT-D10N150-UpperBounds-06,0,101.163,831596,1,0,12,5.48636e+06,14,1,2589,5.40426e+06,9
Min sum of variable value : 0
Maximum sum along a path : 150
Bounds property Diffusion2D-PT-D10N150-UpperBounds-07 :0 <= cAMP__9_2_ <= 150
FORMULA Diffusion2D-PT-D10N150-UpperBounds-07 150 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
Diffusion2D-PT-D10N150-UpperBounds-07,0,102.827,831596,1,0,13,5.48636e+06,15,1,2903,5.40426e+06,10
Min sum of variable value : 0
Maximum sum along a path : 150
Bounds property Diffusion2D-PT-D10N150-UpperBounds-08 :0 <= cAMP__6_9_ <= 150
FORMULA Diffusion2D-PT-D10N150-UpperBounds-08 150 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
Diffusion2D-PT-D10N150-UpperBounds-08,0,104.283,831596,1,0,14,5.48636e+06,16,1,3189,5.40426e+06,11
Min sum of variable value : 0
Maximum sum along a path : 150
Bounds property Diffusion2D-PT-D10N150-UpperBounds-09 :0 <= cAMP__8_8_ <= 150
FORMULA Diffusion2D-PT-D10N150-UpperBounds-09 150 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
Diffusion2D-PT-D10N150-UpperBounds-09,0,105.784,831596,1,0,15,5.48636e+06,17,1,3497,5.40426e+06,12
Min sum of variable value : 0
Maximum sum along a path : 150
Bounds property Diffusion2D-PT-D10N150-UpperBounds-10 :0 <= cAMP__8_7_ <= 150
FORMULA Diffusion2D-PT-D10N150-UpperBounds-10 150 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
Diffusion2D-PT-D10N150-UpperBounds-10,0,107.285,831596,1,0,16,5.48636e+06,18,1,3803,5.40426e+06,13
Min sum of variable value : 0
Maximum sum along a path : 150
Bounds property Diffusion2D-PT-D10N150-UpperBounds-11 :0 <= cAMP__6_2_ <= 150
FORMULA Diffusion2D-PT-D10N150-UpperBounds-11 150 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
Diffusion2D-PT-D10N150-UpperBounds-11,0,107.907,831596,1,0,17,5.48636e+06,19,1,4017,5.40426e+06,14
Min sum of variable value : 0
Maximum sum along a path : 150
Bounds property Diffusion2D-PT-D10N150-UpperBounds-12 :0 <= cAMP__9_5_ <= 150
FORMULA Diffusion2D-PT-D10N150-UpperBounds-12 150 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
Diffusion2D-PT-D10N150-UpperBounds-12,0,109.631,831596,1,0,18,5.48636e+06,20,1,4339,5.40426e+06,15
Min sum of variable value : 0
Maximum sum along a path : 150
Bounds property Diffusion2D-PT-D10N150-UpperBounds-13 :0 <= cAMP__2_9_ <= 150
FORMULA Diffusion2D-PT-D10N150-UpperBounds-13 150 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
Diffusion2D-PT-D10N150-UpperBounds-13,0,110.694,831596,1,0,19,5.48636e+06,21,1,4595,5.40426e+06,16
Min sum of variable value : 0
Maximum sum along a path : 150
Bounds property Diffusion2D-PT-D10N150-UpperBounds-14 :0 <= cAMP__6_9_ <= 150
FORMULA Diffusion2D-PT-D10N150-UpperBounds-14 150 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
Diffusion2D-PT-D10N150-UpperBounds-14,0,110.695,831596,1,0,19,5.48636e+06,21,1,4595,5.40426e+06,16
Min sum of variable value : 0
Maximum sum along a path : 150
Bounds property Diffusion2D-PT-D10N150-UpperBounds-15 :0 <= cAMP__6_6_ <= 150
FORMULA Diffusion2D-PT-D10N150-UpperBounds-15 150 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
Diffusion2D-PT-D10N150-UpperBounds-15,0,111.548,831596,1,0,20,5.48636e+06,22,1,4829,5.40426e+06,17

BK_STOP 1553555742805

--------------------
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/ -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 UpperBounds -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 25, 2019 11:13:49 PM 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/, -greatspnpath, /home/mcc/BenchKit//greatspn/, -order, META, -manyOrder, -smt]
Mar 25, 2019 11:13:49 PM fr.lip6.move.gal.application.MccTranslator transformPNML
INFO: Parsing pnml file : /home/mcc/execution/model.pnml
Mar 25, 2019 11:13:49 PM fr.lip6.move.gal.nupn.PTNetReader loadFromXML
INFO: Load time of PNML (sax parser for PT used): 156 ms
Mar 25, 2019 11:13:49 PM fr.lip6.move.gal.pnml.togal.PTGALTransformer handlePage
INFO: Transformed 100 places.
Mar 25, 2019 11:13:49 PM fr.lip6.move.gal.pnml.togal.PTGALTransformer handlePage
INFO: Transformed 684 transitions.
Mar 25, 2019 11:13:49 PM fr.lip6.move.serialization.SerializationUtil systemToFile
INFO: Time to serialize gal into /home/mcc/execution/model.pnml.img.gal : 47 ms
Mar 25, 2019 11:13:50 PM fr.lip6.move.gal.instantiate.GALRewriter flatten
INFO: Flatten gal took : 201 ms
Mar 25, 2019 11:13:50 PM fr.lip6.move.gal.semantics.DeterministicNextBuilder getDeterministicNext
INFO: Input system was already deterministic with 684 transitions.
Mar 25, 2019 11:13:50 PM fr.lip6.move.gal.application.StructuralToGreatSPN handlePage
INFO: Transformed 100 places.
Mar 25, 2019 11:13:50 PM fr.lip6.move.gal.application.StructuralToGreatSPN handlePage
INFO: Transformed 684 transitions.
Mar 25, 2019 11:13:50 PM fr.lip6.move.serialization.SerializationUtil systemToFile
INFO: Time to serialize gal into /home/mcc/execution/UpperBounds.pnml.gal : 9 ms
Mar 25, 2019 11:13:50 PM fr.lip6.move.serialization.SerializationUtil serializePropertiesForITSTools
INFO: Time to serialize properties into /home/mcc/execution/UpperBounds.prop : 0 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="Diffusion2D-PT-D10N150"
export BK_EXAMINATION="UpperBounds"
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 Diffusion2D-PT-D10N150, 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 r193-ebro-155234659000101"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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