fond
Model Checking Contest 2020
10th edition, Paris, France, June 23, 2020
Execution of r096-oct2-158940144900293
Last Updated
Jun 28, 2020

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

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
15743.340 793071.00 813796.00 800.00 1 1 12 1 1 1 1 12 12 1 1 1 12 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 '/data/fko/mcc2020-input.r096-oct2-158940144900293.qcow2', fmt=qcow2 size=4294967296 backing_file=/data/fko/mcc2020-input.qcow2 cluster_size=65536 lazy_refcounts=off refcount_bits=16
Waiting for the VM to be ready (probing ssh)
............................................................................................................................................................................................................................................................................................................................................
=====================================================================
Generated by BenchKit 2-4028
Executing tool itstools
Input is HypertorusGrid-PT-d2k3p2b04, examination is UpperBounds
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r096-oct2-158940144900293
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 268K
-rw-r--r-- 1 mcc users 4.6K Apr 27 15:14 CTLCardinality.txt
-rw-r--r-- 1 mcc users 23K Apr 27 15:14 CTLCardinality.xml
-rw-r--r-- 1 mcc users 2.7K Apr 27 15:14 CTLFireability.txt
-rw-r--r-- 1 mcc users 13K Apr 27 15:14 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.0K Apr 27 15:14 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 4.3K Apr 27 15:14 LTLCardinality.txt
-rw-r--r-- 1 mcc users 26K Apr 28 14:01 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.7K Apr 27 15:14 LTLFireability.txt
-rw-r--r-- 1 mcc users 16K Apr 28 14:01 LTLFireability.xml
-rw-r--r-- 1 mcc users 4.2K Apr 27 15:14 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 19K Apr 27 15:14 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 4.1K Apr 27 15:14 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 20K Apr 27 15:14 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.9K Apr 27 15:14 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.9K Apr 27 15:14 UpperBounds.xml
-rw-r--r-- 1 mcc users 6 Apr 27 15:14 equiv_col
-rw-r--r-- 1 mcc users 10 Apr 27 15:14 instance
-rw-r--r-- 1 mcc users 6 Apr 27 15:14 iscolored
-rwxr-xr-x 1 mcc users 79K Apr 27 15:14 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-d2k3p2b04-UpperBounds-00
FORMULA_NAME HypertorusGrid-PT-d2k3p2b04-UpperBounds-01
FORMULA_NAME HypertorusGrid-PT-d2k3p2b04-UpperBounds-02
FORMULA_NAME HypertorusGrid-PT-d2k3p2b04-UpperBounds-03
FORMULA_NAME HypertorusGrid-PT-d2k3p2b04-UpperBounds-04
FORMULA_NAME HypertorusGrid-PT-d2k3p2b04-UpperBounds-05
FORMULA_NAME HypertorusGrid-PT-d2k3p2b04-UpperBounds-06
FORMULA_NAME HypertorusGrid-PT-d2k3p2b04-UpperBounds-07
FORMULA_NAME HypertorusGrid-PT-d2k3p2b04-UpperBounds-08
FORMULA_NAME HypertorusGrid-PT-d2k3p2b04-UpperBounds-09
FORMULA_NAME HypertorusGrid-PT-d2k3p2b04-UpperBounds-10
FORMULA_NAME HypertorusGrid-PT-d2k3p2b04-UpperBounds-11
FORMULA_NAME HypertorusGrid-PT-d2k3p2b04-UpperBounds-12
FORMULA_NAME HypertorusGrid-PT-d2k3p2b04-UpperBounds-13
FORMULA_NAME HypertorusGrid-PT-d2k3p2b04-UpperBounds-14
FORMULA_NAME HypertorusGrid-PT-d2k3p2b04-UpperBounds-15

=== Now, execution of the tool begins

BK_START 1589568695395

