fond
Model Checking Contest 2021
11th edition, Paris, France, June 23, 2021
Execution of r242-smll-162106584800244
Last Updated
Jun 28, 2021

About the Execution of ITS-Tools for SimpleLoadBal-PT-20

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
653.279 119162.00 154103.00 750.90 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/mcc2021-input.r242-smll-162106584800244.qcow2', fmt=qcow2 size=4294967296 backing_file=/data/fkordon/mcc2021-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 SimpleLoadBal-PT-20, examination is Liveness
Time confinement is 1800 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r242-smll-162106584800244
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 2.4M
-rw-r--r-- 1 mcc users 19K May 5 16:58 CTLCardinality.txt
-rw-r--r-- 1 mcc users 101K May 10 09:44 CTLCardinality.xml
-rw-r--r-- 1 mcc users 16K May 5 16:58 CTLFireability.txt
-rw-r--r-- 1 mcc users 76K May 10 09:44 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.2K May 6 14:48 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 4.6K Apr 26 07:43 LTLCardinality.txt
-rw-r--r-- 1 mcc users 26K Apr 26 07:43 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.8K Apr 26 07:43 LTLFireability.txt
-rw-r--r-- 1 mcc users 17K Apr 26 07:43 LTLFireability.xml
-rw-r--r-- 1 mcc users 3.5K Mar 27 13:40 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 15K Mar 27 13:40 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 3.7K Mar 25 19:26 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 17K Mar 25 19:26 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.8K Mar 22 08:16 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.9K Mar 22 08:16 UpperBounds.xml
-rw-r--r-- 1 mcc users 6 May 5 16:52 equiv_col
-rw-r--r-- 1 mcc users 3 May 5 16:52 instance
-rw-r--r-- 1 mcc users 6 May 5 16:52 iscolored
-rw-r--r-- 1 mcc users 2.0M May 5 16:52 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 1621238107457

