fond
Model Checking Contest 2022
12th edition, Bergen, Norway, June 21, 2022
Execution of r071-tall-165254780700326
Last Updated
Jun 22, 2022

About the Execution of 2021-gold for Diffusion2D-PT-D50N150

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
5031.243 209972.00 266382.00 2490.20 FFFFFFFFFTTTTTTT normal

Execution Chart

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

Trace from the execution

Formatting '/data/fkordon/mcc2022-input.r071-tall-165254780700326.qcow2', fmt=qcow2 size=4294967296 backing_file=/data/fkordon/mcc2022-input.qcow2 cluster_size=65536 lazy_refcounts=off refcount_bits=16
Waiting for the VM to be ready (probing ssh)
....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
=====================================================================
Generated by BenchKit 2-4028
Executing tool gold2021
Input is Diffusion2D-PT-D50N150, examination is ReachabilityCardinality
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r071-tall-165254780700326
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 7.7M
-rw-r--r-- 1 mcc users 7.3K Apr 30 05:00 CTLCardinality.txt
-rw-r--r-- 1 mcc users 65K Apr 30 05:00 CTLCardinality.xml
-rw-r--r-- 1 mcc users 6.5K Apr 30 04:59 CTLFireability.txt
-rw-r--r-- 1 mcc users 49K Apr 30 04:59 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.2K May 10 09:33 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 6.3K May 10 09:33 GenericPropertiesVerdict.xml
-rw-r--r-- 1 mcc users 4.0K May 9 07:39 LTLCardinality.txt
-rw-r--r-- 1 mcc users 23K May 9 07:39 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.8K May 9 07:39 LTLFireability.txt
-rw-r--r-- 1 mcc users 18K May 9 07:39 LTLFireability.xml
-rw-r--r-- 1 mcc users 12K Apr 30 05:01 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 101K Apr 30 05:01 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 9.6K Apr 30 05:01 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 67K Apr 30 05:01 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.8K May 9 07:39 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.9K May 9 07:39 UpperBounds.xml
-rw-r--r-- 1 mcc users 6 May 10 09:33 equiv_col
-rw-r--r-- 1 mcc users 8 May 10 09:33 instance
-rw-r--r-- 1 mcc users 6 May 10 09:33 iscolored
-rw-r--r-- 1 mcc users 7.3M May 10 09:33 model.pnml

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

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

The expected result is a vector of booleans
BOOL_VECTOR

here is the order used to build the result vector(from text file)
FORMULA_NAME Diffusion2D-PT-D50N150-ReachabilityCardinality-00
FORMULA_NAME Diffusion2D-PT-D50N150-ReachabilityCardinality-01
FORMULA_NAME Diffusion2D-PT-D50N150-ReachabilityCardinality-02
FORMULA_NAME Diffusion2D-PT-D50N150-ReachabilityCardinality-03
FORMULA_NAME Diffusion2D-PT-D50N150-ReachabilityCardinality-04
FORMULA_NAME Diffusion2D-PT-D50N150-ReachabilityCardinality-05
FORMULA_NAME Diffusion2D-PT-D50N150-ReachabilityCardinality-06
FORMULA_NAME Diffusion2D-PT-D50N150-ReachabilityCardinality-07
FORMULA_NAME Diffusion2D-PT-D50N150-ReachabilityCardinality-08
FORMULA_NAME Diffusion2D-PT-D50N150-ReachabilityCardinality-09
FORMULA_NAME Diffusion2D-PT-D50N150-ReachabilityCardinality-10
FORMULA_NAME Diffusion2D-PT-D50N150-ReachabilityCardinality-11
FORMULA_NAME Diffusion2D-PT-D50N150-ReachabilityCardinality-12
FORMULA_NAME Diffusion2D-PT-D50N150-ReachabilityCardinality-13
FORMULA_NAME Diffusion2D-PT-D50N150-ReachabilityCardinality-14
FORMULA_NAME Diffusion2D-PT-D50N150-ReachabilityCardinality-15

=== Now, execution of the tool begins

BK_START 1655071151128

