fond
Model Checking Contest 2020
10th edition, Paris, France, June 23, 2020
Execution of r111-csrt-158961258000709
Last Updated
Jun 28, 2020

About the Execution of ITS-Tools for Peterson-PT-2

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
15743.860 4817.00 9561.00 82.00 3 3 3 1 3 2 3 2 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/mcc2020-input.r111-csrt-158961258000709.qcow2', fmt=qcow2 size=4294967296 backing_file=/local/x2003239/mcc2020-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-4028
Executing tool itstools
Input is Peterson-PT-2, examination is UpperBounds
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r111-csrt-158961258000709
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 400K
-rw-r--r-- 1 mcc users 7.0K Apr 27 15:14 CTLCardinality.txt
-rw-r--r-- 1 mcc users 27K Apr 27 15:14 CTLCardinality.xml
-rw-r--r-- 1 mcc users 7.6K Apr 27 15:14 CTLFireability.txt
-rw-r--r-- 1 mcc users 32K 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 11K Apr 27 15:14 LTLCardinality.txt
-rw-r--r-- 1 mcc users 42K Apr 28 14:01 LTLCardinality.xml
-rw-r--r-- 1 mcc users 7.2K Apr 27 15:14 LTLFireability.txt
-rw-r--r-- 1 mcc users 33K Apr 28 14:01 LTLFireability.xml
-rw-r--r-- 1 mcc users 11K Apr 27 15:14 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 36K Apr 27 15:14 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 8.2K Apr 27 15:14 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 33K Apr 27 15:14 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 2.7K Apr 27 15:14 UpperBounds.txt
-rw-r--r-- 1 mcc users 5.9K Apr 27 15:14 UpperBounds.xml
-rw-r--r-- 1 mcc users 5 Apr 27 15:14 equiv_col
-rw-r--r-- 1 mcc users 2 Apr 27 15:14 instance
-rw-r--r-- 1 mcc users 6 Apr 27 15:14 iscolored
-rw-r--r-- 1 mcc users 98K 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 Peterson-PT-2-UpperBounds-00
FORMULA_NAME Peterson-PT-2-UpperBounds-01
FORMULA_NAME Peterson-PT-2-UpperBounds-02
FORMULA_NAME Peterson-PT-2-UpperBounds-03
FORMULA_NAME Peterson-PT-2-UpperBounds-04
FORMULA_NAME Peterson-PT-2-UpperBounds-05
FORMULA_NAME Peterson-PT-2-UpperBounds-06
FORMULA_NAME Peterson-PT-2-UpperBounds-07
FORMULA_NAME Peterson-PT-2-UpperBounds-08
FORMULA_NAME Peterson-PT-2-UpperBounds-09
FORMULA_NAME Peterson-PT-2-UpperBounds-10
FORMULA_NAME Peterson-PT-2-UpperBounds-11
FORMULA_NAME Peterson-PT-2-UpperBounds-12
FORMULA_NAME Peterson-PT-2-UpperBounds-13
FORMULA_NAME Peterson-PT-2-UpperBounds-14
FORMULA_NAME Peterson-PT-2-UpperBounds-15

=== Now, execution of the tool begins

BK_START 1590022896872

