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

About the Execution of 2022-gold for SieveSingleMsgMbox-PT-d2m04

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
240.428 8650.00 16156.00 58.60 F 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/mcc2023-input.r448-tajo-167905989900282.qcow2', fmt=qcow2 size=4294967296 backing_file='/mnt/tpsp/fkordon/mcc2023-input.qcow2' encryption=off cluster_size=65536 lazy_refcounts=off
Waiting for the VM to be ready (probing ssh)
...................
=====================================================================
Generated by BenchKit 2-5348
Executing tool gold2022
Input is SieveSingleMsgMbox-PT-d2m04, examination is QuasiLiveness
Time confinement is 1800 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r448-tajo-167905989900282
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 1.6M
-rw-r--r-- 1 mcc users 7.9K Feb 26 10:29 CTLCardinality.txt
-rw-r--r-- 1 mcc users 87K Feb 26 10:29 CTLCardinality.xml
-rw-r--r-- 1 mcc users 5.4K Feb 26 10:28 CTLFireability.txt
-rw-r--r-- 1 mcc users 48K Feb 26 10:28 CTLFireability.xml
-rw-r--r-- 1 mcc users 3.9K Feb 25 17:06 LTLCardinality.txt
-rw-r--r-- 1 mcc users 27K Feb 25 17:06 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.4K Feb 25 17:06 LTLFireability.txt
-rw-r--r-- 1 mcc users 17K Feb 25 17:06 LTLFireability.xml
-rw-r--r-- 1 mcc users 17K Feb 26 10:32 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 186K Feb 26 10:32 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 9.6K Feb 26 10:30 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 83K Feb 26 10:30 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.8K Feb 25 17:06 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.8K Feb 25 17:06 UpperBounds.xml
-rw-r--r-- 1 mcc users 6 Mar 5 18:23 equiv_col
-rw-r--r-- 1 mcc users 6 Mar 5 18:23 instance
-rw-r--r-- 1 mcc users 6 Mar 5 18:23 iscolored
-rw-r--r-- 1 mcc users 1.1M Mar 5 18:23 model.pnml

--------------------
content from stdout:

=== Data for post analysis generated by BenchKit (invocation template)

The expected result is a vector of booleans
BOOL_VECTOR

FORMULA_NAME QuasiLiveness

=== Now, execution of the tool begins

BK_START 1679476992458

