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

About the Execution of ITS-Tools for HypertorusGrid-PT-d2k2p1b00

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
310.630 3227.00 6852.00 85.80 1 1 4 1 1 4 4 1 1 1 4 4 1 4 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.r085-csrt-155246555000776.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 HypertorusGrid-PT-d2k2p1b00, examination is UpperBounds
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r085-csrt-155246555000776
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 208K
-rw-r--r-- 1 mcc users 3.8K Feb 11 04:06 CTLCardinality.txt
-rw-r--r-- 1 mcc users 18K Feb 11 04:06 CTLCardinality.xml
-rw-r--r-- 1 mcc users 3.1K Feb 7 03:37 CTLFireability.txt
-rw-r--r-- 1 mcc users 15K Feb 7 03:37 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.0K Mar 10 17:31 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 114 Feb 24 15:05 GlobalProperties.txt
-rw-r--r-- 1 mcc users 352 Feb 24 15:05 GlobalProperties.xml
-rw-r--r-- 1 mcc users 2.9K Feb 5 00:02 LTLCardinality.txt
-rw-r--r-- 1 mcc users 12K Feb 5 00:02 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.2K Feb 4 22:36 LTLFireability.txt
-rw-r--r-- 1 mcc users 8.2K Feb 4 22:36 LTLFireability.xml
-rw-r--r-- 1 mcc users 4.8K Feb 3 10:51 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 22K Feb 3 10:51 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 4.5K Jan 31 05:39 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 22K Jan 31 05:39 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.9K Feb 4 22:21 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.9K Feb 4 22:21 UpperBounds.xml
-rw-r--r-- 1 mcc users 6 Jan 29 09:34 equiv_col

-rw-r--r-- 1 mcc users 10 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
-rwxr-xr-x 1 mcc users 35K 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 HypertorusGrid-PT-d2k2p1b00-UpperBounds-00
FORMULA_NAME HypertorusGrid-PT-d2k2p1b00-UpperBounds-01
FORMULA_NAME HypertorusGrid-PT-d2k2p1b00-UpperBounds-02
FORMULA_NAME HypertorusGrid-PT-d2k2p1b00-UpperBounds-03
FORMULA_NAME HypertorusGrid-PT-d2k2p1b00-UpperBounds-04
FORMULA_NAME HypertorusGrid-PT-d2k2p1b00-UpperBounds-05
FORMULA_NAME HypertorusGrid-PT-d2k2p1b00-UpperBounds-06
FORMULA_NAME HypertorusGrid-PT-d2k2p1b00-UpperBounds-07
FORMULA_NAME HypertorusGrid-PT-d2k2p1b00-UpperBounds-08
FORMULA_NAME HypertorusGrid-PT-d2k2p1b00-UpperBounds-09
FORMULA_NAME HypertorusGrid-PT-d2k2p1b00-UpperBounds-10
FORMULA_NAME HypertorusGrid-PT-d2k2p1b00-UpperBounds-11
FORMULA_NAME HypertorusGrid-PT-d2k2p1b00-UpperBounds-12
FORMULA_NAME HypertorusGrid-PT-d2k2p1b00-UpperBounds-13
FORMULA_NAME HypertorusGrid-PT-d2k2p1b00-UpperBounds-14
FORMULA_NAME HypertorusGrid-PT-d2k2p1b00-UpperBounds-15

=== Now, execution of the tool begins

BK_START 1552805703879

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 : HypertorusGrid-PT-d2k2p1b00-UpperBounds-00 with value :pi_d2_n1_1_2
Read [bounds] property : HypertorusGrid-PT-d2k2p1b00-UpperBounds-01 with value :po_d2_n1_1_2
Read [bounds] property : HypertorusGrid-PT-d2k2p1b00-UpperBounds-02 with value :pb_d2_n1_2_2
Read [bounds] property : HypertorusGrid-PT-d2k2p1b00-UpperBounds-03 with value :pol_d2_n1_1_2
Read [bounds] property : HypertorusGrid-PT-d2k2p1b00-UpperBounds-04 with value :pi_d1_n1_2_1
Read [bounds] property : HypertorusGrid-PT-d2k2p1b00-UpperBounds-05 with value :pbl_1_1
Read [bounds] property : HypertorusGrid-PT-d2k2p1b00-UpperBounds-06 with value :pb_d2_n2_2_2
Read [bounds] property : HypertorusGrid-PT-d2k2p1b00-UpperBounds-07 with value :pil_d1_n1_1_2
Read [bounds] property : HypertorusGrid-PT-d2k2p1b00-UpperBounds-08 with value :pol_d1_n1_1_2
Read [bounds] property : HypertorusGrid-PT-d2k2p1b00-UpperBounds-09 with value :pol_d2_n1_1_1
Read [bounds] property : HypertorusGrid-PT-d2k2p1b00-UpperBounds-10 with value :pb_d1_n2_1_2
Read [bounds] property : HypertorusGrid-PT-d2k2p1b00-UpperBounds-11 with value :pb_d2_n2_1_2
Read [bounds] property : HypertorusGrid-PT-d2k2p1b00-UpperBounds-12 with value :pol_d2_n1_2_2
Read [bounds] property : HypertorusGrid-PT-d2k2p1b00-UpperBounds-13 with value :pbl_1_1
Read [bounds] property : HypertorusGrid-PT-d2k2p1b00-UpperBounds-14 with value :pi_d2_n1_2_1
Read [bounds] property : HypertorusGrid-PT-d2k2p1b00-UpperBounds-15 with value :po_d1_n1_1_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
HypertorusGrid\_PT\_d2k2p1b00\_flat,5.17371e+10,0.597383,20220,2,1340,5,90760,6,0,275,101189,0
Total reachable state count : 51737129142