[2020-05-21 01:01:40] [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-21 01:01:40] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2020-05-21 01:01:40] [INFO ] Load time of PNML (sax parser for PT used): 108 ms
[2020-05-21 01:01:40] [INFO ] Transformed 102 places.
[2020-05-21 01:01:40] [INFO ] Transformed 126 transitions.
[2020-05-21 01:01:40] [INFO ] Parsed PT model containing 102 places and 126 transitions in 158 ms.
Parsed 16 properties from file /home/mcc/execution/UpperBounds.xml in 19 ms.
Finished random walk after 0 steps, including 0 resets, run visited all 0 properties in 1 ms. (steps per millisecond=0 )
[2020-05-21 01:01:40] [INFO ] Flatten gal took : 80 ms
[2020-05-21 01:01:40] [INFO ] Applying decomposition
[2020-05-21 01:01:40] [INFO ] Flatten gal took : 17 ms
[2020-05-21 01:01:40] [INFO ] Time to serialize gal into /home/mcc/execution/UpperBounds.pnml.gal : 13 ms
[2020-05-21 01:01:40] [INFO ] Time to serialize properties into /home/mcc/execution/UpperBounds.prop : 1 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 : Peterson-PT-2-UpperBounds-00 with value :Idle_0+Idle_2+Idle_1
Read [bounds] property : Peterson-PT-2-UpperBounds-01 with value :IsEndLoop_0_0_0+IsEndLoop_1_0_0+IsEndLoop_2_0_0+IsEndLoop_0_1_0+IsEndLoop_1_1_0+IsEndLoop_2_1_0+IsEndLoop_0_0_1+IsEndLoop_1_0_1+IsEndLoop_2_0_1+IsEndLoop_0_1_1+IsEndLoop_1_1_1+IsEndLoop_2_1_1+IsEndLoop_0_0_2+IsEndLoop_2_0_2+IsEndLoop_1_0_2+IsEndLoop_1_1_2+IsEndLoop_0_1_2+IsEndLoop_2_1_2
Read [bounds] property : Peterson-PT-2-UpperBounds-02 with value :
Read [bounds] property : Peterson-PT-2-UpperBounds-03 with value :CS_0+CS_1+CS_2
Read [bounds] property : Peterson-PT-2-UpperBounds-04 with value :IsEndLoop_0_0_0+IsEndLoop_1_0_0+IsEndLoop_2_0_0+IsEndLoop_0_1_0+IsEndLoop_1_1_0+IsEndLoop_2_1_0+IsEndLoop_0_0_1+IsEndLoop_1_0_1+IsEndLoop_2_0_1+IsEndLoop_0_1_1+IsEndLoop_1_1_1+IsEndLoop_2_1_1+IsEndLoop_0_0_2+IsEndLoop_2_0_2+IsEndLoop_1_0_2+IsEndLoop_1_1_2+IsEndLoop_0_1_2+IsEndLoop_2_1_2
Read [bounds] property : Peterson-PT-2-UpperBounds-05 with value :EndTurn_0_0+EndTurn_2_0+EndTurn_1_0+EndTurn_1_1+EndTurn_0_1+EndTurn_2_1
Read [bounds] property : Peterson-PT-2-UpperBounds-06 with value :AskForSection_1_1+AskForSection_2_1+AskForSection_2_0+AskForSection_0_1+AskForSection_0_0+AskForSection_1_0
Read [bounds] property : Peterson-PT-2-UpperBounds-07 with value :EndTurn_0_0+EndTurn_2_0+EndTurn_1_0+EndTurn_1_1+EndTurn_0_1+EndTurn_2_1
Read [bounds] property : Peterson-PT-2-UpperBounds-08 with value :TestAlone_2_0_1
Read [bounds] property : Peterson-PT-2-UpperBounds-09 with value :Idle_2
Read [bounds] property : Peterson-PT-2-UpperBounds-10 with value :Idle_2
Read [bounds] property : Peterson-PT-2-UpperBounds-11 with value :WantSection_2_T
Read [bounds] property : Peterson-PT-2-UpperBounds-12 with value :BeginLoop_2_1_2
Read [bounds] property : Peterson-PT-2-UpperBounds-13 with value :IsEndLoop_2_0_1
Read [bounds] property : Peterson-PT-2-UpperBounds-14 with value :TestTurn_0_0
Read [bounds] property : Peterson-PT-2-UpperBounds-15 with value :TestAlone_2_1_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,20754,0.326408,12608,2,3437,5,32029,6,0,537,38900,0
Total reachable state count : 20754

