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

About the Execution of ITS-Tools for ViralEpidemic-PT-S08D1C2A04

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
6062.520 90040.00 271216.00 201.20 TTTTFFFFTTTTFFTF 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.r444-smll-171701111400390.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 ViralEpidemic-PT-S08D1C2A04, examination is ReachabilityCardinality
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r444-smll-171701111400390
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 27M
-rw-r--r-- 1 mcc users 8.8K May 14 13:22 CTLCardinality.txt
-rw-r--r-- 1 mcc users 83K May 14 13:22 CTLCardinality.xml
-rw-r--r-- 1 mcc users 7.0K May 14 13:22 CTLFireability.txt
-rw-r--r-- 1 mcc users 57K May 14 13:22 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.2K May 18 16:43 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 6.8K May 18 16:43 GenericPropertiesVerdict.xml
-rw-r--r-- 1 mcc users 4.0K May 19 07:18 LTLCardinality.txt
-rw-r--r-- 1 mcc users 25K May 19 16:48 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.5K May 19 07:40 LTLFireability.txt
-rw-r--r-- 1 mcc users 16K May 19 19:32 LTLFireability.xml
-rw-r--r-- 1 mcc users 19K Apr 12 06:37 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 173K Apr 12 06:37 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 7.4K Apr 12 05:36 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 50K Apr 12 05:36 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.9K Apr 23 08:05 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.9K Apr 23 08:05 UpperBounds.xml
-rw-r--r-- 1 mcc users 6 May 18 16:43 equiv_col
-rw-r--r-- 1 mcc users 11 May 18 16:43 instance
-rw-r--r-- 1 mcc users 6 May 18 16:43 iscolored
-rw-r--r-- 1 mcc users 27M May 18 16:43 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 ViralEpidemic-PT-S08D1C2A04-ReachabilityCardinality-2024-00
FORMULA_NAME ViralEpidemic-PT-S08D1C2A04-ReachabilityCardinality-2024-01
FORMULA_NAME ViralEpidemic-PT-S08D1C2A04-ReachabilityCardinality-2024-02
FORMULA_NAME ViralEpidemic-PT-S08D1C2A04-ReachabilityCardinality-2024-03
FORMULA_NAME ViralEpidemic-PT-S08D1C2A04-ReachabilityCardinality-2024-04
FORMULA_NAME ViralEpidemic-PT-S08D1C2A04-ReachabilityCardinality-2024-05
FORMULA_NAME ViralEpidemic-PT-S08D1C2A04-ReachabilityCardinality-2024-06
FORMULA_NAME ViralEpidemic-PT-S08D1C2A04-ReachabilityCardinality-2024-07
FORMULA_NAME ViralEpidemic-PT-S08D1C2A04-ReachabilityCardinality-2024-08
FORMULA_NAME ViralEpidemic-PT-S08D1C2A04-ReachabilityCardinality-2024-09
FORMULA_NAME ViralEpidemic-PT-S08D1C2A04-ReachabilityCardinality-2024-10
FORMULA_NAME ViralEpidemic-PT-S08D1C2A04-ReachabilityCardinality-2024-11
FORMULA_NAME ViralEpidemic-PT-S08D1C2A04-ReachabilityCardinality-2024-12
FORMULA_NAME ViralEpidemic-PT-S08D1C2A04-ReachabilityCardinality-2024-13
FORMULA_NAME ViralEpidemic-PT-S08D1C2A04-ReachabilityCardinality-2024-14
FORMULA_NAME ViralEpidemic-PT-S08D1C2A04-ReachabilityCardinality-2024-15

=== Now, execution of the tool begins

BK_START 1717207110704