Verifying 16 reachability properties.
Min sum of variable value : 0
Maximum sum along a path : 1
Bounds property HypertorusGrid-PT-d2k2p1b00-UpperBounds-00 :0 <= pi_d2_n1_1_2 <= 1
FORMULA HypertorusGrid-PT-d2k2p1b00-UpperBounds-00 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
HypertorusGrid-PT-d2k2p1b00-UpperBounds-00,0,0.599556,20380,1,0,7,90760,9,1,378,101189,4
Min sum of variable value : 0
Maximum sum along a path : 1
Bounds property HypertorusGrid-PT-d2k2p1b00-UpperBounds-01 :0 <= po_d2_n1_1_2 <= 1
FORMULA HypertorusGrid-PT-d2k2p1b00-UpperBounds-01 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
HypertorusGrid-PT-d2k2p1b00-UpperBounds-01,0,0.601344,20448,1,0,8,90760,10,1,445,101189,5
Min sum of variable value : 0
Maximum sum along a path : 4
Bounds property HypertorusGrid-PT-d2k2p1b00-UpperBounds-02 :0 <= pb_d2_n1_2_2 <= 4
FORMULA HypertorusGrid-PT-d2k2p1b00-UpperBounds-02 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
HypertorusGrid-PT-d2k2p1b00-UpperBounds-02,0,0.601742,20448,1,0,9,90760,11,1,467,101189,6
Min sum of variable value : 0
Maximum sum along a path : 1
Bounds property HypertorusGrid-PT-d2k2p1b00-UpperBounds-03 :0 <= pol_d2_n1_1_2 <= 1
FORMULA HypertorusGrid-PT-d2k2p1b00-UpperBounds-03 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
HypertorusGrid-PT-d2k2p1b00-UpperBounds-03,0,0.602915,20448,1,0,10,90760,12,1,532,101189,7
Min sum of variable value : 0
Maximum sum along a path : 1
Bounds property HypertorusGrid-PT-d2k2p1b00-UpperBounds-04 :0 <= pi_d1_n1_2_1 <= 1
FORMULA HypertorusGrid-PT-d2k2p1b00-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
HypertorusGrid-PT-d2k2p1b00-UpperBounds-04,0,0.607005,20448,1,0,11,90760,13,1,631,101189,8
Min sum of variable value : 0
Maximum sum along a path : 4
Bounds property HypertorusGrid-PT-d2k2p1b00-UpperBounds-05 :0 <= pbl_1_1 <= 4
FORMULA HypertorusGrid-PT-d2k2p1b00-UpperBounds-05 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
HypertorusGrid-PT-d2k2p1b00-UpperBounds-05,0,0.612403,20448,1,0,12,90760,14,1,727,101189,9
Min sum of variable value : 0
Maximum sum along a path : 4
Bounds property HypertorusGrid-PT-d2k2p1b00-UpperBounds-06 :0 <= pb_d2_n2_2_2 <= 4
FORMULA HypertorusGrid-PT-d2k2p1b00-UpperBounds-06 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
HypertorusGrid-PT-d2k2p1b00-UpperBounds-06,0,0.613229,20448,1,0,13,90760,15,1,755,101189,10
Min sum of variable value : 0
Maximum sum along a path : 1
Bounds property HypertorusGrid-PT-d2k2p1b00-UpperBounds-07 :0 <= pil_d1_n1_1_2 <= 1
FORMULA HypertorusGrid-PT-d2k2p1b00-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
HypertorusGrid-PT-d2k2p1b00-UpperBounds-07,0,0.614019,20448,1,0,14,90760,16,1,782,101189,11
Min sum of variable value : 0
Maximum sum along a path : 1
Bounds property HypertorusGrid-PT-d2k2p1b00-UpperBounds-08 :0 <= pol_d1_n1_1_2 <= 1
FORMULA HypertorusGrid-PT-d2k2p1b00-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
HypertorusGrid-PT-d2k2p1b00-UpperBounds-08,0,0.614255,20448,1,0,15,90760,17,1,787,101189,12
Min sum of variable value : 0
Maximum sum along a path : 1
Bounds property HypertorusGrid-PT-d2k2p1b00-UpperBounds-09 :0 <= pol_d2_n1_1_1 <= 1
FORMULA HypertorusGrid-PT-d2k2p1b00-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
HypertorusGrid-PT-d2k2p1b00-UpperBounds-09,0,0.616153,20448,1,0,16,90760,18,1,840,101189,13
Min sum of variable value : 0
Maximum sum along a path : 4
Bounds property HypertorusGrid-PT-d2k2p1b00-UpperBounds-10 :0 <= pb_d1_n2_1_2 <= 4
FORMULA HypertorusGrid-PT-d2k2p1b00-UpperBounds-10 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
HypertorusGrid-PT-d2k2p1b00-UpperBounds-10,0,0.617101,20448,1,0,17,90760,19,1,876,101189,14
Min sum of variable value : 0
Maximum sum along a path : 4
Bounds property HypertorusGrid-PT-d2k2p1b00-UpperBounds-11 :0 <= pb_d2_n2_1_2 <= 4
FORMULA HypertorusGrid-PT-d2k2p1b00-UpperBounds-11 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
HypertorusGrid-PT-d2k2p1b00-UpperBounds-11,0,0.618596,20448,1,0,18,90760,20,1,918,101189,15
Min sum of variable value : 0
Maximum sum along a path : 1
Bounds property HypertorusGrid-PT-d2k2p1b00-UpperBounds-12 :0 <= pol_d2_n1_2_2 <= 1
FORMULA HypertorusGrid-PT-d2k2p1b00-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
HypertorusGrid-PT-d2k2p1b00-UpperBounds-12,0,0.620307,20448,1,0,19,90760,21,1,975,101189,16
Min sum of variable value : 0
Maximum sum along a path : 4
Bounds property HypertorusGrid-PT-d2k2p1b00-UpperBounds-13 :0 <= pbl_1_1 <= 4
FORMULA HypertorusGrid-PT-d2k2p1b00-UpperBounds-13 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
HypertorusGrid-PT-d2k2p1b00-UpperBounds-13,0,0.620509,20448,1,0,19,90760,21,1,975,101189,16
Min sum of variable value : 0
Maximum sum along a path : 1
Bounds property HypertorusGrid-PT-d2k2p1b00-UpperBounds-14 :0 <= pi_d2_n1_2_1 <= 1
FORMULA HypertorusGrid-PT-d2k2p1b00-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
HypertorusGrid-PT-d2k2p1b00-UpperBounds-14,0,0.622387,20448,1,0,20,90760,22,1,1036,101189,17
Min sum of variable value : 0
Maximum sum along a path : 1
Bounds property HypertorusGrid-PT-d2k2p1b00-UpperBounds-15 :0 <= po_d1_n1_1_2 <= 1
FORMULA HypertorusGrid-PT-d2k2p1b00-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
HypertorusGrid-PT-d2k2p1b00-UpperBounds-15,0,0.622625,20448,1,0,21,90760,23,1,1043,101189,18

