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

About the Execution of 2022-gold for SafeBus-COL-20

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
12891.252 1800000.00 5988211.00 1195.00 [undef] Time out reached

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.r384-smll-167891833700146.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 SafeBus-COL-20, examination is ReachabilityDeadlock
Time confinement is 1800 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r384-smll-167891833700146
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 504K
-rw-r--r-- 1 mcc users 7.0K Feb 26 02:44 CTLCardinality.txt
-rw-r--r-- 1 mcc users 74K Feb 26 02:44 CTLCardinality.xml
-rw-r--r-- 1 mcc users 4.8K Feb 26 02:35 CTLFireability.txt
-rw-r--r-- 1 mcc users 38K Feb 26 02:35 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.2K Jan 29 11:41 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 3.6K Feb 25 16:49 LTLCardinality.txt
-rw-r--r-- 1 mcc users 24K Feb 25 16:49 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.3K Feb 25 16:49 LTLFireability.txt
-rw-r--r-- 1 mcc users 19K Feb 25 16:49 LTLFireability.xml
-rw-r--r-- 1 mcc users 13K Feb 26 04:05 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 135K Feb 26 04:05 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 9.8K Feb 26 03:59 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 82K Feb 26 03:59 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.6K Feb 25 16:49 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.6K Feb 25 16:49 UpperBounds.xml
-rw-r--r-- 1 mcc users 5 Mar 5 18:23 equiv_pt
-rw-r--r-- 1 mcc users 3 Mar 5 18:23 instance
-rw-r--r-- 1 mcc users 5 Mar 5 18:23 iscolored
-rw-r--r-- 1 mcc users 42K 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 ReachabilityDeadlock

=== Now, execution of the tool begins

BK_START 1679132545725

