fond
Model Checking Contest 2023
13th edition, Paris, France, April 26, 2023 (at TOOLympics II)
Execution of r159-smll-167819445100023
Last Updated
May 14, 2023

About the Execution of 2022-gold for Diffusion2D-PT-D20N150

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
927.296 204718.00 227370.00 771.30 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 '/data/fkordon/mcc2023-input.r159-smll-167819445100023.qcow2', fmt=qcow2 size=4294967296 backing_file=/data/fkordon/mcc2023-input.qcow2 cluster_size=65536 lazy_refcounts=off refcount_bits=16
Waiting for the VM to be ready (probing ssh)
.................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
=====================================================================
Generated by BenchKit 2-5348
Executing tool gold2022
Input is Diffusion2D-PT-D20N150, examination is UpperBounds
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r159-smll-167819445100023
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 1.6M
-rw-r--r-- 1 mcc users 8.2K Feb 26 04:13 CTLCardinality.txt
-rw-r--r-- 1 mcc users 77K Feb 26 04:13 CTLCardinality.xml
-rw-r--r-- 1 mcc users 6.5K Feb 26 04:13 CTLFireability.txt
-rw-r--r-- 1 mcc users 52K Feb 26 04:13 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.2K Jan 29 11:40 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 3.9K Feb 25 15:58 LTLCardinality.txt
-rw-r--r-- 1 mcc users 23K Feb 25 15:58 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.6K Feb 25 15:58 LTLFireability.txt
-rw-r--r-- 1 mcc users 16K Feb 25 15:58 LTLFireability.xml
-rw-r--r-- 1 mcc users 12K Feb 26 04:14 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 102K Feb 26 04:14 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 11K Feb 26 04:14 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 77K Feb 26 04:14 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.8K Feb 25 15:58 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.9K Feb 25 15:58 UpperBounds.xml
-rw-r--r-- 1 mcc users 6 Mar 5 18:22 equiv_col
-rw-r--r-- 1 mcc users 8 Mar 5 18:22 instance
-rw-r--r-- 1 mcc users 6 Mar 5 18:22 iscolored
-rw-r--r-- 1 mcc users 1.2M Mar 5 18:22 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-D20N150-UpperBounds-00
FORMULA_NAME Diffusion2D-PT-D20N150-UpperBounds-01
FORMULA_NAME Diffusion2D-PT-D20N150-UpperBounds-02
FORMULA_NAME Diffusion2D-PT-D20N150-UpperBounds-03
FORMULA_NAME Diffusion2D-PT-D20N150-UpperBounds-04
FORMULA_NAME Diffusion2D-PT-D20N150-UpperBounds-05
FORMULA_NAME Diffusion2D-PT-D20N150-UpperBounds-06
FORMULA_NAME Diffusion2D-PT-D20N150-UpperBounds-07
FORMULA_NAME Diffusion2D-PT-D20N150-UpperBounds-08
FORMULA_NAME Diffusion2D-PT-D20N150-UpperBounds-09
FORMULA_NAME Diffusion2D-PT-D20N150-UpperBounds-10
FORMULA_NAME Diffusion2D-PT-D20N150-UpperBounds-11
FORMULA_NAME Diffusion2D-PT-D20N150-UpperBounds-12
FORMULA_NAME Diffusion2D-PT-D20N150-UpperBounds-13
FORMULA_NAME Diffusion2D-PT-D20N150-UpperBounds-14
FORMULA_NAME Diffusion2D-PT-D20N150-UpperBounds-15

=== Now, execution of the tool begins

BK_START 1678464760005

