fond
Model Checking Contest 2021
11th edition, Paris, France, June 23, 2021
Execution of r094-tall-162048902700337
Last Updated
Jun 28, 2021

About the Execution of 2020-gold for EnergyBus-PT-none

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
16239.107 3600000.00 3607986.00 19983.80 FTF?FFTTFFFTTFFF 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.r094-tall-162048902700337.qcow2', fmt=qcow2 size=4294967296 backing_file='/data/fkordon/mcc2021-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 gold2020
Input is EnergyBus-PT-none, examination is LTLCardinality
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r094-tall-162048902700337
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 3.6M
-rw-r--r-- 1 mcc users 15K May 5 16:58 CTLCardinality.txt
-rw-r--r-- 1 mcc users 151K May 10 09:43 CTLCardinality.xml
-rw-r--r-- 1 mcc users 9.9K May 5 16:58 CTLFireability.txt
-rw-r--r-- 1 mcc users 87K May 10 09:43 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.2K May 6 14:48 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 6.2K May 6 14:48 GenericPropertiesVerdict.xml
-rw-r--r-- 1 mcc users 3.1K Mar 28 16:07 LTLCardinality.txt
-rw-r--r-- 1 mcc users 23K Mar 28 16:07 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.0K Mar 28 16:07 LTLFireability.txt
-rw-r--r-- 1 mcc users 16K Mar 28 16:07 LTLFireability.xml
-rw-r--r-- 1 mcc users 3.4K Mar 23 10:42 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 18K Mar 23 10:42 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 2.2K Mar 22 18:44 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 11K Mar 22 18:44 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.6K Mar 22 09:11 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.6K Mar 22 09:11 UpperBounds.xml
-rw-r--r-- 1 mcc users 6 May 5 16:51 equiv_col
-rw-r--r-- 1 mcc users 5 May 5 16:51 instance
-rw-r--r-- 1 mcc users 6 May 5 16:51 iscolored
-rw-r--r-- 1 mcc users 3.2M May 5 16:51 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 EnergyBus-PT-none-00
FORMULA_NAME EnergyBus-PT-none-01
FORMULA_NAME EnergyBus-PT-none-02
FORMULA_NAME EnergyBus-PT-none-03
FORMULA_NAME EnergyBus-PT-none-04
FORMULA_NAME EnergyBus-PT-none-05
FORMULA_NAME EnergyBus-PT-none-06
FORMULA_NAME EnergyBus-PT-none-07
FORMULA_NAME EnergyBus-PT-none-08
FORMULA_NAME EnergyBus-PT-none-09
FORMULA_NAME EnergyBus-PT-none-10
FORMULA_NAME EnergyBus-PT-none-11
FORMULA_NAME EnergyBus-PT-none-12
FORMULA_NAME EnergyBus-PT-none-13
FORMULA_NAME EnergyBus-PT-none-14
FORMULA_NAME EnergyBus-PT-none-15

=== Now, execution of the tool begins

BK_START 1620775665187

