fond
Model Checking Contest 2021
11th edition, Paris, France, June 23, 2021
Execution of r071-tall-162039088600032
Last Updated
Jun 28, 2021

About the Execution of ITS-Tools for DES-PT-05a

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
690.260 21133.00 27664.00 464.00 T normal

Execution Chart

We display below the execution chart for this examination (boot time has been removed).

Trace from the execution

Formatting '/data/fkordon/mcc2021-input.r071-tall-162039088600032.qcow2', fmt=qcow2 size=4294967296 backing_file='/data/fkordon/mcc2021-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 DES-PT-05a, examination is QuasiLiveness
Time confinement is 1800 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r071-tall-162039088600032
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 376K
-rw-r--r-- 1 mcc users 11K May 5 16:58 CTLCardinality.txt
-rw-r--r-- 1 mcc users 99K May 5 16:58 CTLCardinality.xml
-rw-r--r-- 1 mcc users 8.9K May 5 16:58 CTLFireability.txt
-rw-r--r-- 1 mcc users 88K May 5 16:58 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.2K May 6 14:48 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 3.1K Mar 28 15:55 LTLCardinality.txt
-rw-r--r-- 1 mcc users 23K Mar 28 15:55 LTLCardinality.xml
-rw-r--r-- 1 mcc users 1.8K Mar 28 15:55 LTLFireability.txt
-rw-r--r-- 1 mcc users 16K Mar 28 15:55 LTLFireability.xml
-rw-r--r-- 1 mcc users 4.0K Mar 23 03:23 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 23K Mar 23 03:23 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 2.4K Mar 22 12:53 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 15K Mar 22 12:53 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.5K Mar 22 09:10 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.5K Mar 22 09:10 UpperBounds.xml
-rw-r--r-- 1 mcc users 6 May 5 16:51 equiv_col
-rw-r--r-- 1 mcc users 4 May 5 16:51 instance
-rw-r--r-- 1 mcc users 6 May 5 16:51 iscolored
-rw-r--r-- 1 mcc users 37K May 5 16:51 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 1620477680077

