fond
Model Checking Contest 2023
13th edition, Paris, France, April 26, 2023 (at TOOLympics II)
Execution of r371-smll-167891822800207
Last Updated
May 14, 2023

About the Execution of ITS-Tools for SatelliteMemory-PT-X65535Y2048

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
1772.271 37118.00 121464.00 500.50 T normal

Execution Chart

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

Trace from the execution

Formatting '/data/fkordon/mcc2023-input.r371-smll-167891822800207.qcow2', fmt=qcow2 size=4294967296 backing_file=/data/fkordon/mcc2023-input.qcow2 cluster_size=65536 lazy_refcounts=off refcount_bits=16
Waiting for the VM to be ready (probing ssh)
..................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
=====================================================================
Generated by BenchKit 2-5348
Executing tool itstools
Input is SatelliteMemory-PT-X65535Y2048, examination is QuasiLiveness
Time confinement is 1800 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r371-smll-167891822800207
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 444K
-rw-r--r-- 1 mcc users 7.4K Feb 26 13:05 CTLCardinality.txt
-rw-r--r-- 1 mcc users 79K Feb 26 13:05 CTLCardinality.xml
-rw-r--r-- 1 mcc users 6.8K Feb 26 12:59 CTLFireability.txt
-rw-r--r-- 1 mcc users 69K Feb 26 12:59 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.2K Jan 29 11:41 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 3.9K Feb 25 16:50 LTLCardinality.txt
-rw-r--r-- 1 mcc users 27K Feb 25 16:50 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.3K Feb 25 16:50 LTLFireability.txt
-rw-r--r-- 1 mcc users 17K Feb 25 16:50 LTLFireability.xml
-rw-r--r-- 1 mcc users 7.4K Feb 26 13:08 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 68K Feb 26 13:08 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 10K Feb 26 13:06 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 95K Feb 26 13:06 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.8K Feb 25 16:50 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.8K Feb 25 16:50 UpperBounds.xml
-rw-r--r-- 1 mcc users 6 Mar 5 18:23 equiv_col
-rw-r--r-- 1 mcc users 12 Mar 5 18:23 instance
-rw-r--r-- 1 mcc users 6 Mar 5 18:23 iscolored
-rwxr-xr-x 1 mcc users 5.5K Mar 5 18:23 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 QuasiLiveness

=== Now, execution of the tool begins

BK_START 1679053470943