bash -c /home/mcc/BenchKit/BenchKit_head.sh 2> STDERR ; echo ; echo -n "BK_STOP " ; date -u +%s%3N
[2021-05-11 23:27:46] [INFO ] Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, LTLCardinality, -z3path, /home/mcc/BenchKit//z3/bin/z3, -yices2path, /home/mcc/BenchKit//yices/bin/yices, -timeout, 3600, -rebuildPNML]
[2021-05-11 23:27:46] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2021-05-11 23:27:46] [INFO ] Load time of PNML (sax parser for PT used): 297 ms
[2021-05-11 23:27:46] [INFO ] Transformed 157 places.
[2021-05-11 23:27:47] [INFO ] Transformed 4430 transitions.
[2021-05-11 23:27:47] [INFO ] Found NUPN structural information;
[2021-05-11 23:27:47] [INFO ] Parsed PT model containing 157 places and 4430 transitions in 371 ms.
Deduced a syphon composed of 4 places in 23 ms
Reduce places removed 4 places and 825 transitions.
Ensure Unique test removed 1692 transitions
Reduce redundant transitions removed 1692 transitions.
Parsed 16 properties from file /home/mcc/execution/LTLCardinality.xml in 85 ms.
Working with output stream class java.io.PrintStream
Incomplete random walk after 100000 steps, including 0 resets, run finished after 1288 ms. (steps per millisecond=77 ) properties seen :[0, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0]
[2021-05-11 23:27:48] [INFO ] Flow matrix only has 647 transitions (discarded 1266 similar events)
// Phase 1: matrix 647 rows 153 cols
[2021-05-11 23:27:48] [INFO ] Computed 23 place invariants in 16 ms
[2021-05-11 23:27:48] [INFO ] [Real]Absence check using 21 positive place invariants in 26 ms returned sat
[2021-05-11 23:27:48] [INFO ] [Real]Absence check using 21 positive and 2 generalized place invariants in 1 ms returned sat
[2021-05-11 23:27:48] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2021-05-11 23:27:48] [INFO ] [Real]Absence check using state equation in 220 ms returned sat
[2021-05-11 23:27:48] [INFO ] Solution in real domain found non-integer solution.
[2021-05-11 23:27:48] [INFO ] [Nat]Absence check using 21 positive place invariants in 16 ms returned sat
[2021-05-11 23:27:48] [INFO ] [Nat]Absence check using 21 positive and 2 generalized place invariants in 1 ms returned sat
[2021-05-11 23:27:48] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2021-05-11 23:27:49] [INFO ] [Nat]Absence check using state equation in 212 ms returned sat
[2021-05-11 23:27:49] [INFO ] State equation strengthened by 468 read => feed constraints.
[2021-05-11 23:27:49] [INFO ] [Nat]Added 468 Read/Feed constraints in 69 ms returned sat
[2021-05-11 23:27:49] [INFO ] Deduced a trap composed of 5 places in 139 ms
[2021-05-11 23:27:49] [INFO ] Deduced a trap composed of 9 places in 116 ms
[2021-05-11 23:27:49] [INFO ] Trap strengthening (SAT) tested/added 3/2 trap constraints in 345 ms
[2021-05-11 23:27:49] [INFO ] Computed and/alt/rep : 1912/37782/646 causal constraints in 167 ms.
[2021-05-11 23:28:08] [INFO ] Added : 410 causal constraints over 82 iterations in 19290 ms. Result :(error "Solver has unexpectedly terminated")
[2021-05-11 23:28:08] [INFO ] [Real]Absence check using 21 positive place invariants in 9 ms returned sat
[2021-05-11 23:28:08] [INFO ] [Real]Absence check using 21 positive and 2 generalized place invariants in 0 ms returned sat
[2021-05-11 23:28:08] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2021-05-11 23:28:09] [INFO ] [Real]Absence check using state equation in 208 ms returned sat
[2021-05-11 23:28:09] [INFO ] Solution in real domain found non-integer solution.
[2021-05-11 23:28:09] [INFO ] [Nat]Absence check using 21 positive place invariants in 9 ms returned unsat
[2021-05-11 23:28:09] [INFO ] [Real]Absence check using 21 positive place invariants in 10 ms returned sat
[2021-05-11 23:28:09] [INFO ] [Real]Absence check using 21 positive and 2 generalized place invariants in 1 ms returned sat
[2021-05-11 23:28:09] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2021-05-11 23:28:09] [INFO ] [Real]Absence check using state equation in 229 ms returned sat
[2021-05-11 23:28:09] [INFO ] Solution in real domain found non-integer solution.
[2021-05-11 23:28:09] [INFO ] [Nat]Absence check using 21 positive place invariants in 16 ms returned unsat
[2021-05-11 23:28:09] [INFO ] [Real]Absence check using 21 positive place invariants in 9 ms returned sat
[2021-05-11 23:28:09] [INFO ] [Real]Absence check using 21 positive and 2 generalized place invariants in 1 ms returned sat
[2021-05-11 23:28:09] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2021-05-11 23:28:09] [INFO ] [Real]Absence check using state equation in 205 ms returned sat
[2021-05-11 23:28:09] [INFO ] Solution in real domain found non-integer solution.
[2021-05-11 23:28:09] [INFO ] [Nat]Absence check using 21 positive place invariants in 11 ms returned sat
[2021-05-11 23:28:09] [INFO ] [Nat]Absence check using 21 positive and 2 generalized place invariants in 1 ms returned sat
[2021-05-11 23:28:09] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2021-05-11 23:28:09] [INFO ] [Nat]Absence check using state equation in 206 ms returned sat
[2021-05-11 23:28:10] [INFO ] [Nat]Added 468 Read/Feed constraints in 65 ms returned sat
[2021-05-11 23:28:10] [INFO ] Deduced a trap composed of 9 places in 144 ms
[2021-05-11 23:28:10] [INFO ] Trap strengthening (SAT) tested/added 2/1 trap constraints in 204 ms
[2021-05-11 23:28:10] [INFO ] Computed and/alt/rep : 1912/37782/646 causal constraints in 132 ms.
[2021-05-11 23:28:29] [INFO ] Added : 370 causal constraints over 74 iterations in 19493 ms. Result :unknown
[2021-05-11 23:28:29] [INFO ] [Real]Absence check using 21 positive place invariants in 9 ms returned sat
[2021-05-11 23:28:29] [INFO ] [Real]Absence check using 21 positive and 2 generalized place invariants in 1 ms returned sat
[2021-05-11 23:28:29] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2021-05-11 23:28:29] [INFO ] [Real]Absence check using state equation in 211 ms returned sat
[2021-05-11 23:28:30] [INFO ] [Real]Added 468 Read/Feed constraints in 65 ms returned sat
[2021-05-11 23:28:30] [INFO ] Solution in real domain found non-integer solution.
[2021-05-11 23:28:30] [INFO ] [Nat]Absence check using 21 positive place invariants in 12 ms returned sat
[2021-05-11 23:28:30] [INFO ] [Nat]Absence check using 21 positive and 2 generalized place invariants in 1 ms returned sat
[2021-05-11 23:28:30] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2021-05-11 23:28:30] [INFO ] [Nat]Absence check using state equation in 204 ms returned sat
[2021-05-11 23:28:30] [INFO ] [Nat]Added 468 Read/Feed constraints in 67 ms returned sat
[2021-05-11 23:28:30] [INFO ] Deduced a trap composed of 9 places in 151 ms
[2021-05-11 23:28:30] [INFO ] Trap strengthening (SAT) tested/added 2/1 trap constraints in 193 ms
[2021-05-11 23:28:30] [INFO ] Computed and/alt/rep : 1912/37782/646 causal constraints in 147 ms.
[2021-05-11 23:28:47] [INFO ] Added : 305 causal constraints over 61 iterations in 17453 ms. Result :sat
[2021-05-11 23:28:48] [INFO ] [Real]Absence check using 21 positive place invariants in 15 ms returned sat
[2021-05-11 23:28:48] [INFO ] [Real]Absence check using 21 positive and 2 generalized place invariants in 1 ms returned sat
[2021-05-11 23:28:48] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2021-05-11 23:28:48] [INFO ] [Real]Absence check using state equation in 200 ms returned sat
[2021-05-11 23:28:48] [INFO ] [Real]Added 468 Read/Feed constraints in 60 ms returned sat
[2021-05-11 23:28:48] [INFO ] Solution in real domain found non-integer solution.
[2021-05-11 23:28:48] [INFO ] [Nat]Absence check using 21 positive place invariants in 11 ms returned sat
[2021-05-11 23:28:48] [INFO ] [Nat]Absence check using 21 positive and 2 generalized place invariants in 1 ms returned sat
[2021-05-11 23:28:48] [INFO ] [Nat]Adding state equation constraints to refine reachable states.
[2021-05-11 23:28:48] [INFO ] [Nat]Absence check using state equation in 200 ms returned sat
[2021-05-11 23:28:48] [INFO ] [Nat]Added 468 Read/Feed constraints in 71 ms returned sat
[2021-05-11 23:28:48] [INFO ] Deduced a trap composed of 9 places in 98 ms
[2021-05-11 23:28:48] [INFO ] Trap strengthening (SAT) tested/added 2/1 trap constraints in 140 ms
[2021-05-11 23:28:48] [INFO ] Computed and/alt/rep : 1912/37782/646 causal constraints in 109 ms.
[2021-05-11 23:29:08] [INFO ] Added : 340 causal constraints over 68 iterations in 19552 ms. Result :unknown
[2021-05-11 23:29:08] [INFO ] [Real]Absence check using 21 positive place invariants in 9 ms returned sat
[2021-05-11 23:29:08] [INFO ] [Real]Absence check using 21 positive and 2 generalized place invariants in 1 ms returned sat
[2021-05-11 23:29:08] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2021-05-11 23:29:08] [INFO ] [Real]Absence check using state equation in 207 ms returned sat
[2021-05-11 23:29:08] [INFO ] Solution in real domain found non-integer solution.
[2021-05-11 23:29:08] [INFO ] [Nat]Absence check using 21 positive place invariants in 7 ms returned unsat
[2021-05-11 23:29:08] [INFO ] [Real]Absence check using 21 positive place invariants in 9 ms returned sat
[2021-05-11 23:29:08] [INFO ] [Real]Absence check using 21 positive and 2 generalized place invariants in 1 ms returned sat
[2021-05-11 23:29:08] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2021-05-11 23:29:08] [INFO ] [Real]Absence check using state equation in 212 ms returned sat
[2021-05-11 23:29:08] [INFO ] Solution in real domain found non-integer solution.
[2021-05-11 23:29:08] [INFO ] [Nat]Absence check using 21 positive place invariants in 7 ms returned unsat
[2021-05-11 23:29:08] [INFO ] [Real]Absence check using 21 positive place invariants in 10 ms returned sat
[2021-05-11 23:29:08] [INFO ] [Real]Absence check using 21 positive and 2 generalized place invariants in 1 ms returned sat
[2021-05-11 23:29:08] [INFO ] [Real]Adding state equation constraints to refine reachable states.
[2021-05-11 23:29:09] [INFO ] [Real]Absence check using state equation in 231 ms returned sat
[2021-05-11 23:29:09] [INFO ] Solution in real domain found non-integer solution.
[2021-05-11 23:29:09] [INFO ] [Nat]Absence check using 21 positive place invariants in 7 ms returned unsat
Successfully simplified 5 atomic propositions for a total of 6 simplifications.
[2021-05-11 23:29:09] [INFO ] Initial state reduction rules for CTL removed 11 formulas.
[2021-05-11 23:29:09] [INFO ] Flatten gal took : 373 ms
FORMULA EnergyBus-PT-none-15 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA EnergyBus-PT-none-14 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA EnergyBus-PT-none-13 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA EnergyBus-PT-none-10 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA EnergyBus-PT-none-09 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA EnergyBus-PT-none-07 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA EnergyBus-PT-none-06 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA EnergyBus-PT-none-05 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA EnergyBus-PT-none-02 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA EnergyBus-PT-none-01 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA EnergyBus-PT-none-00 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
[2021-05-11 23:29:09] [INFO ] Applying decomposition
[2021-05-11 23:29:09] [INFO ] Flatten gal took : 204 ms
[2021-05-11 23:29:10] [INFO ] Decomposing Gal with order
[2021-05-11 23:29:10] [INFO ] Rewriting arrays to variables to allow decomposition.
[2021-05-11 23:29:10] [INFO ] Removed a total of 15312 redundant transitions.
[2021-05-11 23:29:10] [INFO ] Flatten gal took : 610 ms
[2021-05-11 23:29:11] [INFO ] Fuse similar labels procedure discarded/fused a total of 77 labels/synchronizations in 101 ms.
[2021-05-11 23:29:11] [INFO ] Export to MCC properties in file /home/mcc/execution/LTLCardinality.sr.xml took 2 ms.
[2021-05-11 23:29:11] [INFO ] Export to PNML in file /home/mcc/execution/model.sr.pnml took 31 ms.
info: Time: 3600 - MCC
vrfy: Checking LTLCardinality @ EnergyBus-PT-none @ 3570 seconds