[2020-05-15 18:51:37] [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, -timeout, 3600]
[2020-05-15 18:51:37] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2020-05-15 18:51:37] [INFO ] Load time of PNML (sax parser for PT used): 48 ms
[2020-05-15 18:51:37] [INFO ] Transformed 117 places.
[2020-05-15 18:51:37] [INFO ] Transformed 144 transitions.
[2020-05-15 18:51:37] [INFO ] Parsed PT model containing 117 places and 144 transitions in 83 ms.
Parsed 16 properties from file /home/mcc/execution/UpperBounds.xml in 10 ms.
Finished random walk after 0 steps, including 0 resets, run visited all 0 properties in 2 ms. (steps per millisecond=0 )
[2020-05-15 18:51:37] [INFO ] Flatten gal took : 74 ms
[2020-05-15 18:51:37] [INFO ] Applying decomposition
[2020-05-15 18:51:37] [INFO ] Flatten gal took : 11 ms
[2020-05-15 18:51:37] [INFO ] Time to serialize gal into /home/mcc/execution/UpperBounds.pnml.gal : 12 ms
[2020-05-15 18:51:37] [INFO ] Time to serialize properties into /home/mcc/execution/UpperBounds.prop : 0 ms
Invoking ITS tools like this :CommandLine [args=[/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202005100927/bin/its-reach-linux64, --gc-threshold, 2000000, --quiet, -i, /home/mcc/execution/UpperBounds.pnml.gal, -t, CGAL, -reachable-file, UpperBounds.prop, --nowitness, --gen-order, FOLLOW], workingDir=/home/mcc/execution]

its-reach command run as :

/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202005100927/bin/its-reach-linux64 --gc-threshold 2000000 --quiet -i /home/mcc/execution/UpperBounds.pnml.gal -t CGAL -reachable-file UpperBounds.prop --nowitness --gen-order FOLLOW
Loading property file UpperBounds.prop.
Read [bounds] property : HypertorusGrid-PT-d2k3p2b04-UpperBounds-00 with value :pil_d2_n1_2_2
Read [bounds] property : HypertorusGrid-PT-d2k3p2b04-UpperBounds-01 with value :po_d1_n1_1_2
Read [bounds] property : HypertorusGrid-PT-d2k3p2b04-UpperBounds-02 with value :pb_d2_n2_3_2
Read [bounds] property : HypertorusGrid-PT-d2k3p2b04-UpperBounds-03 with value :pol_d1_n1_2_1
Read [bounds] property : HypertorusGrid-PT-d2k3p2b04-UpperBounds-04 with value :pi_d2_n1_3_2
Read [bounds] property : HypertorusGrid-PT-d2k3p2b04-UpperBounds-05 with value :pi_d2_n1_3_1
Read [bounds] property : HypertorusGrid-PT-d2k3p2b04-UpperBounds-06 with value :pol_d1_n1_3_1
Read [bounds] property : HypertorusGrid-PT-d2k3p2b04-UpperBounds-07 with value :pb_d2_n1_2_2
Read [bounds] property : HypertorusGrid-PT-d2k3p2b04-UpperBounds-08 with value :pb_d1_n1_2_3
Read [bounds] property : HypertorusGrid-PT-d2k3p2b04-UpperBounds-09 with value :pol_d2_n1_1_2
Read [bounds] property : HypertorusGrid-PT-d2k3p2b04-UpperBounds-10 with value :po_d1_n1_1_1
Read [bounds] property : HypertorusGrid-PT-d2k3p2b04-UpperBounds-11 with value :pi_d2_n1_3_2
Read [bounds] property : HypertorusGrid-PT-d2k3p2b04-UpperBounds-12 with value :pb_d1_n1_2_3
Read [bounds] property : HypertorusGrid-PT-d2k3p2b04-UpperBounds-13 with value :po_d1_n1_1_1
Read [bounds] property : HypertorusGrid-PT-d2k3p2b04-UpperBounds-14 with value :po_d2_n1_3_1
Read [bounds] property : HypertorusGrid-PT-d2k3p2b04-UpperBounds-15 with value :po_d1_n1_3_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
petri\_inst\_inst,5.47584e+35,788.468,11288496,2,90208,5,6.62387e+07,6,0,615,7.40319e+07,0
Total reachable state count : 547584122014766883496316800558170112