Running Version 202205111006
[2023-03-10 16:12:42] [INFO ] Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, UpperBounds, -spotpath, /home/mcc/BenchKit/bin//..//ltlfilt, -z3path, /home/mcc/BenchKit/bin//..//z3/bin/z3, -yices2path, /home/mcc/BenchKit/bin//..//yices/bin/yices, -its, -ltsmin, -greatspnpath, /home/mcc/BenchKit/bin//..//greatspn/, -order, META, -manyOrder, -smt, -timeout, 3600]
[2023-03-10 16:12:42] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2023-03-10 16:12:43] [INFO ] Load time of PNML (sax parser for PT used): 497 ms
[2023-03-10 16:12:43] [INFO ] Transformed 400 places.
[2023-03-10 16:12:43] [INFO ] Transformed 2964 transitions.
[2023-03-10 16:12:43] [INFO ] Parsed PT model containing 400 places and 2964 transitions in 703 ms.
Parsed 16 properties from file /home/mcc/execution/UpperBounds.xml in 13 ms.
// Phase 1: matrix 2964 rows 400 cols
[2023-03-10 16:12:43] [INFO ] Computed 1 place invariants in 90 ms
Incomplete random walk after 10118 steps, including 2 resets, run finished after 13 ms. (steps per millisecond=778 ) properties (out of 16) seen :300
FORMULA Diffusion2D-PT-D20N150-UpperBounds-10 150 TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA Diffusion2D-PT-D20N150-UpperBounds-07 150 TECHNIQUES TOPOLOGICAL RANDOM_WALK
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 27 ms. (steps per millisecond=370 ) properties (out of 14) seen :10
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 20 ms. (steps per millisecond=500 ) properties (out of 14) seen :2
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 22 ms. (steps per millisecond=454 ) properties (out of 14) seen :1
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 20 ms. (steps per millisecond=500 ) properties (out of 14) seen :3
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 21 ms. (steps per millisecond=476 ) properties (out of 14) seen :2
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 19 ms. (steps per millisecond=526 ) properties (out of 14) seen :1
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 17 ms. (steps per millisecond=588 ) properties (out of 14) seen :1
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 13 ms. (steps per millisecond=769 ) properties (out of 14) seen :3
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 17 ms. (steps per millisecond=588 ) properties (out of 14) seen :2
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 12 ms. (steps per millisecond=833 ) properties (out of 14) seen :1
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 9 ms. (steps per millisecond=1111 ) properties (out of 14) seen :3
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 9 ms. (steps per millisecond=1111 ) properties (out of 14) seen :2
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 11 ms. (steps per millisecond=909 ) properties (out of 14) seen :1
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 9 ms. (steps per millisecond=1111 ) properties (out of 14) seen :3
// Phase 1: matrix 2964 rows 400 cols
[2023-03-10 16:12:43] [INFO ] Computed 1 place invariants in 27 ms
[2023-03-10 16:12:44] [INFO ] [Real]Absence check using 1 positive place invariants in 10 ms returned sat
[2023-03-10 16:12:44] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2023-03-10 16:12:45] [INFO ] [Real]Absence check using state equation in 1040 ms returned sat
[2023-03-10 16:12:46] [INFO ] Computed and/alt/rep : 2956/22508/2956 causal constraints (skipped 0 transitions) in 550 ms.
Minimization took 463 ms.
[2023-03-10 16:12:46] [INFO ] [Real]Absence check using 1 positive place invariants in 9 ms returned sat
[2023-03-10 16:12:46] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2023-03-10 16:12:47] [INFO ] [Real]Absence check using state equation in 1017 ms returned sat
[2023-03-10 16:12:48] [INFO ] Solution in real domain found non-integer solution.
[2023-03-10 16:12:48] [INFO ] [Nat]Absence check using 1 positive place invariants in 7 ms returned sat
[2023-03-10 16:12:48] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2023-03-10 16:12:48] [INFO ] [Nat]Absence check using state equation in 777 ms returned sat
[2023-03-10 16:12:49] [INFO ] Computed and/alt/rep : 2956/22508/2956 causal constraints (skipped 0 transitions) in 373 ms.
Minimization took 283 ms.
[2023-03-10 16:12:50] [INFO ] [Real]Absence check using 1 positive place invariants in 9 ms returned sat
[2023-03-10 16:12:50] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2023-03-10 16:12:50] [INFO ] [Real]Absence check using state equation in 807 ms returned sat
[2023-03-10 16:12:50] [INFO ] Solution in real domain found non-integer solution.
[2023-03-10 16:12:51] [INFO ] [Nat]Absence check using 1 positive place invariants in 6 ms returned sat
[2023-03-10 16:12:51] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2023-03-10 16:12:51] [INFO ] [Nat]Absence check using state equation in 778 ms returned sat
[2023-03-10 16:12:52] [INFO ] Computed and/alt/rep : 2956/22508/2956 causal constraints (skipped 0 transitions) in 224 ms.
Minimization took 296 ms.
[2023-03-10 16:12:52] [INFO ] [Real]Absence check using 1 positive place invariants in 5 ms returned sat
[2023-03-10 16:12:52] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2023-03-10 16:12:53] [INFO ] [Real]Absence check using state equation in 805 ms returned sat
[2023-03-10 16:12:53] [INFO ] Solution in real domain found non-integer solution.
[2023-03-10 16:12:53] [INFO ] [Nat]Absence check using 1 positive place invariants in 9 ms returned sat
[2023-03-10 16:12:53] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2023-03-10 16:12:54] [INFO ] [Nat]Absence check using state equation in 816 ms returned sat
[2023-03-10 16:12:54] [INFO ] Computed and/alt/rep : 2956/22508/2956 causal constraints (skipped 0 transitions) in 249 ms.
Minimization took 316 ms.
[2023-03-10 16:12:55] [INFO ] [Real]Absence check using 1 positive place invariants in 23 ms returned sat
[2023-03-10 16:12:55] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2023-03-10 16:12:56] [INFO ] [Real]Absence check using state equation in 768 ms returned sat
[2023-03-10 16:12:56] [INFO ] Solution in real domain found non-integer solution.
[2023-03-10 16:12:56] [INFO ] [Nat]Absence check using 1 positive place invariants in 9 ms returned sat
[2023-03-10 16:12:56] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2023-03-10 16:12:57] [INFO ] [Nat]Absence check using state equation in 795 ms returned sat
[2023-03-10 16:12:57] [INFO ] Computed and/alt/rep : 2956/22508/2956 causal constraints (skipped 0 transitions) in 187 ms.
Minimization took 413 ms.
[2023-03-10 16:12:58] [INFO ] [Real]Absence check using 1 positive place invariants in 6 ms returned sat
[2023-03-10 16:12:58] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2023-03-10 16:12:58] [INFO ] [Real]Absence check using state equation in 735 ms returned sat
[2023-03-10 16:12:59] [INFO ] Computed and/alt/rep : 2956/22508/2956 causal constraints (skipped 0 transitions) in 271 ms.
Minimization took 342 ms.
[2023-03-10 16:13:00] [INFO ] [Real]Absence check using 1 positive place invariants in 9 ms returned sat
[2023-03-10 16:13:00] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2023-03-10 16:13:00] [INFO ] [Real]Absence check using state equation in 740 ms returned sat
[2023-03-10 16:13:00] [INFO ] Solution in real domain found non-integer solution.
[2023-03-10 16:13:00] [INFO ] [Nat]Absence check using 1 positive place invariants in 9 ms returned sat
[2023-03-10 16:13:00] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2023-03-10 16:13:01] [INFO ] [Nat]Absence check using state equation in 727 ms returned sat
[2023-03-10 16:13:02] [INFO ] Computed and/alt/rep : 2956/22508/2956 causal constraints (skipped 0 transitions) in 207 ms.
Minimization took 519 ms.
[2023-03-10 16:13:02] [INFO ] [Real]Absence check using 1 positive place invariants in 9 ms returned sat
[2023-03-10 16:13:02] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2023-03-10 16:13:03] [INFO ] [Real]Absence check using state equation in 782 ms returned sat
[2023-03-10 16:13:03] [INFO ] Computed and/alt/rep : 2956/22508/2956 causal constraints (skipped 0 transitions) in 206 ms.
Minimization took 482 ms.
[2023-03-10 16:13:04] [INFO ] [Real]Absence check using 1 positive place invariants in 9 ms returned sat
[2023-03-10 16:13:04] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2023-03-10 16:13:05] [INFO ] [Real]Absence check using state equation in 772 ms returned sat
[2023-03-10 16:13:05] [INFO ] Solution in real domain found non-integer solution.
[2023-03-10 16:13:05] [INFO ] [Nat]Absence check using 1 positive place invariants in 9 ms returned sat
[2023-03-10 16:13:05] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2023-03-10 16:13:06] [INFO ] [Nat]Absence check using state equation in 820 ms returned sat
[2023-03-10 16:13:06] [INFO ] Computed and/alt/rep : 2956/22508/2956 causal constraints (skipped 0 transitions) in 264 ms.
Minimization took 445 ms.
[2023-03-10 16:13:07] [INFO ] [Real]Absence check using 1 positive place invariants in 9 ms returned sat
[2023-03-10 16:13:07] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2023-03-10 16:13:08] [INFO ] [Real]Absence check using state equation in 904 ms returned sat
[2023-03-10 16:13:08] [INFO ] Computed and/alt/rep : 2956/22508/2956 causal constraints (skipped 0 transitions) in 259 ms.
Minimization took 441 ms.
[2023-03-10 16:13:09] [INFO ] [Real]Absence check using 1 positive place invariants in 6 ms returned sat
[2023-03-10 16:13:09] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2023-03-10 16:13:10] [INFO ] [Real]Absence check using state equation in 764 ms returned sat
[2023-03-10 16:13:10] [INFO ] Computed and/alt/rep : 2956/22508/2956 causal constraints (skipped 0 transitions) in 348 ms.
Minimization took 578 ms.
[2023-03-10 16:13:11] [INFO ] [Real]Absence check using 1 positive place invariants in 6 ms returned sat
[2023-03-10 16:13:11] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2023-03-10 16:13:12] [INFO ] [Real]Absence check using state equation in 635 ms returned sat
[2023-03-10 16:13:12] [INFO ] Solution in real domain found non-integer solution.
[2023-03-10 16:13:12] [INFO ] [Nat]Absence check using 1 positive place invariants in 6 ms returned sat
[2023-03-10 16:13:12] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2023-03-10 16:13:13] [INFO ] [Nat]Absence check using state equation in 772 ms returned sat
[2023-03-10 16:13:13] [INFO ] Computed and/alt/rep : 2956/22508/2956 causal constraints (skipped 0 transitions) in 171 ms.
Minimization took 386 ms.
[2023-03-10 16:13:14] [INFO ] [Real]Absence check using 1 positive place invariants in 9 ms returned sat
[2023-03-10 16:13:14] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2023-03-10 16:13:15] [INFO ] [Real]Absence check using state equation in 932 ms returned sat
[2023-03-10 16:13:15] [INFO ] Computed and/alt/rep : 2956/22508/2956 causal constraints (skipped 0 transitions) in 320 ms.
Minimization took 624 ms.
[2023-03-10 16:13:16] [INFO ] [Real]Absence check using 1 positive place invariants in 9 ms returned sat
[2023-03-10 16:13:16] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2023-03-10 16:13:17] [INFO ] [Real]Absence check using state equation in 929 ms returned sat
[2023-03-10 16:13:17] [INFO ] Computed and/alt/rep : 2956/22508/2956 causal constraints (skipped 0 transitions) in 303 ms.
Minimization took 557 ms.
Current structural bounds on expressions (after SMT) : [150, 150, 150, 150, 150, 150, 150, 150, 150, 150, 150, 150, 150, 150] Max seen :[7, 0, 0, 0, 0, 1, 0, 1, 0, 1, 1, 0, 1, 1]
FORMULA Diffusion2D-PT-D20N150-UpperBounds-15 150 TECHNIQUES TOPOLOGICAL PARIKH_WALK
FORMULA Diffusion2D-PT-D20N150-UpperBounds-14 150 TECHNIQUES TOPOLOGICAL PARIKH_WALK
FORMULA Diffusion2D-PT-D20N150-UpperBounds-11 150 TECHNIQUES TOPOLOGICAL PARIKH_WALK
FORMULA Diffusion2D-PT-D20N150-UpperBounds-08 150 TECHNIQUES TOPOLOGICAL PARIKH_WALK
FORMULA Diffusion2D-PT-D20N150-UpperBounds-03 150 TECHNIQUES TOPOLOGICAL PARIKH_WALK
FORMULA Diffusion2D-PT-D20N150-UpperBounds-00 150 TECHNIQUES TOPOLOGICAL PARIKH_WALK
FORMULA Diffusion2D-PT-D20N150-UpperBounds-05 150 TECHNIQUES TOPOLOGICAL PARIKH_WALK
FORMULA Diffusion2D-PT-D20N150-UpperBounds-02 150 TECHNIQUES TOPOLOGICAL PARIKH_WALK
FORMULA Diffusion2D-PT-D20N150-UpperBounds-13 150 TECHNIQUES TOPOLOGICAL PARIKH_WALK
FORMULA Diffusion2D-PT-D20N150-UpperBounds-12 150 TECHNIQUES TOPOLOGICAL PARIKH_WALK
FORMULA Diffusion2D-PT-D20N150-UpperBounds-04 150 TECHNIQUES TOPOLOGICAL PARIKH_WALK
FORMULA Diffusion2D-PT-D20N150-UpperBounds-09 150 TECHNIQUES TOPOLOGICAL PARIKH_WALK
FORMULA Diffusion2D-PT-D20N150-UpperBounds-06 150 TECHNIQUES TOPOLOGICAL PARIKH_WALK
FORMULA Diffusion2D-PT-D20N150-UpperBounds-01 150 TECHNIQUES TOPOLOGICAL PARIKH_WALK
All properties solved without resorting to model-checking.
Total runtime 202323 ms.

