fond
Model Checking Contest 2022
12th edition, Bergen, Norway, June 21, 2022
Execution of r010-tajo-165245701800188
Last Updated
Jun 22, 2022

About the Execution of 2021-gold for AutoFlight-PT-48a

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
440.859 32285.00 51474.00 110.70 TFTFTFTFTTTTTFFF normal

Execution Chart

We display below the execution chart for this examination (boot time has been removed).

Trace from the execution

Formatting '/mnt/tpsp/fkordon/mcc2022-input.r010-tajo-165245701800188.qcow2', fmt=qcow2 size=4294967296 backing_file='/mnt/tpsp/fkordon/mcc2022-input.qcow2' encryption=off cluster_size=65536 lazy_refcounts=off
Waiting for the VM to be ready (probing ssh)
....................
=====================================================================
Generated by BenchKit 2-4028
Executing tool gold2021
Input is AutoFlight-PT-48a, examination is ReachabilityCardinality
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r010-tajo-165245701800188
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 836K
-rw-r--r-- 1 mcc users 7.0K Apr 30 02:33 CTLCardinality.txt
-rw-r--r-- 1 mcc users 76K Apr 30 02:33 CTLCardinality.xml
-rw-r--r-- 1 mcc users 6.4K Apr 30 02:15 CTLFireability.txt
-rw-r--r-- 1 mcc users 60K Apr 30 02:15 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.2K May 10 09:33 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 6.6K May 10 09:33 GenericPropertiesVerdict.xml
-rw-r--r-- 1 mcc users 3.5K May 9 07:05 LTLCardinality.txt
-rw-r--r-- 1 mcc users 25K May 9 07:05 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.3K May 9 07:05 LTLFireability.txt
-rw-r--r-- 1 mcc users 18K May 9 07:05 LTLFireability.xml
-rw-r--r-- 1 mcc users 14K Apr 30 03:08 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 151K Apr 30 03:08 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 11K Apr 30 02:56 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 97K Apr 30 02:56 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.6K May 9 07:05 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.7K May 9 07:05 UpperBounds.xml
-rw-r--r-- 1 mcc users 6 May 10 09:33 equiv_col
-rw-r--r-- 1 mcc users 4 May 10 09:33 instance
-rw-r--r-- 1 mcc users 6 May 10 09:33 iscolored
-rw-r--r-- 1 mcc users 309K May 10 09:33 model.pnml

--------------------
content from stdout:

=== Data for post analysis generated by BenchKit (invocation template)

The expected result is a vector of booleans
BOOL_VECTOR

here is the order used to build the result vector(from text file)
FORMULA_NAME AutoFlight-PT-48a-ReachabilityCardinality-00
FORMULA_NAME AutoFlight-PT-48a-ReachabilityCardinality-01
FORMULA_NAME AutoFlight-PT-48a-ReachabilityCardinality-02
FORMULA_NAME AutoFlight-PT-48a-ReachabilityCardinality-03
FORMULA_NAME AutoFlight-PT-48a-ReachabilityCardinality-04
FORMULA_NAME AutoFlight-PT-48a-ReachabilityCardinality-05
FORMULA_NAME AutoFlight-PT-48a-ReachabilityCardinality-06
FORMULA_NAME AutoFlight-PT-48a-ReachabilityCardinality-07
FORMULA_NAME AutoFlight-PT-48a-ReachabilityCardinality-08
FORMULA_NAME AutoFlight-PT-48a-ReachabilityCardinality-09
FORMULA_NAME AutoFlight-PT-48a-ReachabilityCardinality-10
FORMULA_NAME AutoFlight-PT-48a-ReachabilityCardinality-11
FORMULA_NAME AutoFlight-PT-48a-ReachabilityCardinality-12
FORMULA_NAME AutoFlight-PT-48a-ReachabilityCardinality-13
FORMULA_NAME AutoFlight-PT-48a-ReachabilityCardinality-14
FORMULA_NAME AutoFlight-PT-48a-ReachabilityCardinality-15

=== Now, execution of the tool begins

BK_START 1655069783602