bash -c /home/mcc/BenchKit/BenchKit_head.sh 2> STDERR ; echo ; echo -n "BK_STOP " ; date -u +%s%3N
Invoking MCC driver with
BK_TOOL=itstools
BK_EXAMINATION=QuasiLiveness
BK_BIN_PATH=/home/mcc/BenchKit/bin/
BK_TIME_CONFINEMENT=1800
BK_INPUT=SatelliteMemory-PT-X65535Y2048
Not applying reductions.
Model is PT
QuasiLiveness PT
Running Version 202303021504
[2023-03-17 11:44:33] [INFO ] Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, QuasiLiveness, -its, -ltsmin, -greatspnpath, /home/mcc/BenchKit/bin//../itstools/bin//..//greatspn/, -order, META, -manyOrder, -smt, -timeout, 1800]
[2023-03-17 11:44:34] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2023-03-17 11:44:34] [INFO ] Load time of PNML (sax parser for PT used): 149 ms
[2023-03-17 11:44:34] [INFO ] Transformed 13 places.
[2023-03-17 11:44:34] [INFO ] Transformed 10 transitions.
[2023-03-17 11:44:34] [INFO ] Parsed PT model containing 13 places and 10 transitions and 40 arcs in 298 ms.
Starting structural reductions in LIVENESS mode, iteration 0 : 13/13 places, 10/10 transitions.
Graph (trivial) has 2 edges and 13 vertex of which 2 / 13 are part of one of the 1 SCC in 5 ms
Free SCC test removed 1 places
Ensure Unique test removed 1 transitions
Reduce isomorphic transitions removed 1 transitions.
Reduce places removed 2 places and 0 transitions.
Iterating post reduction 0 with 2 rules applied. Total rules applied 3 place count 10 transition count 9
Applied a total of 3 rules in 20 ms. Remains 10 /13 variables (removed 3) and now considering 9/10 (removed 1) transitions.
// Phase 1: matrix 9 rows 10 cols
[2023-03-17 11:44:34] [INFO ] Computed 5 place invariants in 5 ms
[2023-03-17 11:44:34] [INFO ] Dead Transitions using invariants and state equation in 226 ms found 0 transitions.
[2023-03-17 11:44:34] [INFO ] Invariant cache hit.
[2023-03-17 11:44:34] [INFO ] Implicit Places using invariants in 61 ms returned []
[2023-03-17 11:44:34] [INFO ] Invariant cache hit.
[2023-03-17 11:44:34] [INFO ] State equation strengthened by 1 read => feed constraints.
[2023-03-17 11:44:34] [INFO ] Implicit Places using invariants and state equation in 74 ms returned []
Implicit Place search using SMT with State Equation took 138 ms to find 0 implicit places.
[2023-03-17 11:44:34] [INFO ] Invariant cache hit.
[2023-03-17 11:44:34] [INFO ] Dead Transitions using invariants and state equation in 32 ms found 0 transitions.
Starting structural reductions in LIVENESS mode, iteration 1 : 10/13 places, 9/10 transitions.
Finished structural reductions in LIVENESS mode , in 1 iterations and 484 ms. Remains : 10/13 places, 9/10 transitions.
Initial state reduction rules removed 1 formulas.
Incomplete random walk after 10000 steps, including 2 resets, run finished after 729 ms. (steps per millisecond=13 ) properties (out of 7) seen :3
[2023-03-17 11:44:35] [INFO ] Flatten gal took : 64 ms
[2023-03-17 11:44:35] [INFO ] Flatten gal took : 44 ms
[2023-03-17 11:44:35] [INFO ] Time to serialize gal into /tmp/ReachabilityCardinality2016197379204096560.gal : 5 ms
[2023-03-17 11:44:35] [INFO ] Time to serialize properties into /tmp/ReachabilityCardinality1107029085790962666.prop : 8 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.202303021504/bin/its-reach-linux64' '--gc-threshold' '2000000' '--quiet' '-i' '/tmp/ReachabilityCardinality2016197379204096560.gal' '-t' 'CGAL' '-reachable-file' '/tmp/ReachabilityCardinality1107029085790962666.prop' '--nowitness' '--gen-order' 'FOLLOW'

its-reach command run as :

Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 205 ms. (steps per millisecond=48 ) properties (out of 4) seen :0
/home/mcc/BenchKit/itstools/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202303021504/bin/its-reach-linux64 --gc-threshold 2000000 --quiet ...328
Loading property file /tmp/ReachabilityCardinality1107029085790962666.prop.
An unexpected exception occurred : Overflow error when converting initial marking. Please recompile libDDD with larger DDD::val_t definition.
ITS-tools command line returned an error code 1
[2023-03-17 11:44:35] [INFO ] Flatten gal took : 4 ms
[2023-03-17 11:44:35] [INFO ] Applying decomposition
[2023-03-17 11:44:35] [INFO ] Flatten gal took : 3 ms
Converted graph to binary with : '/home/mcc/BenchKit/itstools/itstools/plugins/fr.lip6.move.gal.louvain.binaries_1.0.0.202303021504/bin/convert-linux64' '-i' '/tmp/graph8003375541020603894.txt' '-o' '/tmp/graph8003375541020603894.bin' '-w' '/tmp/graph8003375541020603894.weights'
Built communities with : '/home/mcc/BenchKit/itstools/itstools/plugins/fr.lip6.move.gal.louvain.binaries_1.0.0.202303021504/bin/louvain-linux64' '/tmp/graph8003375541020603894.bin' '-l' '-1' '-v' '-w' '/tmp/graph8003375541020603894.weights' '-q' '0' '-e' '0.001'
[2023-03-17 11:44:35] [INFO ] Decomposing Gal with order
[2023-03-17 11:44:35] [INFO ] Rewriting arrays to variables to allow decomposition.
[2023-03-17 11:44:35] [INFO ] Removed a total of 1 redundant transitions.
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 139 ms. (steps per millisecond=71 ) properties (out of 4) seen :0
[2023-03-17 11:44:36] [INFO ] Flatten gal took : 77 ms
Incomplete Best-First random walk after 10001 steps, including 2 resets, run finished after 95 ms. (steps per millisecond=105 ) properties (out of 4) seen :0
[2023-03-17 11:44:36] [INFO ] Fuse similar labels procedure discarded/fused a total of 2 labels/synchronizations in 9 ms.
[2023-03-17 11:44:36] [INFO ] Time to serialize gal into /tmp/ReachabilityCardinality6640192689865082665.gal : 2 ms
[2023-03-17 11:44:36] [INFO ] Time to serialize properties into /tmp/ReachabilityCardinality3341079520788072577.prop : 1 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.202303021504/bin/its-reach-linux64' '--gc-threshold' '2000000' '--quiet' '-i' '/tmp/ReachabilityCardinality6640192689865082665.gal' '-t' 'CGAL' '-reachable-file' '/tmp/ReachabilityCardinality3341079520788072577.prop' '--nowitness'

