fond
Model Checking Contest 2020
10th edition, Paris, France, June 23, 2020
Execution of r193-csrt-159033388200013
Last Updated
Jun 28, 2020

About the Execution of ITS-Tools for SmallOperatingSystem-PT-MT0032DC0008

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
15746.500 2986.00 7564.00 76.00 32 8 32 32 8 32 32 32 16 32 32 32 32 8 16 16 normal

Execution Chart

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

Trace from the execution

Formatting '/local/x2003239/mcc2020-input.r193-csrt-159033388200013.qcow2', fmt=qcow2 size=4294967296 backing_file=/local/x2003239/mcc2020-input.qcow2 encryption=off cluster_size=65536 lazy_refcounts=off refcount_bits=16
Waiting for the VM to be ready (probing ssh)
............................................................................................................................................................................................................................................
=====================================================================
Generated by BenchKit 2-4028
Executing tool itstools
Input is SmallOperatingSystem-PT-MT0032DC0008, examination is UpperBounds
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r193-csrt-159033388200013
=====================================================================

--------------------
preparation of the directory to be used:
/home/mcc/execution
total 208K
-rw-r--r-- 1 mcc users 4.6K Apr 12 17:45 CTLCardinality.txt
-rw-r--r-- 1 mcc users 22K Apr 12 17:45 CTLCardinality.xml
-rw-r--r-- 1 mcc users 2.7K Apr 11 20:02 CTLFireability.txt
-rw-r--r-- 1 mcc users 13K Apr 11 20:02 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.0K Mar 24 05:38 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 4.4K Apr 14 12:51 LTLCardinality.txt
-rw-r--r-- 1 mcc users 26K Apr 28 14:02 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.7K Apr 14 12:52 LTLFireability.txt
-rw-r--r-- 1 mcc users 19K Apr 28 14:02 LTLFireability.xml
-rw-r--r-- 1 mcc users 4.1K Apr 10 20:33 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 18K Apr 10 20:33 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 4.0K Apr 10 05:22 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 22K Apr 10 05:22 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 2.0K Apr 10 22:29 UpperBounds.txt
-rw-r--r-- 1 mcc users 4.1K Apr 10 22:29 UpperBounds.xml
-rw-r--r-- 1 mcc users 6 Mar 24 05:38 equiv_col
-rw-r--r-- 1 mcc users 13 Mar 24 05:38 instance
-rw-r--r-- 1 mcc users 6 Mar 24 05:38 iscolored
-rw-r--r-- 1 mcc users 8.2K Mar 24 05:38 model.pnml

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

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

The expected result is a vector of positive values
NUM_VECTOR

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

=== Now, execution of the tool begins

BK_START 1590469716722

