About the Execution of ITS-Tools for ShieldPPPt-PT-020B
Execution Summary | |||||
Max Memory Used (MB) |
Time wait (ms) | CPU Usage (ms) | I/O Wait (ms) | Computed Result | Execution Status |
10289.436 | 1800000.00 | 7063790.00 | 350.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/mcc2022-input.r229-tall-165286034300396.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 itstools
Input is ShieldPPPt-PT-020B, examination is ReachabilityDeadlock
Time confinement is 1800 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r229-tall-165286034300396
=====================================================================
--------------------
preparation of the directory to be used:
/home/mcc/execution
total 588K
-rw-r--r-- 1 mcc users 5.6K Apr 29 13:37 CTLCardinality.txt
-rw-r--r-- 1 mcc users 57K Apr 29 13:37 CTLCardinality.xml
-rw-r--r-- 1 mcc users 5.8K Apr 29 13:36 CTLFireability.txt
-rw-r--r-- 1 mcc users 53K Apr 29 13:36 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.2K May 10 09:34 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 3.9K May 9 08:55 LTLCardinality.txt
-rw-r--r-- 1 mcc users 28K May 9 08:55 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.0K May 9 08:55 LTLFireability.txt
-rw-r--r-- 1 mcc users 13K May 9 08:55 LTLFireability.xml
-rw-r--r-- 1 mcc users 1.6K May 9 08:55 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.7K May 9 08:55 UpperBounds.xml
-rw-r--r-- 1 mcc users 6 May 10 09:34 equiv_col
-rw-r--r-- 1 mcc users 5 May 10 09:34 instance
-rw-r--r-- 1 mcc users 6 May 10 09:34 iscolored
-rw-r--r-- 1 mcc users 376K May 10 09:34 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 1653035177712
Running Version 202205111006
[2022-05-20 08:26:18] [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]
[2022-05-20 08:26:18] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2022-05-20 08:26:19] [INFO ] Load time of PNML (sax parser for PT used): 166 ms
[2022-05-20 08:26:19] [INFO ] Transformed 1563 places.
[2022-05-20 08:26:19] [INFO ] Transformed 1423 transitions.
[2022-05-20 08:26:19] [INFO ] Found NUPN structural information;
[2022-05-20 08:26:19] [INFO ] Parsed PT model containing 1563 places and 1423 transitions in 308 ms.
Parsed 1 properties from file /home/mcc/execution/ReachabilityDeadlock.xml in 3 ms.
Working with output stream class java.io.PrintStream
Built sparse matrix representations for Structural reductions in 7 ms.15211KB memory used
Starting structural reductions in DEADLOCKS mode, iteration 0 : 1563/1563 places, 1423/1423 transitions.
Computed a total of 400 stabilizing places and 400 stable transitions
Computed a total of 400 stabilizing places and 400 stable transitions
Drop transitions removed 383 transitions
Trivial Post-agglo rules discarded 383 transitions
Performed 383 trivial Post agglomeration. Transition count delta: 383
Iterating post reduction 0 with 383 rules applied. Total rules applied 383 place count 1563 transition count 1040
Reduce places removed 383 places and 0 transitions.
Ensure Unique test removed 1 transitions
Reduce isomorphic transitions removed 1 transitions.
Computed a total of 240 stabilizing places and 240 stable transitions
Drop transitions removed 1 transitions
Trivial Post-agglo rules discarded 1 transitions
Performed 1 trivial Post agglomeration. Transition count delta: 1
Iterating post reduction 1 with 385 rules applied. Total rules applied 768 place count 1180 transition count 1038
Reduce places removed 1 places and 0 transitions.
Computed a total of 240 stabilizing places and 240 stable transitions
Iterating post reduction 2 with 1 rules applied. Total rules applied 769 place count 1179 transition count 1038
Computed a total of 240 stabilizing places and 240 stable transitions
Performed 80 Pre agglomeration using Quasi-Persistent + Divergent Free condition..
Pre-agglomeration after 3 with 80 Pre rules applied. Total rules applied 769 place count 1179 transition count 958
Deduced a syphon composed of 80 places in 2 ms
Reduce places removed 80 places and 0 transitions.
Iterating global reduction 3 with 160 rules applied. Total rules applied 929 place count 1099 transition count 958
Computed a total of 240 stabilizing places and 240 stable transitions
Discarding 140 places :
Symmetric choice reduction at 3 with 140 rule applications. Total rules 1069 place count 959 transition count 818
Iterating global reduction 3 with 140 rules applied. Total rules applied 1209 place count 959 transition count 818
Computed a total of 160 stabilizing places and 160 stable transitions
Performed 60 Pre agglomeration using Quasi-Persistent + Divergent Free condition..
Pre-agglomeration after 3 with 60 Pre rules applied. Total rules applied 1209 place count 959 transition count 758
Deduced a syphon composed of 60 places in 3 ms
Reduce places removed 60 places and 0 transitions.
Iterating global reduction 3 with 120 rules applied. Total rules applied 1329 place count 899 transition count 758
Computed a total of 161 stabilizing places and 160 stable transitions
Performed 339 Post agglomeration using F-continuation condition.Transition count delta: 339
Deduced a syphon composed of 339 places in 2 ms
Reduce places removed 339 places and 0 transitions.
Iterating global reduction 3 with 678 rules applied. Total rules applied 2007 place count 560 transition count 419
Computed a total of 2 stabilizing places and 1 stable transitions
Renaming transitions due to excessive name length > 1024 char.
Performed 59 Post agglomeration using F-continuation condition.Transition count delta: 0
Deduced a syphon composed of 59 places in 1 ms
Reduce places removed 59 places and 0 transitions.
Iterating global reduction 3 with 118 rules applied. Total rules applied 2125 place count 501 transition count 419
Computed a total of 2 stabilizing places and 1 stable transitions
Computed a total of 2 stabilizing places and 1 stable transitions
Reduce places removed 1 places and 1 transitions.
Iterating global reduction 3 with 1 rules applied. Total rules applied 2126 place count 500 transition count 418
Reduce places removed 1 places and 0 transitions.
Computed a total of 0 stabilizing places and 0 stable transitions
Iterating post reduction 3 with 1 rules applied. Total rules applied 2127 place count 499 transition count 418
Computed a total of 0 stabilizing places and 0 stable transitions
Performed 2 Pre agglomeration using Quasi-Persistent + Divergent Free condition..
Pre-agglomeration after 4 with 2 Pre rules applied. Total rules applied 2127 place count 499 transition count 416
Deduced a syphon composed of 2 places in 1 ms
Reduce places removed 2 places and 0 transitions.
Iterating global reduction 4 with 4 rules applied. Total rules applied 2131 place count 497 transition count 416
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 2131 rules in 479 ms. Remains 497 /1563 variables (removed 1066) and now considering 416/1423 (removed 1007) transitions.
Finished structural reductions, in 1 iterations. Remains : 497/1563 places, 416/1423 transitions.
Random walk for 1250000 steps, including 0 resets, run took 4971 ms (no deadlock found). (steps per millisecond=251 )
Random directed walk for 1250000 steps, including 0 resets, run took 3392 ms (no deadlock found). (steps per millisecond=368 )
// Phase 1: matrix 416 rows 497 cols
[2022-05-20 08:26:28] [INFO ] Computed 220 place invariants in 11 ms
[2022-05-20 08:26:28] [INFO ] [Real]Absence check using 220 positive place invariants in 78 ms returned sat
[2022-05-20 08:26:28] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2022-05-20 08:26:28] [INFO ] [Real]Absence check using state equation in 435 ms returned sat
[2022-05-20 08:26:28] [INFO ] Solution in real domain found non-integer solution.
[2022-05-20 08:26:29] [INFO ] [Nat]Absence check using 220 positive place invariants in 79 ms returned sat
[2022-05-20 08:26:29] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2022-05-20 08:26:29] [INFO ] [Nat]Absence check using state equation in 503 ms returned sat
[2022-05-20 08:26:29] [INFO ] Computed and/alt/rep : 412/649/412 causal constraints (skipped 0 transitions) in 33 ms.
[2022-05-20 08:26:32] [INFO ] Added : 366 causal constraints over 74 iterations in 3221 ms. Result :sat
Attempting to minimize the solution found.
Minimization took 21 ms.
Parikh directed walk for 255100 steps, including 1002 resets, run took 1100 ms. (steps per millisecond=231 )
Random directed walk for 500002 steps, including 0 resets, run took 1460 ms (no deadlock found). (steps per millisecond=342 )
Random walk for 500000 steps, including 0 resets, run took 2006 ms (no deadlock found). (steps per millisecond=249 )
Random directed walk for 500000 steps, including 0 resets, run took 1440 ms (no deadlock found). (steps per millisecond=347 )
Random walk for 500000 steps, including 0 resets, run took 1953 ms (no deadlock found). (steps per millisecond=256 )
Starting structural reductions in DEADLOCKS mode, iteration 0 : 497/497 places, 416/416 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 15 ms. Remains 497 /497 variables (removed 0) and now considering 416/416 (removed 0) transitions.
// Phase 1: matrix 416 rows 497 cols
[2022-05-20 08:26:40] [INFO ] Computed 220 place invariants in 7 ms
[2022-05-20 08:26:41] [INFO ] Implicit Places using invariants in 287 ms returned [480, 484]
Discarding 2 places :
Implicit Place search using SMT only with invariants took 289 ms to find 2 implicit places.
Starting structural reductions in DEADLOCKS mode, iteration 1 : 495/497 places, 416/416 transitions.
Computed a total of 0 stabilizing places and 0 stable transitions
Computed a total of 0 stabilizing places and 0 stable transitions
Performed 2 Post agglomeration using F-continuation condition.Transition count delta: 2
Deduced a syphon composed of 2 places in 0 ms
Reduce places removed 2 places and 0 transitions.
Iterating global reduction 0 with 4 rules applied. Total rules applied 4 place count 493 transition count 414
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 4 rules in 23 ms. Remains 493 /495 variables (removed 2) and now considering 414/416 (removed 2) transitions.
// Phase 1: matrix 414 rows 493 cols
[2022-05-20 08:26:41] [INFO ] Computed 218 place invariants in 3 ms
[2022-05-20 08:26:41] [INFO ] Implicit Places using invariants in 252 ms returned []
// Phase 1: matrix 414 rows 493 cols
[2022-05-20 08:26:41] [INFO ] Computed 218 place invariants in 2 ms
[2022-05-20 08:26:41] [INFO ] Implicit Places using invariants and state equation in 386 ms returned []
Implicit Place search using SMT with State Equation took 642 ms to find 0 implicit places.
Starting structural reductions in DEADLOCKS mode, iteration 2 : 493/497 places, 414/416 transitions.
Finished structural reductions, in 2 iterations. Remains : 493/497 places, 414/416 transitions.
Random walk for 1250000 steps, including 0 resets, run took 4896 ms (no deadlock found). (steps per millisecond=255 )
Random directed walk for 1250000 steps, including 0 resets, run took 3516 ms (no deadlock found). (steps per millisecond=355 )
// Phase 1: matrix 414 rows 493 cols
[2022-05-20 08:26:50] [INFO ] Computed 218 place invariants in 2 ms
[2022-05-20 08:26:50] [INFO ] [Real]Absence check using 218 positive place invariants in 74 ms returned sat
[2022-05-20 08:26:50] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2022-05-20 08:26:51] [INFO ] [Real]Absence check using state equation in 511 ms returned sat
[2022-05-20 08:26:51] [INFO ] Solution in real domain found non-integer solution.
[2022-05-20 08:26:51] [INFO ] [Nat]Absence check using 218 positive place invariants in 69 ms returned sat
[2022-05-20 08:26:51] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2022-05-20 08:26:51] [INFO ] [Nat]Absence check using state equation in 460 ms returned sat
[2022-05-20 08:26:51] [INFO ] Computed and/alt/rep : 410/643/410 causal constraints (skipped 0 transitions) in 26 ms.
[2022-05-20 08:26:54] [INFO ] Added : 355 causal constraints over 71 iterations in 2978 ms. Result :sat
Attempting to minimize the solution found.
Minimization took 22 ms.
Parikh directed walk for 203400 steps, including 238 resets, run took 1013 ms. (steps per millisecond=200 )
Random directed walk for 500002 steps, including 0 resets, run took 1415 ms (no deadlock found). (steps per millisecond=353 )
Random walk for 500000 steps, including 0 resets, run took 1957 ms (no deadlock found). (steps per millisecond=255 )
Random directed walk for 500000 steps, including 0 resets, run took 1405 ms (no deadlock found). (steps per millisecond=355 )
Random walk for 500000 steps, including 0 resets, run took 1950 ms (no deadlock found). (steps per millisecond=256 )
[2022-05-20 08:27:02] [INFO ] Flatten gal took : 151 ms
Using solver Z3 to compute partial order matrices.
Built C files in :
/tmp/ltsmin1342395850161333213
[2022-05-20 08:27:02] [INFO ] Applying decomposition
[2022-05-20 08:27:03] [INFO ] Computing symmetric may disable matrix : 1423 transitions.
[2022-05-20 08:27:03] [INFO ] Computation of Complete disable matrix. took 2 ms. Total solver calls (SAT/UNSAT): 0(0/0)
[2022-05-20 08:27:03] [INFO ] Computing symmetric may enable matrix : 1423 transitions.
[2022-05-20 08:27:03] [INFO ] Computation of Complete enable matrix. took 1 ms. Total solver calls (SAT/UNSAT): 0(0/0)
[2022-05-20 08:27:03] [INFO ] Flatten gal took : 101 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/graph15470213903739009668.txt' '-o' '/tmp/graph15470213903739009668.bin' '-w' '/tmp/graph15470213903739009668.weights'
Built communities with : '/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.louvain.binaries_1.0.0.202205111006/bin/louvain-linux64' '/tmp/graph15470213903739009668.bin' '-l' '-1' '-v' '-w' '/tmp/graph15470213903739009668.weights' '-q' '0' '-e' '0.001'
[2022-05-20 08:27:03] [INFO ] Decomposing Gal with order
[2022-05-20 08:27:03] [INFO ] Rewriting arrays to variables to allow decomposition.
[2022-05-20 08:27:03] [INFO ] Computing Do-Not-Accords matrix : 1423 transitions.
[2022-05-20 08:27:03] [INFO ] Computation of Completed DNA matrix. took 61 ms. Total solver calls (SAT/UNSAT): 0(0/0)
[2022-05-20 08:27:03] [INFO ] Built C files in 760ms conformant to PINS (ltsmin variant)in folder :/tmp/ltsmin1342395850161333213
[2022-05-20 08:27:03] [INFO ] Removed a total of 120 redundant transitions.
Running compilation step : cd /tmp/ltsmin1342395850161333213;'/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'
[2022-05-20 08:27:03] [INFO ] Flatten gal took : 185 ms
[2022-05-20 08:27:03] [INFO ] Fuse similar labels procedure discarded/fused a total of 0 labels/synchronizations in 17 ms.
[2022-05-20 08:27:03] [INFO ] Time to serialize gal into /tmp/ReachabilityDeadlock11680492182293127912.gal : 43 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/ReachabilityDeadlock11680492182293127912.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...226
No direction supplied, using forward translation only.
Compilation finished in 5327 ms.
Running link step : cd /tmp/ltsmin1342395850161333213;'gcc' '-shared' '-o' 'gal.so' 'model.o'
Link finished in 81 ms.
Running LTSmin : cd /tmp/ltsmin1342395850161333213;'/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.
[2022-05-20 08:37:18] [INFO ] Applying decomposition
[2022-05-20 08:37:18] [INFO ] Flatten gal took : 139 ms
[2022-05-20 08:37:19] [INFO ] Decomposing Gal with order
[2022-05-20 08:37:19] [INFO ] Rewriting arrays to variables to allow decomposition.
[2022-05-20 08:37:19] [INFO ] Flatten gal took : 178 ms
[2022-05-20 08:37:19] [INFO ] Fuse similar labels procedure discarded/fused a total of 0 labels/synchronizations in 24 ms.
[2022-05-20 08:37:19] [INFO ] Time to serialize gal into /tmp/ReachabilityDeadlock6566989069486670964.gal : 52 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/ReachabilityDeadlock6566989069486670964.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.
Detected timeout of ITS tools.
[2022-05-20 08:47:34] [INFO ] Flatten gal took : 119 ms
[2022-05-20 08:47:34] [INFO ] Input system was already deterministic with 1423 transitions.
[2022-05-20 08:47:34] [INFO ] Transformed 1563 places.
[2022-05-20 08:47:34] [INFO ] Transformed 1423 transitions.
Running greatSPN : cd /home/mcc/execution;'/home/mcc/BenchKit/bin//..//greatspn//bin/pinvar' '/home/mcc/execution/gspn'
Run of greatSPN captured in /home/mcc/execution/outPut.txt
Running greatSPN : cd /home/mcc/execution;'/home/mcc/BenchKit/bin//..//greatspn//bin/RGMEDD2' '/home/mcc/execution/gspn' '-META' '-varord-only'
Run of greatSPN captured in /home/mcc/execution/outPut.txt
Using order generated by GreatSPN with heuristic : META
[2022-05-20 08:47:35] [INFO ] Time to serialize gal into /tmp/ReachabilityDeadlock1067936550539495345.gal : 42 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/ReachabilityDeadlock1067936550539495345.gal' '-t' 'CGAL' '-ctl' 'DEADLOCK' '--load-order' '/home/mcc/execution/model.ord' '--gen-order' 'FOLLOW'
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...291
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 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="ShieldPPPt-PT-020B"
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"
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 ShieldPPPt-PT-020B, 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 r229-tall-165286034300396"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"
tar xzf /home/mcc/BenchKit/INPUTS/ShieldPPPt-PT-020B.tgz
mv ShieldPPPt-PT-020B 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 '
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 ;