Running Version 0
[2022-06-12 21:59:12] [INFO ] Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, ReachabilityCardinality, -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]
[2022-06-12 21:59:12] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2022-06-12 21:59:13] [INFO ] Load time of PNML (sax parser for PT used): 419 ms
[2022-06-12 21:59:13] [INFO ] Transformed 2500 places.
[2022-06-12 21:59:13] [INFO ] Transformed 19404 transitions.
[2022-06-12 21:59:13] [INFO ] Parsed PT model containing 2500 places and 19404 transitions in 515 ms.
Parsed 16 properties from file /home/mcc/execution/ReachabilityCardinality.xml in 18 ms.
Working with output stream class java.io.PrintStream
Incomplete random walk after 10138 steps, including 2 resets, run finished after 23 ms. (steps per millisecond=440 ) properties (out of 16) seen :1
FORMULA Diffusion2D-PT-D50N150-ReachabilityCardinality-04 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
Incomplete Best-First random walk after 1001 steps, including 2 resets, run finished after 6 ms. (steps per millisecond=166 ) properties (out of 15) seen :0
Incomplete Best-First random walk after 1001 steps, including 2 resets, run finished after 7 ms. (steps per millisecond=143 ) properties (out of 15) seen :0
Incomplete Best-First random walk after 1001 steps, including 2 resets, run finished after 7 ms. (steps per millisecond=143 ) properties (out of 15) seen :0
Incomplete Best-First random walk after 1001 steps, including 2 resets, run finished after 5 ms. (steps per millisecond=200 ) properties (out of 15) seen :0
Incomplete Best-First random walk after 1001 steps, including 2 resets, run finished after 4 ms. (steps per millisecond=250 ) properties (out of 15) seen :0
Incomplete Best-First random walk after 1001 steps, including 2 resets, run finished after 4 ms. (steps per millisecond=250 ) properties (out of 15) seen :0
Incomplete Best-First random walk after 1001 steps, including 2 resets, run finished after 6 ms. (steps per millisecond=166 ) properties (out of 15) seen :0
Incomplete Best-First random walk after 1001 steps, including 2 resets, run finished after 7 ms. (steps per millisecond=143 ) properties (out of 15) seen :0
Incomplete Best-First random walk after 1001 steps, including 2 resets, run finished after 4 ms. (steps per millisecond=250 ) properties (out of 15) seen :0
Incomplete Best-First random walk after 1001 steps, including 2 resets, run finished after 7 ms. (steps per millisecond=143 ) properties (out of 15) seen :0
Incomplete Best-First random walk after 1001 steps, including 2 resets, run finished after 4 ms. (steps per millisecond=250 ) properties (out of 15) seen :0
Incomplete Best-First random walk after 1001 steps, including 2 resets, run finished after 9 ms. (steps per millisecond=111 ) properties (out of 15) seen :0
Incomplete Best-First random walk after 1001 steps, including 2 resets, run finished after 3 ms. (steps per millisecond=333 ) properties (out of 15) seen :0
Incomplete Best-First random walk after 1001 steps, including 2 resets, run finished after 3 ms. (steps per millisecond=333 ) properties (out of 15) seen :0
Incomplete Best-First random walk after 1001 steps, including 2 resets, run finished after 6 ms. (steps per millisecond=166 ) properties (out of 15) seen :0
Probabilistic random walk after 1000001 steps, saw 787978 distinct states, run finished after 7875 ms. (steps per millisecond=126 ) properties seen :{}
Running SMT prover for 15 properties.
// Phase 1: matrix 19404 rows 2500 cols
[2022-06-12 21:59:21] [INFO ] Computed 1 place invariants in 168 ms
[2022-06-12 21:59:23] [INFO ] SMT Verify possible in real domain returnedunsat :0 sat :0 real:15
[2022-06-12 21:59:23] [INFO ] [Nat]Absence check using 1 positive place invariants in 25 ms returned sat
[2022-06-12 21:59:24] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2022-06-12 21:59:48] [INFO ] [Nat]Absence check using state equation in 23625 ms returned unsat :1 sat :13
Attempting to minimize the solution found.
Minimization took 6 ms.
[2022-06-12 21:59:48] [INFO ] SMT Verify possible in nat domain returned unsat :1 sat :13
FORMULA Diffusion2D-PT-D50N150-ReachabilityCardinality-08 FALSE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
Fused 15 Parikh solutions to 12 different solutions.
Interrupted Parikh walk after 2470272 steps, including 21 resets, run timeout after 30001 ms. (steps per millisecond=82 ) properties (out of 14) seen :9
FORMULA Diffusion2D-PT-D50N150-ReachabilityCardinality-15 TRUE TECHNIQUES TOPOLOGICAL PARIKH_WALK
FORMULA Diffusion2D-PT-D50N150-ReachabilityCardinality-14 TRUE TECHNIQUES TOPOLOGICAL PARIKH_WALK
FORMULA Diffusion2D-PT-D50N150-ReachabilityCardinality-13 TRUE TECHNIQUES TOPOLOGICAL PARIKH_WALK
FORMULA Diffusion2D-PT-D50N150-ReachabilityCardinality-09 TRUE TECHNIQUES TOPOLOGICAL PARIKH_WALK
FORMULA Diffusion2D-PT-D50N150-ReachabilityCardinality-07 FALSE TECHNIQUES TOPOLOGICAL PARIKH_WALK
FORMULA Diffusion2D-PT-D50N150-ReachabilityCardinality-05 FALSE TECHNIQUES TOPOLOGICAL PARIKH_WALK
FORMULA Diffusion2D-PT-D50N150-ReachabilityCardinality-02 FALSE TECHNIQUES TOPOLOGICAL PARIKH_WALK
FORMULA Diffusion2D-PT-D50N150-ReachabilityCardinality-01 FALSE TECHNIQUES TOPOLOGICAL PARIKH_WALK
FORMULA Diffusion2D-PT-D50N150-ReachabilityCardinality-00 FALSE TECHNIQUES TOPOLOGICAL PARIKH_WALK
Interrupted Parikh walk after 2574554 steps, including 20 resets, run timeout after 30001 ms. (steps per millisecond=85 ) properties (out of 5) seen :0
Interrupted Parikh walk after 2406388 steps, including 16 resets, run timeout after 30001 ms. (steps per millisecond=80 ) properties (out of 5) seen :1
FORMULA Diffusion2D-PT-D50N150-ReachabilityCardinality-06 FALSE TECHNIQUES TOPOLOGICAL PARIKH_WALK
Interrupted Parikh walk after 2300477 steps, including 13 resets, run timeout after 30001 ms. (steps per millisecond=76 ) properties (out of 4) seen :1
FORMULA Diffusion2D-PT-D50N150-ReachabilityCardinality-03 FALSE TECHNIQUES TOPOLOGICAL PARIKH_WALK
Support contains 127 out of 2500 places. Attempting structural reductions.
Starting structural reductions, iteration 0 : 2500/2500 places, 19404/19404 transitions.
Graph (trivial) has 17460 edges and 2500 vertex of which 2373 / 2500 are part of one of the 1 SCC in 29 ms
Free SCC test removed 2372 places
Drop transitions removed 17460 transitions
Ensure Unique test removed 1632 transitions
Reduce isomorphic transitions removed 19092 transitions.
Drop transitions removed 71 transitions
Redundant transition composition rules discarded 71 transitions
Iterating global reduction 0 with 71 rules applied. Total rules applied 72 place count 128 transition count 241
Applied a total of 72 rules in 155 ms. Remains 128 /2500 variables (removed 2372) and now considering 241/19404 (removed 19163) transitions.
Finished structural reductions, in 1 iterations. Remains : 128/2500 places, 241/19404 transitions.
[2022-06-12 22:01:48] [INFO ] Flatten gal took : 54 ms
[2022-06-12 22:01:48] [INFO ] Flatten gal took : 13 ms
[2022-06-12 22:01:48] [INFO ] Time to serialize gal into /tmp/ReachabilityCardinality17347796523373045521.gal : 8 ms
[2022-06-12 22:01:48] [INFO ] Time to serialize properties into /tmp/ReachabilityCardinality5175446233538020047.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/ReachabilityCardinality17347796523373045521.gal, -t, CGAL, -reachable-file, /tmp/ReachabilityCardinality5175446233538020047.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/ReachabilityCardinality17347796523373045521.gal -t CGAL -reachable-file /tmp/ReachabilityCardinality5175446233538020047.prop --nowitness --gen-order FOLLOW
Loading property file /tmp/ReachabilityCardinality5175446233538020047.prop.
SDD proceeding with computation,3 properties remain. new max is 4
SDD size :1 after 55
SDD proceeding with computation,3 properties remain. new max is 8
SDD size :55 after 60
SDD proceeding with computation,3 properties remain. new max is 16
SDD size :60 after 1877
SDD proceeding with computation,3 properties remain. new max is 32
SDD size :1877 after 39677
SDD proceeding with computation,3 properties remain. new max is 64
SDD size :39677 after 635374
Detected timeout of ITS tools.
[2022-06-12 22:02:03] [INFO ] Flatten gal took : 11 ms
[2022-06-12 22:02:03] [INFO ] Applying decomposition
[2022-06-12 22:02:03] [INFO ] Flatten gal took : 10 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/graph17698525851520104592.txt, -o, /tmp/graph17698525851520104592.bin, -w, /tmp/graph17698525851520104592.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/graph17698525851520104592.bin, -l, -1, -v, -w, /tmp/graph17698525851520104592.weights, -q, 0, -e, 0.001], workingDir=null]
[2022-06-12 22:02:03] [INFO ] Decomposing Gal with order
[2022-06-12 22:02:03] [INFO ] Rewriting arrays to variables to allow decomposition.
[2022-06-12 22:02:03] [INFO ] Removed a total of 117 redundant transitions.
[2022-06-12 22:02:03] [INFO ] Flatten gal took : 43 ms
[2022-06-12 22:02:03] [INFO ] Fuse similar labels procedure discarded/fused a total of 84 labels/synchronizations in 7 ms.
[2022-06-12 22:02:03] [INFO ] Time to serialize gal into /tmp/ReachabilityCardinality17155930940639420232.gal : 3 ms
[2022-06-12 22:02:03] [INFO ] Time to serialize properties into /tmp/ReachabilityCardinality616521355524529498.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/ReachabilityCardinality17155930940639420232.gal, -t, CGAL, -reachable-file, /tmp/ReachabilityCardinality616521355524529498.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/ReachabilityCardinality17155930940639420232.gal -t CGAL -reachable-file /tmp/ReachabilityCardinality616521355524529498.prop --nowitness --gen-order FOLLOW
Loading property file /tmp/ReachabilityCardinality616521355524529498.prop.
SDD proceeding with computation,3 properties remain. new max is 4
SDD size :1 after 55
SDD proceeding with computation,3 properties remain. new max is 8
SDD size :55 after 58
SDD proceeding with computation,3 properties remain. new max is 16
SDD size :58 after 1765
SDD proceeding with computation,3 properties remain. new max is 32
SDD size :1765 after 35983
SDD proceeding with computation,3 properties remain. new max is 64
SDD size :35983 after 7.49744e+07
SDD proceeding with computation,3 properties remain. new max is 128
SDD size :7.49744e+07 after 1.06389e+13
Detected timeout of ITS tools.
Built C files in :
/tmp/ltsmin10947611196186950969
[2022-06-12 22:02:18] [INFO ] Built C files in 10ms conformant to PINS (ltsmin variant)in folder :/tmp/ltsmin10947611196186950969
Running compilation step : CommandLine [args=[gcc, -c, -I/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.ltsmin.binaries_1.0.0.202104292328/bin/include/, -I., -std=c99, -fPIC, -O2, model.c], workingDir=/tmp/ltsmin10947611196186950969]
Compilation finished in 1020 ms.
Running link step : CommandLine [args=[gcc, -shared, -o, gal.so, model.o], workingDir=/tmp/ltsmin10947611196186950969]
Link finished in 61 ms.
Running LTSmin : CommandLine [args=[/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.ltsmin.binaries_1.0.0.202104292328/bin/pins2lts-mc-linux64, ./gal.so, --threads=8, --when, -i, Diffusion2DPTD50N150ReachabilityCardinality10==true], workingDir=/tmp/ltsmin10947611196186950969]
WARNING : LTS min runner thread was asked to interrupt. Dying gracefully.
Incomplete random walk after 1000064 steps, including 2 resets, run finished after 230 ms. (steps per millisecond=4348 ) properties (out of 3) seen :2
FORMULA Diffusion2D-PT-D50N150-ReachabilityCardinality-11 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA Diffusion2D-PT-D50N150-ReachabilityCardinality-10 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
Incomplete Best-First random walk after 1000001 steps, including 2 resets, run finished after 3174 ms. (steps per millisecond=315 ) properties (out of 1) seen :0
Running SMT prover for 1 properties.
// Phase 1: matrix 241 rows 128 cols
[2022-06-12 22:02:37] [INFO ] Computed 1 place invariants in 5 ms
[2022-06-12 22:02:38] [INFO ] [Real]Absence check using 1 positive place invariants in 3 ms returned sat
[2022-06-12 22:02:38] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2022-06-12 22:02:38] [INFO ] [Real]Absence check using state equation in 44 ms returned sat
[2022-06-12 22:02:38] [INFO ] Solution in real domain found non-integer solution.
[2022-06-12 22:02:38] [INFO ] [Nat]Absence check using 1 positive place invariants in 3 ms returned sat
[2022-06-12 22:02:38] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2022-06-12 22:02:38] [INFO ] [Nat]Absence check using state equation in 48 ms returned sat
[2022-06-12 22:02:38] [INFO ] Computed and/alt/rep : 136/151/136 causal constraints (skipped 0 transitions) in 19 ms.
[2022-06-12 22:02:38] [INFO ] Added : 7 causal constraints over 2 iterations in 76 ms. Result :sat
Attempting to minimize the solution found.
Minimization took 6 ms.
Finished Parikh walk after 195 steps, including 0 resets, run visited all 1 properties in 6 ms. (steps per millisecond=32 )
FORMULA Diffusion2D-PT-D50N150-ReachabilityCardinality-12 TRUE TECHNIQUES TOPOLOGICAL PARIKH_WALK
All properties solved without resorting to model-checking.