Running Version 202205111006
[2023-03-22 09:23:13] [INFO ] Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, QuasiLiveness, -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, 1800]
[2023-03-22 09:23:13] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2023-03-22 09:23:14] [INFO ] Load time of PNML (sax parser for PT used): 198 ms
[2023-03-22 09:23:14] [INFO ] Transformed 2398 places.
[2023-03-22 09:23:14] [INFO ] Transformed 1954 transitions.
[2023-03-22 09:23:14] [INFO ] Parsed PT model containing 2398 places and 1954 transitions in 316 ms.
Starting structural reductions in LIVENESS mode, iteration 0 : 2398/2398 places, 1954/1954 transitions.
Reduce places removed 2009 places and 0 transitions.
Ensure Unique test removed 828 transitions
Reduce isomorphic transitions removed 828 transitions.
Iterating post reduction 0 with 2837 rules applied. Total rules applied 2837 place count 389 transition count 1126
Discarding 119 places :
Symmetric choice reduction at 1 with 119 rule applications. Total rules 2956 place count 270 transition count 374
Iterating global reduction 1 with 119 rules applied. Total rules applied 3075 place count 270 transition count 374
Ensure Unique test removed 10 transitions
Reduce isomorphic transitions removed 10 transitions.
Iterating post reduction 1 with 10 rules applied. Total rules applied 3085 place count 270 transition count 364
Discarding 93 places :
Symmetric choice reduction at 2 with 93 rule applications. Total rules 3178 place count 177 transition count 271
Iterating global reduction 2 with 93 rules applied. Total rules applied 3271 place count 177 transition count 271
Ensure Unique test removed 36 transitions
Reduce isomorphic transitions removed 36 transitions.
Iterating post reduction 2 with 36 rules applied. Total rules applied 3307 place count 177 transition count 235
Discarding 39 places :
Symmetric choice reduction at 3 with 39 rule applications. Total rules 3346 place count 138 transition count 181
Iterating global reduction 3 with 39 rules applied. Total rules applied 3385 place count 138 transition count 181
Ensure Unique test removed 24 transitions
Reduce isomorphic transitions removed 24 transitions.
Iterating post reduction 3 with 24 rules applied. Total rules applied 3409 place count 138 transition count 157
Discarding 10 places :
Symmetric choice reduction at 4 with 10 rule applications. Total rules 3419 place count 128 transition count 142
Iterating global reduction 4 with 10 rules applied. Total rules applied 3429 place count 128 transition count 142
Discarding 10 places :
Symmetric choice reduction at 4 with 10 rule applications. Total rules 3439 place count 118 transition count 132
Iterating global reduction 4 with 10 rules applied. Total rules applied 3449 place count 118 transition count 132
Discarding 6 places :
Symmetric choice reduction at 4 with 6 rule applications. Total rules 3455 place count 112 transition count 125
Iterating global reduction 4 with 6 rules applied. Total rules applied 3461 place count 112 transition count 125
Ensure Unique test removed 2 transitions
Reduce isomorphic transitions removed 2 transitions.
Iterating post reduction 4 with 2 rules applied. Total rules applied 3463 place count 112 transition count 123
Discarding 6 places :
Symmetric choice reduction at 5 with 6 rule applications. Total rules 3469 place count 106 transition count 117
Iterating global reduction 5 with 6 rules applied. Total rules applied 3475 place count 106 transition count 117
Discarding 4 places :
Symmetric choice reduction at 5 with 4 rule applications. Total rules 3479 place count 102 transition count 113
Iterating global reduction 5 with 4 rules applied. Total rules applied 3483 place count 102 transition count 113
Discarding 2 places :
Symmetric choice reduction at 5 with 2 rule applications. Total rules 3485 place count 100 transition count 109
Iterating global reduction 5 with 2 rules applied. Total rules applied 3487 place count 100 transition count 109
Discarding 1 places :
Symmetric choice reduction at 5 with 1 rule applications. Total rules 3488 place count 99 transition count 108
Iterating global reduction 5 with 1 rules applied. Total rules applied 3489 place count 99 transition count 108
Discarding 1 places :
Symmetric choice reduction at 5 with 1 rule applications. Total rules 3490 place count 98 transition count 107
Iterating global reduction 5 with 1 rules applied. Total rules applied 3491 place count 98 transition count 107
Applied a total of 3491 rules in 126 ms. Remains 98 /2398 variables (removed 2300) and now considering 107/1954 (removed 1847) transitions.
// Phase 1: matrix 107 rows 98 cols
[2023-03-22 09:23:14] [INFO ] Computed 5 place invariants in 12 ms
[2023-03-22 09:23:14] [INFO ] Implicit Places using invariants in 215 ms returned []
// Phase 1: matrix 107 rows 98 cols
[2023-03-22 09:23:14] [INFO ] Computed 5 place invariants in 13 ms
[2023-03-22 09:23:14] [INFO ] State equation strengthened by 41 read => feed constraints.
[2023-03-22 09:23:14] [INFO ] Implicit Places using invariants and state equation in 227 ms returned []
Implicit Place search using SMT with State Equation took 468 ms to find 0 implicit places.
// Phase 1: matrix 107 rows 98 cols
[2023-03-22 09:23:14] [INFO ] Computed 5 place invariants in 6 ms
[2023-03-22 09:23:14] [INFO ] Dead Transitions using invariants and state equation in 110 ms found 0 transitions.
Starting structural reductions in LIVENESS mode, iteration 1 : 98/2398 places, 107/1954 transitions.
Finished structural reductions, in 1 iterations. Remains : 98/2398 places, 107/1954 transitions.
Discarding 20 transitions out of 107. Remains 87
Initial state reduction rules removed 1 formulas.
Incomplete random walk after 10000 steps, including 2247 resets, run finished after 607 ms. (steps per millisecond=16 ) properties (out of 86) seen :20
Incomplete Best-First random walk after 1000 steps, including 46 resets, run finished after 17 ms. (steps per millisecond=58 ) properties (out of 66) seen :0
Incomplete Best-First random walk after 1001 steps, including 51 resets, run finished after 33 ms. (steps per millisecond=30 ) properties (out of 66) seen :0
Incomplete Best-First random walk after 1000 steps, including 55 resets, run finished after 14 ms. (steps per millisecond=71 ) properties (out of 66) seen :0
Incomplete Best-First random walk after 1000 steps, including 49 resets, run finished after 14 ms. (steps per millisecond=71 ) properties (out of 66) seen :0
Incomplete Best-First random walk after 1000 steps, including 54 resets, run finished after 16 ms. (steps per millisecond=62 ) properties (out of 66) seen :0
Incomplete Best-First random walk after 1000 steps, including 51 resets, run finished after 65 ms. (steps per millisecond=15 ) properties (out of 66) seen :0
Incomplete Best-First random walk after 1001 steps, including 54 resets, run finished after 15 ms. (steps per millisecond=66 ) properties (out of 66) seen :0
Incomplete Best-First random walk after 1001 steps, including 53 resets, run finished after 15 ms. (steps per millisecond=66 ) properties (out of 66) seen :0
Incomplete Best-First random walk after 1000 steps, including 40 resets, run finished after 15 ms. (steps per millisecond=66 ) properties (out of 66) seen :0
Incomplete Best-First random walk after 1001 steps, including 52 resets, run finished after 17 ms. (steps per millisecond=58 ) properties (out of 66) seen :0
Incomplete Best-First random walk after 1001 steps, including 48 resets, run finished after 31 ms. (steps per millisecond=32 ) properties (out of 66) seen :0
Incomplete Best-First random walk after 1001 steps, including 54 resets, run finished after 11 ms. (steps per millisecond=91 ) properties (out of 66) seen :0
Incomplete Best-First random walk after 1000 steps, including 61 resets, run finished after 11 ms. (steps per millisecond=90 ) properties (out of 66) seen :0
Incomplete Best-First random walk after 1000 steps, including 43 resets, run finished after 10 ms. (steps per millisecond=100 ) properties (out of 66) seen :0
Incomplete Best-First random walk after 1001 steps, including 46 resets, run finished after 10 ms. (steps per millisecond=100 ) properties (out of 66) seen :0
Incomplete Best-First random walk after 1001 steps, including 42 resets, run finished after 10 ms. (steps per millisecond=100 ) properties (out of 66) seen :0
Incomplete Best-First random walk after 1000 steps, including 55 resets, run finished after 12 ms. (steps per millisecond=83 ) properties (out of 66) seen :0
Incomplete Best-First random walk after 1000 steps, including 56 resets, run finished after 11 ms. (steps per millisecond=90 ) properties (out of 66) seen :0
Incomplete Best-First random walk after 1001 steps, including 46 resets, run finished after 11 ms. (steps per millisecond=91 ) properties (out of 66) seen :0
Incomplete Best-First random walk after 1001 steps, including 51 resets, run finished after 11 ms. (steps per millisecond=91 ) properties (out of 66) seen :0
Incomplete Best-First random walk after 1000 steps, including 55 resets, run finished after 11 ms. (steps per millisecond=90 ) properties (out of 66) seen :0
Incomplete Best-First random walk after 1001 steps, including 50 resets, run finished after 11 ms. (steps per millisecond=91 ) properties (out of 66) seen :0
Incomplete Best-First random walk after 1001 steps, including 52 resets, run finished after 11 ms. (steps per millisecond=91 ) properties (out of 66) seen :0
Incomplete Best-First random walk after 1001 steps, including 51 resets, run finished after 21 ms. (steps per millisecond=47 ) properties (out of 66) seen :0
Incomplete Best-First random walk after 1001 steps, including 41 resets, run finished after 23 ms. (steps per millisecond=43 ) properties (out of 66) seen :1
Incomplete Best-First random walk after 1000 steps, including 47 resets, run finished after 24 ms. (steps per millisecond=41 ) properties (out of 65) seen :0
Incomplete Best-First random walk after 1000 steps, including 38 resets, run finished after 21 ms. (steps per millisecond=47 ) properties (out of 65) seen :0
Incomplete Best-First random walk after 1001 steps, including 48 resets, run finished after 24 ms. (steps per millisecond=41 ) properties (out of 65) seen :0
Incomplete Best-First random walk after 1000 steps, including 50 resets, run finished after 22 ms. (steps per millisecond=45 ) properties (out of 65) seen :0
Incomplete Best-First random walk after 1001 steps, including 55 resets, run finished after 11 ms. (steps per millisecond=91 ) properties (out of 65) seen :0
Incomplete Best-First random walk after 1001 steps, including 45 resets, run finished after 14 ms. (steps per millisecond=71 ) properties (out of 65) seen :0
Incomplete Best-First random walk after 1000 steps, including 48 resets, run finished after 15 ms. (steps per millisecond=66 ) properties (out of 65) seen :0
Incomplete Best-First random walk after 1001 steps, including 44 resets, run finished after 18 ms. (steps per millisecond=55 ) properties (out of 65) seen :0
Incomplete Best-First random walk after 1000 steps, including 49 resets, run finished after 11 ms. (steps per millisecond=90 ) properties (out of 65) seen :0
Incomplete Best-First random walk after 1001 steps, including 36 resets, run finished after 14 ms. (steps per millisecond=71 ) properties (out of 65) seen :0
Incomplete Best-First random walk after 1001 steps, including 40 resets, run finished after 16 ms. (steps per millisecond=62 ) properties (out of 65) seen :0
Incomplete Best-First random walk after 1001 steps, including 38 resets, run finished after 10 ms. (steps per millisecond=100 ) properties (out of 65) seen :0
Incomplete Best-First random walk after 1001 steps, including 38 resets, run finished after 10 ms. (steps per millisecond=100 ) properties (out of 65) seen :0
Incomplete Best-First random walk after 1001 steps, including 55 resets, run finished after 11 ms. (steps per millisecond=91 ) properties (out of 65) seen :0
Incomplete Best-First random walk after 1001 steps, including 52 resets, run finished after 12 ms. (steps per millisecond=83 ) properties (out of 65) seen :0
Incomplete Best-First random walk after 1001 steps, including 46 resets, run finished after 10 ms. (steps per millisecond=100 ) properties (out of 65) seen :0
Incomplete Best-First random walk after 1000 steps, including 54 resets, run finished after 11 ms. (steps per millisecond=90 ) properties (out of 65) seen :0
Incomplete Best-First random walk after 1000 steps, including 53 resets, run finished after 11 ms. (steps per millisecond=90 ) properties (out of 65) seen :0
Incomplete Best-First random walk after 1000 steps, including 200 resets, run finished after 20 ms. (steps per millisecond=50 ) properties (out of 65) seen :0
Incomplete Best-First random walk after 1000 steps, including 200 resets, run finished after 19 ms. (steps per millisecond=52 ) properties (out of 65) seen :0
Incomplete Best-First random walk after 1001 steps, including 107 resets, run finished after 14 ms. (steps per millisecond=71 ) properties (out of 65) seen :0
Incomplete Best-First random walk after 1000 steps, including 88 resets, run finished after 13 ms. (steps per millisecond=76 ) properties (out of 65) seen :0
Incomplete Best-First random walk after 1001 steps, including 112 resets, run finished after 14 ms. (steps per millisecond=71 ) properties (out of 65) seen :0
Incomplete Best-First random walk after 1000 steps, including 94 resets, run finished after 14 ms. (steps per millisecond=71 ) properties (out of 65) seen :0
Incomplete Best-First random walk after 1000 steps, including 103 resets, run finished after 14 ms. (steps per millisecond=71 ) properties (out of 65) seen :0
Incomplete Best-First random walk after 1001 steps, including 111 resets, run finished after 11 ms. (steps per millisecond=91 ) properties (out of 65) seen :0
Incomplete Best-First random walk after 1000 steps, including 100 resets, run finished after 15 ms. (steps per millisecond=66 ) properties (out of 65) seen :0
Incomplete Best-First random walk after 1001 steps, including 104 resets, run finished after 15 ms. (steps per millisecond=66 ) properties (out of 65) seen :0
Incomplete Best-First random walk after 1000 steps, including 110 resets, run finished after 12 ms. (steps per millisecond=83 ) properties (out of 65) seen :0
Incomplete Best-First random walk after 1000 steps, including 96 resets, run finished after 17 ms. (steps per millisecond=58 ) properties (out of 65) seen :0
Incomplete Best-First random walk after 1000 steps, including 103 resets, run finished after 16 ms. (steps per millisecond=62 ) properties (out of 65) seen :0
Incomplete Best-First random walk after 1001 steps, including 87 resets, run finished after 17 ms. (steps per millisecond=58 ) properties (out of 65) seen :0
Incomplete Best-First random walk after 1001 steps, including 84 resets, run finished after 16 ms. (steps per millisecond=62 ) properties (out of 65) seen :0
Incomplete Best-First random walk after 1001 steps, including 87 resets, run finished after 16 ms. (steps per millisecond=62 ) properties (out of 65) seen :0
Incomplete Best-First random walk after 1000 steps, including 101 resets, run finished after 15 ms. (steps per millisecond=66 ) properties (out of 65) seen :0
Incomplete Best-First random walk after 1000 steps, including 110 resets, run finished after 28 ms. (steps per millisecond=35 ) properties (out of 65) seen :0
Incomplete Best-First random walk after 1001 steps, including 110 resets, run finished after 23 ms. (steps per millisecond=43 ) properties (out of 65) seen :0
Incomplete Best-First random walk after 1000 steps, including 114 resets, run finished after 15 ms. (steps per millisecond=66 ) properties (out of 65) seen :0
Incomplete Best-First random walk after 1001 steps, including 99 resets, run finished after 14 ms. (steps per millisecond=71 ) properties (out of 65) seen :0
Incomplete Best-First random walk after 1001 steps, including 102 resets, run finished after 13 ms. (steps per millisecond=77 ) properties (out of 65) seen :0
Incomplete Best-First random walk after 1001 steps, including 90 resets, run finished after 13 ms. (steps per millisecond=77 ) properties (out of 65) seen :0
Running SMT prover for 65 properties.
// Phase 1: matrix 107 rows 98 cols
[2023-03-22 09:23:16] [INFO ] Computed 5 place invariants in 1 ms
[2023-03-22 09:23:16] [INFO ] [Real]Absence check using 2 positive place invariants in 1 ms returned sat
[2023-03-22 09:23:16] [INFO ] [Real]Absence check using 2 positive and 3 generalized place invariants in 2 ms returned sat
[2023-03-22 09:23:17] [INFO ] After 662ms SMT Verify possible using state equation in real domain returned unsat :13 sat :8 real:44
[2023-03-22 09:23:17] [INFO ] State equation strengthened by 41 read => feed constraints.
[2023-03-22 09:23:17] [INFO ] After 58ms SMT Verify possible using 41 Read/Feed constraints in real domain returned unsat :13 sat :5 real:47
[2023-03-22 09:23:17] [INFO ] After 129ms SMT Verify possible using trap constraints in real domain returned unsat :13 sat :0 real:52
[2023-03-22 09:23:17] [INFO ] After 1188ms SMT Verify possible using all constraints in real domain returned unsat :13 sat :0 real:52
[2023-03-22 09:23:17] [INFO ] [Nat]Absence check using 2 positive place invariants in 11 ms returned sat
[2023-03-22 09:23:17] [INFO ] [Nat]Absence check using 2 positive and 3 generalized place invariants in 2 ms returned sat
[2023-03-22 09:23:18] [INFO ] After 515ms SMT Verify possible using state equation in natural domain returned unsat :13 sat :52
[2023-03-22 09:23:19] [INFO ] After 665ms SMT Verify possible using 41 Read/Feed constraints in natural domain returned unsat :13 sat :52
[2023-03-22 09:23:19] [INFO ] Deduced a trap composed of 23 places in 45 ms of which 7 ms to minimize.
[2023-03-22 09:23:19] [INFO ] Trap strengthening (SAT) tested/added 2/1 trap constraints in 70 ms
[2023-03-22 09:23:20] [INFO ] After 1637ms SMT Verify possible using trap constraints in natural domain returned unsat :15 sat :50
Attempting to minimize the solution found.
Minimization took 830 ms.
[2023-03-22 09:23:21] [INFO ] After 3339ms SMT Verify possible using all constraints in natural domain returned unsat :15 sat :50
FORMULA QuasiLiveness FALSE TECHNIQUES RANDOM_WALK STRUCTURAL_REDUCTION BESTFIRST_WALK TOPOLOGICAL INITIAL_STATE SAT_SMT
Total runtime 7351 ms.

