fond
Model Checking Contest 2020
10th edition, Paris, France, June 23, 2020
Execution of r162-oct2-158972927100221
Last Updated
Jun 28, 2020

About the Execution of ITS-Tools for SafeBus-COL-10

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
15745.360 1800000.00 1757114.00 112743.50 [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/fko/mcc2020-input.r162-oct2-158972927100221.qcow2', fmt=qcow2 size=4294967296 backing_file=/data/fko/mcc2020-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 itstools
Input is SafeBus-COL-10, examination is ReachabilityDeadlock
Time confinement is 1800 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r162-oct2-158972927100221
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 204K
-rw-r--r-- 1 mcc users 3.4K Apr 12 12:08 CTLCardinality.txt
-rw-r--r-- 1 mcc users 18K Apr 12 12:08 CTLCardinality.xml
-rw-r--r-- 1 mcc users 2.7K Apr 11 13:21 CTLFireability.txt
-rw-r--r-- 1 mcc users 19K Apr 11 13:20 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.0K Mar 24 05:38 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 3.3K Apr 14 12:50 LTLCardinality.txt
-rw-r--r-- 1 mcc users 24K Apr 28 14:02 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.0K Apr 14 12:50 LTLFireability.txt
-rw-r--r-- 1 mcc users 16K Apr 28 14:02 LTLFireability.xml
-rw-r--r-- 1 mcc users 3.3K Apr 10 17:24 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 16K Apr 10 17:24 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 2.6K Apr 9 23:53 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 15K Apr 9 23:53 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.6K Apr 10 22:28 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.6K Apr 10 22:28 UpperBounds.xml
-rw-r--r-- 1 mcc users 5 Mar 24 05:38 equiv_pt
-rw-r--r-- 1 mcc users 3 Mar 24 05:38 instance
-rw-r--r-- 1 mcc users 5 Mar 24 05:38 iscolored
-rw-r--r-- 1 mcc users 42K Mar 24 05:38 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 1589992262461

[2020-05-20 16:31:04] [INFO ] Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, ReachabilityDeadlock, -z3path, /home/mcc/BenchKit//z3/bin/z3, -yices2path, /home/mcc/BenchKit//yices/bin/yices, -its, -ltsminpath, /home/mcc/BenchKit//lts_install_dir/, -greatspnpath, /home/mcc/BenchKit//greatspn/, -order, META, -manyOrder, -smt, -timeout, 1800]
[2020-05-20 16:31:04] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2020-05-20 16:31:04] [INFO ] Detected file is not PT type :http://www.pnml.org/version-2009/grammar/symmetricnet
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
[2020-05-20 16:31:05] [INFO ] Load time of PNML (colored model parsed with PNMLFW) : 540 ms
[2020-05-20 16:31:05] [INFO ] sort/places :
Dom->AMC,wait_ack,
Dot->cable_free,ACK,T_out,R_tout,S_tout,FMCb,
It->Cpt2,Cpt1,msgl,cable_used,FMC,wait_cable,listen,RMC,PMC,MSG,wait_msg,loop_em,