BK_STOP 1552805707106

--------------------
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 6:55:05 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 6:55:05 AM fr.lip6.move.gal.application.MccTranslator transformPNML
INFO: Parsing pnml file : /home/mcc/execution/model.pnml
Mar 17, 2019 6:55:05 AM fr.lip6.move.gal.nupn.PTNetReader loadFromXML
INFO: Load time of PNML (sax parser for PT used): 42 ms
Mar 17, 2019 6:55:05 AM fr.lip6.move.gal.pnml.togal.PTGALTransformer handlePage
INFO: Transformed 52 places.
Mar 17, 2019 6:55:06 AM fr.lip6.move.gal.pnml.togal.PTGALTransformer handlePage
INFO: Transformed 64 transitions.
Mar 17, 2019 6:55:06 AM fr.lip6.move.serialization.SerializationUtil systemToFile
INFO: Time to serialize gal into /home/mcc/execution/model.pnml.img.gal : 15 ms
Mar 17, 2019 6:55:06 AM fr.lip6.move.gal.instantiate.GALRewriter flatten
INFO: Flatten gal took : 62 ms
Mar 17, 2019 6:55:06 AM fr.lip6.move.serialization.SerializationUtil systemToFile
INFO: Time to serialize gal into /home/mcc/execution/UpperBounds.pnml.gal : 3 ms
Mar 17, 2019 6:55:06 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="HypertorusGrid-PT-d2k2p1b00"
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 HypertorusGrid-PT-d2k2p1b00, 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-155246555000776"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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