Running Version 202205111006
[2023-03-18 09:42:28] [INFO ] Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, ReachabilityDeadlock, -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-18 09:42:28] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2023-03-18 09:42:28] [INFO ] Detected file is not PT type :http://www.pnml.org/version-2009/grammar/symmetricnet
log4j:WARN No appenders could be found for logger (org.apache.axiom.locator.DefaultOMMetaFactoryLocator).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
[2023-03-18 09:42:29] [WARNING] Using fallBack plugin, rng conformance not checked
[2023-03-18 09:42:30] [INFO ] Load time of PNML (colored model parsed with PNMLFW) : 1593 ms
[2023-03-18 09:42:30] [INFO ] Detected 1 constant HL places corresponding to 20 PT places.
[2023-03-18 09:42:30] [INFO ] Imported 20 HL places and 14 HL transitions for a total of 1046 PT places and 179241.0 transition bindings in 52 ms.
Parsed 1 properties from file /home/mcc/execution/ReachabilityDeadlock.xml in 4 ms.
Working with output stream class java.io.PrintStream
[2023-03-18 09:42:30] [INFO ] Built PT skeleton of HLPN with 20 places and 14 transitions 68 arcs in 12 ms.
[2023-03-18 09:42:30] [INFO ] Skeletonized 1 HLPN properties in 0 ms.
Reduce places removed 3 places and 0 transitions.
Computed a total of 0 stabilizing places and 0 stable transitions
Prefix of Interest using HLPN skeleton for deadlock discarded 0 places and 0 transitions.
Domain [It(20), It(20)] of place AMC breaks symmetries in sort It
[2023-03-18 09:42:30] [INFO ] Unfolded HLPN to a Petri net with 1046 places and 10501 transitions 76784 arcs in 356 ms.
[2023-03-18 09:42:30] [INFO ] Unfolded 1 HLPN properties in 0 ms.
Deduced a syphon composed of 20 places in 31 ms
Reduce places removed 40 places and 40 transitions.
Built sparse matrix representations for Structural reductions in 23 ms.28355KB memory used
Starting structural reductions in DEADLOCKS mode, iteration 0 : 1006/1006 places, 10461/10461 transitions.
Computed a total of 0 stabilizing places and 0 stable transitions
Computed a total of 0 stabilizing places and 0 stable transitions
Computed a total of 0 stabilizing places and 0 stable transitions
Applied a total of 0 rules in 7260 ms. Remains 1006 /1006 variables (removed 0) and now considering 10461/10461 (removed 0) transitions.
Finished structural reductions, in 1 iterations. Remains : 1006/1006 places, 10461/10461 transitions.
Starting structural reductions in DEADLOCKS mode, iteration 0 : 1006/1006 places, 10461/10461 transitions.
Computed a total of 0 stabilizing places and 0 stable transitions
Computed a total of 0 stabilizing places and 0 stable transitions
Computed a total of 0 stabilizing places and 0 stable transitions
Applied a total of 0 rules in 7051 ms. Remains 1006 /1006 variables (removed 0) and now considering 10461/10461 (removed 0) transitions.
[2023-03-18 09:42:45] [INFO ] Flow matrix only has 2482 transitions (discarded 7979 similar events)
// Phase 1: matrix 2482 rows 1006 cols
[2023-03-18 09:42:45] [INFO ] Computed 85 place invariants in 332 ms
[2023-03-18 09:42:49] [INFO ] Implicit Places using invariants in 4666 ms returned [861]
Discarding 1 places :
Implicit Place search using SMT only with invariants took 4737 ms to find 1 implicit places.
Starting structural reductions in DEADLOCKS mode, iteration 1 : 1005/1006 places, 10461/10461 transitions.
Computed a total of 0 stabilizing places and 0 stable transitions
Computed a total of 0 stabilizing places and 0 stable transitions
Performed 1 Pre agglomeration using Quasi-Persistent + Divergent Free condition..
Pre-agglomeration after 0 with 1 Pre rules applied. Total rules applied 0 place count 1005 transition count 10460
Deduced a syphon composed of 1 places in 3 ms
Reduce places removed 1 places and 0 transitions.
Iterating global reduction 0 with 2 rules applied. Total rules applied 2 place count 1004 transition count 10460
Computed a total of 0 stabilizing places and 0 stable transitions
Computed a total of 0 stabilizing places and 0 stable transitions
Applied a total of 2 rules in 6554 ms. Remains 1004 /1005 variables (removed 1) and now considering 10460/10461 (removed 1) transitions.
[2023-03-18 09:42:56] [INFO ] Flow matrix only has 2481 transitions (discarded 7979 similar events)
// Phase 1: matrix 2481 rows 1004 cols
[2023-03-18 09:42:56] [INFO ] Computed 84 place invariants in 97 ms
[2023-03-18 09:43:01] [INFO ] Implicit Places using invariants in 5265 ms returned [861, 862, 863, 864, 865, 866, 867, 868, 869, 870, 871, 872, 873, 874, 875, 876, 877, 878, 879]
Discarding 19 places :
Implicit Place search using SMT only with invariants took 5288 ms to find 19 implicit places.
Starting structural reductions in DEADLOCKS mode, iteration 2 : 985/1006 places, 10460/10461 transitions.
Computed a total of 0 stabilizing places and 0 stable transitions
Computed a total of 0 stabilizing places and 0 stable transitions
Performed 19 Pre agglomeration using Quasi-Persistent + Divergent Free condition..
Pre-agglomeration after 0 with 19 Pre rules applied. Total rules applied 0 place count 985 transition count 10441
Deduced a syphon composed of 19 places in 4 ms
Reduce places removed 19 places and 0 transitions.
Iterating global reduction 0 with 38 rules applied. Total rules applied 38 place count 966 transition count 10441
Computed a total of 0 stabilizing places and 0 stable transitions
Computed a total of 0 stabilizing places and 0 stable transitions
Applied a total of 38 rules in 6151 ms. Remains 966 /985 variables (removed 19) and now considering 10441/10460 (removed 19) transitions.
[2023-03-18 09:43:07] [INFO ] Flow matrix only has 2462 transitions (discarded 7979 similar events)
// Phase 1: matrix 2462 rows 966 cols
[2023-03-18 09:43:07] [INFO ] Computed 65 place invariants in 97 ms
[2023-03-18 09:43:11] [INFO ] Implicit Places using invariants in 4074 ms returned []
Implicit Place search using SMT only with invariants took 4083 ms to find 0 implicit places.
Starting structural reductions in DEADLOCKS mode, iteration 3 : 966/1006 places, 10441/10461 transitions.
Finished structural reductions, in 3 iterations. Remains : 966/1006 places, 10441/10461 transitions.
Interrupted Random walk after 857180 steps, including 0 resets, run timeout after 30001 ms. (steps per millisecond=28 )
Interrupted Random directed walk after 1125101 steps, including 0 resets, run timeout after 30001 ms. (steps per millisecond=37 )
[2023-03-18 09:44:11] [INFO ] Flow matrix only has 2462 transitions (discarded 7979 similar events)
// Phase 1: matrix 2462 rows 966 cols
[2023-03-18 09:44:11] [INFO ] Computed 65 place invariants in 38 ms
[2023-03-18 09:44:15] [INFO ] [Real]Absence check using 24 positive place invariants in 48 ms returned sat
[2023-03-18 09:44:16] [INFO ] [Real]Absence check using 24 positive and 41 generalized place invariants in 1416 ms returned sat
[2023-03-18 09:44:16] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2023-03-18 09:44:21] [INFO ] [Real]Absence check using state equation in 5232 ms returned sat
[2023-03-18 09:44:21] [INFO ] Solution in real domain found non-integer solution.
[2023-03-18 09:44:25] [INFO ] [Nat]Absence check using 24 positive place invariants in 193 ms returned sat
[2023-03-18 09:44:26] [INFO ] [Nat]Absence check using 24 positive and 41 generalized place invariants in 1140 ms returned sat
[2023-03-18 09:44:26] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2023-03-18 09:44:29] [INFO ] [Nat]Absence check using state equation in 3637 ms returned sat
[2023-03-18 09:44:29] [INFO ] State equation strengthened by 421 read => feed constraints.
[2023-03-18 09:44:32] [INFO ] [Nat]Added 421 Read/Feed constraints in 2413 ms returned sat
[2023-03-18 09:44:33] [INFO ] Deduced a trap composed of 81 places in 531 ms of which 6 ms to minimize.
[2023-03-18 09:44:34] [INFO ] Deduced a trap composed of 81 places in 623 ms of which 3 ms to minimize.
[2023-03-18 09:44:36] [INFO ] Deduced a trap composed of 117 places in 807 ms of which 2 ms to minimize.
[2023-03-18 09:44:38] [INFO ] Deduced a trap composed of 135 places in 494 ms of which 1 ms to minimize.
[2023-03-18 09:44:39] [INFO ] Trap strengthening (SAT) tested/added 5/4 trap constraints in 7500 ms
[2023-03-18 09:44:40] [INFO ] Computed and/alt/rep : 40/60/40 causal constraints (skipped 2402 transitions) in 1001 ms.
[2023-03-18 09:44:41] [INFO ] Added : 1 causal constraints over 1 iterations in 1603 ms. Result :sat
Attempting to minimize the solution found.
Minimization took 39 ms.
Parikh directed walk for 24800 steps, including 1000 resets, run took 998 ms. (steps per millisecond=24 )
Random directed walk for 500011 steps, including 0 resets, run took 11857 ms (no deadlock found). (steps per millisecond=42 )
Random walk for 500000 steps, including 0 resets, run took 17125 ms (no deadlock found). (steps per millisecond=29 )
Random directed walk for 500000 steps, including 0 resets, run took 11589 ms (no deadlock found). (steps per millisecond=43 )
Random walk for 500000 steps, including 0 resets, run took 17318 ms (no deadlock found). (steps per millisecond=28 )
Starting structural reductions in DEADLOCKS mode, iteration 0 : 966/966 places, 10441/10441 transitions.
Computed a total of 0 stabilizing places and 0 stable transitions
Computed a total of 0 stabilizing places and 0 stable transitions
Computed a total of 0 stabilizing places and 0 stable transitions
Applied a total of 0 rules in 5914 ms. Remains 966 /966 variables (removed 0) and now considering 10441/10441 (removed 0) transitions.
[2023-03-18 09:45:46] [INFO ] Flow matrix only has 2462 transitions (discarded 7979 similar events)
// Phase 1: matrix 2462 rows 966 cols
[2023-03-18 09:45:46] [INFO ] Computed 65 place invariants in 37 ms
[2023-03-18 09:45:50] [INFO ] Implicit Places using invariants in 4278 ms returned []
Implicit Place search using SMT only with invariants took 4280 ms to find 0 implicit places.
[2023-03-18 09:45:50] [INFO ] Flow matrix only has 2462 transitions (discarded 7979 similar events)
// Phase 1: matrix 2462 rows 966 cols
[2023-03-18 09:45:50] [INFO ] Computed 65 place invariants in 56 ms
[2023-03-18 09:46:06] [INFO ] Dead Transitions using invariants and state equation in 15299 ms found 400 transitions.
Found 400 dead transitions using SMT.
Drop transitions removed 400 transitions
Dead transitions reduction (with SMT) removed 400 transitions
Starting structural reductions in DEADLOCKS mode, iteration 1 : 966/966 places, 10041/10441 transitions.
Computed a total of 0 stabilizing places and 0 stable transitions
Computed a total of 0 stabilizing places and 0 stable transitions
Computed a total of 0 stabilizing places and 0 stable transitions
Applied a total of 0 rules in 5743 ms. Remains 966 /966 variables (removed 0) and now considering 10041/10041 (removed 0) transitions.
Finished structural reductions, in 2 iterations. Remains : 966/966 places, 10041/10441 transitions.
Interrupted Random walk after 885150 steps, including 0 resets, run timeout after 30001 ms. (steps per millisecond=29 )
Random directed walk for 1250000 steps, including 0 resets, run took 28963 ms (no deadlock found). (steps per millisecond=43 )
[2023-03-18 09:47:10] [INFO ] Flow matrix only has 2462 transitions (discarded 7579 similar events)
// Phase 1: matrix 2462 rows 966 cols
[2023-03-18 09:47:10] [INFO ] Computed 65 place invariants in 34 ms
[2023-03-18 09:47:13] [INFO ] [Real]Absence check using 24 positive place invariants in 43 ms returned sat
[2023-03-18 09:47:19] [INFO ] SMT solver returned unknown. Retrying;
[2023-03-18 09:47:22] [INFO ] [Real]Absence check using 24 positive and 41 generalized place invariants in 9130 ms returned unknown
Random directed walk for 500000 steps, including 0 resets, run took 11289 ms (no deadlock found). (steps per millisecond=44 )
Random walk for 500000 steps, including 0 resets, run took 17032 ms (no deadlock found). (steps per millisecond=29 )
Random directed walk for 500007 steps, including 0 resets, run took 11654 ms (no deadlock found). (steps per millisecond=42 )
Random walk for 500000 steps, including 0 resets, run took 16806 ms (no deadlock found). (steps per millisecond=29 )
[2023-03-18 09:48:21] [INFO ] Flatten gal took : 1164 ms
Using solver Z3 to compute partial order matrices.
Built C files in :
/tmp/ltsmin11719821773128091826
[2023-03-18 09:48:21] [INFO ] Too many transitions (10461) to apply POR reductions. Disabling POR matrices.
[2023-03-18 09:48:22] [INFO ] Built C files in 345ms conformant to PINS (ltsmin variant)in folder :/tmp/ltsmin11719821773128091826
Running compilation step : cd /tmp/ltsmin11719821773128091826;'/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.ltsmin.binaries_1.0.0.202205111006/bin/limit_time.pl' '360' 'gcc' '-c' '-I/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.ltsmin.binaries_1.0.0.202205111006/bin/include/' '-I.' '-std=c99' '-fPIC' '-O0' 'model.c'
[2023-03-18 09:48:22] [INFO ] Applying decomposition
[2023-03-18 09:48:23] [INFO ] Flatten gal took : 1017 ms
Converted graph to binary with : '/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.louvain.binaries_1.0.0.202205111006/bin/convert-linux64' '-i' '/tmp/graph4039529549398552024.txt' '-o' '/tmp/graph4039529549398552024.bin' '-w' '/tmp/graph4039529549398552024.weights'
Built communities with : '/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.louvain.binaries_1.0.0.202205111006/bin/louvain-linux64' '/tmp/graph4039529549398552024.bin' '-l' '-1' '-v' '-w' '/tmp/graph4039529549398552024.weights' '-q' '0' '-e' '0.001'
[2023-03-18 09:48:25] [INFO ] Decomposing Gal with order
[2023-03-18 09:48:25] [INFO ] Rewriting arrays to variables to allow decomposition.
[2023-03-18 09:48:28] [INFO ] Removed a total of 31097 redundant transitions.
[2023-03-18 09:48:29] [INFO ] Flatten gal took : 3600 ms
[2023-03-18 09:48:30] [INFO ] Fuse similar labels procedure discarded/fused a total of 1409 labels/synchronizations in 565 ms.
[2023-03-18 09:48:30] [INFO ] Time to serialize gal into /tmp/ReachabilityDeadlock2612549178390456396.gal : 86 ms
Invoking ITS tools like this :cd /home/mcc/execution;'/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202205111006/bin/its-ctl-linux64' '--gc-threshold' '2000000' '--quiet' '-i' '/tmp/ReachabilityDeadlock2612549178390456396.gal' '-t' 'CGAL' '-ctl' 'DEADLOCK'