Running Version 0
[2022-06-12 21:36:25] [INFO ] Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, ReachabilityCardinality, -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, 3600]
[2022-06-12 21:36:25] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2022-06-12 21:36:25] [INFO ] Load time of PNML (sax parser for PT used): 114 ms
[2022-06-12 21:36:25] [INFO ] Transformed 1127 places.
[2022-06-12 21:36:25] [INFO ] Transformed 1113 transitions.
[2022-06-12 21:36:25] [INFO ] Found NUPN structural information;
[2022-06-12 21:36:25] [INFO ] Parsed PT model containing 1127 places and 1113 transitions in 168 ms.
Parsed 16 properties from file /home/mcc/execution/ReachabilityCardinality.xml in 19 ms.
Working with output stream class java.io.PrintStream
Ensure Unique test removed 192 transitions
Reduce redundant transitions removed 192 transitions.
FORMULA AutoFlight-PT-48a-ReachabilityCardinality-07 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA AutoFlight-PT-48a-ReachabilityCardinality-15 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
Incomplete random walk after 10000 steps, including 73 resets, run finished after 140 ms. (steps per millisecond=71 ) properties (out of 14) seen :7
FORMULA AutoFlight-PT-48a-ReachabilityCardinality-14 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA AutoFlight-PT-48a-ReachabilityCardinality-11 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA AutoFlight-PT-48a-ReachabilityCardinality-10 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA AutoFlight-PT-48a-ReachabilityCardinality-06 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA AutoFlight-PT-48a-ReachabilityCardinality-03 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA AutoFlight-PT-48a-ReachabilityCardinality-02 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA AutoFlight-PT-48a-ReachabilityCardinality-01 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 71 ms. (steps per millisecond=140 ) properties (out of 7) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 50 ms. (steps per millisecond=200 ) properties (out of 7) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 41 ms. (steps per millisecond=243 ) properties (out of 7) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 51 ms. (steps per millisecond=196 ) properties (out of 7) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 41 ms. (steps per millisecond=243 ) properties (out of 7) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 78 ms. (steps per millisecond=128 ) properties (out of 7) seen :0
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 54 ms. (steps per millisecond=185 ) properties (out of 7) seen :0
Running SMT prover for 7 properties.
// Phase 1: matrix 921 rows 1127 cols
[2022-06-12 21:36:26] [INFO ] Computed 258 place invariants in 64 ms
[2022-06-12 21:36:26] [INFO ] [Real]Absence check using 257 positive place invariants in 76 ms returned sat
[2022-06-12 21:36:26] [INFO ] [Real]Absence check using 257 positive and 1 generalized place invariants in 3 ms returned sat
[2022-06-12 21:36:26] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2022-06-12 21:36:28] [INFO ] [Real]Absence check using state equation in 1306 ms returned sat
[2022-06-12 21:36:28] [INFO ] Solution in real domain found non-integer solution.
[2022-06-12 21:36:28] [INFO ] [Real]Absence check using 257 positive place invariants in 116 ms returned sat
[2022-06-12 21:36:28] [INFO ] [Real]Absence check using 257 positive and 1 generalized place invariants in 4 ms returned sat
[2022-06-12 21:36:28] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2022-06-12 21:36:31] [INFO ] [Real]Absence check using state equation in 2585 ms returned sat
[2022-06-12 21:36:31] [INFO ] Solution in real domain found non-integer solution.
[2022-06-12 21:36:32] [INFO ] [Real]Absence check using 257 positive place invariants in 95 ms returned sat
[2022-06-12 21:36:32] [INFO ] [Real]Absence check using 257 positive and 1 generalized place invariants in 1 ms returned sat
[2022-06-12 21:36:32] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2022-06-12 21:36:32] [INFO ] [Real]Absence check using state equation in 648 ms returned sat
[2022-06-12 21:36:32] [INFO ] Solution in real domain found non-integer solution.
[2022-06-12 21:36:33] [INFO ] [Nat]Absence check using 257 positive place invariants in 51 ms returned sat
[2022-06-12 21:36:33] [INFO ] [Nat]Absence check using 257 positive and 1 generalized place invariants in 2 ms returned sat
[2022-06-12 21:36:33] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2022-06-12 21:36:33] [INFO ] [Nat]Absence check using state equation in 345 ms returned sat
[2022-06-12 21:36:33] [INFO ] State equation strengthened by 192 read => feed constraints.
[2022-06-12 21:36:33] [INFO ] [Nat]Added 192 Read/Feed constraints in 45 ms returned sat
[2022-06-12 21:36:33] [INFO ] Deduced a trap composed of 585 places in 385 ms of which 11 ms to minimize.
[2022-06-12 21:36:34] [INFO ] Deduced a trap composed of 587 places in 387 ms of which 15 ms to minimize.
[2022-06-12 21:36:34] [INFO ] Deduced a trap composed of 588 places in 415 ms of which 1 ms to minimize.
[2022-06-12 21:36:34] [INFO ] Trap strengthening (SAT) tested/added 4/3 trap constraints in 1443 ms
[2022-06-12 21:36:35] [INFO ] Computed and/alt/rep : 816/1536/816 causal constraints (skipped 104 transitions) in 202 ms.
[2022-06-12 21:36:37] [INFO ] Added : 155 causal constraints over 31 iterations in 2917 ms. Result :unknown
[2022-06-12 21:36:38] [INFO ] [Real]Absence check using 257 positive place invariants in 110 ms returned sat
[2022-06-12 21:36:38] [INFO ] [Real]Absence check using 257 positive and 1 generalized place invariants in 4 ms returned sat
[2022-06-12 21:36:38] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2022-06-12 21:36:38] [INFO ] [Real]Absence check using state equation in 715 ms returned sat
[2022-06-12 21:36:38] [INFO ] Solution in real domain found non-integer solution.
[2022-06-12 21:36:39] [INFO ] [Nat]Absence check using 257 positive place invariants in 100 ms returned unsat
[2022-06-12 21:36:39] [INFO ] [Real]Absence check using 257 positive place invariants in 60 ms returned sat
[2022-06-12 21:36:39] [INFO ] [Real]Absence check using 257 positive and 1 generalized place invariants in 3 ms returned sat
[2022-06-12 21:36:39] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2022-06-12 21:36:40] [INFO ] [Real]Absence check using state equation in 333 ms returned sat
[2022-06-12 21:36:40] [INFO ] Solution in real domain found non-integer solution.
[2022-06-12 21:36:40] [INFO ] [Real]Absence check using 257 positive place invariants in 78 ms returned sat
[2022-06-12 21:36:40] [INFO ] [Real]Absence check using 257 positive and 1 generalized place invariants in 1 ms returned sat
[2022-06-12 21:36:40] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2022-06-12 21:36:40] [INFO ] [Real]Absence check using state equation in 369 ms returned sat
[2022-06-12 21:36:40] [INFO ] Solution in real domain found non-integer solution.
[2022-06-12 21:36:41] [INFO ] [Real]Absence check using 257 positive place invariants in 92 ms returned sat
[2022-06-12 21:36:41] [INFO ] [Real]Absence check using 257 positive and 1 generalized place invariants in 4 ms returned sat
[2022-06-12 21:36:41] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2022-06-12 21:36:42] [INFO ] [Real]Absence check using state equation in 951 ms returned sat
[2022-06-12 21:36:42] [INFO ] Solution in real domain found non-integer solution.
[2022-06-12 21:36:43] [INFO ] [Nat]Absence check using 257 positive place invariants in 302 ms returned sat
[2022-06-12 21:36:43] [INFO ] [Nat]Absence check using 257 positive and 1 generalized place invariants in 2 ms returned sat
[2022-06-12 21:36:43] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2022-06-12 21:36:43] [INFO ] [Nat]Absence check using state equation in 413 ms returned sat
[2022-06-12 21:36:43] [INFO ] [Nat]Added 192 Read/Feed constraints in 55 ms returned sat
[2022-06-12 21:36:44] [INFO ] Deduced a trap composed of 570 places in 555 ms of which 3 ms to minimize.
[2022-06-12 21:36:46] [INFO ] Deduced a trap composed of 477 places in 2005 ms of which 2 ms to minimize.
[2022-06-12 21:36:46] [INFO ] Deduced a trap composed of 562 places in 311 ms of which 1 ms to minimize.
[2022-06-12 21:36:46] [INFO ] Trap strengthening (SAT) tested/added 4/3 trap constraints in 3177 ms
[2022-06-12 21:36:46] [INFO ] Computed and/alt/rep : 816/1536/816 causal constraints (skipped 104 transitions) in 128 ms.
[2022-06-12 21:36:48] [INFO ] Deduced a trap composed of 2 places in 611 ms of which 4 ms to minimize.
[2022-06-12 21:36:48] [WARNING] SMT solver failed with error :java.lang.RuntimeException: SMT solver raised an error when submitting script. Raised (error "Failed to assert expression: java.io.IOException: Stream close... while checking expression at index 6
FORMULA AutoFlight-PT-48a-ReachabilityCardinality-12 TRUE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA AutoFlight-PT-48a-ReachabilityCardinality-09 TRUE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA AutoFlight-PT-48a-ReachabilityCardinality-08 TRUE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA AutoFlight-PT-48a-ReachabilityCardinality-04 TRUE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
FORMULA AutoFlight-PT-48a-ReachabilityCardinality-00 TRUE TECHNIQUES STRUCTURAL_REDUCTION TOPOLOGICAL SAT_SMT
Fused 7 Parikh solutions to 2 different solutions.
Incomplete Parikh walk after 110900 steps, including 690 resets, run finished after 1252 ms. (steps per millisecond=88 ) properties (out of 2) seen :1 could not realise parikh vector
FORMULA AutoFlight-PT-48a-ReachabilityCardinality-05 FALSE TECHNIQUES TOPOLOGICAL PARIKH_WALK
Support contains 12 out of 1127 places. Attempting structural reductions.
Starting structural reductions, iteration 0 : 1127/1127 places, 921/921 transitions.
Drop transitions removed 217 transitions
Trivial Post-agglo rules discarded 217 transitions
Performed 217 trivial Post agglomeration. Transition count delta: 217
Iterating post reduction 0 with 217 rules applied. Total rules applied 217 place count 1127 transition count 704
Reduce places removed 217 places and 0 transitions.
Performed 1 Post agglomeration using F-continuation condition.Transition count delta: 1
Iterating post reduction 1 with 218 rules applied. Total rules applied 435 place count 910 transition count 703
Reduce places removed 1 places and 0 transitions.
Iterating post reduction 2 with 1 rules applied. Total rules applied 436 place count 909 transition count 703
Performed 68 Pre agglomeration using Quasi-Persistent + Divergent Free condition..
Pre-agglomeration after 3 with 68 Pre rules applied. Total rules applied 436 place count 909 transition count 635
Deduced a syphon composed of 68 places in 3 ms
Reduce places removed 68 places and 0 transitions.
Iterating global reduction 3 with 136 rules applied. Total rules applied 572 place count 841 transition count 635
Performed 70 Post agglomeration using F-continuation condition.Transition count delta: 70
Deduced a syphon composed of 70 places in 2 ms
Reduce places removed 70 places and 0 transitions.
Iterating global reduction 3 with 140 rules applied. Total rules applied 712 place count 771 transition count 565
Free-agglomeration rule applied 69 times.
Iterating global reduction 3 with 69 rules applied. Total rules applied 781 place count 771 transition count 496
Reduce places removed 69 places and 0 transitions.
Iterating post reduction 3 with 69 rules applied. Total rules applied 850 place count 702 transition count 496
Applied a total of 850 rules in 351 ms. Remains 702 /1127 variables (removed 425) and now considering 496/921 (removed 425) transitions.
Finished structural reductions, in 1 iterations. Remains : 702/1127 places, 496/921 transitions.
[2022-06-12 21:36:50] [INFO ] Flatten gal took : 214 ms
[2022-06-12 21:36:50] [INFO ] Flatten gal took : 64 ms
[2022-06-12 21:36:50] [INFO ] Time to serialize gal into /tmp/ReachabilityCardinality2538580226604145089.gal : 46 ms
[2022-06-12 21:36:50] [INFO ] Time to serialize properties into /tmp/ReachabilityCardinality1549463021569094286.prop : 0 ms
Invoking ITS tools like this :CommandLine [args=[/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202104292328/bin/its-reach-linux64, --gc-threshold, 2000000, --quiet, -i, /tmp/ReachabilityCardinality2538580226604145089.gal, -t, CGAL, -reachable-file, /tmp/ReachabilityCardinality1549463021569094286.prop, --nowitness, --gen-order, FOLLOW], workingDir=/home/mcc/execution]

its-reach command run as :

/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202104292328/bin/its-reach-linux64 --gc-threshold 2000000 --quiet -i /tmp/ReachabilityCardinality2538580226604145089.gal -t CGAL -reachable-file /tmp/ReachabilityCardinality1549463021569094286.prop --nowitness --gen-order FOLLOW
Loading property file /tmp/ReachabilityCardinality1549463021569094286.prop.
SDD proceeding with computation,1 properties remain. new max is 4
SDD size :1 after 3
SDD proceeding with computation,1 properties remain. new max is 8
SDD size :3 after 5
SDD proceeding with computation,1 properties remain. new max is 16
SDD size :5 after 9
SDD proceeding with computation,1 properties remain. new max is 32
SDD size :9 after 313
SDD proceeding with computation,1 properties remain. new max is 64
SDD size :313 after 321
SDD proceeding with computation,1 properties remain. new max is 128
SDD size :321 after 345
SDD proceeding with computation,1 properties remain. new max is 256
SDD size :345 after 377
SDD proceeding with computation,1 properties remain. new max is 512
SDD size :377 after 445
SDD proceeding with computation,1 properties remain. new max is 1024
SDD size :445 after 553
SDD proceeding with computation,1 properties remain. new max is 2048
SDD size :553 after 1257
SDD proceeding with computation,1 properties remain. new max is 4096
SDD size :1257 after 2221
SDD proceeding with computation,1 properties remain. new max is 8192
SDD size :2221 after 3809
Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
petri\_inst\_inst,7285,4.88769,104188,2,15583,17,182724,7,0,2923,238572,0
Total reachable state count : 7285

Verifying 1 reachability properties.
Invariant property AutoFlight-PT-48a-ReachabilityCardinality-13 does not hold.
FORMULA AutoFlight-PT-48a-ReachabilityCardinality-13 FALSE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL COLLATERAL_PROCESSING

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
AutoFlight-PT-48a-ReachabilityCardinality-13,6,4.91157,104188,2,790,17,182724,7,0,2939,238572,0
All properties solved without resorting to model-checking.

BK_STOP 1655069815887

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

+ export BINDIR=/home/mcc/BenchKit/bin//../
+ BINDIR=/home/mcc/BenchKit/bin//../
++ pwd
+ export MODEL=/home/mcc/execution
+ MODEL=/home/mcc/execution
+ [[ ReachabilityCardinality = StateSpace ]]
+ /home/mcc/BenchKit/bin//..//runeclipse.sh /home/mcc/execution ReachabilityCardinality -its -ltsmin -greatspnpath /home/mcc/BenchKit/bin//..//greatspn/ -order META -manyOrder -smt -timeout 3600
+ 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 ReachabilityCardinality -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 3600 -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="AutoFlight-PT-48a"
export BK_EXAMINATION="ReachabilityCardinality"
export BK_TOOL="gold2021"
export BK_RESULT_DIR="/tmp/BK_RESULTS/OUTPUTS"
export BK_TIME_CONFINEMENT="3600"
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 AutoFlight-PT-48a, examination is ReachabilityCardinality"
echo " Time confinement is $BK_TIME_CONFINEMENT seconds"
echo " Memory confinement is 16384 MBytes"
echo " Number of cores is 4"
echo " Run identifier is r010-tajo-165245701800188"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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