Invoking MCC driver with
BK_TOOL=itstools
BK_EXAMINATION=ReachabilityCardinality
BK_BIN_PATH=/home/mcc/BenchKit/bin/
BK_TIME_CONFINEMENT=3600
BK_INPUT=ViralEpidemic-PT-S08D1C2A04
BK_MEMORY_CONFINEMENT=16384
Not applying reductions.
Model is PT
ReachabilityCardinality PT
Running Version 202405141337
[2024-06-01 01:58:32] [INFO ] Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, ReachabilityCardinality, -its, -ltsmin, -greatspnpath, /home/mcc/BenchKit/bin//../itstools/bin//..//greatspn/, -order, META, -manyOrder, -smt, -timeout, 3600]
[2024-06-01 01:58:32] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2024-06-01 01:58:35] [INFO ] Load time of PNML (sax parser for PT used): 2131 ms
[2024-06-01 01:58:35] [INFO ] Transformed 46811 places.
[2024-06-01 01:58:35] [INFO ] Transformed 79577 transitions.
[2024-06-01 01:58:35] [INFO ] Parsed PT model containing 46811 places and 79577 transitions and 191921 arcs in 2669 ms.
Parsed 16 properties from file /home/mcc/execution/ReachabilityCardinality.xml in 52 ms.
Working with output stream class java.io.PrintStream
[2024-06-01 01:58:44] [INFO ] Flatten gal took : 6062 ms
RANDOM walk for 40000 steps (11 resets) in 34340 ms. (1 steps per ms) remains 10/16 properties
FORMULA ViralEpidemic-PT-S08D1C2A04-ReachabilityCardinality-2024-15 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA ViralEpidemic-PT-S08D1C2A04-ReachabilityCardinality-2024-11 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA ViralEpidemic-PT-S08D1C2A04-ReachabilityCardinality-2024-08 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA ViralEpidemic-PT-S08D1C2A04-ReachabilityCardinality-2024-06 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA ViralEpidemic-PT-S08D1C2A04-ReachabilityCardinality-2024-01 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA ViralEpidemic-PT-S08D1C2A04-ReachabilityCardinality-2024-00 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
[2024-06-01 01:58:48] [INFO ] Flatten gal took : 3534 ms
BEST_FIRST walk for 40004 steps (8 resets) in 13232 ms. (3 steps per ms) remains 10/10 properties
[2024-06-01 01:58:48] [INFO ] Time to serialize gal into /tmp/ReachabilityCardinality13788729231921183208.gal : 659 ms
[2024-06-01 01:58:48] [INFO ] Time to serialize properties into /tmp/ReachabilityCardinality17613353234939446228.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/ReachabilityCardinality13788729231921183208.gal' '-t' 'CGAL' '-reachable-file' '/tmp/ReachabilityCardinality17613353234939446228.prop' '--nowitness' '--gen-order' 'FOLLOW'

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 ...330
BEST_FIRST walk for 40004 steps (8 resets) in 12340 ms. (3 steps per ms) remains 10/10 properties
BEST_FIRST walk for 40004 steps (8 resets) in 12209 ms. (3 steps per ms) remains 10/10 properties
BEST_FIRST walk for 40004 steps (8 resets) in 12016 ms. (3 steps per ms) remains 10/10 properties
BEST_FIRST walk for 40004 steps (8 resets) in 11857 ms. (3 steps per ms) remains 10/10 properties
BEST_FIRST walk for 40004 steps (8 resets) in 11312 ms. (3 steps per ms) remains 10/10 properties
BEST_FIRST walk for 40004 steps (8 resets) in 11009 ms. (3 steps per ms) remains 10/10 properties
BEST_FIRST walk for 40004 steps (8 resets) in 10892 ms. (3 steps per ms) remains 9/10 properties
FORMULA ViralEpidemic-PT-S08D1C2A04-ReachabilityCardinality-2024-07 FALSE TECHNIQUES TOPOLOGICAL BESTFIRST_WALK
BEST_FIRST walk for 40004 steps (8 resets) in 10681 ms. (3 steps per ms) remains 9/9 properties
BEST_FIRST walk for 40004 steps (8 resets) in 11611 ms. (3 steps per ms) remains 9/9 properties
// Phase 1: matrix 79577 rows 46811 cols
[2024-06-01 01:59:50] [INFO ] Computed 1 invariants in 33906 ms
All remaining problems are real, not stopping.
At refinement iteration 0 (INCLUDED_ONLY) 0/299 variables, 0/0 constraints. Problems are: Problem set: 0 solved, 9 unsolved
SMT process timed out in 39797ms, After SMT, problems are : Problem set: 0 solved, 9 unsolved
Fused 9 Parikh solutions to 1 different solutions.
Parikh walk visited 0 properties in 0 ms.
Support contains 299 out of 46811 places. Attempting structural reductions.
Starting structural reductions in REACHABILITY mode, iteration 0 : 46811/46811 places, 79577/79577 transitions.
Graph (complete) has 37448 edges and 46811 vertex of which 1788 are kept as prefixes of interest. Removing 45023 places using SCC suffix rule.62 ms
Discarding 45023 places :
Also discarding 73150 output transitions
Drop transitions (Output transitions of discarded places.) removed 73150 transitions
Drop transitions (Empty/Sink Transition effects.) removed 4897 transitions
Reduce isomorphic transitions removed 4897 transitions.
Drop transitions (Trivial Post-Agglo cleanup.) removed 30 transitions
Trivial Post-agglo rules discarded 30 transitions
Performed 30 trivial Post agglomeration. Transition count delta: 30
Iterating post reduction 0 with 4927 rules applied. Total rules applied 4928 place count 1788 transition count 1500
Reduce places removed 30 places and 0 transitions.
Iterating post reduction 1 with 30 rules applied. Total rules applied 4958 place count 1758 transition count 1500
Performed 129 Pre agglomeration using Quasi-Persistent + Divergent Free condition..
Pre-agglomeration after 2 with 129 Pre rules applied. Total rules applied 4958 place count 1758 transition count 1371
Deduced a syphon composed of 129 places in 1 ms
Reduce places removed 129 places and 0 transitions.
Iterating global reduction 2 with 258 rules applied. Total rules applied 5216 place count 1629 transition count 1371
Discarding 631 places :
Symmetric choice reduction at 2 with 631 rule applications. Total rules 5847 place count 998 transition count 736
Iterating global reduction 2 with 631 rules applied. Total rules applied 6478 place count 998 transition count 736
Performed 162 Post agglomeration using F-continuation condition.Transition count delta: 162
Deduced a syphon composed of 162 places in 4 ms
Reduce places removed 162 places and 0 transitions.
Iterating global reduction 2 with 324 rules applied. Total rules applied 6802 place count 836 transition count 574
Renaming transitions due to excessive name length > 1024 char.
Free-agglomeration rule applied 2 times.
Iterating global reduction 2 with 2 rules applied. Total rules applied 6804 place count 836 transition count 572
Reduce places removed 2 places and 0 transitions.
Iterating post reduction 2 with 2 rules applied. Total rules applied 6806 place count 834 transition count 572
Reduce places removed 1 places and 1 transitions.
Iterating global reduction 3 with 1 rules applied. Total rules applied 6807 place count 833 transition count 571
Ensure Unique test removed 50 places
Iterating post reduction 3 with 50 rules applied. Total rules applied 6857 place count 783 transition count 571
Applied a total of 6857 rules in 1215 ms. Remains 783 /46811 variables (removed 46028) and now considering 571/79577 (removed 79006) transitions.
Finished structural reductions in REACHABILITY mode , in 1 iterations and 1233 ms. Remains : 783/46811 places, 571/79577 transitions.
RANDOM walk for 40000 steps (64 resets) in 4767 ms. (8 steps per ms) remains 6/9 properties
FORMULA ViralEpidemic-PT-S08D1C2A04-ReachabilityCardinality-2024-05 FALSE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA ViralEpidemic-PT-S08D1C2A04-ReachabilityCardinality-2024-03 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
FORMULA ViralEpidemic-PT-S08D1C2A04-ReachabilityCardinality-2024-02 TRUE TECHNIQUES TOPOLOGICAL RANDOM_WALK
BEST_FIRST walk for 40004 steps (8 resets) in 1048 ms. (38 steps per ms) remains 6/6 properties
BEST_FIRST walk for 40004 steps (8 resets) in 742 ms. (53 steps per ms) remains 6/6 properties
BEST_FIRST walk for 40004 steps (8 resets) in 811 ms. (49 steps per ms) remains 6/6 properties
BEST_FIRST walk for 40004 steps (8 resets) in 673 ms. (59 steps per ms) remains 6/6 properties
BEST_FIRST walk for 40004 steps (8 resets) in 662 ms. (60 steps per ms) remains 6/6 properties
BEST_FIRST walk for 40004 steps (8 resets) in 787 ms. (50 steps per ms) remains 6/6 properties
// Phase 1: matrix 571 rows 783 cols
[2024-06-01 01:59:59] [INFO ] Computed 213 invariants in 21 ms
All remaining problems are real, not stopping.
At refinement iteration 0 (INCLUDED_ONLY) 0/125 variables, 0/0 constraints. Problems are: Problem set: 0 solved, 6 unsolved
At refinement iteration 1 (OVERLAPS) 207/332 variables, 92/92 constraints. Problems are: Problem set: 0 solved, 6 unsolved
At refinement iteration 2 (INCLUDED_ONLY) 0/332 variables, 0/92 constraints. Problems are: Problem set: 0 solved, 6 unsolved
At refinement iteration 3 (OVERLAPS) 6/338 variables, 2/94 constraints. Problems are: Problem set: 0 solved, 6 unsolved
At refinement iteration 4 (INCLUDED_ONLY) 0/338 variables, 0/94 constraints. Problems are: Problem set: 0 solved, 6 unsolved
Problem ViralEpidemic-PT-S08D1C2A04-ReachabilityCardinality-2024-04 is UNSAT
FORMULA ViralEpidemic-PT-S08D1C2A04-ReachabilityCardinality-2024-04 FALSE TECHNIQUES SMT_REFINEMENT
Problem ViralEpidemic-PT-S08D1C2A04-ReachabilityCardinality-2024-09 is UNSAT
FORMULA ViralEpidemic-PT-S08D1C2A04-ReachabilityCardinality-2024-09 TRUE TECHNIQUES SMT_REFINEMENT
Problem ViralEpidemic-PT-S08D1C2A04-ReachabilityCardinality-2024-10 is UNSAT
FORMULA ViralEpidemic-PT-S08D1C2A04-ReachabilityCardinality-2024-10 TRUE TECHNIQUES SMT_REFINEMENT
Problem ViralEpidemic-PT-S08D1C2A04-ReachabilityCardinality-2024-12 is UNSAT
FORMULA ViralEpidemic-PT-S08D1C2A04-ReachabilityCardinality-2024-12 FALSE TECHNIQUES SMT_REFINEMENT
Problem ViralEpidemic-PT-S08D1C2A04-ReachabilityCardinality-2024-13 is UNSAT
FORMULA ViralEpidemic-PT-S08D1C2A04-ReachabilityCardinality-2024-13 FALSE TECHNIQUES SMT_REFINEMENT
Problem ViralEpidemic-PT-S08D1C2A04-ReachabilityCardinality-2024-14 is UNSAT
FORMULA ViralEpidemic-PT-S08D1C2A04-ReachabilityCardinality-2024-14 TRUE TECHNIQUES SMT_REFINEMENT
After SMT solving in domain Real declared 597/1354 variables, and 432 constraints, problems are : Problem set: 6 solved, 0 unsolved in 636 ms.
Refiners :[Generalized P Invariants (flows): 94/213 constraints, State Equation: 338/783 constraints, PredecessorRefiner: 6/6 constraints, Known Traps: 0/0 constraints]
After SMT, in 722ms problems are : Problem set: 6 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.
All properties solved without resorting to model-checking.
Total runtime 88030 ms.

BK_STOP 1717207200744

--------------------
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
+ [[ ReachabilityCardinality = StateSpace ]]
+ /home/mcc/BenchKit/bin//../itstools/bin//..//runeclipse.sh /home/mcc/execution ReachabilityCardinality -its -ltsmin -greatspnpath /home/mcc/BenchKit/bin//../itstools/bin//..//greatspn/ -order META -manyOrder -smt -timeout 3600
+ 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 ReachabilityCardinality -its -ltsmin -greatspnpath /home/mcc/BenchKit/bin//../itstools/bin//..//greatspn/ -order META -manyOrder -smt -timeout 3600

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="ViralEpidemic-PT-S08D1C2A04"
export BK_EXAMINATION="ReachabilityCardinality"
export BK_TOOL="itstools"
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-5568"
echo " Executing tool itstools"
echo " Input is ViralEpidemic-PT-S08D1C2A04, 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 r444-smll-171701111400390"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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