Verifying 16 reachability properties.
Min sum of variable value : 0
Maximum sum along a path : 1
Bounds property HypertorusGrid-PT-d2k3p2b04-UpperBounds-00 :0 <= pil_d2_n1_2_2 <= 1
FORMULA HypertorusGrid-PT-d2k3p2b04-UpperBounds-00 1 TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN

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-d2k3p2b04-UpperBounds-00,0,788.528,11288496,1,0,7,6.62387e+07,9,1,887,7.40319e+07,4
Min sum of variable value : 0
Maximum sum along a path : 1
Bounds property HypertorusGrid-PT-d2k3p2b04-UpperBounds-01 :0 <= po_d1_n1_1_2 <= 1
FORMULA HypertorusGrid-PT-d2k3p2b04-UpperBounds-01 1 TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN

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-d2k3p2b04-UpperBounds-01,0,788.555,11288496,1,0,8,6.62387e+07,10,1,978,7.40319e+07,5
Min sum of variable value : 0
Maximum sum along a path : 12
Bounds property HypertorusGrid-PT-d2k3p2b04-UpperBounds-02 :0 <= pb_d2_n2_3_2 <= 12
FORMULA HypertorusGrid-PT-d2k3p2b04-UpperBounds-02 12 TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN

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-d2k3p2b04-UpperBounds-02,0,788.572,11288496,1,0,9,6.62387e+07,11,1,1072,7.40319e+07,6
Min sum of variable value : 0
Maximum sum along a path : 1
Bounds property HypertorusGrid-PT-d2k3p2b04-UpperBounds-03 :0 <= pol_d1_n1_2_1 <= 1
FORMULA HypertorusGrid-PT-d2k3p2b04-UpperBounds-03 1 TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN

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-d2k3p2b04-UpperBounds-03,0,788.724,11288496,1,0,10,6.62387e+07,12,1,1303,7.40319e+07,7
Min sum of variable value : 0
Maximum sum along a path : 1
Bounds property HypertorusGrid-PT-d2k3p2b04-UpperBounds-04 :0 <= pi_d2_n1_3_2 <= 1
FORMULA HypertorusGrid-PT-d2k3p2b04-UpperBounds-04 1 TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN

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-d2k3p2b04-UpperBounds-04,0,788.771,11288496,1,0,11,6.62387e+07,13,1,1424,7.40319e+07,8
Min sum of variable value : 0
Maximum sum along a path : 1
Bounds property HypertorusGrid-PT-d2k3p2b04-UpperBounds-05 :0 <= pi_d2_n1_3_1 <= 1
FORMULA HypertorusGrid-PT-d2k3p2b04-UpperBounds-05 1 TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN

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-d2k3p2b04-UpperBounds-05,0,788.843,11288496,1,0,12,6.62387e+07,14,1,1581,7.40319e+07,9
Min sum of variable value : 0
Maximum sum along a path : 1
Bounds property HypertorusGrid-PT-d2k3p2b04-UpperBounds-06 :0 <= pol_d1_n1_3_1 <= 1
FORMULA HypertorusGrid-PT-d2k3p2b04-UpperBounds-06 1 TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN

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-d2k3p2b04-UpperBounds-06,0,788.994,11288496,1,0,13,6.62387e+07,15,1,1784,7.40319e+07,10
Min sum of variable value : 0
Maximum sum along a path : 12
Bounds property HypertorusGrid-PT-d2k3p2b04-UpperBounds-07 :0 <= pb_d2_n1_2_2 <= 12
FORMULA HypertorusGrid-PT-d2k3p2b04-UpperBounds-07 12 TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN

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-d2k3p2b04-UpperBounds-07,0,789.045,11288496,1,0,14,6.62387e+07,16,1,1924,7.40319e+07,11
Min sum of variable value : 0
Maximum sum along a path : 12
Bounds property HypertorusGrid-PT-d2k3p2b04-UpperBounds-08 :0 <= pb_d1_n1_2_3 <= 12
FORMULA HypertorusGrid-PT-d2k3p2b04-UpperBounds-08 12 TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN

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-d2k3p2b04-UpperBounds-08,0,789.048,11288496,1,0,15,6.62387e+07,17,1,1972,7.40319e+07,12
Min sum of variable value : 0
Maximum sum along a path : 1
Bounds property HypertorusGrid-PT-d2k3p2b04-UpperBounds-09 :0 <= pol_d2_n1_1_2 <= 1
FORMULA HypertorusGrid-PT-d2k3p2b04-UpperBounds-09 1 TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN

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-d2k3p2b04-UpperBounds-09,0,789.182,11288496,1,0,16,6.62387e+07,18,1,2187,7.40319e+07,13
Min sum of variable value : 0
Maximum sum along a path : 1
Bounds property HypertorusGrid-PT-d2k3p2b04-UpperBounds-10 :0 <= po_d1_n1_1_1 <= 1
FORMULA HypertorusGrid-PT-d2k3p2b04-UpperBounds-10 1 TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN

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-d2k3p2b04-UpperBounds-10,0,789.32,11288496,1,0,17,6.62387e+07,19,1,2396,7.40319e+07,14
Min sum of variable value : 0
Maximum sum along a path : 1
Bounds property HypertorusGrid-PT-d2k3p2b04-UpperBounds-11 :0 <= pi_d2_n1_3_2 <= 1
FORMULA HypertorusGrid-PT-d2k3p2b04-UpperBounds-11 1 TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN

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-d2k3p2b04-UpperBounds-11,0,789.32,11288496,1,0,17,6.62387e+07,19,1,2396,7.40319e+07,14
Min sum of variable value : 0
Maximum sum along a path : 12
Bounds property HypertorusGrid-PT-d2k3p2b04-UpperBounds-12 :0 <= pb_d1_n1_2_3 <= 12
FORMULA HypertorusGrid-PT-d2k3p2b04-UpperBounds-12 12 TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN

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-d2k3p2b04-UpperBounds-12,0,789.32,11288496,1,0,17,6.62387e+07,19,1,2396,7.40319e+07,14
Min sum of variable value : 0
Maximum sum along a path : 1
Bounds property HypertorusGrid-PT-d2k3p2b04-UpperBounds-13 :0 <= po_d1_n1_1_1 <= 1
FORMULA HypertorusGrid-PT-d2k3p2b04-UpperBounds-13 1 TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN

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-d2k3p2b04-UpperBounds-13,0,789.32,11288496,1,0,17,6.62387e+07,19,1,2396,7.40319e+07,14
Min sum of variable value : 0
Maximum sum along a path : 1
Bounds property HypertorusGrid-PT-d2k3p2b04-UpperBounds-14 :0 <= po_d2_n1_3_1 <= 1
FORMULA HypertorusGrid-PT-d2k3p2b04-UpperBounds-14 1 TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN

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-d2k3p2b04-UpperBounds-14,0,789.332,11288496,1,0,18,6.62387e+07,20,1,2457,7.40319e+07,15
Min sum of variable value : 0
Maximum sum along a path : 1
Bounds property HypertorusGrid-PT-d2k3p2b04-UpperBounds-15 :0 <= po_d1_n1_3_1 <= 1
FORMULA HypertorusGrid-PT-d2k3p2b04-UpperBounds-15 1 TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN

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-d2k3p2b04-UpperBounds-15,0,789.509,11288496,1,0,19,6.62387e+07,21,1,2658,7.40319e+07,16

