fond
Model Checking Contest 2024
14th edition, Geneva, Switzerland, June 25, 2024
Execution of r167-smll-171636275100093
Last Updated
July 7, 2024

About the Execution of ITS-Tools for EisenbergMcGuire-PT-03

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
371.300 6310.00 16664.00 168.00 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/mcc2024-input.r167-smll-171636275100093.qcow2', fmt=qcow2 size=4294967296 backing_file=/data/fkordon/mcc2024-input.qcow2 backing_fmt=qcow2 cluster_size=65536 lazy_refcounts=off refcount_bits=16
Waiting for the VM to be ready (probing ssh)
....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
=====================================================================
Generated by BenchKit 2-5568
Executing tool itstools
Input is EisenbergMcGuire-PT-03, examination is StableMarking
Time confinement is 1800 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r167-smll-171636275100093
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 636K
-rw-r--r-- 1 mcc users 7.2K May 14 13:22 CTLCardinality.txt
-rw-r--r-- 1 mcc users 70K May 14 13:22 CTLCardinality.xml
-rw-r--r-- 1 mcc users 7.5K May 14 13:22 CTLFireability.txt
-rw-r--r-- 1 mcc users 58K May 14 13:22 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.0K Apr 22 14:43 LTLCardinality.txt
-rw-r--r-- 1 mcc users 25K Apr 22 14:43 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.8K Apr 22 14:43 LTLFireability.txt
-rw-r--r-- 1 mcc users 17K Apr 22 14:43 LTLFireability.xml
-rw-r--r-- 1 mcc users 13K Apr 12 16:32 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 126K Apr 12 16:32 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 17K Apr 12 16:30 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 122K Apr 12 16:30 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.7K Apr 22 14:43 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.8K Apr 22 14:43 UpperBounds.xml
-rw-r--r-- 1 mcc users 6 May 18 16:42 equiv_col
-rw-r--r-- 1 mcc users 3 May 18 16:42 instance
-rw-r--r-- 1 mcc users 6 May 18 16:42 iscolored
-rw-r--r-- 1 mcc users 121K May 18 16:42 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 StableMarking

=== Now, execution of the tool begins

BK_START 1716474792998

Invoking MCC driver with
BK_TOOL=itstools
BK_EXAMINATION=StableMarking
BK_BIN_PATH=/home/mcc/BenchKit/bin/
BK_TIME_CONFINEMENT=1800
BK_INPUT=EisenbergMcGuire-PT-03
BK_MEMORY_CONFINEMENT=16384
Not applying reductions.
Model is PT
StableMarking PT
Running Version 202405141337
[2024-05-23 14:33:14] [INFO ] Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, StableMarking, -its, -ltsmin, -greatspnpath, /home/mcc/BenchKit/bin//../itstools/bin//..//greatspn/, -order, META, -manyOrder, -smt, -timeout, 1800]
[2024-05-23 14:33:14] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2024-05-23 14:33:15] [INFO ] Load time of PNML (sax parser for PT used): 172 ms
[2024-05-23 14:33:15] [INFO ] Transformed 117 places.
[2024-05-23 14:33:15] [INFO ] Transformed 216 transitions.
[2024-05-23 14:33:15] [INFO ] Found NUPN structural information;
[2024-05-23 14:33:15] [INFO ] Parsed PT model containing 117 places and 216 transitions and 900 arcs in 582 ms.
[2024-05-23 14:33:16] [INFO ] Flatten gal took : 157 ms
[2024-05-23 14:33:16] [INFO ] Flatten gal took : 136 ms
[2024-05-23 14:33:16] [INFO ] Time to serialize gal into /tmp/ReachabilityCardinality9102033227895351481.gal : 35 ms
[2024-05-23 14:33:16] [INFO ] Time to serialize properties into /tmp/ReachabilityCardinality7101750274218191819.prop : 4 ms
Invoking ITS tools like this :cd /home/mcc/execution;'/home/mcc/BenchKit/itstools/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202405141337/bin/its-reach-linux64' '--gc-threshold' '2000000' '--quiet' '-i' '/tmp/ReachabilityCardinality9102033227895351481.gal' '-t' 'CGAL' '-reachable-file' '/tmp/ReachabilityCardinality7101750274218191819.prop' '--nowitness' '--gen-order' 'FOLLOW'
RANDOM walk for 40000 steps (8 resets) in 3651 ms. (10 steps per ms) remains 22/117 properties
BEST_FIRST walk for 4004 steps (8 resets) in 151 ms. (26 steps per ms) remains 22/22 properties

