fond
Model Checking Contest 2022
12th edition, Bergen, Norway, June 21, 2022
Execution of r252-smll-165303245100014
Last Updated
Jun 22, 2022

About the Execution of 2021-gold for SimpleLoadBal-PT-10

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
415.928 20137.00 37009.00 377.40 F 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.r252-smll-165303245100014.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 SimpleLoadBal-PT-10, examination is Liveness
Time confinement is 1800 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r252-smll-165303245100014
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 764K
-rw-r--r-- 1 mcc users 8.4K Apr 29 14:19 CTLCardinality.txt
-rw-r--r-- 1 mcc users 73K Apr 29 14:19 CTLCardinality.xml
-rw-r--r-- 1 mcc users 7.0K Apr 29 14:18 CTLFireability.txt
-rw-r--r-- 1 mcc users 48K Apr 29 14:18 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.2K May 10 09:34 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 4.7K May 9 09:02 LTLCardinality.txt
-rw-r--r-- 1 mcc users 27K May 9 09:02 LTLCardinality.xml
-rw-r--r-- 1 mcc users 3.0K May 9 09:02 LTLFireability.txt
-rw-r--r-- 1 mcc users 16K May 9 09:02 LTLFireability.xml
-rw-r--r-- 1 mcc users 1.9K May 9 09:02 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.9K May 9 09:02 UpperBounds.xml
-rw-r--r-- 1 mcc users 6 May 10 09:34 equiv_col
-rw-r--r-- 1 mcc users 3 May 10 09:34 instance
-rw-r--r-- 1 mcc users 6 May 10 09:34 iscolored
-rw-r--r-- 1 mcc users 535K 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 Liveness

=== Now, execution of the tool begins

BK_START 1653074579297