Running Version 0
[2021-05-17 07:55:11] [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]
[2021-05-17 07:55:12] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2021-05-17 07:55:12] [INFO ] Load time of PNML (sax parser for PT used): 365 ms
[2021-05-17 07:55:12] [INFO ] Transformed 194 places.
[2021-05-17 07:55:12] [INFO ] Transformed 2205 transitions.
[2021-05-17 07:55:12] [INFO ] Found NUPN structural information;
[2021-05-17 07:55:12] [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_idle_11, P_client_idle_12, P_client_idle_13, P_client_idle_14, P_client_idle_15, P_client_idle_16, P_client_idle_17, P_client_idle_18, P_client_idle_19, P_client_idle_20, 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_waiting_11, P_client_waiting_12, P_client_waiting_13, P_client_waiting_14, P_client_waiting_15, P_client_waiting_16, P_client_waiting_17, P_client_waiting_18, P_client_waiting_19, P_client_waiting_20, 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_request_11, P_client_request_12, P_client_request_13, P_client_request_14, P_client_request_15, P_client_request_16, P_client_request_17, P_client_request_18, P_client_request_19, P_client_request_20, 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_client_ack_11, P_client_ack_12, P_client_ack_13, P_client_ack_14, P_client_ack_15, P_client_ack_16, P_client_ack_17, P_client_ack_18, P_client_ack_19, P_client_ack_20, 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_server_request_11_1, P_server_request_11_2, P_server_request_12_1, P_server_request_12_2, P_server_request_13_1, P_server_request_13_2, P_server_request_14_1, P_server_request_14_2, P_server_request_15_1, P_server_request_15_2, P_server_request_16_1, P_server_request_16_2, P_server_request_17_1, P_server_request_17_2, P_server_request_18_1, P_server_request_18_2, P_server_request_19_1, P_server_request_19_2, P_server_request_20_1, P_server_request_20_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_routing_1_11, P_lb_routing_1_12, P_lb_routing_1_13, P_lb_routing_1_14, P_lb_routing_1_15, P_lb_routing_1_16, P_lb_routing_1_17, P_lb_routing_1_18, P_lb_routing_1_19, P_lb_routing_1_20, 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_1_11, P_lb_load_1_12, P_lb_load_1_13, P_lb_load_1_14, P_lb_load_1_15, P_lb_load_1_16, P_lb_load_1_17, P_lb_load_1_18, P_lb_load_1_19, P_lb_load_1_20, 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, P_lb_load_2_11, P_lb_load_2_12, P_lb_load_2_13, P_lb_load_2_14, P_lb_load_2_15, P_lb_load_2_16, P_lb_load_2_17, P_lb_load_2_18, P_lb_load_2_19, P_lb_load_2_20]
[2021-05-17 07:55:12] [INFO ] Parsed PT model containing 194 places and 2205 transitions in 486 ms.
Built sparse matrix representations for Structural reductions in 19 ms.20267KB memory used
Starting structural reductions, iteration 0 : 194/194 places, 2205/2205 transitions.
Applied a total of 0 rules in 407 ms. Remains 194 /194 variables (removed 0) and now considering 2205/2205 (removed 0) transitions.
Finished structural reductions, in 1 iterations. Remains : 194/194 places, 2205/2205 transitions.
Starting structural reductions, iteration 0 : 194/194 places, 2205/2205 transitions.
Applied a total of 0 rules in 175 ms. Remains 194 /194 variables (removed 0) and now considering 2205/2205 (removed 0) transitions.
[2021-05-17 07:55:13] [INFO ] Flow matrix only has 1745 transitions (discarded 460 similar events)
// Phase 1: matrix 1745 rows 194 cols
[2021-05-17 07:55:13] [INFO ] Invariants computation overflowed in 68 ms
[2021-05-17 07:55:14] [INFO ] Implicit Places using invariants in 441 ms returned []
[2021-05-17 07:55:14] [INFO ] Flow matrix only has 1745 transitions (discarded 460 similar events)
// Phase 1: matrix 1745 rows 194 cols
[2021-05-17 07:55:14] [INFO ] Invariants computation overflowed in 17 ms
[2021-05-17 07:55:15] [INFO ] State equation strengthened by 841 read => feed constraints.
[2021-05-17 07:55:16] [INFO ] Implicit Places using invariants and state equation in 1870 ms returned []
Implicit Place search using SMT with State Equation took 2402 ms to find 0 implicit places.
[2021-05-17 07:55:16] [INFO ] Redundant transitions in 245 ms returned []
[2021-05-17 07:55:16] [INFO ] Flow matrix only has 1745 transitions (discarded 460 similar events)
// Phase 1: matrix 1745 rows 194 cols
[2021-05-17 07:55:16] [INFO ] Invariants computation overflowed in 22 ms
[2021-05-17 07:55:18] [INFO ] Dead Transitions using invariants and state equation in 2426 ms returned []
Finished structural reductions, in 1 iterations. Remains : 194/194 places, 2205/2205 transitions.
Random walk for 1250000 steps, including 0 resets, run took 14387 ms (no deadlock found). (steps per millisecond=86 )
Random directed walk for 1250004 steps, including 0 resets, run took 16006 ms (no deadlock found). (steps per millisecond=78 )
[2021-05-17 07:55:49] [INFO ] Flow matrix only has 1745 transitions (discarded 460 similar events)
// Phase 1: matrix 1745 rows 194 cols
[2021-05-17 07:55:49] [INFO ] Invariants computation overflowed in 25 ms
[2021-05-17 07:55:49] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2021-05-17 07:55:50] [INFO ] [Real]Absence check using state equation in 602 ms returned sat
[2021-05-17 07:55:50] [INFO ] Solution in real domain found non-integer solution.
[2021-05-17 07:55:51] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2021-05-17 07:55:52] [INFO ] [Nat]Absence check using state equation in 1081 ms returned sat
[2021-05-17 07:55:52] [INFO ] State equation strengthened by 841 read => feed constraints.
[2021-05-17 07:55:53] [INFO ] [Nat]Added 841 Read/Feed constraints in 845 ms returned sat
[2021-05-17 07:55:54] [INFO ] Deduced a trap composed of 27 places in 719 ms of which 5 ms to minimize.
[2021-05-17 07:55:55] [INFO ] Deduced a trap composed of 25 places in 856 ms of which 2 ms to minimize.
[2021-05-17 07:55:56] [INFO ] Deduced a trap composed of 25 places in 640 ms of which 3 ms to minimize.
[2021-05-17 07:55:56] [INFO ] Deduced a trap composed of 25 places in 631 ms of which 2 ms to minimize.
[2021-05-17 07:55:57] [INFO ] Deduced a trap composed of 29 places in 570 ms of which 2 ms to minimize.
[2021-05-17 07:55:58] [INFO ] Deduced a trap composed of 32 places in 643 ms of which 1 ms to minimize.
[2021-05-17 07:55:59] [INFO ] Deduced a trap composed of 32 places in 519 ms of which 1 ms to minimize.
[2021-05-17 07:55:59] [INFO ] Deduced a trap composed of 32 places in 545 ms of which 2 ms to minimize.
[2021-05-17 07:56:00] [INFO ] Deduced a trap composed of 30 places in 462 ms of which 1 ms to minimize.
[2021-05-17 07:56:00] [INFO ] Deduced a trap composed of 32 places in 681 ms of which 1 ms to minimize.
[2021-05-17 07:56:01] [INFO ] Deduced a trap composed of 28 places in 668 ms of which 1 ms to minimize.
[2021-05-17 07:56:02] [INFO ] Deduced a trap composed of 23 places in 687 ms of which 1 ms to minimize.
[2021-05-17 07:56:03] [INFO ] Deduced a trap composed of 25 places in 521 ms of which 0 ms to minimize.
[2021-05-17 07:56:04] [INFO ] Deduced a trap composed of 26 places in 662 ms of which 1 ms to minimize.
[2021-05-17 07:56:05] [INFO ] Deduced a trap composed of 23 places in 819 ms of which 1 ms to minimize.
[2021-05-17 07:56:06] [INFO ] Deduced a trap composed of 26 places in 598 ms of which 1 ms to minimize.
[2021-05-17 07:56:07] [INFO ] Deduced a trap composed of 30 places in 635 ms of which 1 ms to minimize.
[2021-05-17 07:56:08] [INFO ] Deduced a trap composed of 25 places in 631 ms of which 1 ms to minimize.
[2021-05-17 07:56:08] [INFO ] Deduced a trap composed of 29 places in 802 ms of which 2 ms to minimize.
[2021-05-17 07:56:09] [INFO ] Deduced a trap composed of 29 places in 699 ms of which 1 ms to minimize.
[2021-05-17 07:56:10] [INFO ] Deduced a trap composed of 29 places in 683 ms of which 1 ms to minimize.
[2021-05-17 07:56:11] [INFO ] Deduced a trap composed of 28 places in 719 ms of which 2 ms to minimize.
[2021-05-17 07:56:12] [INFO ] Deduced a trap composed of 28 places in 733 ms of which 1 ms to minimize.
[2021-05-17 07:56:13] [INFO ] Deduced a trap composed of 28 places in 654 ms of which 1 ms to minimize.
[2021-05-17 07:56:13] [INFO ] Deduced a trap composed of 24 places in 634 ms of which 1 ms to minimize.
[2021-05-17 07:56:14] [INFO ] Deduced a trap composed of 26 places in 628 ms of which 2 ms to minimize.
[2021-05-17 07:56:15] [INFO ] Deduced a trap composed of 32 places in 911 ms of which 0 ms to minimize.
[2021-05-17 07:56:16] [INFO ] Deduced a trap composed of 32 places in 530 ms of which 0 ms to minimize.
[2021-05-17 07:56:16] [INFO ] Deduced a trap composed of 31 places in 483 ms of which 1 ms to minimize.
[2021-05-17 07:56:17] [INFO ] Deduced a trap composed of 32 places in 557 ms of which 1 ms to minimize.
[2021-05-17 07:56:18] [INFO ] Deduced a trap composed of 32 places in 566 ms of which 1 ms to minimize.
[2021-05-17 07:56:18] [INFO ] Deduced a trap composed of 32 places in 550 ms of which 1 ms to minimize.
[2021-05-17 07:56:19] [INFO ] Deduced a trap composed of 34 places in 503 ms of which 1 ms to minimize.
[2021-05-17 07:56:20] [INFO ] Deduced a trap composed of 32 places in 873 ms of which 1 ms to minimize.
[2021-05-17 07:56:21] [INFO ] Deduced a trap composed of 32 places in 476 ms of which 0 ms to minimize.
[2021-05-17 07:56:21] [INFO ] Deduced a trap composed of 32 places in 569 ms of which 1 ms to minimize.
[2021-05-17 07:56:22] [INFO ] Deduced a trap composed of 32 places in 591 ms of which 1 ms to minimize.
[2021-05-17 07:56:23] [INFO ] Deduced a trap composed of 32 places in 583 ms of which 1 ms to minimize.
[2021-05-17 07:56:23] [INFO ] Deduced a trap composed of 34 places in 478 ms of which 1 ms to minimize.
[2021-05-17 07:56:24] [INFO ] Deduced a trap composed of 32 places in 588 ms of which 3 ms to minimize.
[2021-05-17 07:56:25] [INFO ] Deduced a trap composed of 32 places in 586 ms of which 1 ms to minimize.
[2021-05-17 07:56:25] [INFO ] Deduced a trap composed of 32 places in 600 ms of which 1 ms to minimize.
[2021-05-17 07:56:26] [INFO ] Deduced a trap composed of 28 places in 606 ms of which 1 ms to minimize.
[2021-05-17 07:56:27] [INFO ] Deduced a trap composed of 26 places in 618 ms of which 1 ms to minimize.
[2021-05-17 07:56:28] [INFO ] Deduced a trap composed of 26 places in 563 ms of which 1 ms to minimize.
[2021-05-17 07:56:29] [INFO ] Deduced a trap composed of 26 places in 661 ms of which 1 ms to minimize.
[2021-05-17 07:56:30] [INFO ] Deduced a trap composed of 26 places in 703 ms of which 0 ms to minimize.
[2021-05-17 07:56:31] [INFO ] Deduced a trap composed of 26 places in 686 ms of which 1 ms to minimize.
[2021-05-17 07:56:31] [INFO ] Deduced a trap composed of 26 places in 690 ms of which 1 ms to minimize.
[2021-05-17 07:56:32] [INFO ] Deduced a trap composed of 25 places in 675 ms of which 0 ms to minimize.
[2021-05-17 07:56:34] [INFO ] Trap strengthening procedure managed to obtain unsat after adding 50 trap constraints in 40409 ms
Starting structural reductions, iteration 0 : 194/194 places, 2205/2205 transitions.
Performed 2 Post agglomeration using F-continuation condition.Transition count delta: 2
Deduced a syphon composed of 2 places in 5 ms
Reduce places removed 2 places and 0 transitions.
Iterating global reduction 0 with 4 rules applied. Total rules applied 4 place count 192 transition count 2203
Performed 20 Post agglomeration using F-continuation condition.Transition count delta: 20
Deduced a syphon composed of 20 places in 5 ms
Reduce places removed 40 places and 0 transitions.
Iterating global reduction 0 with 60 rules applied. Total rules applied 64 place count 152 transition count 2183
Performed 20 Post agglomeration using F-continuation condition.Transition count delta: 20
Deduced a syphon composed of 20 places in 15 ms
Reduce places removed 20 places and 0 transitions.
Iterating global reduction 0 with 40 rules applied. Total rules applied 104 place count 132 transition count 2163
Applied a total of 104 rules in 256 ms. Remains 132 /194 variables (removed 62) and now considering 2163/2205 (removed 42) transitions.
[2021-05-17 07:56:34] [INFO ] Flow matrix only has 1703 transitions (discarded 460 similar events)
// Phase 1: matrix 1703 rows 132 cols
[2021-05-17 07:56:34] [INFO ] Invariants computation overflowed in 20 ms
[2021-05-17 07:56:35] [INFO ] Implicit Places using invariants in 825 ms returned []
[2021-05-17 07:56:35] [INFO ] Flow matrix only has 1703 transitions (discarded 460 similar events)
// Phase 1: matrix 1703 rows 132 cols
[2021-05-17 07:56:35] [INFO ] Invariants computation overflowed in 13 ms
[2021-05-17 07:56:36] [INFO ] Implicit Places using invariants and state equation in 1354 ms returned []
Implicit Place search using SMT with State Equation took 2193 ms to find 0 implicit places.
[2021-05-17 07:56:36] [INFO ] Flow matrix only has 1703 transitions (discarded 460 similar events)
// Phase 1: matrix 1703 rows 132 cols
[2021-05-17 07:56:36] [INFO ] Invariants computation overflowed in 9 ms
[2021-05-17 07:56:38] [INFO ] Dead Transitions using invariants and state equation in 1619 ms returned []
Finished structural reductions, in 1 iterations. Remains : 132/194 places, 2163/2205 transitions.
[2021-05-17 07:56:38] [INFO ] Initial state test concluded for 20 properties.
Incomplete random walk after 10000 steps, including 2 resets, run finished after 1928 ms. (steps per millisecond=5 ) properties (out of 2143) seen :595
Running SMT prover for 1545 properties.
[2021-05-17 07:56:40] [INFO ] Flow matrix only has 1703 transitions (discarded 460 similar events)
// Phase 1: matrix 1703 rows 132 cols
[2021-05-17 07:56:40] [INFO ] Invariants computation overflowed in 7 ms
[2021-05-17 07:56:54] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2021-05-17 07:57:05] [INFO ] [Real]Absence check using state equation in 10399 ms returned unsat :143 sat :1401 real:0
[2021-05-17 07:57:05] [INFO ] State equation strengthened by 841 read => feed constraints.
[2021-05-17 07:57:05] [WARNING] SMT solver failed with error :SMT solver raised an error when submitting script.... while checking expressions.
FORMULA Liveness FALSE TECHNIQUES QUASILIVENESS_TEST

BK_STOP 1621238226619

--------------------
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-20"
export BK_EXAMINATION="Liveness"
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 SimpleLoadBal-PT-20, 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 r242-smll-162106584800244"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

tar xzf /home/mcc/BenchKit/INPUTS/SimpleLoadBal-PT-20.tgz
mv SimpleLoadBal-PT-20 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 ;