its-reach command run as :

/home/mcc/BenchKit/itstools/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202303021504/bin/its-reach-linux64 --gc-threshold 2000000 --quiet ...307
Loading property file /tmp/ReachabilityCardinality3341079520788072577.prop.
An unexpected exception occurred : Overflow error when converting initial marking. Please recompile libDDD with larger DDD::val_t definition.
ITS-tools command line returned an error code 1
Built C files in :
/tmp/ltsmin3969062892158977787
[2023-03-17 11:44:36] [INFO ] Built C files in 13ms conformant to PINS (ltsmin variant)in folder :/tmp/ltsmin3969062892158977787
Running compilation step : cd /tmp/ltsmin3969062892158977787;'/home/mcc/BenchKit/itstools/itstools/plugins/fr.lip6.move.gal.ltsmin.binaries_1.0.0.202303021504/bin/limit_time.pl' '120' 'gcc' '-c' '-I/home/mcc/BenchKit/itstools/itstools/plugins/fr.lip6.move.gal.ltsmin.binaries_1.0.0.202303021504/bin/include/' '-I.' '-std=c99' '-fPIC' '-O0' 'model.c'
Incomplete Best-First random walk after 10000 steps, including 2 resets, run finished after 125 ms. (steps per millisecond=80 ) properties (out of 4) seen :0
Running SMT prover for 4 properties.
[2023-03-17 11:44:36] [INFO ] Invariant cache hit.
[2023-03-17 11:44:36] [INFO ] [Real]Absence check using 5 positive place invariants in 2 ms returned sat
[2023-03-17 11:44:36] [INFO ] After 147ms SMT Verify possible using all constraints in real domain returned unsat :0 sat :0 real:4
[2023-03-17 11:44:36] [INFO ] [Nat]Absence check using 5 positive place invariants in 6 ms returned sat
[2023-03-17 11:44:36] [INFO ] After 55ms SMT Verify possible using state equation in natural domain returned unsat :0 sat :4
[2023-03-17 11:44:36] [INFO ] State equation strengthened by 1 read => feed constraints.
Compilation finished in 347 ms.
Running link step : cd /tmp/ltsmin3969062892158977787;'gcc' '-shared' '-o' 'gal.so' 'model.o'
[2023-03-17 11:44:36] [INFO ] After 11ms SMT Verify possible using 1 Read/Feed constraints in natural domain returned unsat :0 sat :4
[2023-03-17 11:44:36] [INFO ] After 54ms SMT Verify possible using trap constraints in natural domain returned unsat :0 sat :4
Attempting to minimize the solution found.
Link finished in 97 ms.
Running LTSmin : cd /tmp/ltsmin3969062892158977787;'/home/mcc/BenchKit/itstools/itstools/plugins/fr.lip6.move.gal.ltsmin.binaries_1.0.0.202303021504/bin/pins2lts-mc-linux64' './gal.so' '--threads=8' '--when' '-i' 'qltransition_0==true'
Minimization took 63 ms.
[2023-03-17 11:44:36] [INFO ] After 256ms SMT Verify possible using all constraints in natural domain returned unsat :0 sat :4
pins2lts-mc-linux64, 0.001: Registering PINS so language module
pins2lts-mc-linux64( 1/ 8), 0.005: library has no initializer
pins2lts-mc-linux64( 3/ 8), 0.004: library has no initializer
pins2lts-mc-linux64( 3/ 8), 0.004: loading model GAL
pins2lts-mc-linux64( 4/ 8), 0.004: library has no initializer
pins2lts-mc-linux64( 4/ 8), 0.004: loading model GAL
pins2lts-mc-linux64( 4/ 8), 0.005: completed loading model GAL
pins2lts-mc-linux64( 3/ 8), 0.004: completed loading model GAL
pins2lts-mc-linux64( 1/ 8), 0.005: loading model GAL
pins2lts-mc-linux64( 1/ 8), 0.006: completed loading model GAL
pins2lts-mc-linux64( 6/ 8), 0.004: library has no initializer
pins2lts-mc-linux64( 6/ 8), 0.004: loading model GAL
pins2lts-mc-linux64( 6/ 8), 0.004: completed loading model GAL
pins2lts-mc-linux64( 2/ 8), 0.004: library has no initializer
pins2lts-mc-linux64( 2/ 8), 0.004: loading model GAL
pins2lts-mc-linux64( 2/ 8), 0.004: completed loading model GAL
pins2lts-mc-linux64( 5/ 8), 0.005: library has no initializer
pins2lts-mc-linux64( 5/ 8), 0.005: loading model GAL
pins2lts-mc-linux64( 5/ 8), 0.005: completed loading model GAL
pins2lts-mc-linux64( 0/ 8), 0.005: Loading model from ./gal.so
pins2lts-mc-linux64( 0/ 8), 0.005: library has no initializer
pins2lts-mc-linux64( 0/ 8), 0.005: loading model GAL
pins2lts-mc-linux64( 0/ 8), 0.005: completed loading model GAL
pins2lts-mc-linux64( 7/ 8), 0.005: library has no initializer
pins2lts-mc-linux64( 7/ 8), 0.005: loading model GAL
pins2lts-mc-linux64( 7/ 8), 0.005: completed loading model GAL
pins2lts-mc-linux64( 0/ 8), 0.012: "qltransition_0==true" is not a file, parsing as formula...
pins2lts-mc-linux64( 0/ 8), 0.012: There are 13 state labels and 1 edge labels
pins2lts-mc-linux64( 0/ 8), 0.012: State length is 10, there are 9 groups
pins2lts-mc-linux64( 0/ 8), 0.012: Running bfs using 8 cores
pins2lts-mc-linux64( 0/ 8), 0.012: Using a non-indexing tree table with 2^27 elements
pins2lts-mc-linux64( 0/ 8), 0.012: Successor permutation: none
pins2lts-mc-linux64( 0/ 8), 0.012: Global bits: 0, count bits: 0, local bits: 0
pins2lts-mc-linux64( 5/ 8), 0.012: "qltransition_0==true" is not a file, parsing as formula...
pins2lts-mc-linux64( 4/ 8), 0.013: "qltransition_0==true" is not a file, parsing as formula...
pins2lts-mc-linux64( 1/ 8), 0.014: "qltransition_0==true" is not a file, parsing as formula...
pins2lts-mc-linux64( 2/ 8), 0.013: "qltransition_0==true" is not a file, parsing as formula...
pins2lts-mc-linux64( 3/ 8), 0.013: "qltransition_0==true" is not a file, parsing as formula...
pins2lts-mc-linux64( 6/ 8), 0.013: "qltransition_0==true" is not a file, parsing as formula...
pins2lts-mc-linux64( 7/ 8), 0.013: "qltransition_0==true" is not a file, parsing as formula...
pins2lts-mc-linux64( 0/ 8), 0.086: ~23 levels ~960 states ~2784 transitions
pins2lts-mc-linux64( 0/ 8), 0.181: ~32 levels ~1920 states ~5632 transitions
pins2lts-mc-linux64( 0/ 8), 0.428: ~67 levels ~3840 states ~11312 transitions
pins2lts-mc-linux64( 6/ 8), 0.831: ~69 levels ~7680 states ~22912 transitions
pins2lts-mc-linux64( 5/ 8), 1.217: ~118 levels ~15360 states ~46008 transitions
pins2lts-mc-linux64( 5/ 8), 1.780: ~211 levels ~30720 states ~92088 transitions
pins2lts-mc-linux64( 7/ 8), 3.078: ~383 levels ~61440 states ~184240 transitions
pins2lts-mc-linux64( 7/ 8), 4.649: ~613 levels ~122880 states ~368560 transitions
pins2lts-mc-linux64( 7/ 8), 5.492: ~940 levels ~245760 states ~737200 transitions
pins2lts-mc-linux64( 2/ 8), 6.164: ~1261 levels ~491520 states ~1474464 transitions
pins2lts-mc-linux64( 7/ 8), 6.823: ~2008 levels ~983040 states ~2949040 transitions
pins2lts-mc-linux64( 7/ 8), 8.218: ~2926 levels ~1966080 states ~5898160 transitions
pins2lts-mc-linux64( 1/ 8), 9.460: ~3005 levels ~3932160 states ~11796456 transitions
pins2lts-mc-linux64( 1/ 8), 11.746: ~4688 levels ~7864320 states ~23592936 transitions
pins2lts-mc-linux64( 2/ 8), 18.123: ~7619 levels ~15728640 states ~47185824 transitions
pins2lts-mc-linux64( 3/ 8), 24.694: Error: tree leafs table full! Change -s/--ratio.
pins2lts-mc-linux64( 0/ 8), 24.764:
pins2lts-mc-linux64( 0/ 8), 24.765: mean standard work distribution: 4.9% (states) 4.9% (transitions)
pins2lts-mc-linux64( 0/ 8), 24.765:
pins2lts-mc-linux64( 0/ 8), 24.765: Explored 16754693 states 50259966 transitions, fanout: 3.000
pins2lts-mc-linux64( 0/ 8), 24.765: Total exploration time 24.740 sec (24.680 sec minimum, 24.711 sec on average)
pins2lts-mc-linux64( 0/ 8), 24.765: States per second: 677231, Transitions per second: 2031527
pins2lts-mc-linux64( 0/ 8), 24.765:
pins2lts-mc-linux64( 0/ 8), 24.765: Queue width: 8B, total height: 5388, memory: 0.04MB
pins2lts-mc-linux64( 0/ 8), 24.765: Tree memory: 383.9MB, 24.0 B/state, compr.: 57.2%
pins2lts-mc-linux64( 0/ 8), 24.765: Tree fill ratio (roots/leafs): 12.0%/99.0%
pins2lts-mc-linux64( 0/ 8), 24.765: Stored 9 string chucks using 0MB
pins2lts-mc-linux64( 0/ 8), 24.765: Total memory used for chunk indexing: 0MB
pins2lts-mc-linux64( 0/ 8), 24.765: Est. total memory use: 383.9MB (~1024.0MB paged-in)
WARNING : LTS min runner thread failed on error :java.lang.RuntimeException: Unexpected exception when executing ltsmin :cd /tmp/ltsmin3969062892158977787;'/home/mcc/BenchKit/itstools/itstools/plugins/fr.lip6.move.gal.ltsmin.binaries_1.0.0.202303021504/bin/pins2lts-mc-linux64' './gal.so' '--threads=8' '--when' '-i' 'qltransition_0==true'
255
java.lang.RuntimeException: Unexpected exception when executing ltsmin :cd /tmp/ltsmin3969062892158977787;'/home/mcc/BenchKit/itstools/itstools/plugins/fr.lip6.move.gal.ltsmin.binaries_1.0.0.202303021504/bin/pins2lts-mc-linux64' './gal.so' '--threads=8' '--when' '-i' 'qltransition_0==true'
255
at fr.lip6.move.gal.application.runner.ltsmin.LTSminRunner.checkProperty(LTSminRunner.java:240)
at fr.lip6.move.gal.application.runner.ltsmin.LTSminRunner$1.checkProperties(LTSminRunner.java:175)
at fr.lip6.move.gal.application.runner.ltsmin.LTSminRunner$1.run(LTSminRunner.java:113)
at java.base/java.lang.Thread.run(Thread.java:833)
Finished Parikh walk after 139264 steps, including 0 resets, run visited all 2 properties in 267 ms. (steps per millisecond=521 )
Parikh walk visited 4 properties in 30274 ms.
Able to resolve query QuasiLiveness after proving 9 properties.
FORMULA QuasiLiveness TRUE TECHNIQUES RANDOM_WALK PARIKH_WALK TOPOLOGICAL INITIAL_STATE
Total runtime 32869 ms.

BK_STOP 1679053508061

--------------------
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
+ [[ QuasiLiveness = StateSpace ]]
+ /home/mcc/BenchKit/bin//../itstools/bin//..//runeclipse.sh /home/mcc/execution QuasiLiveness -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.202303021504.jar
+ VERSION=202303021504
+ echo 'Running Version 202303021504'
+ /home/mcc/BenchKit/bin//../itstools/bin//..//itstools/its-tools -pnfolder /home/mcc/execution -examination QuasiLiveness -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="SatelliteMemory-PT-X65535Y2048"
export BK_EXAMINATION="QuasiLiveness"
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-5348"
echo " Executing tool itstools"
echo " Input is SatelliteMemory-PT-X65535Y2048, examination is QuasiLiveness"
echo " Time confinement is $BK_TIME_CONFINEMENT seconds"
echo " Memory confinement is 16384 MBytes"
echo " Number of cores is 4"
echo " Run identifier is r371-smll-167891822800207"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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