Running Version 0
[2022-05-20 19:23:02] [INFO ] Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, Liveness, -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 19:23:02] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2022-05-20 19:23:02] [INFO ] Load time of PNML (sax parser for PT used): 236 ms
[2022-05-20 19:23:02] [INFO ] Transformed 104 places.
[2022-05-20 19:23:02] [INFO ] Transformed 605 transitions.
[2022-05-20 19:23:02] [INFO ] Found NUPN structural information;
[2022-05-20 19:23:02] [INFO ] Completing missing partition info from NUPN : creating a component with [P_client_idle_1, P_client_idle_2, P_client_idle_3, P_client_idle_4, P_client_idle_5, P_client_idle_6, P_client_idle_7, P_client_idle_8, P_client_idle_9, P_client_idle_10, P_client_waiting_1, P_client_waiting_2, P_client_waiting_3, P_client_waiting_4, P_client_waiting_5, P_client_waiting_6, P_client_waiting_7, P_client_waiting_8, P_client_waiting_9, P_client_waiting_10, P_client_request_1, P_client_request_2, P_client_request_3, P_client_request_4, P_client_request_5, P_client_request_6, P_client_request_7, P_client_request_8, P_client_request_9, P_client_request_10, P_client_ack_1, P_client_ack_2, P_client_ack_3, P_client_ack_4, P_client_ack_5, P_client_ack_6, P_client_ack_7, P_client_ack_8, P_client_ack_9, P_client_ack_10, P_server_idle_1, P_server_idle_2, P_server_waiting_1, P_server_waiting_2, P_server_processed_1, P_server_processed_2, P_server_notification_1, P_server_notification_2, P_server_notification_ack_1, P_server_notification_ack_2, P_server_request_1_1, P_server_request_1_2, P_server_request_2_1, P_server_request_2_2, P_server_request_3_1, P_server_request_3_2, P_server_request_4_1, P_server_request_4_2, P_server_request_5_1, P_server_request_5_2, P_server_request_6_1, P_server_request_6_2, P_server_request_7_1, P_server_request_7_2, P_server_request_8_1, P_server_request_8_2, P_server_request_9_1, P_server_request_9_2, P_server_request_10_1, P_server_request_10_2, P_lb_idle_1, P_lb_routing_1_1, P_lb_routing_1_2, P_lb_routing_1_3, P_lb_routing_1_4, P_lb_routing_1_5, P_lb_routing_1_6, P_lb_routing_1_7, P_lb_routing_1_8, P_lb_routing_1_9, P_lb_routing_1_10, P_lb_balancing_1, P_lb_load_1_0, P_lb_load_1_1, P_lb_load_1_2, P_lb_load_1_3, P_lb_load_1_4, P_lb_load_1_5, P_lb_load_1_6, P_lb_load_1_7, P_lb_load_1_8, P_lb_load_1_9, P_lb_load_1_10, P_lb_load_2_0, P_lb_load_2_1, P_lb_load_2_2, P_lb_load_2_3, P_lb_load_2_4, P_lb_load_2_5, P_lb_load_2_6, P_lb_load_2_7, P_lb_load_2_8, P_lb_load_2_9, P_lb_load_2_10]
[2022-05-20 19:23:02] [INFO ] Parsed PT model containing 104 places and 605 transitions in 324 ms.
Built sparse matrix representations for Structural reductions in 14 ms.11329KB memory used
Starting structural reductions, iteration 0 : 104/104 places, 605/605 transitions.
Applied a total of 0 rules in 103 ms. Remains 104 /104 variables (removed 0) and now considering 605/605 (removed 0) transitions.
Finished structural reductions, in 1 iterations. Remains : 104/104 places, 605/605 transitions.
Starting structural reductions, iteration 0 : 104/104 places, 605/605 transitions.
Applied a total of 0 rules in 53 ms. Remains 104 /104 variables (removed 0) and now considering 605/605 (removed 0) transitions.
[2022-05-20 19:23:03] [INFO ] Flow matrix only has 475 transitions (discarded 130 similar events)
// Phase 1: matrix 475 rows 104 cols
[2022-05-20 19:23:03] [INFO ] Computed 29 place invariants in 33 ms
[2022-05-20 19:23:03] [INFO ] Implicit Places using invariants in 315 ms returned []
[2022-05-20 19:23:03] [INFO ] Flow matrix only has 475 transitions (discarded 130 similar events)
// Phase 1: matrix 475 rows 104 cols
[2022-05-20 19:23:03] [INFO ] Computed 29 place invariants in 12 ms
[2022-05-20 19:23:03] [INFO ] State equation strengthened by 221 read => feed constraints.
[2022-05-20 19:23:04] [INFO ] Implicit Places using invariants and state equation in 659 ms returned []
Implicit Place search using SMT with State Equation took 1016 ms to find 0 implicit places.
[2022-05-20 19:23:04] [INFO ] Redundant transitions in 88 ms returned []
[2022-05-20 19:23:04] [INFO ] Flow matrix only has 475 transitions (discarded 130 similar events)
// Phase 1: matrix 475 rows 104 cols
[2022-05-20 19:23:04] [INFO ] Computed 29 place invariants in 12 ms
[2022-05-20 19:23:04] [INFO ] Dead Transitions using invariants and state equation in 585 ms returned [66, 67, 68, 69, 70, 71, 72, 73, 86, 87, 88, 89, 90, 91, 92, 93, 106, 107, 108, 109, 110, 111, 112, 113, 126, 127, 128, 129, 130, 131, 132, 133, 146, 147, 148, 149, 150, 151, 152, 153, 166, 167, 168, 169, 170, 171, 172, 173, 186, 187, 188, 189, 190, 191, 192, 193, 206, 207, 208, 209, 210, 211, 212, 213, 226, 227, 228, 229, 230, 231, 232, 233, 246, 247, 248, 249, 250, 251, 252, 253, 260, 261, 262, 263, 270, 271, 272, 273, 280, 281, 282, 283, 290, 291, 292, 293, 300, 301, 302, 303, 310, 311, 312, 313, 320, 321, 322, 323, 330, 331, 332, 333, 340, 341, 342, 343, 350, 351, 352, 353, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584]
Found 192 dead transitions using SMT.
Drop transitions removed 192 transitions
Dead transitions reduction (with SMT) removed 192 transitions :[584, 583, 582, 581, 580, 579, 578, 577, 576, 575, 574, 573, 572, 571, 570, 569, 568, 567, 566, 565, 564, 563, 562, 561, 560, 559, 558, 557, 556, 555, 494, 493, 492, 491, 490, 489, 488, 487, 486, 485, 484, 483, 482, 481, 480, 479, 478, 477, 476, 475, 474, 473, 472, 471, 470, 469, 468, 467, 466, 465, 404, 403, 402, 401, 400, 399, 398, 397, 396, 395, 394, 393, 353, 352, 351, 350, 343, 342, 341, 340, 333, 332, 331, 330, 323, 322, 321, 320, 313, 312, 311, 310, 303, 302, 301, 300, 293, 292, 291, 290, 283, 282, 281, 280, 273, 272, 271, 270, 263, 262, 261, 260, 253, 252, 251, 250, 249, 248, 247, 246, 233, 232, 231, 230, 229, 228, 227, 226, 213, 212, 211, 210, 209, 208, 207, 206, 193, 192, 191, 190, 189, 188, 187, 186, 173, 172, 171, 170, 169, 168, 167, 166, 153, 152, 151, 150, 149, 148, 147, 146, 133, 132, 131, 130, 129, 128, 127, 126, 113, 112, 111, 110, 109, 108, 107, 106, 93, 92, 91, 90, 89, 88, 87, 86, 73, 72, 71, 70, 69, 68, 67, 66]
Starting structural reductions, iteration 1 : 104/104 places, 413/605 transitions.
Reduce places removed 0 places and 4 transitions.
Graph (complete) has 1061 edges and 104 vertex of which 102 are kept as prefixes of interest. Removing 2 places using SCC suffix rule.4 ms
Discarding 2 places :
Also discarding 0 output transitions
Iterating post reduction 0 with 1 rules applied. Total rules applied 1 place count 102 transition count 409
Reduce places removed 0 places and 4 transitions.
Graph (complete) has 1049 edges and 102 vertex of which 100 are kept as prefixes of interest. Removing 2 places using SCC suffix rule.1 ms
Discarding 2 places :
Also discarding 0 output transitions
Iterating post reduction 1 with 1 rules applied. Total rules applied 2 place count 100 transition count 405
Reduce places removed 0 places and 4 transitions.
Graph (complete) has 1037 edges and 100 vertex of which 98 are kept as prefixes of interest. Removing 2 places using SCC suffix rule.2 ms
Discarding 2 places :
Also discarding 0 output transitions
Iterating post reduction 2 with 1 rules applied. Total rules applied 3 place count 98 transition count 401
Reduce places removed 0 places and 24 transitions.
Graph (complete) has 963 edges and 98 vertex of which 96 are kept as prefixes of interest. Removing 2 places using SCC suffix rule.1 ms
Discarding 2 places :
Also discarding 0 output transitions
Iterating post reduction 3 with 1 rules applied. Total rules applied 4 place count 96 transition count 377
Applied a total of 4 rules in 50 ms. Remains 96 /104 variables (removed 8) and now considering 377/413 (removed 36) transitions.
[2022-05-20 19:23:04] [INFO ] Flow matrix only has 299 transitions (discarded 78 similar events)
// Phase 1: matrix 299 rows 96 cols
[2022-05-20 19:23:04] [INFO ] Computed 29 place invariants in 5 ms
[2022-05-20 19:23:04] [INFO ] Implicit Places using invariants in 46 ms returned []
[2022-05-20 19:23:04] [INFO ] Flow matrix only has 299 transitions (discarded 78 similar events)
// Phase 1: matrix 299 rows 96 cols
[2022-05-20 19:23:04] [INFO ] Computed 29 place invariants in 6 ms
[2022-05-20 19:23:04] [INFO ] State equation strengthened by 133 read => feed constraints.
[2022-05-20 19:23:05] [INFO ] Implicit Places using invariants and state equation in 203 ms returned []
Implicit Place search using SMT with State Equation took 252 ms to find 0 implicit places.
Finished structural reductions, in 2 iterations. Remains : 96/104 places, 377/605 transitions.
Random walk for 1250000 steps, including 0 resets, run took 4891 ms (no deadlock found). (steps per millisecond=255 )
Random directed walk for 1250000 steps, including 0 resets, run took 3536 ms (no deadlock found). (steps per millisecond=353 )
[2022-05-20 19:23:13] [INFO ] Flow matrix only has 299 transitions (discarded 78 similar events)
// Phase 1: matrix 299 rows 96 cols
[2022-05-20 19:23:13] [INFO ] Computed 29 place invariants in 9 ms
[2022-05-20 19:23:13] [INFO ] [Real]Absence check using 27 positive place invariants in 22 ms returned sat
[2022-05-20 19:23:13] [INFO ] [Real]Absence check using 27 positive and 2 generalized place invariants in 4 ms returned sat
[2022-05-20 19:23:13] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2022-05-20 19:23:13] [INFO ] [Real]Absence check using state equation in 206 ms returned sat
[2022-05-20 19:23:13] [INFO ] Solution in real domain found non-integer solution.
[2022-05-20 19:23:14] [INFO ] [Nat]Absence check using 27 positive place invariants in 11 ms returned sat
[2022-05-20 19:23:14] [INFO ] [Nat]Absence check using 27 positive and 2 generalized place invariants in 3 ms returned sat
[2022-05-20 19:23:14] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2022-05-20 19:23:14] [INFO ] [Nat]Absence check using state equation in 126 ms returned sat
[2022-05-20 19:23:14] [INFO ] State equation strengthened by 133 read => feed constraints.
[2022-05-20 19:23:14] [INFO ] [Nat]Added 133 Read/Feed constraints in 40 ms returned sat
[2022-05-20 19:23:14] [INFO ] Deduced a trap composed of 9 places in 137 ms of which 4 ms to minimize.
[2022-05-20 19:23:14] [INFO ] Deduced a trap composed of 10 places in 143 ms of which 2 ms to minimize.
[2022-05-20 19:23:14] [INFO ] Deduced a trap composed of 9 places in 115 ms of which 2 ms to minimize.
[2022-05-20 19:23:14] [INFO ] Deduced a trap composed of 12 places in 118 ms of which 2 ms to minimize.
[2022-05-20 19:23:15] [INFO ] Deduced a trap composed of 12 places in 140 ms of which 2 ms to minimize.
[2022-05-20 19:23:15] [INFO ] Deduced a trap composed of 13 places in 94 ms of which 1 ms to minimize.
[2022-05-20 19:23:15] [INFO ] Deduced a trap composed of 12 places in 99 ms of which 1 ms to minimize.
[2022-05-20 19:23:15] [INFO ] Deduced a trap composed of 12 places in 103 ms of which 1 ms to minimize.
[2022-05-20 19:23:15] [INFO ] Deduced a trap composed of 12 places in 104 ms of which 0 ms to minimize.
[2022-05-20 19:23:15] [INFO ] Deduced a trap composed of 12 places in 89 ms of which 2 ms to minimize.
[2022-05-20 19:23:15] [INFO ] Deduced a trap composed of 11 places in 95 ms of which 0 ms to minimize.
[2022-05-20 19:23:15] [INFO ] Deduced a trap composed of 10 places in 97 ms of which 1 ms to minimize.
[2022-05-20 19:23:16] [INFO ] Deduced a trap composed of 9 places in 111 ms of which 1 ms to minimize.
[2022-05-20 19:23:16] [INFO ] Deduced a trap composed of 13 places in 100 ms of which 1 ms to minimize.
[2022-05-20 19:23:16] [INFO ] Deduced a trap composed of 14 places in 100 ms of which 0 ms to minimize.
[2022-05-20 19:23:16] [INFO ] Deduced a trap composed of 14 places in 96 ms of which 0 ms to minimize.
[2022-05-20 19:23:16] [INFO ] Deduced a trap composed of 14 places in 110 ms of which 1 ms to minimize.
[2022-05-20 19:23:16] [INFO ] Deduced a trap composed of 14 places in 93 ms of which 1 ms to minimize.
[2022-05-20 19:23:16] [INFO ] Deduced a trap composed of 15 places in 112 ms of which 1 ms to minimize.
[2022-05-20 19:23:17] [INFO ] Deduced a trap composed of 10 places in 114 ms of which 1 ms to minimize.
[2022-05-20 19:23:17] [INFO ] Trap strengthening procedure managed to obtain unsat after adding 20 trap constraints in 2827 ms
Starting structural reductions, iteration 0 : 104/104 places, 605/605 transitions.
Performed 2 Post agglomeration using F-continuation condition.Transition count delta: 2
Deduced a syphon composed of 2 places in 3 ms
Reduce places removed 2 places and 0 transitions.
Iterating global reduction 0 with 4 rules applied. Total rules applied 4 place count 102 transition count 603
Performed 10 Post agglomeration using F-continuation condition.Transition count delta: 10
Deduced a syphon composed of 10 places in 2 ms
Reduce places removed 20 places and 0 transitions.
Iterating global reduction 0 with 30 rules applied. Total rules applied 34 place count 82 transition count 593
Performed 10 Post agglomeration using F-continuation condition.Transition count delta: 10
Deduced a syphon composed of 10 places in 2 ms
Reduce places removed 10 places and 0 transitions.
Iterating global reduction 0 with 20 rules applied. Total rules applied 54 place count 72 transition count 583
Applied a total of 54 rules in 77 ms. Remains 72 /104 variables (removed 32) and now considering 583/605 (removed 22) transitions.
[2022-05-20 19:23:17] [INFO ] Flow matrix only has 453 transitions (discarded 130 similar events)
// Phase 1: matrix 453 rows 72 cols
[2022-05-20 19:23:17] [INFO ] Computed 19 place invariants in 7 ms
[2022-05-20 19:23:17] [INFO ] Implicit Places using invariants in 347 ms returned [12, 13]
Discarding 2 places :
Implicit Place search using SMT only with invariants took 353 ms to find 2 implicit places.
[2022-05-20 19:23:17] [INFO ] Flow matrix only has 453 transitions (discarded 130 similar events)
// Phase 1: matrix 453 rows 70 cols
[2022-05-20 19:23:17] [INFO ] Computed 17 place invariants in 9 ms
[2022-05-20 19:23:18] [INFO ] Dead Transitions using invariants and state equation in 711 ms returned [24, 25, 26, 27, 28, 29, 30, 31, 44, 45, 46, 47, 48, 49, 50, 51, 64, 65, 66, 67, 68, 69, 70, 71, 84, 85, 86, 87, 88, 89, 90, 91, 104, 105, 106, 107, 108, 109, 110, 111, 124, 125, 126, 127, 128, 129, 130, 131, 144, 145, 146, 147, 148, 149, 150, 151, 164, 165, 166, 167, 168, 169, 170, 171, 184, 185, 186, 187, 188, 189, 190, 191, 204, 205, 206, 207, 208, 209, 210, 211, 218, 219, 220, 221, 228, 229, 230, 231, 238, 239, 240, 241, 248, 249, 250, 251, 258, 259, 260, 261, 268, 269, 270, 271, 278, 279, 280, 281, 288, 289, 290, 291, 298, 299, 300, 301, 308, 309, 310, 311, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542]
Found 192 dead transitions using SMT.
FORMULA Liveness FALSE TECHNIQUES QUASILIVENESS_TEST