BK_STOP 1678464964723

--------------------
content from stderr:

+ export LANG=C
+ LANG=C
+ export BINDIR=/home/mcc/BenchKit/bin//../
+ BINDIR=/home/mcc/BenchKit/bin//../
++ pwd
+ export MODEL=/home/mcc/execution
+ MODEL=/home/mcc/execution
+ [[ UpperBounds = StateSpace ]]
+ /home/mcc/BenchKit/bin//..//runeclipse.sh /home/mcc/execution UpperBounds -its -ltsmin -greatspnpath /home/mcc/BenchKit/bin//..//greatspn/ -order META -manyOrder -smt -timeout 3600
+ ulimit -s 65536
+ export PYTHONPATH=/usr/lib/python3.9/site-packages/
+ PYTHONPATH=/usr/lib/python3.9/site-packages/
+ export LD_LIBRARY_PATH=/usr/local/lib:
+ LD_LIBRARY_PATH=/usr/local/lib:
+ [[ -z '' ]]
+ export LTSMIN_MEM_SIZE=8589934592
+ LTSMIN_MEM_SIZE=8589934592
++ sed s/.jar//
++ perl -pe 's/.*\.//g'
++ ls /home/mcc/BenchKit/bin//..//itstools/plugins/fr.lip6.move.gal.application.pnmcc_1.0.0.202205111006.jar
+ VERSION=202205111006
+ echo 'Running Version 202205111006'
+ /home/mcc/BenchKit/bin//..//itstools/its-tools -data @none -pnfolder /home/mcc/execution -examination UpperBounds -spotpath /home/mcc/BenchKit/bin//..//ltlfilt -z3path /home/mcc/BenchKit/bin//..//z3/bin/z3 -yices2path /home/mcc/BenchKit/bin//..//yices/bin/yices -its -ltsmin -greatspnpath /home/mcc/BenchKit/bin//..//greatspn/ -order META -manyOrder -smt -timeout 3600 -vmargs -Dosgi.locking=none -Declipse.stateSaveDelayInterval=-1 -Dosgi.configuration.area=@none -Xss128m -Xms40m -Xmx8192m

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-D20N150"
export BK_EXAMINATION="UpperBounds"
export BK_TOOL="gold2022"
export BK_RESULT_DIR="/tmp/BK_RESULTS/OUTPUTS"
export BK_TIME_CONFINEMENT="3600"
export BK_MEMORY_CONFINEMENT="16384"
export BK_BIN_PATH="/home/mcc/BenchKit/bin/"

# 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-5348"
echo " Executing tool gold2022"
echo " Input is Diffusion2D-PT-D20N150, 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 r159-smll-167819445100023"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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