Verifying 16 reachability properties.
Min sum of variable value : 0
Maximum sum along a path : 3
Bounds property Peterson-PT-2-UpperBounds-00 :0 <= Idle_0+Idle_2+Idle_1 <= 3
FORMULA Peterson-PT-2-UpperBounds-00 3 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
Peterson-PT-2-UpperBounds-00,0,0.330822,12608,1,0,7,32029,9,1,818,38900,4
Min sum of variable value : 0
Maximum sum along a path : 3
Bounds property Peterson-PT-2-UpperBounds-01 :0 <= IsEndLoop_0_0_0+IsEndLoop_1_0_0+IsEndLoop_2_0_0+IsEndLoop_0_1_0+IsEndLoop_1_1_0+IsEndLoop_2_1_0+IsEndLoop_0_0_1+IsEndLoop_1_0_1+IsEndLoop_2_0_1+IsEndLoop_0_1_1+IsEndLoop_1_1_1+IsEndLoop_2_1_1+IsEndLoop_0_0_2+IsEndLoop_2_0_2+IsEndLoop_1_0_2+IsEndLoop_1_1_2+IsEndLoop_0_1_2+IsEndLoop_2_1_2 <= 3
FORMULA Peterson-PT-2-UpperBounds-01 3 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
Peterson-PT-2-UpperBounds-01,0,0.34103,12608,1,0,8,32029,10,1,1041,38900,5
Min sum of variable value : 0
Maximum sum along a path : 0
Bounds property Peterson-PT-2-UpperBounds-02 :0 <= <= 0
FORMULA Peterson-PT-2-UpperBounds-02 3 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
Peterson-PT-2-UpperBounds-02,0,0.341145,12608,1,0,8,32029,11,1,1041,38900,5
Min sum of variable value : 0
Maximum sum along a path : 1
Bounds property Peterson-PT-2-UpperBounds-03 :0 <= CS_0+CS_1+CS_2 <= 1
FORMULA Peterson-PT-2-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
Peterson-PT-2-UpperBounds-03,0,0.34372,12608,1,0,9,32029,12,1,1190,38900,6
Min sum of variable value : 0
Maximum sum along a path : 3
Bounds property Peterson-PT-2-UpperBounds-04 :0 <= IsEndLoop_0_0_0+IsEndLoop_1_0_0+IsEndLoop_2_0_0+IsEndLoop_0_1_0+IsEndLoop_1_1_0+IsEndLoop_2_1_0+IsEndLoop_0_0_1+IsEndLoop_1_0_1+IsEndLoop_2_0_1+IsEndLoop_0_1_1+IsEndLoop_1_1_1+IsEndLoop_2_1_1+IsEndLoop_0_0_2+IsEndLoop_2_0_2+IsEndLoop_1_0_2+IsEndLoop_1_1_2+IsEndLoop_0_1_2+IsEndLoop_2_1_2 <= 3
FORMULA Peterson-PT-2-UpperBounds-04 3 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
Peterson-PT-2-UpperBounds-04,0,0.344154,12608,1,0,9,32029,12,1,1190,38900,6
Min sum of variable value : 0
Maximum sum along a path : 2
Bounds property Peterson-PT-2-UpperBounds-05 :0 <= EndTurn_0_0+EndTurn_2_0+EndTurn_1_0+EndTurn_1_1+EndTurn_0_1+EndTurn_2_1 <= 2
FORMULA Peterson-PT-2-UpperBounds-05 2 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
Peterson-PT-2-UpperBounds-05,0,0.346604,12608,1,0,10,32029,13,1,1314,38900,7
Min sum of variable value : 0
Maximum sum along a path : 3
Bounds property Peterson-PT-2-UpperBounds-06 :0 <= AskForSection_1_1+AskForSection_2_1+AskForSection_2_0+AskForSection_0_1+AskForSection_0_0+AskForSection_1_0 <= 3
FORMULA Peterson-PT-2-UpperBounds-06 3 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
Peterson-PT-2-UpperBounds-06,0,0.351031,12608,1,0,11,32029,14,1,1472,38900,8
Min sum of variable value : 0
Maximum sum along a path : 2
Bounds property Peterson-PT-2-UpperBounds-07 :0 <= EndTurn_0_0+EndTurn_2_0+EndTurn_1_0+EndTurn_1_1+EndTurn_0_1+EndTurn_2_1 <= 2
FORMULA Peterson-PT-2-UpperBounds-07 2 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
Peterson-PT-2-UpperBounds-07,0,0.351223,12608,1,0,11,32029,14,1,1472,38900,8
Min sum of variable value : 0
Maximum sum along a path : 1
Bounds property Peterson-PT-2-UpperBounds-08 :0 <= TestAlone_2_0_1 <= 1
FORMULA Peterson-PT-2-UpperBounds-08 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
Peterson-PT-2-UpperBounds-08,0,0.352681,12608,1,0,12,32029,15,1,1581,38900,9
Min sum of variable value : 0
Maximum sum along a path : 1
Bounds property Peterson-PT-2-UpperBounds-09 :0 <= Idle_2 <= 1
FORMULA Peterson-PT-2-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
Peterson-PT-2-UpperBounds-09,0,0.353173,12608,1,0,13,32029,16,1,1636,38900,10
Min sum of variable value : 0
Maximum sum along a path : 1
Bounds property Peterson-PT-2-UpperBounds-10 :0 <= Idle_2 <= 1
FORMULA Peterson-PT-2-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
Peterson-PT-2-UpperBounds-10,0,0.353309,12608,1,0,13,32029,16,1,1636,38900,10
Min sum of variable value : 0
Maximum sum along a path : 1
Bounds property Peterson-PT-2-UpperBounds-11 :0 <= WantSection_2_T <= 1
FORMULA Peterson-PT-2-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
Peterson-PT-2-UpperBounds-11,0,0.354207,12608,1,0,14,32029,17,1,1701,38900,11
Min sum of variable value : 0
Maximum sum along a path : 1
Bounds property Peterson-PT-2-UpperBounds-12 :0 <= BeginLoop_2_1_2 <= 1
FORMULA Peterson-PT-2-UpperBounds-12 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
Peterson-PT-2-UpperBounds-12,0,0.354382,12608,1,0,15,32029,18,1,1708,38900,12
Min sum of variable value : 0
Maximum sum along a path : 1
Bounds property Peterson-PT-2-UpperBounds-13 :0 <= IsEndLoop_2_0_1 <= 1
FORMULA Peterson-PT-2-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
Peterson-PT-2-UpperBounds-13,0,0.354749,12608,1,0,16,32029,19,1,1755,38900,13
Min sum of variable value : 0
Maximum sum along a path : 1
Bounds property Peterson-PT-2-UpperBounds-14 :0 <= TestTurn_0_0 <= 1
FORMULA Peterson-PT-2-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
Peterson-PT-2-UpperBounds-14,0,0.356876,12608,1,0,17,32029,20,1,1888,38900,14
Min sum of variable value : 0
Maximum sum along a path : 1
Bounds property Peterson-PT-2-UpperBounds-15 :0 <= TestAlone_2_1_1 <= 1
FORMULA Peterson-PT-2-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
Peterson-PT-2-UpperBounds-15,0,0.357526,12608,1,0,18,32029,21,1,1965,38900,15

BK_STOP 1590022901689

--------------------
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="Peterson-PT-2"
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 Peterson-PT-2, 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 r111-csrt-158961258000709"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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