Running Version 0
[2021-05-08 12:41:21] [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]
[2021-05-08 12:41:21] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2021-05-08 12:41:21] [INFO ] Load time of PNML (sax parser for PT used): 147 ms
[2021-05-08 12:41:21] [INFO ] Transformed 135 places.
[2021-05-08 12:41:21] [INFO ] Transformed 92 transitions.
[2021-05-08 12:41:21] [INFO ] Found NUPN structural information;
[2021-05-08 12:41:21] [INFO ] Parsed PT model containing 135 places and 92 transitions in 186 ms.
Starting structural reductions, iteration 0 : 135/135 places, 92/92 transitions.
Ensure Unique test removed 14 transitions
Reduce isomorphic transitions removed 14 transitions.
Iterating post reduction 0 with 14 rules applied. Total rules applied 14 place count 135 transition count 78
Discarding 1 places :
Symmetric choice reduction at 1 with 1 rule applications. Total rules 15 place count 134 transition count 77
Iterating global reduction 1 with 1 rules applied. Total rules applied 16 place count 134 transition count 77
Applied a total of 16 rules in 31 ms. Remains 134 /135 variables (removed 1) and now considering 77/92 (removed 15) transitions.
// Phase 1: matrix 77 rows 134 cols
[2021-05-08 12:41:21] [INFO ] Computed 59 place invariants in 19 ms
[2021-05-08 12:41:21] [INFO ] Implicit Places using invariants in 199 ms returned [32]
Discarding 1 places :
Implicit Place search using SMT only with invariants took 232 ms to find 1 implicit places.
// Phase 1: matrix 77 rows 133 cols
[2021-05-08 12:41:21] [INFO ] Computed 58 place invariants in 4 ms
[2021-05-08 12:41:22] [INFO ] Dead Transitions using invariants and state equation in 81 ms returned []
Starting structural reductions, iteration 1 : 133/135 places, 77/92 transitions.
Applied a total of 0 rules in 21 ms. Remains 133 /133 variables (removed 0) and now considering 77/77 (removed 0) transitions.
// Phase 1: matrix 77 rows 133 cols
[2021-05-08 12:41:22] [INFO ] Computed 58 place invariants in 5 ms
[2021-05-08 12:41:22] [INFO ] Dead Transitions using invariants and state equation in 79 ms returned []
Finished structural reductions, in 2 iterations. Remains : 133/135 places, 77/92 transitions.
Discarding 9 transitions out of 77. Remains 68
[2021-05-08 12:41:22] [INFO ] Initial state test concluded for 1 properties.
Incomplete random walk after 10000 steps, including 222 resets, run finished after 70 ms. (steps per millisecond=142 ) properties (out of 67) seen :61
Incomplete Best-First random walk after 10000 steps, including 46 resets, run finished after 21 ms. (steps per millisecond=476 ) properties (out of 6) seen :2
Incomplete Best-First random walk after 10001 steps, including 45 resets, run finished after 19 ms. (steps per millisecond=526 ) properties (out of 4) seen :0
Incomplete Best-First random walk after 10001 steps, including 46 resets, run finished after 17 ms. (steps per millisecond=588 ) properties (out of 4) seen :0
Incomplete Best-First random walk after 10001 steps, including 51 resets, run finished after 20 ms. (steps per millisecond=500 ) properties (out of 4) seen :0
Running SMT prover for 4 properties.
// Phase 1: matrix 77 rows 133 cols
[2021-05-08 12:41:22] [INFO ] Computed 58 place invariants in 2 ms
[2021-05-08 12:41:22] [INFO ] [Real]Absence check using 33 positive place invariants in 5 ms returned sat
[2021-05-08 12:41:22] [INFO ] [Real]Absence check using 33 positive and 25 generalized place invariants in 5 ms returned sat
[2021-05-08 12:41:22] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2021-05-08 12:41:22] [INFO ] [Real]Absence check using state equation in 29 ms returned sat
[2021-05-08 12:41:22] [INFO ] Computed and/alt/rep : 74/240/74 causal constraints (skipped 2 transitions) in 5 ms.
[2021-05-08 12:41:22] [INFO ] Solution in real domain found non-integer solution.
[2021-05-08 12:41:22] [INFO ] [Nat]Absence check using 33 positive place invariants in 10 ms returned sat
[2021-05-08 12:41:22] [INFO ] [Nat]Absence check using 33 positive and 25 generalized place invariants in 5 ms returned sat
[2021-05-08 12:41:22] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2021-05-08 12:41:22] [INFO ] [Nat]Absence check using state equation in 72 ms returned sat
[2021-05-08 12:41:22] [INFO ] Deduced a trap composed of 12 places in 50 ms of which 3 ms to minimize.
[2021-05-08 12:41:22] [INFO ] Trap strengthening (SAT) tested/added 2/1 trap constraints in 63 ms
[2021-05-08 12:41:22] [INFO ] Computed and/alt/rep : 74/240/74 causal constraints (skipped 2 transitions) in 13 ms.
[2021-05-08 12:41:22] [INFO ] Added : 67 causal constraints over 14 iterations in 140 ms. Result :sat
Attempting to minimize the solution found.
Minimization took 2 ms.
[2021-05-08 12:41:22] [INFO ] [Real]Absence check using 33 positive place invariants in 5 ms returned sat
[2021-05-08 12:41:22] [INFO ] [Real]Absence check using 33 positive and 25 generalized place invariants in 4 ms returned sat
[2021-05-08 12:41:22] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2021-05-08 12:41:22] [INFO ] [Real]Absence check using state equation in 28 ms returned sat
[2021-05-08 12:41:22] [INFO ] Computed and/alt/rep : 74/240/74 causal constraints (skipped 2 transitions) in 9 ms.
[2021-05-08 12:41:22] [INFO ] Solution in real domain found non-integer solution.
[2021-05-08 12:41:22] [INFO ] [Nat]Absence check using 33 positive place invariants in 10 ms returned sat
[2021-05-08 12:41:22] [INFO ] [Nat]Absence check using 33 positive and 25 generalized place invariants in 5 ms returned sat
[2021-05-08 12:41:22] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2021-05-08 12:41:22] [INFO ] [Nat]Absence check using state equation in 68 ms returned sat
[2021-05-08 12:41:22] [INFO ] Computed and/alt/rep : 74/240/74 causal constraints (skipped 2 transitions) in 6 ms.
[2021-05-08 12:41:23] [INFO ] Deduced a trap composed of 12 places in 23 ms of which 0 ms to minimize.
[2021-05-08 12:41:23] [INFO ] Trap strengthening (SAT) tested/added 2/1 trap constraints in 39 ms
[2021-05-08 12:41:23] [INFO ] Added : 68 causal constraints over 14 iterations in 151 ms. Result :sat
Attempting to minimize the solution found.
Minimization took 1 ms.
[2021-05-08 12:41:23] [INFO ] [Real]Absence check using 33 positive place invariants in 5 ms returned sat
[2021-05-08 12:41:23] [INFO ] [Real]Absence check using 33 positive and 25 generalized place invariants in 5 ms returned sat
[2021-05-08 12:41:23] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2021-05-08 12:41:23] [INFO ] [Real]Absence check using state equation in 27 ms returned sat
[2021-05-08 12:41:23] [INFO ] Solution in real domain found non-integer solution.
[2021-05-08 12:41:23] [INFO ] [Nat]Absence check using 33 positive place invariants in 5 ms returned sat
[2021-05-08 12:41:23] [INFO ] [Nat]Absence check using 33 positive and 25 generalized place invariants in 17 ms returned sat
[2021-05-08 12:41:23] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2021-05-08 12:41:23] [INFO ] [Nat]Absence check using state equation in 29 ms returned sat
[2021-05-08 12:41:23] [INFO ] Computed and/alt/rep : 74/240/74 causal constraints (skipped 2 transitions) in 4 ms.
[2021-05-08 12:41:23] [INFO ] Added : 68 causal constraints over 14 iterations in 112 ms. Result :sat
Attempting to minimize the solution found.
Minimization took 2 ms.
[2021-05-08 12:41:23] [INFO ] [Real]Absence check using 33 positive place invariants in 4 ms returned sat
[2021-05-08 12:41:23] [INFO ] [Real]Absence check using 33 positive and 25 generalized place invariants in 5 ms returned sat
[2021-05-08 12:41:23] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2021-05-08 12:41:23] [INFO ] [Real]Absence check using state equation in 24 ms returned sat
[2021-05-08 12:41:23] [INFO ] Computed and/alt/rep : 74/240/74 causal constraints (skipped 2 transitions) in 5 ms.
[2021-05-08 12:41:23] [INFO ] Solution in real domain found non-integer solution.
[2021-05-08 12:41:23] [INFO ] [Nat]Absence check using 33 positive place invariants in 4 ms returned sat
[2021-05-08 12:41:23] [INFO ] [Nat]Absence check using 33 positive and 25 generalized place invariants in 5 ms returned sat
[2021-05-08 12:41:23] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2021-05-08 12:41:23] [INFO ] [Nat]Absence check using state equation in 24 ms returned sat
[2021-05-08 12:41:23] [INFO ] Computed and/alt/rep : 74/240/74 causal constraints (skipped 2 transitions) in 5 ms.
[2021-05-08 12:41:23] [INFO ] Added : 59 causal constraints over 12 iterations in 107 ms. Result :sat
Attempting to minimize the solution found.
Minimization took 2 ms.
Incomplete Parikh walk after 34600 steps, including 918 resets, run finished after 143 ms. (steps per millisecond=241 ) properties (out of 4) seen :0 could not realise parikh vector
Incomplete Parikh walk after 29700 steps, including 1309 resets, run finished after 95 ms. (steps per millisecond=312 ) properties (out of 4) seen :0 could not realise parikh vector
Incomplete Parikh walk after 21700 steps, including 349 resets, run finished after 75 ms. (steps per millisecond=289 ) properties (out of 4) seen :1 could not realise parikh vector
Incomplete Parikh walk after 13600 steps, including 769 resets, run finished after 45 ms. (steps per millisecond=302 ) properties (out of 3) seen :0 could not realise parikh vector
Support contains 5 out of 133 places. Attempting structural reductions.
Starting structural reductions, iteration 0 : 133/133 places, 77/77 transitions.
Drop transitions removed 2 transitions
Reduce isomorphic transitions removed 2 transitions.
Iterating post reduction 0 with 2 rules applied. Total rules applied 2 place count 133 transition count 75
Partial Free-agglomeration rule applied 6 times.
Drop transitions removed 6 transitions
Iterating global reduction 1 with 6 rules applied. Total rules applied 8 place count 133 transition count 75
Reduce places removed 1 places and 1 transitions.
Iterating global reduction 1 with 1 rules applied. Total rules applied 9 place count 132 transition count 74
Applied a total of 9 rules in 26 ms. Remains 132 /133 variables (removed 1) and now considering 74/77 (removed 3) transitions.
Finished structural reductions, in 1 iterations. Remains : 132/133 places, 74/77 transitions.
[2021-05-08 12:41:24] [INFO ] Flatten gal took : 40 ms
[2021-05-08 12:41:24] [INFO ] Flatten gal took : 12 ms
[2021-05-08 12:41:24] [INFO ] Time to serialize gal into /tmp/ReachabilityCardinality2619373335923390263.gal : 7 ms
[2021-05-08 12:41:24] [INFO ] Time to serialize properties into /tmp/ReachabilityCardinality2436205590913930739.prop : 0 ms
Invoking ITS tools like this :CommandLine [args=[/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202104292328/bin/its-reach-linux64, --gc-threshold, 2000000, --quiet, -i, /tmp/ReachabilityCardinality2619373335923390263.gal, -t, CGAL, -reachable-file, /tmp/ReachabilityCardinality2436205590913930739.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.202104292328/bin/its-reach-linux64 --gc-threshold 2000000 --quiet -i /tmp/ReachabilityCardinality2619373335923390263.gal -t CGAL -reachable-file /tmp/ReachabilityCardinality2436205590913930739.prop --nowitness --gen-order FOLLOW
Loading property file /tmp/ReachabilityCardinality2436205590913930739.prop.
SDD proceeding with computation,3 properties remain. new max is 4
SDD size :1 after 2
SDD proceeding with computation,3 properties remain. new max is 8
SDD size :2 after 4
SDD proceeding with computation,3 properties remain. new max is 16
SDD size :4 after 21
SDD proceeding with computation,3 properties remain. new max is 32
SDD size :21 after 36
SDD proceeding with computation,3 properties remain. new max is 64
SDD size :36 after 160
SDD proceeding with computation,3 properties remain. new max is 128
SDD size :160 after 480
SDD proceeding with computation,3 properties remain. new max is 256
SDD size :480 after 10136
SDD proceeding with computation,3 properties remain. new max is 512
SDD size :10136 after 26280
SDD proceeding with computation,3 properties remain. new max is 1024
SDD size :26280 after 180932
SDD proceeding with computation,3 properties remain. new max is 2048
SDD size :180932 after 1.77069e+06
SDD proceeding with computation,3 properties remain. new max is 4096
SDD size :1.77069e+06 after 7.43161e+06
SDD proceeding with computation,3 properties remain. new max is 8192
SDD size :7.43161e+06 after 5.23921e+07
SDD proceeding with computation,3 properties remain. new max is 16384
SDD size :5.23921e+07 after 8.99797e+07
SDD proceeding with computation,3 properties remain. new max is 32768
SDD size :8.99797e+07 after 1.42347e+08
Detected timeout of ITS tools.
[2021-05-08 12:41:39] [INFO ] Flatten gal took : 9 ms
[2021-05-08 12:41:39] [INFO ] Applying decomposition
[2021-05-08 12:41:39] [INFO ] Flatten gal took : 9 ms
Converted graph to binary with : CommandLine [args=[/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.louvain.binaries_1.0.0.202104292328/bin/convert-linux64, -i, /tmp/graph10127802741856187523.txt, -o, /tmp/graph10127802741856187523.bin, -w, /tmp/graph10127802741856187523.weights], workingDir=null]
Built communities with : CommandLine [args=[/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.louvain.binaries_1.0.0.202104292328/bin/louvain-linux64, /tmp/graph10127802741856187523.bin, -l, -1, -v, -w, /tmp/graph10127802741856187523.weights, -q, 0, -e, 0.001], workingDir=null]
[2021-05-08 12:41:39] [INFO ] Decomposing Gal with order
[2021-05-08 12:41:39] [INFO ] Rewriting arrays to variables to allow decomposition.
[2021-05-08 12:41:39] [INFO ] Removed a total of 23 redundant transitions.
[2021-05-08 12:41:39] [INFO ] Flatten gal took : 35 ms
[2021-05-08 12:41:39] [INFO ] Fuse similar labels procedure discarded/fused a total of 4 labels/synchronizations in 3 ms.
[2021-05-08 12:41:39] [INFO ] Time to serialize gal into /tmp/ReachabilityCardinality6064984600283567611.gal : 5 ms
[2021-05-08 12:41:39] [INFO ] Time to serialize properties into /tmp/ReachabilityCardinality9389183109944208236.prop : 1 ms
Invoking ITS tools like this :CommandLine [args=[/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202104292328/bin/its-reach-linux64, --gc-threshold, 2000000, --quiet, -i, /tmp/ReachabilityCardinality6064984600283567611.gal, -t, CGAL, -reachable-file, /tmp/ReachabilityCardinality9389183109944208236.prop, --nowitness], workingDir=/home/mcc/execution]

its-reach command run as :

/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202104292328/bin/its-reach-linux64 --gc-threshold 2000000 --quiet -i /tmp/ReachabilityCardinality6064984600283567611.gal -t CGAL -reachable-file /tmp/ReachabilityCardinality9389183109944208236.prop --nowitness
Loading property file /tmp/ReachabilityCardinality9389183109944208236.prop.
SDD proceeding with computation,3 properties remain. new max is 4
SDD size :1 after 8
SDD proceeding with computation,3 properties remain. new max is 8
SDD size :8 after 442
SDD proceeding with computation,3 properties remain. new max is 16
SDD size :8206 after 5.38983e+07
SDD proceeding with computation,3 properties remain. new max is 32
SDD size :1.50781e+09 after 4.16957e+09
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\_mod\_flat,1.05403e+11,0.491748,20276,2341,234,37308,530,250,47092,100,2228,0
Total reachable state count : 105403129076

Verifying 3 reachability properties.
Reachability property qltransition_11 is true.

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
qltransition\_11,370764,0.493944,20276,524,106,37308,530,261,47092,107,2228,0
Reachability property qltransition_12 is true.

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
qltransition\_12,244822,0.494685,20276,501,97,37308,530,269,47092,111,2228,0
Reachability property qltransition_13 is true.

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
qltransition\_13,1.8081e+08,0.495343,20276,511,102,37308,530,277,47092,115,2228,0
Able to resolve query QuasiLiveness after proving 68 properties.
FORMULA QuasiLiveness TRUE TECHNIQUES RANDOM_WALK PARIKH_WALK DECISION_DIAGRAMS COLLATERAL_PROCESSING BESTFIRST_WALK TOPOLOGICAL INITIAL_STATE USE_NUPN

BK_STOP 1620477701210

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

+ 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
+ [[ -z '' ]]
+ export LTSMIN_MEM_SIZE=8589934592
+ LTSMIN_MEM_SIZE=8589934592
++ cut -d . -f 9
++ ls /home/mcc/BenchKit/bin//..//itstools/plugins/fr.lip6.move.gal.application.pnmcc_1.0.0.202104292328.jar
+ VERSION=0
+ echo 'Running Version 0'
+ /home/mcc/BenchKit/bin//..//itstools/its-tools -data /home/mcc/execution/workspace -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=/tmp/.eclipse -Xss128m -Xms40m -Xmx16000m

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="DES-PT-05a"
export BK_EXAMINATION="QuasiLiveness"
export BK_TOOL="itstools"
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-4028"
echo " Executing tool itstools"
echo " Input is DES-PT-05a, 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 r071-tall-162039088600032"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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