BK_STOP 1679477001108

--------------------
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
+ [[ QuasiLiveness = StateSpace ]]
+ /home/mcc/BenchKit/bin//..//runeclipse.sh /home/mcc/execution QuasiLiveness -its -ltsmin -greatspnpath /home/mcc/BenchKit/bin//..//greatspn/ -order META -manyOrder -smt -timeout 1800
+ 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 QuasiLiveness -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 1800 -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="SieveSingleMsgMbox-PT-d2m04"
export BK_EXAMINATION="QuasiLiveness"
export BK_TOOL="gold2022"
export BK_RESULT_DIR="/tmp/BK_RESULTS/OUTPUTS"
export BK_TIME_CONFINEMENT="1800"
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 SieveSingleMsgMbox-PT-d2m04, examination is QuasiLiveness"
echo " Time confinement is $BK_TIME_CONFINEMENT seconds"
echo " Memory confinement is 16384 MBytes"
echo " Number of cores is 4"
echo " Run identifier is r448-tajo-167905989900282"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

tar xzf /home/mcc/BenchKit/INPUTS/SieveSingleMsgMbox-PT-d2m04.tgz
mv SieveSingleMsgMbox-PT-d2m04 execution
cd execution
if [ "QuasiLiveness" = "ReachabilityDeadlock" ] || [ "QuasiLiveness" = "UpperBounds" ] || [ "QuasiLiveness" = "QuasiLiveness" ] || [ "QuasiLiveness" = "StableMarking" ] || [ "QuasiLiveness" = "Liveness" ] || [ "QuasiLiveness" = "OneSafe" ] || [ "QuasiLiveness" = "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 [ "QuasiLiveness" = "UpperBounds" ] ; then
echo "The expected result is a vector of positive values"
echo NUM_VECTOR
elif [ "QuasiLiveness" != "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 "QuasiLiveness.txt" ] ; then
echo "here is the order used to build the result vector(from text file)"
for x in $(grep Property QuasiLiveness.txt | cut -d ' ' -f 2 | sort -u) ; do
echo "FORMULA_NAME $x"
done
elif [ -f "QuasiLiveness.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 '' QuasiLiveness.xml | cut -d '>' -f 2 | cut -d '<' -f 1 | sort -u) ; do
echo "FORMULA_NAME $x"
done
elif [ "QuasiLiveness" = "ReachabilityDeadlock" ] || [ "QuasiLiveness" = "QuasiLiveness" ] || [ "QuasiLiveness" = "StableMarking" ] || [ "QuasiLiveness" = "Liveness" ] || [ "QuasiLiveness" = "OneSafe" ] ; then
echo "FORMULA_NAME QuasiLiveness"
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 ;