fond
Model Checking Contest 2020
10th edition, Paris, France, June 23, 2020
Execution of r126-tajo-158961390000197
Last Updated
Jun 28, 2020

About the Execution of ITS-Tools for PhilosophersDyn-COL-03

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
15743.550 2567.00 4746.00 24.90 2 3 3 2 2 2 3 3 2 2 3 3 2 3 3 3 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/mcc2020-input.r126-tajo-158961390000197.qcow2', fmt=qcow2 size=4294967296 backing_file='/mnt/tpsp/fkordon/mcc2020-input.qcow2' encryption=off cluster_size=65536 lazy_refcounts=off
Waiting for the VM to be ready (probing ssh)
.........................................................................................................................................................................................................................................................................................................................................................................................................................................
=====================================================================
Generated by BenchKit 2-4028
Executing tool itstools
Input is PhilosophersDyn-COL-03, examination is UpperBounds
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r126-tajo-158961390000197
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 204K
-rw-r--r-- 1 mcc users 3.9K Apr 27 15:14 CTLCardinality.txt
-rw-r--r-- 1 mcc users 19K 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 16K 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 3.5K Apr 27 15:14 LTLCardinality.txt
-rw-r--r-- 1 mcc users 24K Apr 28 14:01 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.3K Apr 27 15:14 LTLFireability.txt
-rw-r--r-- 1 mcc users 18K Apr 28 14:01 LTLFireability.xml
-rw-r--r-- 1 mcc users 4.5K Apr 27 15:14 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 22K Apr 27 15:14 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 2.7K Apr 27 15:14 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 13K Apr 27 15:14 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.8K Apr 27 15:14 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.8K Apr 27 15:14 UpperBounds.xml
-rw-r--r-- 1 mcc users 5 Apr 27 15:14 equiv_pt
-rw-r--r-- 1 mcc users 3 Apr 27 15:14 instance
-rw-r--r-- 1 mcc users 5 Apr 27 15:14 iscolored
-rw-r--r-- 1 mcc users 31K 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 PhilosophersDyn-COL-03-UpperBounds-00
FORMULA_NAME PhilosophersDyn-COL-03-UpperBounds-01
FORMULA_NAME PhilosophersDyn-COL-03-UpperBounds-02
FORMULA_NAME PhilosophersDyn-COL-03-UpperBounds-03
FORMULA_NAME PhilosophersDyn-COL-03-UpperBounds-04
FORMULA_NAME PhilosophersDyn-COL-03-UpperBounds-05
FORMULA_NAME PhilosophersDyn-COL-03-UpperBounds-06
FORMULA_NAME PhilosophersDyn-COL-03-UpperBounds-07
FORMULA_NAME PhilosophersDyn-COL-03-UpperBounds-08
FORMULA_NAME PhilosophersDyn-COL-03-UpperBounds-09
FORMULA_NAME PhilosophersDyn-COL-03-UpperBounds-10
FORMULA_NAME PhilosophersDyn-COL-03-UpperBounds-11
FORMULA_NAME PhilosophersDyn-COL-03-UpperBounds-12
FORMULA_NAME PhilosophersDyn-COL-03-UpperBounds-13
FORMULA_NAME PhilosophersDyn-COL-03-UpperBounds-14
FORMULA_NAME PhilosophersDyn-COL-03-UpperBounds-15

=== Now, execution of the tool begins

BK_START 1589791807771

[2020-05-18 08:50:09] [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-18 08:50:09] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2020-05-18 08:50:09] [INFO ] Detected file is not PT type :http://www.pnml.org/version-2009/grammar/symmetricnet
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
[2020-05-18 08:50:09] [INFO ] Load time of PNML (colored model parsed with PNMLFW) : 512 ms
[2020-05-18 08:50:09] [INFO ] sort/places :
Neighbourhood->Neighbourhood,
Philosopher->Outside,Think,Forks,WaitLeft,WaitRight,HasLeft,HasRight,