BK_STOP 1589569488466

--------------------
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 -timeout 3600
+ 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 -timeout 3600 -vmargs -Dosgi.locking=none -Declipse.stateSaveDelayInterval=-1 -Dosgi.configuration.area=/tmp/.eclipse -Xss128m -Xms40m -Xmx16000m -Dfile.encoding=UTF-8 -Dosgi.requiredJavaVersion=1.6

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-d2k3p2b04"
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-4028"
echo " Executing tool itstools"
echo " Input is HypertorusGrid-PT-d2k3p2b04, 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 r096-oct2-158940144900293"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

tar xzf /home/mcc/BenchKit/INPUTS/HypertorusGrid-PT-d2k3p2b04.tgz
mv HypertorusGrid-PT-d2k3p2b04 execution
cd execution
if [ "UpperBounds" = "ReachabilityDeadlock" ] || [ "UpperBounds" = "UpperBounds" ] || [ "UpperBounds" = "QuasiLiveness" ] || [ "UpperBounds" = "StableMarking" ] || [ "UpperBounds" = "Liveness" ] || [ "UpperBounds" = "OneSafe" ] || [ "UpperBounds" = "StateSpace" ]; 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
elif [ "UpperBounds" = "ReachabilityDeadlock" ] || [ "UpperBounds" = "QuasiLiveness" ] || [ "UpperBounds" = "StableMarking" ] || [ "UpperBounds" = "Liveness" ] || [ "UpperBounds" = "OneSafe" ] ; then
echo "FORMULA_NAME UpperBounds"
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 ;