BK_STOP 1655071361100

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

+ export BINDIR=/home/mcc/BenchKit/bin//../
+ BINDIR=/home/mcc/BenchKit/bin//../
++ pwd
+ export MODEL=/home/mcc/execution
+ MODEL=/home/mcc/execution
+ [[ ReachabilityCardinality = StateSpace ]]
+ /home/mcc/BenchKit/bin//..//runeclipse.sh /home/mcc/execution ReachabilityCardinality -its -ltsmin -greatspnpath /home/mcc/BenchKit/bin//..//greatspn/ -order META -manyOrder -smt -timeout 3600
+ ulimit -s 65536
+ [[ -z '' ]]
+ export LTSMIN_MEM_SIZE=8589934592
+ LTSMIN_MEM_SIZE=8589934592
++ ls /home/mcc/BenchKit/bin//..//itstools/plugins/fr.lip6.move.gal.application.pnmcc_1.0.0.202104292328.jar
++ cut -d . -f 9
+ VERSION=0
+ echo 'Running Version 0'
+ /home/mcc/BenchKit/bin//..//itstools/its-tools -data /home/mcc/execution/workspace -pnfolder /home/mcc/execution -examination ReachabilityCardinality -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=/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="Diffusion2D-PT-D50N150"
export BK_EXAMINATION="ReachabilityCardinality"
export BK_TOOL="gold2021"
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-4028"
echo " Executing tool gold2021"
echo " Input is Diffusion2D-PT-D50N150, examination is ReachabilityCardinality"
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-165254780700326"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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