[2020-05-26 05:08:39] [INFO ] Running its-tools with arguments : [-pnfolder, /home/mcc/execution, -examination, UpperBounds, -z3path, /home/mcc/BenchKit//z3/bin/z3, -yices2path, /home/mcc/BenchKit//yices/bin/yices, -its, -ltsminpath, /home/mcc/BenchKit//lts_install_dir/, -greatspnpath, /home/mcc/BenchKit//greatspn/, -order, META, -manyOrder, -smt, -timeout, 3600]
[2020-05-26 05:08:39] [INFO ] Parsing pnml file : /home/mcc/execution/model.pnml
[2020-05-26 05:08:39] [INFO ] Load time of PNML (sax parser for PT used): 26 ms
[2020-05-26 05:08:39] [INFO ] Transformed 9 places.
[2020-05-26 05:08:39] [INFO ] Transformed 8 transitions.
[2020-05-26 05:08:39] [INFO ] Parsed PT model containing 9 places and 8 transitions in 70 ms.
Parsed 16 properties from file /home/mcc/execution/UpperBounds.xml in 13 ms.
Finished random walk after 0 steps, including 0 resets, run visited all 0 properties in 1 ms. (steps per millisecond=0 )
[2020-05-26 05:08:39] [INFO ] Flatten gal took : 22 ms
[2020-05-26 05:08:39] [INFO ] Applying decomposition
[2020-05-26 05:08:39] [INFO ] Flatten gal took : 3 ms
[2020-05-26 05:08:39] [INFO ] Time to serialize gal into /home/mcc/execution/UpperBounds.pnml.gal : 4 ms
[2020-05-26 05:08:39] [INFO ] Time to serialize properties into /home/mcc/execution/UpperBounds.prop : 1 ms
Invoking ITS tools like this :CommandLine [args=[/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202005100927/bin/its-reach-linux64, --gc-threshold, 2000000, --quiet, -i, /home/mcc/execution/UpperBounds.pnml.gal, -t, CGAL, -reachable-file, UpperBounds.prop, --nowitness, --gen-order, FOLLOW], workingDir=/home/mcc/execution]

its-reach command run as :

/home/mcc/BenchKit/itstools/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.202005100927/bin/its-reach-linux64 --gc-threshold 2000000 --quiet -i /home/mcc/execution/UpperBounds.pnml.gal -t CGAL -reachable-file UpperBounds.prop --nowitness --gen-order FOLLOW
Loading property file UpperBounds.prop.
Read [bounds] property : SmallOperatingSystem-PT-MT0032DC0008-UpperBounds-00 with value :TaskReady
Read [bounds] property : SmallOperatingSystem-PT-MT0032DC0008-UpperBounds-01 with value :LoadingMem
Read [bounds] property : SmallOperatingSystem-PT-MT0032DC0008-UpperBounds-02 with value :TaskReady
Read [bounds] property : SmallOperatingSystem-PT-MT0032DC0008-UpperBounds-03 with value :TaskSuspended
Read [bounds] property : SmallOperatingSystem-PT-MT0032DC0008-UpperBounds-04 with value :DiskControllerUnit
Read [bounds] property : SmallOperatingSystem-PT-MT0032DC0008-UpperBounds-05 with value :TaskSuspended
Read [bounds] property : SmallOperatingSystem-PT-MT0032DC0008-UpperBounds-06 with value :TaskSuspended
Read [bounds] property : SmallOperatingSystem-PT-MT0032DC0008-UpperBounds-07 with value :TaskSuspended
Read [bounds] property : SmallOperatingSystem-PT-MT0032DC0008-UpperBounds-08 with value :CPUUnit
Read [bounds] property : SmallOperatingSystem-PT-MT0032DC0008-UpperBounds-09 with value :TaskReady
Read [bounds] property : SmallOperatingSystem-PT-MT0032DC0008-UpperBounds-10 with value :FreeMemSegment
Read [bounds] property : SmallOperatingSystem-PT-MT0032DC0008-UpperBounds-11 with value :TaskReady
Read [bounds] property : SmallOperatingSystem-PT-MT0032DC0008-UpperBounds-12 with value :TaskReady
Read [bounds] property : SmallOperatingSystem-PT-MT0032DC0008-UpperBounds-13 with value :DiskControllerUnit
Read [bounds] property : SmallOperatingSystem-PT-MT0032DC0008-UpperBounds-14 with value :ExecutingTask
Read [bounds] property : SmallOperatingSystem-PT-MT0032DC0008-UpperBounds-15 with value :ExecutingTask
Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
petri\_inst\_inst,166515,0.053412,4468,2,210,5,6131,6,0,47,6149,0
Total reachable state count : 166515

Verifying 16 reachability properties.
Min sum of variable value : 0
Maximum sum along a path : 32
Bounds property SmallOperatingSystem-PT-MT0032DC0008-UpperBounds-00 :0 <= TaskReady <= 32
FORMULA SmallOperatingSystem-PT-MT0032DC0008-UpperBounds-00 32 TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
SmallOperatingSystem-PT-MT0032DC0008-UpperBounds-00,0,0.054682,4732,1,0,7,6131,9,1,104,6149,4
Min sum of variable value : 0
Maximum sum along a path : 8
Bounds property SmallOperatingSystem-PT-MT0032DC0008-UpperBounds-01 :0 <= LoadingMem <= 8
FORMULA SmallOperatingSystem-PT-MT0032DC0008-UpperBounds-01 8 TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
SmallOperatingSystem-PT-MT0032DC0008-UpperBounds-01,0,0.054961,4732,1,0,8,6131,10,1,122,6149,5
Min sum of variable value : 0
Maximum sum along a path : 32
Bounds property SmallOperatingSystem-PT-MT0032DC0008-UpperBounds-02 :0 <= TaskReady <= 32
FORMULA SmallOperatingSystem-PT-MT0032DC0008-UpperBounds-02 32 TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
SmallOperatingSystem-PT-MT0032DC0008-UpperBounds-02,0,0.055017,4732,1,0,8,6131,10,1,122,6149,5
Min sum of variable value : 0
Maximum sum along a path : 32
Bounds property SmallOperatingSystem-PT-MT0032DC0008-UpperBounds-03 :0 <= TaskSuspended <= 32
FORMULA SmallOperatingSystem-PT-MT0032DC0008-UpperBounds-03 32 TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
SmallOperatingSystem-PT-MT0032DC0008-UpperBounds-03,0,0.056783,4732,1,0,9,6131,11,1,170,6149,6
Min sum of variable value : 0
Maximum sum along a path : 8
Bounds property SmallOperatingSystem-PT-MT0032DC0008-UpperBounds-04 :0 <= DiskControllerUnit <= 8
FORMULA SmallOperatingSystem-PT-MT0032DC0008-UpperBounds-04 8 TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
SmallOperatingSystem-PT-MT0032DC0008-UpperBounds-04,0,0.056991,4732,1,0,10,6131,12,1,186,6149,7
Min sum of variable value : 0
Maximum sum along a path : 32
Bounds property SmallOperatingSystem-PT-MT0032DC0008-UpperBounds-05 :0 <= TaskSuspended <= 32
FORMULA SmallOperatingSystem-PT-MT0032DC0008-UpperBounds-05 32 TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
SmallOperatingSystem-PT-MT0032DC0008-UpperBounds-05,0,0.057046,4732,1,0,10,6131,12,1,186,6149,7
Min sum of variable value : 0
Maximum sum along a path : 32
Bounds property SmallOperatingSystem-PT-MT0032DC0008-UpperBounds-06 :0 <= TaskSuspended <= 32
FORMULA SmallOperatingSystem-PT-MT0032DC0008-UpperBounds-06 32 TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
SmallOperatingSystem-PT-MT0032DC0008-UpperBounds-06,0,0.057089,4732,1,0,10,6131,12,1,186,6149,7
Min sum of variable value : 0
Maximum sum along a path : 32
Bounds property SmallOperatingSystem-PT-MT0032DC0008-UpperBounds-07 :0 <= TaskSuspended <= 32
FORMULA SmallOperatingSystem-PT-MT0032DC0008-UpperBounds-07 32 TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
SmallOperatingSystem-PT-MT0032DC0008-UpperBounds-07,0,0.057131,4732,1,0,10,6131,12,1,186,6149,7
Min sum of variable value : 0
Maximum sum along a path : 16
Bounds property SmallOperatingSystem-PT-MT0032DC0008-UpperBounds-08 :0 <= CPUUnit <= 16
FORMULA SmallOperatingSystem-PT-MT0032DC0008-UpperBounds-08 16 TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
SmallOperatingSystem-PT-MT0032DC0008-UpperBounds-08,0,0.058293,4732,1,0,11,6131,13,1,221,6149,8
Min sum of variable value : 0
Maximum sum along a path : 32
Bounds property SmallOperatingSystem-PT-MT0032DC0008-UpperBounds-09 :0 <= TaskReady <= 32
FORMULA SmallOperatingSystem-PT-MT0032DC0008-UpperBounds-09 32 TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
SmallOperatingSystem-PT-MT0032DC0008-UpperBounds-09,0,0.05835,4732,1,0,11,6131,13,1,221,6149,8
Min sum of variable value : 0
Maximum sum along a path : 32
Bounds property SmallOperatingSystem-PT-MT0032DC0008-UpperBounds-10 :0 <= FreeMemSegment <= 32
FORMULA SmallOperatingSystem-PT-MT0032DC0008-UpperBounds-10 32 TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
SmallOperatingSystem-PT-MT0032DC0008-UpperBounds-10,0,0.05894,4732,1,0,12,6131,14,1,265,6149,9
Min sum of variable value : 0
Maximum sum along a path : 32
Bounds property SmallOperatingSystem-PT-MT0032DC0008-UpperBounds-11 :0 <= TaskReady <= 32
FORMULA SmallOperatingSystem-PT-MT0032DC0008-UpperBounds-11 32 TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
SmallOperatingSystem-PT-MT0032DC0008-UpperBounds-11,0,0.058998,4732,1,0,12,6131,14,1,265,6149,9
Min sum of variable value : 0
Maximum sum along a path : 32
Bounds property SmallOperatingSystem-PT-MT0032DC0008-UpperBounds-12 :0 <= TaskReady <= 32
FORMULA SmallOperatingSystem-PT-MT0032DC0008-UpperBounds-12 32 TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
SmallOperatingSystem-PT-MT0032DC0008-UpperBounds-12,0,0.059042,4732,1,0,12,6131,14,1,265,6149,9
Min sum of variable value : 0
Maximum sum along a path : 8
Bounds property SmallOperatingSystem-PT-MT0032DC0008-UpperBounds-13 :0 <= DiskControllerUnit <= 8
FORMULA SmallOperatingSystem-PT-MT0032DC0008-UpperBounds-13 8 TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
SmallOperatingSystem-PT-MT0032DC0008-UpperBounds-13,0,0.059087,4732,1,0,12,6131,14,1,265,6149,9
Min sum of variable value : 0
Maximum sum along a path : 16
Bounds property SmallOperatingSystem-PT-MT0032DC0008-UpperBounds-14 :0 <= ExecutingTask <= 16
FORMULA SmallOperatingSystem-PT-MT0032DC0008-UpperBounds-14 16 TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
SmallOperatingSystem-PT-MT0032DC0008-UpperBounds-14,0,0.060167,4732,1,0,13,6131,15,1,299,6149,10
Min sum of variable value : 0
Maximum sum along a path : 16
Bounds property SmallOperatingSystem-PT-MT0032DC0008-UpperBounds-15 :0 <= ExecutingTask <= 16
FORMULA SmallOperatingSystem-PT-MT0032DC0008-UpperBounds-15 16 TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL USE_NUPN

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
SmallOperatingSystem-PT-MT0032DC0008-UpperBounds-15,0,0.060224,4732,1,0,13,6131,15,1,299,6149,10

BK_STOP 1590469719708

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

+ export BINDIR=/home/mcc/BenchKit/
+ BINDIR=/home/mcc/BenchKit/
++ pwd
+ export MODEL=/home/mcc/execution
+ MODEL=/home/mcc/execution
+ [[ UpperBounds = StateSpace ]]
+ /home/mcc/BenchKit//runeclipse.sh /home/mcc/execution UpperBounds -its -ltsminpath /home/mcc/BenchKit//lts_install_dir/ -greatspnpath /home/mcc/BenchKit//greatspn/ -order META -manyOrder -smt -timeout 3600
+ ulimit -s 65536
+ [[ -z '' ]]
+ export LTSMIN_MEM_SIZE=8589934592
+ LTSMIN_MEM_SIZE=8589934592
+ /home/mcc/BenchKit//itstools/its-tools -data /home/mcc/execution/workspace -pnfolder /home/mcc/execution -examination UpperBounds -z3path /home/mcc/BenchKit//z3/bin/z3 -yices2path /home/mcc/BenchKit//yices/bin/yices -its -ltsminpath /home/mcc/BenchKit//lts_install_dir/ -greatspnpath /home/mcc/BenchKit//greatspn/ -order META -manyOrder -smt -timeout 3600 -vmargs -Dosgi.locking=none -Declipse.stateSaveDelayInterval=-1 -Dosgi.configuration.area=/tmp/.eclipse -Xss128m -Xms40m -Xmx16000m -Dfile.encoding=UTF-8 -Dosgi.requiredJavaVersion=1.6

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="SmallOperatingSystem-PT-MT0032DC0008"
export BK_EXAMINATION="UpperBounds"
export BK_TOOL="itstools"
export BK_RESULT_DIR="/tmp/BK_RESULTS/OUTPUTS"
export BK_TIME_CONFINEMENT="3600"
export BK_MEMORY_CONFINEMENT="16384"

# 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 itstools"
echo " Input is SmallOperatingSystem-PT-MT0032DC0008, examination is UpperBounds"
echo " Time confinement is $BK_TIME_CONFINEMENT seconds"
echo " Memory confinement is 16384 MBytes"
echo " Number of cores is 4"
echo " Run identifier is r193-csrt-159033388200013"
echo "====================================================================="
echo
echo "--------------------"
echo "preparation of the directory to be used:"

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