BK_STOP 1653074599434

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

+ export BINDIR=/home/mcc/BenchKit/bin//../
+ BINDIR=/home/mcc/BenchKit/bin//../
++ pwd
+ export MODEL=/home/mcc/execution
+ MODEL=/home/mcc/execution
+ [[ Liveness = StateSpace ]]
+ /home/mcc/BenchKit/bin//..//runeclipse.sh /home/mcc/execution Liveness -its -ltsmin -greatspnpath /home/mcc/BenchKit/bin//..//greatspn/ -order META -manyOrder -smt -timeout 1800
+ ulimit -s 65536
+ [[ -z '' ]]
+ export LTSMIN_MEM_SIZE=8589934592
+ LTSMIN_MEM_SIZE=8589934592
++ cut -d . -f 9
++ ls /home/mcc/BenchKit/bin//..//itstools/plugins/fr.lip6.move.gal.application.pnmcc_1.0.0.202104292328.jar
+ VERSION=0
+ echo 'Running Version 0'
+ /home/mcc/BenchKit/bin//..//itstools/its-tools -data /home/mcc/execution/workspace -pnfolder /home/mcc/execution -examination Liveness -spotpath /home/mcc/BenchKit/bin//..//ltlfilt -z3path /home/mcc/BenchKit/bin//..//z3/bin/z3 -yices2path /home/mcc/BenchKit/bin//..//yices/bin/yices -its -ltsmin -greatspnpath /home/mcc/BenchKit/bin//..//greatspn/ -order META -manyOrder -smt -timeout 1800 -vmargs -Dosgi.locking=none -Declipse.stateSaveDelayInterval=-1 -Dosgi.configuration.area=/tmp/.eclipse -Xss128m -Xms40m -Xmx16000m

Sequence of Actions to be Executed by the VM

This is useful if one wants to reexecute the tool in the VM from the submitted image disk.

set -x
# this is for BenchKit: configuration of major elements for the test
export BK_INPUT="SimpleLoadBal-PT-10"
export BK_EXAMINATION="Liveness"
export BK_TOOL="gold2021"
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 gold2021"
echo " Input is SimpleLoadBal-PT-10, examination is Liveness"
echo " Time confinement is $BK_TIME_CONFINEMENT seconds"
echo " Memory confinement is 16384 MBytes"
echo " Number of cores is 4"
echo " Run identifier is r252-smll-165303245100014"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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