its-ctl command run as :

/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202205111006/bin/its-ctl-linux64 --gc-threshold 2000000 --quiet -i /tmp/R...225
No direction supplied, using forward translation only.
Compilation finished in 95477 ms.
Running link step : cd /tmp/ltsmin11719821773128091826;'gcc' '-shared' '-o' 'gal.so' 'model.o'
Link finished in 127 ms.
Running LTSmin : cd /tmp/ltsmin11719821773128091826;'/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.ltsmin.binaries_1.0.0.202205111006/bin/pins2lts-mc-linux64' './gal.so' '--threads=8' '-p' '--pins-guards' '--when' '-d'
Detected timeout of ITS tools.
[2023-03-18 10:00:29] [INFO ] Applying decomposition
[2023-03-18 10:00:30] [INFO ] Flatten gal took : 1533 ms
[2023-03-18 10:00:31] [INFO ] Decomposing Gal with order
[2023-03-18 10:00:31] [INFO ] Rewriting arrays to variables to allow decomposition.
[2023-03-18 10:00:36] [INFO ] Removed a total of 53051 redundant transitions.
[2023-03-18 10:00:36] [INFO ] Flatten gal took : 3415 ms
[2023-03-18 10:00:37] [INFO ] Fuse similar labels procedure discarded/fused a total of 160 labels/synchronizations in 683 ms.
[2023-03-18 10:00:38] [INFO ] Time to serialize gal into /tmp/ReachabilityDeadlock6250637383799241706.gal : 142 ms
Invoking ITS tools like this :cd /home/mcc/execution;'/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202205111006/bin/its-ctl-linux64' '--gc-threshold' '2000000' '--quiet' '-i' '/tmp/ReachabilityDeadlock6250637383799241706.gal' '-t' 'CGAL' '-ctl' 'DEADLOCK'

its-ctl command run as :

/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202205111006/bin/its-ctl-linux64 --gc-threshold 2000000 --quiet -i /tmp/R...225
No direction supplied, using forward translation only.

BK_TIME_CONFINEMENT_REACHED

--------------------
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
+ [[ ReachabilityDeadlock = StateSpace ]]
+ /home/mcc/BenchKit/bin//..//runeclipse.sh /home/mcc/execution ReachabilityDeadlock -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 ReachabilityDeadlock -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="SafeBus-COL-20"
export BK_EXAMINATION="ReachabilityDeadlock"
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 SafeBus-COL-20, examination is ReachabilityDeadlock"
echo " Time confinement is $BK_TIME_CONFINEMENT seconds"
echo " Memory confinement is 16384 MBytes"
echo " Number of cores is 4"
echo " Run identifier is r384-smll-167891833700146"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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