[2020-05-20 16:31:05] [INFO ] Detected 1 constant HL places corresponding to 10 PT places.
[2020-05-20 16:31:05] [INFO ] Imported 20 HL places and 14 HL transitions for a total of 326 PT places and 12821.0 transition bindings in 49 ms.
[2020-05-20 16:31:05] [INFO ] Computed order based on color domains.
[2020-05-20 16:31:05] [INFO ] Unfolded HLPN to a Petri net with 326 places and 1651 transitions in 33 ms.
[2020-05-20 16:31:05] [INFO ] Unfolded HLPN properties in 0 ms.
Deduced a syphon composed of 10 places in 5 ms
Reduce places removed 20 places and 20 transitions.
Parsed 1 properties from file /home/mcc/execution/ReachabilityDeadlock.xml in 67 ms.
Working with output stream class java.io.PrintStream
Built sparse matrix representations for Structural reductions in 4 ms.15766KB memory used
Starting structural reductions, iteration 0 : 306/306 places, 1631/1631 transitions.
Applied a total of 0 rules in 294 ms. Remains 306 /306 variables (removed 0) and now considering 1631/1631 (removed 0) transitions.
Finished structural reductions, in 1 iterations. Remains : 306/306 places, 1631/1631 transitions.
Starting structural reductions, iteration 0 : 306/306 places, 1631/1631 transitions.
Applied a total of 0 rules in 215 ms. Remains 306 /306 variables (removed 0) and now considering 1631/1631 (removed 0) transitions.
[2020-05-20 16:31:05] [INFO ] Flow matrix only has 642 transitions (discarded 989 similar events)
// Phase 1: matrix 642 rows 306 cols
[2020-05-20 16:31:05] [INFO ] Computed 45 place invariants in 36 ms
[2020-05-20 16:31:06] [INFO ] Implicit Places using invariants in 952 ms returned [231, 232, 233, 234, 235, 236, 237, 238, 239, 240]
Discarding 10 places :
Implicit Place search using SMT only with invariants took 979 ms to find 10 implicit places.
[2020-05-20 16:31:06] [INFO ] Redundant transitions in 95 ms returned []
[2020-05-20 16:31:06] [INFO ] Flow matrix only has 642 transitions (discarded 989 similar events)
// Phase 1: matrix 642 rows 296 cols
[2020-05-20 16:31:06] [INFO ] Computed 35 place invariants in 15 ms
[2020-05-20 16:31:09] [INFO ] Dead Transitions using invariants and state equation in 2604 ms returned [91, 101, 111, 121, 131, 141, 151, 161, 171, 181, 192, 202, 212, 222, 232, 242, 252, 262, 272, 282, 293, 303, 313, 323, 333, 343, 353, 363, 373, 383, 394, 404, 414, 424, 434, 444, 454, 464, 474, 484, 495, 505, 515, 525, 535, 545, 555, 565, 575, 585, 596, 606, 616, 626, 636, 646, 656, 666, 676, 686, 697, 707, 717, 727, 737, 747, 757, 767, 777, 787, 798, 808, 818, 828, 838, 848, 858, 868, 878, 888, 899, 909, 919, 929, 939, 949, 959, 969, 979, 989, 1000, 1010, 1020, 1030, 1040, 1050, 1060, 1070, 1080, 1090]
Found 100 dead transitions using SMT.
Drop transitions removed 100 transitions
Dead transitions reduction (with SMT) removed 100 transitions :[1090, 1080, 1070, 1060, 1050, 1040, 1030, 1020, 1010, 1000, 989, 979, 969, 959, 949, 939, 929, 919, 909, 899, 888, 878, 868, 858, 848, 838, 828, 818, 808, 798, 787, 777, 767, 757, 747, 737, 727, 717, 707, 697, 686, 676, 666, 656, 646, 636, 626, 616, 606, 596, 585, 575, 565, 555, 545, 535, 525, 515, 505, 495, 484, 474, 464, 454, 444, 434, 424, 414, 404, 394, 383, 373, 363, 353, 343, 333, 323, 313, 303, 293, 282, 272, 262, 252, 242, 232, 222, 212, 202, 192, 181, 171, 161, 151, 141, 131, 121, 111, 101, 91]
Starting structural reductions, iteration 1 : 296/306 places, 1531/1631 transitions.
Performed 10 Pre agglomeration using Quasi-Persistent + Divergent Free condition..
Pre-agglomeration after 0 with 10 Pre rules applied. Total rules applied 0 place count 296 transition count 1521
Deduced a syphon composed of 10 places in 1 ms
Reduce places removed 10 places and 0 transitions.
Iterating global reduction 0 with 20 rules applied. Total rules applied 20 place count 286 transition count 1521
Applied a total of 20 rules in 235 ms. Remains 286 /296 variables (removed 10) and now considering 1521/1531 (removed 10) transitions.
[2020-05-20 16:31:09] [INFO ] Flow matrix only has 632 transitions (discarded 889 similar events)
// Phase 1: matrix 632 rows 286 cols
[2020-05-20 16:31:09] [INFO ] Computed 35 place invariants in 5 ms
[2020-05-20 16:31:10] [INFO ] Implicit Places using invariants in 647 ms returned []
[2020-05-20 16:31:10] [INFO ] Flow matrix only has 632 transitions (discarded 889 similar events)
// Phase 1: matrix 632 rows 286 cols
[2020-05-20 16:31:10] [INFO ] Computed 35 place invariants in 7 ms
[2020-05-20 16:31:10] [INFO ] State equation strengthened by 111 read => feed constraints.
[2020-05-20 16:31:16] [INFO ] Implicit Places using invariants and state equation in 6394 ms returned []
Implicit Place search using SMT with State Equation took 7053 ms to find 0 implicit places.
Finished structural reductions, in 2 iterations. Remains : 286/306 places, 1521/1631 transitions.
Random walk for 1250000 steps, including 0 resets, run took 4785 ms (no deadlock found). (steps per millisecond=261 )
Random directed walk for 1250006 steps, including 0 resets, run took 3850 ms (no deadlock found). (steps per millisecond=324 )
[2020-05-20 16:31:25] [INFO ] Flow matrix only has 632 transitions (discarded 889 similar events)
// Phase 1: matrix 632 rows 286 cols
[2020-05-20 16:31:25] [INFO ] Computed 35 place invariants in 4 ms
[2020-05-20 16:31:27] [INFO ] [Real]Absence check using 14 positive place invariants in 11 ms returned sat
[2020-05-20 16:31:27] [INFO ] [Real]Absence check using 14 positive and 21 generalized place invariants in 17 ms returned sat
[2020-05-20 16:31:27] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2020-05-20 16:31:27] [INFO ] [Real]Absence check using state equation in 463 ms returned sat
[2020-05-20 16:31:27] [INFO ] Solution in real domain found non-integer solution.
[2020-05-20 16:31:28] [INFO ] [Nat]Absence check using 14 positive place invariants in 20 ms returned sat
[2020-05-20 16:31:28] [INFO ] [Nat]Absence check using 14 positive and 21 generalized place invariants in 90 ms returned sat
[2020-05-20 16:31:28] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2020-05-20 16:31:29] [INFO ] [Nat]Absence check using state equation in 929 ms returned sat
[2020-05-20 16:31:29] [INFO ] State equation strengthened by 111 read => feed constraints.
[2020-05-20 16:31:29] [INFO ] [Nat]Added 111 Read/Feed constraints in 118 ms returned sat
[2020-05-20 16:31:29] [INFO ] Deduced a trap composed of 49 places in 85 ms
[2020-05-20 16:31:29] [INFO ] Deduced a trap composed of 41 places in 184 ms
[2020-05-20 16:31:30] [INFO ] Deduced a trap composed of 49 places in 64 ms
[2020-05-20 16:31:30] [INFO ] Deduced a trap composed of 41 places in 227 ms
[2020-05-20 16:31:30] [INFO ] Deduced a trap composed of 41 places in 64 ms
[2020-05-20 16:31:30] [INFO ] Deduced a trap composed of 41 places in 102 ms
[2020-05-20 16:31:30] [INFO ] Deduced a trap composed of 41 places in 145 ms
[2020-05-20 16:31:30] [INFO ] Deduced a trap composed of 41 places in 93 ms
[2020-05-20 16:31:30] [INFO ] Deduced a trap composed of 41 places in 65 ms
[2020-05-20 16:31:31] [INFO ] Deduced a trap composed of 49 places in 76 ms
[2020-05-20 16:31:31] [INFO ] Deduced a trap composed of 49 places in 59 ms
[2020-05-20 16:31:31] [INFO ] Trap strengthening (SAT) tested/added 12/11 trap constraints in 1603 ms
[2020-05-20 16:31:31] [INFO ] Computed and/alt/rep : 1511/37380/622 causal constraints in 96 ms.
[2020-05-20 16:31:51] [INFO ] Added : 215 causal constraints over 43 iterations in 20346 ms.(timeout) Result :sat
Attempting to minimize the solution found.
Minimization took 235 ms.
Parikh directed walk for 101200 steps, including 1000 resets, run took 515 ms. (steps per millisecond=196 )
Random directed walk for 500000 steps, including 0 resets, run took 1394 ms (no deadlock found). (steps per millisecond=358 )
Random walk for 500000 steps, including 0 resets, run took 1646 ms (no deadlock found). (steps per millisecond=303 )
Random directed walk for 500007 steps, including 0 resets, run took 1419 ms (no deadlock found). (steps per millisecond=352 )
Random walk for 500000 steps, including 0 resets, run took 1679 ms (no deadlock found). (steps per millisecond=297 )
[2020-05-20 16:31:58] [INFO ] Flatten gal took : 346 ms
Using solver Z3 to compute partial order matrices.
Built C files in :
/home/mcc/execution
[2020-05-20 16:31:59] [INFO ] Applying decomposition
[2020-05-20 16:31:59] [INFO ] Input system was already deterministic with 1631 transitions.
[2020-05-20 16:31:59] [INFO ] Too many transitions (1631) to apply POR reductions. Disabling POR matrices.
[2020-05-20 16:31:59] [INFO ] Flatten gal took : 245 ms
[2020-05-20 16:31:59] [INFO ] Built C files in 493ms conformant to PINS in folder :/home/mcc/execution
Running compilation step : CommandLine [args=[gcc, -c, -I/home/mcc/BenchKit//lts_install_dir//include, -I., -std=c99, -fPIC, -O2, model.c], workingDir=/home/mcc/execution]
Converted graph to binary with : CommandLine [args=[/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.louvain.binaries_1.0.0.202005100927/bin/convert-linux64, -i, /tmp/graph17083595023649040601.txt, -o, /tmp/graph17083595023649040601.bin, -w, /tmp/graph17083595023649040601.weights], workingDir=null]
Built communities with : CommandLine [args=[/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.louvain.binaries_1.0.0.202005100927/bin/louvain-linux64, /tmp/graph17083595023649040601.bin, -l, -1, -v, -w, /tmp/graph17083595023649040601.weights, -q, 0, -e, 0.001], workingDir=null]
[2020-05-20 16:31:59] [INFO ] Decomposing Gal with order
[2020-05-20 16:31:59] [INFO ] Rewriting arrays to variables to allow decomposition.
[2020-05-20 16:32:00] [INFO ] Removed a total of 3825 redundant transitions.
[2020-05-20 16:32:00] [INFO ] Flatten gal took : 667 ms
[2020-05-20 16:32:00] [INFO ] Fuse similar labels procedure discarded/fused a total of 559 labels/synchronizations in 109 ms.
[2020-05-20 16:32:01] [INFO ] Time to serialize gal into /home/mcc/execution/ReachabilityDeadlock.pnml.gal : 39 ms
Invoking ITS tools like this :CommandLine [args=[/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202005100927/bin/its-ctl-linux64, --gc-threshold, 2000000, --quiet, -i, /home/mcc/execution/ReachabilityDeadlock.pnml.gal, -t, CGAL, -ctl, DEADLOCK], workingDir=/home/mcc/execution]

its-ctl command run as :

/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202005100927/bin/its-ctl-linux64 --gc-threshold 2000000 --quiet -i /home/mcc/execution/ReachabilityDeadlock.pnml.gal -t CGAL -ctl DEADLOCK
No direction supplied, using forward translation only.
built 10 ordering constraints for composite.
built 91 ordering constraints for composite.
built 40 ordering constraints for composite.
built 74 ordering constraints for composite.
built 194 ordering constraints for composite.
Compilation finished in 16271 ms.
Running link step : CommandLine [args=[gcc, -shared, -o, gal.so, model.o], workingDir=/home/mcc/execution]
Link finished in 100 ms.
Running LTSmin : CommandLine [args=[/home/mcc/BenchKit//lts_install_dir//bin/pins2lts-mc, ./gal.so, --threads=8, -p, --pins-guards, --when, -d], workingDir=/home/mcc/execution]
/home/mcc/BenchKit//lts_install_dir//bin/pins2lts-mc: error while loading shared libraries: libltdl.so.7: cannot open shared object file: No such file or directory
WARNING : LTS min runner thread failed on error :java.lang.RuntimeException: Unexpected exception when executing ltsmin :CommandLine [args=[/home/mcc/BenchKit//lts_install_dir//bin/pins2lts-mc, ./gal.so, --threads=8, -p, --pins-guards, --when, -d], workingDir=/home/mcc/execution]
127
java.lang.RuntimeException: Unexpected exception when executing ltsmin :CommandLine [args=[/home/mcc/BenchKit//lts_install_dir//bin/pins2lts-mc, ./gal.so, --threads=8, -p, --pins-guards, --when, -d], workingDir=/home/mcc/execution]
127
at fr.lip6.move.gal.application.LTSminRunner.checkProperty(LTSminRunner.java:170)
at fr.lip6.move.gal.application.LTSminRunner.access$10(LTSminRunner.java:124)
at fr.lip6.move.gal.application.LTSminRunner$1.run(LTSminRunner.java:93)
at java.base/java.lang.Thread.run(Thread.java:834)
Detected timeout of ITS tools.
[2020-05-20 16:42:21] [INFO ] Applying decomposition
[2020-05-20 16:42:21] [INFO ] Flatten gal took : 166 ms
[2020-05-20 16:42:21] [INFO ] Decomposing Gal with order
[2020-05-20 16:42:21] [INFO ] Rewriting arrays to variables to allow decomposition.
[2020-05-20 16:42:22] [INFO ] Removed a total of 7121 redundant transitions.
[2020-05-20 16:42:22] [INFO ] Flatten gal took : 376 ms
[2020-05-20 16:42:22] [INFO ] Fuse similar labels procedure discarded/fused a total of 80 labels/synchronizations in 108 ms.
[2020-05-20 16:42:22] [INFO ] Time to serialize gal into /home/mcc/execution/ReachabilityDeadlock.pnml.gal : 51 ms
Invoking ITS tools like this :CommandLine [args=[/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202005100927/bin/its-ctl-linux64, --gc-threshold, 2000000, --quiet, -i, /home/mcc/execution/ReachabilityDeadlock.pnml.gal, -t, CGAL, -ctl, DEADLOCK], workingDir=/home/mcc/execution]

its-ctl command run as :

/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202005100927/bin/its-ctl-linux64 --gc-threshold 2000000 --quiet -i /home/mcc/execution/ReachabilityDeadlock.pnml.gal -t CGAL -ctl DEADLOCK
No direction supplied, using forward translation only.
built 1321 ordering constraints for composite.
Detected timeout of ITS tools.
[2020-05-20 16:52:42] [INFO ] Flatten gal took : 1035 ms
[2020-05-20 16:52:45] [INFO ] Input system was already deterministic with 1631 transitions.
[2020-05-20 16:52:45] [INFO ] Transformed 306 places.
[2020-05-20 16:52:46] [INFO ] Transformed 1631 transitions.
Running greatSPN : CommandLine [args=[/home/mcc/BenchKit//greatspn//bin/pinvar, /home/mcc/execution/gspn], workingDir=/home/mcc/execution]
P-invariant computation with GreatSPN timed out. Skipping.
Running greatSPN : CommandLine [args=[/home/mcc/BenchKit//greatspn//bin/RGMEDD2, /home/mcc/execution/gspn, -META, -varord-only], workingDir=/home/mcc/execution]
Run of greatSPN captured in /home/mcc/execution/outPut.txt
Using order generated by GreatSPN with heuristic : META
[2020-05-20 16:53:16] [INFO ] Time to serialize gal into /home/mcc/execution/ReachabilityDeadlock.pnml.gal : 124 ms
Invoking ITS tools like this :CommandLine [args=[/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202005100927/bin/its-ctl-linux64, --gc-threshold, 2000000, --quiet, -i, /home/mcc/execution/ReachabilityDeadlock.pnml.gal, -t, CGAL, -ctl, DEADLOCK, --load-order, /home/mcc/execution/model.ord, --gen-order, FOLLOW], workingDir=/home/mcc/execution]

its-ctl command run as :

/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202005100927/bin/its-ctl-linux64 --gc-threshold 2000000 --quiet -i /home/mcc/execution/ReachabilityDeadlock.pnml.gal -t CGAL -ctl DEADLOCK --load-order /home/mcc/execution/model.ord --gen-order FOLLOW
Successfully loaded order from file /home/mcc/execution/model.ord
No direction supplied, using forward translation only.

BK_TIME_CONFINEMENT_REACHED

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

+ export BINDIR=/home/mcc/BenchKit/
+ BINDIR=/home/mcc/BenchKit/
++ pwd
+ export MODEL=/home/mcc/execution
+ MODEL=/home/mcc/execution
+ [[ ReachabilityDeadlock = StateSpace ]]
+ /home/mcc/BenchKit//runeclipse.sh /home/mcc/execution ReachabilityDeadlock -its -ltsminpath /home/mcc/BenchKit//lts_install_dir/ -greatspnpath /home/mcc/BenchKit//greatspn/ -order META -manyOrder -smt -timeout 1800
+ ulimit -s 65536
+ [[ -z '' ]]
+ export LTSMIN_MEM_SIZE=8589934592
+ LTSMIN_MEM_SIZE=8589934592
+ /home/mcc/BenchKit//itstools/its-tools -data /home/mcc/execution/workspace -pnfolder /home/mcc/execution -examination ReachabilityDeadlock -z3path /home/mcc/BenchKit//z3/bin/z3 -yices2path /home/mcc/BenchKit//yices/bin/yices -its -ltsminpath /home/mcc/BenchKit//lts_install_dir/ -greatspnpath /home/mcc/BenchKit//greatspn/ -order META -manyOrder -smt -timeout 1800 -vmargs -Dosgi.locking=none -Declipse.stateSaveDelayInterval=-1 -Dosgi.configuration.area=/tmp/.eclipse -Xss128m -Xms40m -Xmx16000m -Dfile.encoding=UTF-8 -Dosgi.requiredJavaVersion=1.6

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-10"
export BK_EXAMINATION="ReachabilityDeadlock"
export BK_TOOL="itstools"
export BK_RESULT_DIR="/tmp/BK_RESULTS/OUTPUTS"
export BK_TIME_CONFINEMENT="1800"
export BK_MEMORY_CONFINEMENT="16384"

# 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 SafeBus-COL-10, 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 r162-oct2-158972927100221"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

tar xzf /home/mcc/BenchKit/INPUTS/SafeBus-COL-10.tgz
mv SafeBus-COL-10 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 ;