its-reach command run as :

/home/mcc/BenchKit/itstools/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202405141337/bin/its-reach-linux64 --gc-threshold 2000000 --quiet ...328
Loading property file /tmp/ReachabilityCardinality7101750274218191819.prop.
BEST_FIRST walk for 4004 steps (8 resets) in 145 ms. (27 steps per ms) remains 22/22 properties
Invariant property smplace_41 does not hold.
Invariant property smplace_29 does not hold.
Invariant property smplace_21 does not hold.
Invariant property smplace_16 does not hold.
Invariant property smplace_13 does not hold.
Invariant property smplace_7 does not hold.
Invariant property smplace_6 does not hold.
SDD proceeding with computation,110 properties remain. new max is 2
SDD size :1 after 5
Invariant property smplace_52 does not hold.
Invariant property smplace_22 does not hold.
SDD proceeding with computation,108 properties remain. new max is 2
SDD size :5 after 7
Invariant property smplace_72 does not hold.
Invariant property smplace_61 does not hold.
Invariant property smplace_55 does not hold.
BEST_FIRST walk for 4004 steps (8 resets) in 142 ms. (28 steps per ms) remains 21/22 properties
Invariant property smplace_8 does not hold.
SDD proceeding with computation,104 properties remain. new max is 2
SDD size :7 after 10
Invariant property smplace_62 does not hold.
SDD proceeding with computation,103 properties remain. new max is 2
SDD size :10 after 11
BEST_FIRST walk for 4004 steps (8 resets) in 53 ms. (74 steps per ms) remains 21/21 properties
Invariant property smplace_35 does not hold.
BEST_FIRST walk for 4004 steps (8 resets) in 38 ms. (102 steps per ms) remains 21/21 properties
Invariant property smplace_15 does not hold.
Invariant property smplace_12 does not hold.
Invariant property smplace_4 does not hold.
Invariant property smplace_3 does not hold.
SDD proceeding with computation,98 properties remain. new max is 2
SDD size :11 after 23
Invariant property smplace_54 does not hold.
Invariant property smplace_51 does not hold.
Invariant property smplace_18 does not hold.
Invariant property smplace_5 does not hold.
SDD proceeding with computation,94 properties remain. new max is 2
SDD size :23 after 38
Invariant property smplace_57 does not hold.
SDD proceeding with computation,93 properties remain. new max is 2
SDD size :38 after 41
Invariant property smplace_69 does not hold.
BEST_FIRST walk for 4004 steps (8 resets) in 42 ms. (93 steps per ms) remains 21/21 properties
SDD proceeding with computation,92 properties remain. new max is 2
SDD size :41 after 45
BEST_FIRST walk for 4004 steps (8 resets) in 37 ms. (105 steps per ms) remains 21/21 properties
SDD proceeding with computation,92 properties remain. new max is 4
SDD size :45 after 46
SDD proceeding with computation,92 properties remain. new max is 8
SDD size :46 after 47
SDD proceeding with computation,92 properties remain. new max is 16
SDD size :47 after 53
Invariant property smplace_58 does not hold.
SDD proceeding with computation,91 properties remain. new max is 16
SDD size :53 after 76
SDD proceeding with computation,91 properties remain. new max is 32
SDD size :76 after 83
Invariant property smplace_81 does not hold.
SDD proceeding with computation,90 properties remain. new max is 32
SDD size :83 after 103
BEST_FIRST walk for 4004 steps (8 resets) in 58 ms. (67 steps per ms) remains 21/21 properties
Invariant property smplace_78 does not hold.
SDD proceeding with computation,89 properties remain. new max is 32
SDD size :103 after 113
SDD proceeding with computation,89 properties remain. new max is 64
SDD size :113 after 129
BEST_FIRST walk for 4004 steps (8 resets) in 51 ms. (77 steps per ms) remains 21/21 properties
BEST_FIRST walk for 4004 steps (8 resets) in 34 ms. (114 steps per ms) remains 21/21 properties
Invariant property smplace_73 does not hold.
Invariant property smplace_70 does not hold.
SDD proceeding with computation,87 properties remain. new max is 64
SDD size :129 after 151
BEST_FIRST walk for 4004 steps (8 resets) in 37 ms. (105 steps per ms) remains 21/21 properties
BEST_FIRST walk for 4004 steps (8 resets) in 34 ms. (114 steps per ms) remains 21/21 properties
BEST_FIRST walk for 4004 steps (8 resets) in 40 ms. (97 steps per ms) remains 21/21 properties
Invariant property smplace_37 does not hold.
Invariant property smplace_31 does not hold.
Invariant property smplace_24 does not hold.
Invariant property smplace_17 does not hold.
Invariant property smplace_14 does not hold.
Invariant property smplace_10 does not hold.
Invariant property smplace_9 does not hold.
SDD proceeding with computation,80 properties remain. new max is 64
SDD size :151 after 611
BEST_FIRST walk for 4004 steps (8 resets) in 35 ms. (111 steps per ms) remains 21/21 properties
SDD proceeding with computation,80 properties remain. new max is 128
SDD size :611 after 683
BEST_FIRST walk for 4004 steps (8 resets) in 26 ms. (148 steps per ms) remains 21/21 properties
BEST_FIRST walk for 4004 steps (8 resets) in 17 ms. (222 steps per ms) remains 21/21 properties
BEST_FIRST walk for 4004 steps (8 resets) in 13 ms. (286 steps per ms) remains 19/21 properties
BEST_FIRST walk for 4004 steps (8 resets) in 21 ms. (182 steps per ms) remains 19/19 properties
BEST_FIRST walk for 4004 steps (8 resets) in 37 ms. (105 steps per ms) remains 19/19 properties
Invariant property smplace_43 does not hold.
Invariant property smplace_38 does not hold.
Invariant property smplace_32 does not hold.
Invariant property smplace_25 does not hold.
SDD proceeding with computation,76 properties remain. new max is 128
SDD size :683 after 746
BEST_FIRST walk for 4004 steps (8 resets) in 24 ms. (160 steps per ms) remains 19/19 properties
BEST_FIRST walk for 4004 steps (8 resets) in 31 ms. (125 steps per ms) remains 19/19 properties
SDD proceeding with computation,76 properties remain. new max is 256
SDD size :746 after 1023
SDD proceeding with computation,76 properties remain. new max is 512
SDD size :1023 after 1222
[2024-05-23 14:33:17] [INFO ] Flow matrix only has 153 transitions (discarded 63 similar events)
Invariant property smplace_84 does not hold.
Invariant property smplace_75 does not hold.
Invariant property smplace_66 does not hold.
Invariant property smplace_65 does not hold.
Invariant property smplace_56 does not hold.
Invariant property smplace_53 does not hold.
Invariant property smplace_44 does not hold.
Invariant property smplace_26 does not hold.
Invariant property smplace_11 does not hold.
SDD proceeding with computation,67 properties remain. new max is 512
SDD size :1222 after 2221
// Phase 1: matrix 153 rows 117 cols
[2024-05-23 14:33:17] [INFO ] Computed 10 invariants in 9 ms
[2024-05-23 14:33:17] [INFO ] State equation strengthened by 56 read => feed constraints.
Invariant property smplace_85 does not hold.
Invariant property smplace_76 does not hold.
SDD proceeding with computation,65 properties remain. new max is 512
SDD size :2221 after 2804
Invariant property smplace_82 does not hold.
Invariant property smplace_79 does not hold.
Invariant property smplace_67 does not hold.
Invariant property smplace_63 does not hold.
Invariant property smplace_59 does not hold.
SDD proceeding with computation,60 properties remain. new max is 512
SDD size :2804 after 3874
Invariant property smplace_114 does not hold.
Invariant property smplace_111 does not hold.
Invariant property smplace_103 does not hold.
Invariant property smplace_94 does not hold.
Invariant property smplace_90 does not hold.
Invariant property smplace_87 does not hold.
Invariant property smplace_80 does not hold.
Invariant property smplace_71 does not hold.
Invariant property smplace_60 does not hold.
Invariant property smplace_1 does not hold.
Invariant property smplace_0 does not hold.
SDD proceeding with computation,49 properties remain. new max is 512
SDD size :3874 after 4891
Invariant property smplace_45 does not hold.
Invariant property smplace_33 does not hold.
Invariant property smplace_27 does not hold.
Invariant property smplace_19 does not hold.
SDD proceeding with computation,45 properties remain. new max is 512
SDD size :4891 after 6963
Invariant property smplace_104 does not hold.
Invariant property smplace_95 does not hold.
Invariant property smplace_46 does not hold.
Invariant property smplace_23 does not hold.
Invariant property smplace_20 does not hold.
Invariant property smplace_2 does not hold.
SDD proceeding with computation,39 properties remain. new max is 512
SDD size :6963 after 8020
Invariant property smplace_102 does not hold.
Invariant property smplace_93 does not hold.
Invariant property smplace_36 does not hold.
Invariant property smplace_34 does not hold.
Invariant property smplace_30 does not hold.
Invariant property smplace_28 does not hold.
SDD proceeding with computation,33 properties remain. new max is 512
SDD size :8020 after 9466
Invariant property smplace_115 does not hold.
Invariant property smplace_91 does not hold.
Invariant property smplace_88 does not hold.
Invariant property smplace_83 does not hold.
Invariant property smplace_74 does not hold.
Invariant property smplace_64 does not hold.
SDD proceeding with computation,27 properties remain. new max is 512
SDD size :9466 after 11180
All remaining problems are real, not stopping.
At refinement iteration 0 (INCLUDED_ONLY) 0/19 variables, 19/19 constraints. Problems are: Problem set: 5 solved, 14 unsolved
Invariant property smplace_112 does not hold.
Invariant property smplace_107 does not hold.
Invariant property smplace_106 does not hold.
Invariant property smplace_105 does not hold.
Invariant property smplace_98 does not hold.
Invariant property smplace_97 does not hold.
Invariant property smplace_96 does not hold.
Invariant property smplace_48 does not hold.
Invariant property smplace_47 does not hold.
Invariant property smplace_39 does not hold.
SDD proceeding with computation,17 properties remain. new max is 512
SDD size :11180 after 12453
SDD proceeding with computation,17 properties remain. new max is 1024
SDD size :12453 after 12972
At refinement iteration 1 (INCLUDED_ONLY) 0/19 variables, 0/19 constraints. Problems are: Problem set: 13 solved, 6 unsolved
Invariant property smplace_40 does not hold.
SDD proceeding with computation,16 properties remain. new max is 1024
SDD size :12972 after 15787
At refinement iteration 2 (OVERLAPS) 89/108 variables, 6/25 constraints. Problems are: Problem set: 13 solved, 6 unsolved
At refinement iteration 3 (INCLUDED_ONLY) 0/108 variables, 89/114 constraints. Problems are: Problem set: 13 solved, 6 unsolved
SDD proceeding with computation,16 properties remain. new max is 2048
SDD size :15787 after 17922
At refinement iteration 4 (INCLUDED_ONLY) 0/108 variables, 0/114 constraints. Problems are: Problem set: 13 solved, 6 unsolved
At refinement iteration 5 (OVERLAPS) 6/114 variables, 3/117 constraints. Problems are: Problem set: 13 solved, 6 unsolved
At refinement iteration 6 (INCLUDED_ONLY) 0/114 variables, 6/123 constraints. Problems are: Problem set: 13 solved, 6 unsolved
At refinement iteration 7 (INCLUDED_ONLY) 0/114 variables, 0/123 constraints. Problems are: Problem set: 13 solved, 6 unsolved
Invariant property smplace_116 does not hold.
Invariant property smplace_109 does not hold.
Invariant property smplace_108 does not hold.
Invariant property smplace_100 does not hold.
Invariant property smplace_99 does not hold.
Invariant property smplace_92 does not hold.
Invariant property smplace_89 does not hold.
Invariant property smplace_86 does not hold.
Invariant property smplace_77 does not hold.
Invariant property smplace_68 does not hold.
Invariant property smplace_49 does not hold.
SDD proceeding with computation,5 properties remain. new max is 2048
SDD size :21055 after 23207
At refinement iteration 8 (OVERLAPS) 153/267 variables, 114/237 constraints. Problems are: Problem set: 16 solved, 3 unsolved
At refinement iteration 9 (INCLUDED_ONLY) 0/267 variables, 56/293 constraints. Problems are: Problem set: 16 solved, 3 unsolved
At refinement iteration 10 (INCLUDED_ONLY) 0/267 variables, 0/293 constraints. Problems are: Problem set: 16 solved, 3 unsolved
At refinement iteration 11 (OVERLAPS) 3/270 variables, 3/296 constraints. Problems are: Problem set: 16 solved, 3 unsolved
At refinement iteration 12 (INCLUDED_ONLY) 0/270 variables, 3/299 constraints. Problems are: Problem set: 16 solved, 3 unsolved
At refinement iteration 13 (INCLUDED_ONLY) 0/270 variables, 1/300 constraints. Problems are: Problem set: 16 solved, 3 unsolved
At refinement iteration 14 (INCLUDED_ONLY) 0/270 variables, 0/300 constraints. Problems are: Problem set: 16 solved, 3 unsolved
At refinement iteration 15 (OVERLAPS) 0/270 variables, 0/300 constraints. Problems are: Problem set: 16 solved, 3 unsolved
No progress, stopping.
After SMT solving in domain Real declared 270/270 variables, and 300 constraints, problems are : Problem set: 16 solved, 3 unsolved in 1454 ms.
Refiners :[Domain max(s): 117/117 constraints, Positive P Invariants (semi-flows): 7/7 constraints, Generalized P Invariants (flows): 3/3 constraints, State Equation: 117/117 constraints, ReadFeed: 56/56 constraints, PredecessorRefiner: 19/19 constraints, Known Traps: 0/0 constraints]
Escalating to Integer solving :Problem set: 16 solved, 3 unsolved
At refinement iteration 0 (INCLUDED_ONLY) 0/3 variables, 3/3 constraints. Problems are: Problem set: 16 solved, 3 unsolved
At refinement iteration 1 (INCLUDED_ONLY) 0/3 variables, 0/3 constraints. Problems are: Problem set: 16 solved, 3 unsolved
At refinement iteration 2 (OVERLAPS) 33/36 variables, 2/5 constraints. Problems are: Problem set: 16 solved, 3 unsolved
At refinement iteration 3 (INCLUDED_ONLY) 0/36 variables, 33/38 constraints. Problems are: Problem set: 16 solved, 3 unsolved
Invariant property smplace_113 does not hold.
Invariant property smplace_50 does not hold.
Invariant property smplace_42 does not hold.
SDD proceeding with computation,2 properties remain. new max is 2048
SDD size :23207 after 25972
At refinement iteration 4 (INCLUDED_ONLY) 0/36 variables, 0/38 constraints. Problems are: Problem set: 17 solved, 2 unsolved
At refinement iteration 5 (OVERLAPS) 2/38 variables, 1/39 constraints. Problems are: Problem set: 17 solved, 2 unsolved
At refinement iteration 6 (INCLUDED_ONLY) 0/38 variables, 2/41 constraints. Problems are: Problem set: 17 solved, 2 unsolved
[2024-05-23 14:33:19] [INFO ] Deduced a trap composed of 3 places in 101 ms of which 13 ms to minimize.
Invariant property smplace_110 does not hold.
Invariant property smplace_101 does not hold.
Found states matching all0 target predicate
Will report total states built up to this point. Computation was interrupted after 2049 fixpoint passes
After SMT solving in domain Int declared 38/270 variables, and 42 constraints, problems are : Problem set: 19 solved, 0 unsolved in 412 ms.
Refiners :[Domain max(s): 38/117 constraints, Positive P Invariants (semi-flows): 2/7 constraints, Generalized P Invariants (flows): 1/3 constraints, State Equation: 0/117 constraints, ReadFeed: 0/56 constraints, PredecessorRefiner: 0/19 constraints, Known Traps: 1/1 constraints]
After SMT, in 1948ms problems are : Problem set: 19 solved, 0 unsolved
Skipping Parikh replay, no witness traces provided.
ITS runner timed out or was interrupted.
ITS tools runner thread asked to quit. Dying gracefully.
Able to resolve query StableMarking after proving 117 properties.
FORMULA StableMarking FALSE TECHNIQUES RANDOM_WALK DECISION_DIAGRAMS COLLATERAL_PROCESSING BESTFIRST_WALK TOPOLOGICAL
Total runtime 4376 ms.