FORMULA EnergyBus-PT-none-04 FALSE TECHNIQUES COLLATERAL_PROCESSING EXPLICIT TOPOLOGICAL STATE_COMPRESSION STUBBORN_SETS USE_NUPN UNFOLDING_TO_PT

FORMULA EnergyBus-PT-none-11 TRUE TECHNIQUES COLLATERAL_PROCESSING EXPLICIT TOPOLOGICAL STATE_COMPRESSION STUBBORN_SETS USE_NUPN UNFOLDING_TO_PT

FORMULA EnergyBus-PT-none-12 TRUE TECHNIQUES COLLATERAL_PROCESSING EXPLICIT TOPOLOGICAL STATE_COMPRESSION STUBBORN_SETS USE_NUPN UNFOLDING_TO_PT

FORMULA EnergyBus-PT-none-08 FALSE TECHNIQUES COLLATERAL_PROCESSING EXPLICIT TOPOLOGICAL STATE_COMPRESSION STUBBORN_SETS USE_NUPN UNFOLDING_TO_PT
TIME LIMIT: Killed by timeout after 3600 seconds
MemTotal: 16427364 kB
MemFree: 155584 kB
After kill :
MemTotal: 16427364 kB
MemFree: 16327408 kB

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

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="EnergyBus-PT-none"
export BK_EXAMINATION="LTLCardinality"
export BK_TOOL="gold2020"
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 gold2020"
echo " Input is EnergyBus-PT-none, examination is LTLCardinality"
echo " Time confinement is $BK_TIME_CONFINEMENT seconds"
echo " Memory confinement is 16384 MBytes"
echo " Number of cores is 4"
echo " Run identifier is r094-tall-162048902700337"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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