[2020-05-18 08:50:09] [INFO ] Imported 8 HL places and 7 HL transitions for a total of 30 PT places and 87.0 transition bindings in 15 ms.
[2020-05-18 08:50:09] [INFO ] Computed order based on color domains.
[2020-05-18 08:50:09] [INFO ] Unfolded HLPN to a Petri net with 30 places and 84 transitions in 14 ms.
[2020-05-18 08:50:09] [INFO ] Unfolded HLPN properties in 0 ms.
Ensure Unique test removed 3 transitions
Reduce redundant transitions removed 3 transitions.
Parsed 16 properties from file /home/mcc/execution/UpperBounds.xml in 34 ms.
Finished random walk after 0 steps, including 0 resets, run visited all 0 properties in 1 ms. (steps per millisecond=0 )
[2020-05-18 08:50:10] [INFO ] Flatten gal took : 31 ms
[2020-05-18 08:50:10] [INFO ] Applying decomposition
[2020-05-18 08:50:10] [INFO ] Flatten gal took : 12 ms
[2020-05-18 08:50:10] [INFO ] Time to serialize gal into /home/mcc/execution/UpperBounds.pnml.gal : 6 ms
[2020-05-18 08:50:10] [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 : PhilosophersDyn-COL-03-UpperBounds-00 with value :HasRight_0+HasRight_1+HasRight_2
Read [bounds] property : PhilosophersDyn-COL-03-UpperBounds-01 with value :Outside_0+Outside_1+Outside_2
Read [bounds] property : PhilosophersDyn-COL-03-UpperBounds-02 with value :WaitRight_0+WaitRight_1+WaitRight_2
Read [bounds] property : PhilosophersDyn-COL-03-UpperBounds-03 with value :HasLeft_0+HasLeft_1+HasLeft_2
Read [bounds] property : PhilosophersDyn-COL-03-UpperBounds-04 with value :Forks_0+Forks_1+Forks_2
Read [bounds] property : PhilosophersDyn-COL-03-UpperBounds-05 with value :Forks_0+Forks_1+Forks_2
Read [bounds] property : PhilosophersDyn-COL-03-UpperBounds-06 with value :Outside_0+Outside_1+Outside_2
Read [bounds] property : PhilosophersDyn-COL-03-UpperBounds-07 with value :WaitLeft_0+WaitLeft_1+WaitLeft_2
Read [bounds] property : PhilosophersDyn-COL-03-UpperBounds-08 with value :HasLeft_0+HasLeft_1+HasLeft_2
Read [bounds] property : PhilosophersDyn-COL-03-UpperBounds-09 with value :HasLeft_0+HasLeft_1+HasLeft_2
Read [bounds] property : PhilosophersDyn-COL-03-UpperBounds-10 with value :WaitRight_0+WaitRight_1+WaitRight_2
Read [bounds] property : PhilosophersDyn-COL-03-UpperBounds-11 with value :Neighbourhood_0+Neighbourhood_1+Neighbourhood_2+Neighbourhood_3+Neighbourhood_4+Neighbourhood_5+Neighbourhood_6+Neighbourhood_7+Neighbourhood_8
Read [bounds] property : PhilosophersDyn-COL-03-UpperBounds-12 with value :HasLeft_0+HasLeft_1+HasLeft_2
Read [bounds] property : PhilosophersDyn-COL-03-UpperBounds-13 with value :Think_0+Think_1+Think_2
Read [bounds] property : PhilosophersDyn-COL-03-UpperBounds-14 with value :Think_0+Think_1+Think_2
Read [bounds] property : PhilosophersDyn-COL-03-UpperBounds-15 with value :Think_0+Think_1+Think_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
petri\_inst\_inst,325,0.034937,4516,2,454,5,2256,6,0,219,1902,0
Total reachable state count : 325

Verifying 16 reachability properties.
Min sum of variable value : 0
Maximum sum along a path : 2
Bounds property PhilosophersDyn-COL-03-UpperBounds-00 :0 <= HasRight_0+HasRight_1+HasRight_2 <= 2
FORMULA PhilosophersDyn-COL-03-UpperBounds-00 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
PhilosophersDyn-COL-03-UpperBounds-00,0,0.035598,4516,1,0,7,2256,9,1,310,1902,4
Min sum of variable value : 0
Maximum sum along a path : 3
Bounds property PhilosophersDyn-COL-03-UpperBounds-01 :0 <= Outside_0+Outside_1+Outside_2 <= 3
FORMULA PhilosophersDyn-COL-03-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
PhilosophersDyn-COL-03-UpperBounds-01,0,0.036046,4516,1,0,8,2256,10,1,363,1902,5
Min sum of variable value : 0
Maximum sum along a path : 3
Bounds property PhilosophersDyn-COL-03-UpperBounds-02 :0 <= WaitRight_0+WaitRight_1+WaitRight_2 <= 3
FORMULA PhilosophersDyn-COL-03-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
PhilosophersDyn-COL-03-UpperBounds-02,0,0.036533,4516,1,0,9,2256,11,1,424,1902,6
Min sum of variable value : 0
Maximum sum along a path : 2
Bounds property PhilosophersDyn-COL-03-UpperBounds-03 :0 <= HasLeft_0+HasLeft_1+HasLeft_2 <= 2
FORMULA PhilosophersDyn-COL-03-UpperBounds-03 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
PhilosophersDyn-COL-03-UpperBounds-03,0,0.037072,4516,1,0,10,2256,12,1,487,1902,7
Min sum of variable value : 0
Maximum sum along a path : 2
Bounds property PhilosophersDyn-COL-03-UpperBounds-04 :0 <= Forks_0+Forks_1+Forks_2 <= 2
FORMULA PhilosophersDyn-COL-03-UpperBounds-04 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
PhilosophersDyn-COL-03-UpperBounds-04,0,0.037533,4516,1,0,11,2256,13,1,538,1902,8
Min sum of variable value : 0
Maximum sum along a path : 2
Bounds property PhilosophersDyn-COL-03-UpperBounds-05 :0 <= Forks_0+Forks_1+Forks_2 <= 2
FORMULA PhilosophersDyn-COL-03-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
PhilosophersDyn-COL-03-UpperBounds-05,0,0.037587,4516,1,0,11,2256,13,1,538,1902,8
Min sum of variable value : 0
Maximum sum along a path : 3
Bounds property PhilosophersDyn-COL-03-UpperBounds-06 :0 <= Outside_0+Outside_1+Outside_2 <= 3
FORMULA PhilosophersDyn-COL-03-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
PhilosophersDyn-COL-03-UpperBounds-06,0,0.037645,4516,1,0,11,2256,13,1,538,1902,8
Min sum of variable value : 0
Maximum sum along a path : 3
Bounds property PhilosophersDyn-COL-03-UpperBounds-07 :0 <= WaitLeft_0+WaitLeft_1+WaitLeft_2 <= 3
FORMULA PhilosophersDyn-COL-03-UpperBounds-07 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
PhilosophersDyn-COL-03-UpperBounds-07,0,0.038181,4516,1,0,12,2256,14,1,602,1902,9
Min sum of variable value : 0
Maximum sum along a path : 2
Bounds property PhilosophersDyn-COL-03-UpperBounds-08 :0 <= HasLeft_0+HasLeft_1+HasLeft_2 <= 2
FORMULA PhilosophersDyn-COL-03-UpperBounds-08 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
PhilosophersDyn-COL-03-UpperBounds-08,0,0.038248,4516,1,0,12,2256,14,1,602,1902,9
Min sum of variable value : 0
Maximum sum along a path : 2
Bounds property PhilosophersDyn-COL-03-UpperBounds-09 :0 <= HasLeft_0+HasLeft_1+HasLeft_2 <= 2
FORMULA PhilosophersDyn-COL-03-UpperBounds-09 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
PhilosophersDyn-COL-03-UpperBounds-09,0,0.038309,4516,1,0,12,2256,14,1,602,1902,9
Min sum of variable value : 0
Maximum sum along a path : 3
Bounds property PhilosophersDyn-COL-03-UpperBounds-10 :0 <= WaitRight_0+WaitRight_1+WaitRight_2 <= 3
FORMULA PhilosophersDyn-COL-03-UpperBounds-10 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
PhilosophersDyn-COL-03-UpperBounds-10,0,0.038355,4516,1,0,12,2256,14,1,602,1902,9
Min sum of variable value : 0
Maximum sum along a path : 3
Bounds property PhilosophersDyn-COL-03-UpperBounds-11 :0 <= Neighbourhood_0+Neighbourhood_1+Neighbourhood_2+Neighbourhood_3+Neighbourhood_4+Neighbourhood_5+Neighbourhood_6+Neighbourhood_7+Neighbourhood_8 <= 3
FORMULA PhilosophersDyn-COL-03-UpperBounds-11 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
PhilosophersDyn-COL-03-UpperBounds-11,0,0.038867,4516,1,0,13,2256,15,1,665,1902,10
Min sum of variable value : 0
Maximum sum along a path : 2
Bounds property PhilosophersDyn-COL-03-UpperBounds-12 :0 <= HasLeft_0+HasLeft_1+HasLeft_2 <= 2
FORMULA PhilosophersDyn-COL-03-UpperBounds-12 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
PhilosophersDyn-COL-03-UpperBounds-12,0,0.038941,4516,1,0,13,2256,15,1,665,1902,10
Min sum of variable value : 0
Maximum sum along a path : 3
Bounds property PhilosophersDyn-COL-03-UpperBounds-13 :0 <= Think_0+Think_1+Think_2 <= 3
FORMULA PhilosophersDyn-COL-03-UpperBounds-13 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
PhilosophersDyn-COL-03-UpperBounds-13,0,0.039382,4516,1,0,14,2256,16,1,720,1902,11
Min sum of variable value : 0
Maximum sum along a path : 3
Bounds property PhilosophersDyn-COL-03-UpperBounds-14 :0 <= Think_0+Think_1+Think_2 <= 3
FORMULA PhilosophersDyn-COL-03-UpperBounds-14 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
PhilosophersDyn-COL-03-UpperBounds-14,0,0.039433,4516,1,0,14,2256,16,1,720,1902,11
Min sum of variable value : 0
Maximum sum along a path : 3
Bounds property PhilosophersDyn-COL-03-UpperBounds-15 :0 <= Think_0+Think_1+Think_2 <= 3
FORMULA PhilosophersDyn-COL-03-UpperBounds-15 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
PhilosophersDyn-COL-03-UpperBounds-15,0,0.039478,4516,1,0,14,2256,16,1,720,1902,11

BK_STOP 1589791810338

--------------------
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="PhilosophersDyn-COL-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-4028"
echo " Executing tool itstools"
echo " Input is PhilosophersDyn-COL-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 r126-tajo-158961390000197"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

tar xzf /home/mcc/BenchKit/INPUTS/PhilosophersDyn-COL-03.tgz
mv PhilosophersDyn-COL-03 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 ;