BK_STOP 1716474799308

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

+ export BINDIR=/home/mcc/BenchKit/bin//../itstools/bin//../
+ BINDIR=/home/mcc/BenchKit/bin//../itstools/bin//../
++ pwd
+ export MODEL=/home/mcc/execution
+ MODEL=/home/mcc/execution
+ [[ StableMarking = StateSpace ]]
+ /home/mcc/BenchKit/bin//../itstools/bin//..//runeclipse.sh /home/mcc/execution StableMarking -its -ltsmin -greatspnpath /home/mcc/BenchKit/bin//../itstools/bin//..//greatspn/ -order META -manyOrder -smt -timeout 1800
+ ulimit -s 65536
+ [[ -z '' ]]
+ export LTSMIN_MEM_SIZE=8589934592
+ LTSMIN_MEM_SIZE=8589934592
+ export PYTHONPATH=/home/mcc/BenchKit/itstools/pylibs
+ PYTHONPATH=/home/mcc/BenchKit/itstools/pylibs
+ export LD_LIBRARY_PATH=/home/mcc/BenchKit/itstools/pylibs:
+ LD_LIBRARY_PATH=/home/mcc/BenchKit/itstools/pylibs:
++ sed s/.jar//
++ perl -pe 's/.*\.//g'
++ ls /home/mcc/BenchKit/bin//../itstools/bin//..//itstools/plugins/fr.lip6.move.gal.application.pnmcc_1.0.0.202405141337.jar
+ VERSION=202405141337
+ echo 'Running Version 202405141337'
+ /home/mcc/BenchKit/bin//../itstools/bin//..//itstools/its-tools -pnfolder /home/mcc/execution -examination StableMarking -its -ltsmin -greatspnpath /home/mcc/BenchKit/bin//../itstools/bin//..//greatspn/ -order META -manyOrder -smt -timeout 1800

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="EisenbergMcGuire-PT-03"
export BK_EXAMINATION="StableMarking"
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-5568"
echo " Executing tool itstools"
echo " Input is EisenbergMcGuire-PT-03, examination is StableMarking"
echo " Time confinement is $BK_TIME_CONFINEMENT seconds"
echo " Memory confinement is 16384 MBytes"
echo " Number of cores is 4"
echo " Run identifier is r167-smll-171636275100093"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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