fond
Model Checking Contest 2018
8th edition, Bratislava, Slovakia, June 26, 2018
Execution of r142-qhx2-152673583800173
Last Updated
June 26, 2018

About the Execution of M4M.full for Railroad-PT-005

Execution Summary
Max Memory
Used (MB)
Time wait (ms) CPU Usage (ms) I/O Wait (ms) Computed Result Execution
Status
678.590 25894.00 53637.00 1813.00 FTTTTTTFFTTFFFTF normal

Execution Chart

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

Trace from the execution

Waiting for the VM to be ready (probing ssh)
.......................................
/home/mcc/execution
total 204K
-rw-r--r-- 1 mcc users 4.6K May 15 18:54 CTLCardinality.txt
-rw-r--r-- 1 mcc users 24K May 15 18:54 CTLCardinality.xml
-rw-r--r-- 1 mcc users 2.4K May 15 18:54 CTLFireability.txt
-rw-r--r-- 1 mcc users 14K May 15 18:54 CTLFireability.xml
-rw-r--r-- 1 mcc users 4.0K May 15 18:50 GenericPropertiesDefinition.xml
-rw-r--r-- 1 mcc users 6.0K May 15 18:50 GenericPropertiesVerdict.xml
-rw-r--r-- 1 mcc users 2.6K May 26 09:27 LTLCardinality.txt
-rw-r--r-- 1 mcc users 12K May 26 09:27 LTLCardinality.xml
-rw-r--r-- 1 mcc users 2.0K May 26 09:27 LTLFireability.txt
-rw-r--r-- 1 mcc users 9.6K May 26 09:27 LTLFireability.xml
-rw-r--r-- 1 mcc users 3.5K May 15 18:54 ReachabilityCardinality.txt
-rw-r--r-- 1 mcc users 17K May 15 18:54 ReachabilityCardinality.xml
-rw-r--r-- 1 mcc users 106 May 15 18:54 ReachabilityDeadlock.txt
-rw-r--r-- 1 mcc users 344 May 15 18:54 ReachabilityDeadlock.xml
-rw-r--r-- 1 mcc users 3.0K May 15 18:54 ReachabilityFireability.txt
-rw-r--r-- 1 mcc users 17K May 15 18:54 ReachabilityFireability.xml
-rw-r--r-- 1 mcc users 1.7K May 15 18:54 UpperBounds.txt
-rw-r--r-- 1 mcc users 3.7K May 15 18:54 UpperBounds.xml
-rw-r--r-- 1 mcc users 6 May 15 18:50 equiv_col
-rw-r--r-- 1 mcc users 4 May 15 18:50 instance
-rw-r--r-- 1 mcc users 6 May 15 18:50 iscolored
-rw-r--r-- 1 mcc users 30K May 15 18:50 model.pnml
=====================================================================
Generated by BenchKit 2-3637
Executing tool mcc4mcc-full
Input is Railroad-PT-005, examination is ReachabilityCardinality
Time confinement is 3600 seconds
Memory confinement is 16384 MBytes
Number of cores is 4
Run identifier is r142-qhx2-152673583800173
=====================================================================


--------------------
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 Railroad-PT-005-ReachabilityCardinality-00
FORMULA_NAME Railroad-PT-005-ReachabilityCardinality-01
FORMULA_NAME Railroad-PT-005-ReachabilityCardinality-02
FORMULA_NAME Railroad-PT-005-ReachabilityCardinality-03
FORMULA_NAME Railroad-PT-005-ReachabilityCardinality-04
FORMULA_NAME Railroad-PT-005-ReachabilityCardinality-05
FORMULA_NAME Railroad-PT-005-ReachabilityCardinality-06
FORMULA_NAME Railroad-PT-005-ReachabilityCardinality-07
FORMULA_NAME Railroad-PT-005-ReachabilityCardinality-08
FORMULA_NAME Railroad-PT-005-ReachabilityCardinality-09
FORMULA_NAME Railroad-PT-005-ReachabilityCardinality-10
FORMULA_NAME Railroad-PT-005-ReachabilityCardinality-11
FORMULA_NAME Railroad-PT-005-ReachabilityCardinality-12
FORMULA_NAME Railroad-PT-005-ReachabilityCardinality-13
FORMULA_NAME Railroad-PT-005-ReachabilityCardinality-14
FORMULA_NAME Railroad-PT-005-ReachabilityCardinality-15

=== Now, execution of the tool begins

BK_START 1527956653530


BK_STOP 1527956679424

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

Prefix is 65b80f64.
Reading known information in /usr/share/mcc4mcc/65b80f64-known.json.
Reading learned information in /usr/share/mcc4mcc/65b80f64-learned.json.
Reading value translations in /usr/share/mcc4mcc/65b80f64-values.json.
Using directory /home/mcc/execution for input, as it contains a model.pnml file.
Using Railroad-PT-005 as instance name.
Using Railroad as model name.
Using algorithm or tool bmdt.
Model characteristics are: {'Examination': 'ReachabilityCardinality', 'Place/Transition': True, 'Colored': False, 'Relative-Time': 1, 'Relative-Memory': 1, 'Ordinary': True, 'Simple Free Choice': False, 'Extended Free Choice': False, 'State Machine': False, 'Marked Graph': False, 'Connected': False, 'Strongly Connected': False, 'Source Place': True, 'Sink Place': True, 'Source Transition': False, 'Sink Transition': False, 'Loop Free': False, 'Conservative': False, 'Sub-Conservative': False, 'Nested Units': False, 'Safe': None, 'Deadlock': False, 'Reversible': None, 'Quasi Live': False, 'Live': False}.
Known tools are: [{'Time': 84, 'Memory': 101.52, 'Tool': 'gspn'}, {'Time': 304, 'Memory': 111.62, 'Tool': 'lola'}, {'Time': 430, 'Memory': 110.83, 'Tool': 'lola'}, {'Time': 1483, 'Memory': 128.25, 'Tool': 'gspn'}, {'Time': 1785, 'Memory': 1807.7, 'Tool': 'marcie'}, {'Time': 1809, 'Memory': 1807.95, 'Tool': 'marcie'}, {'Time': 2883, 'Memory': 223.18, 'Tool': 'itstools'}, {'Time': 2909, 'Memory': 225.25, 'Tool': 'itstools'}].
Learned tools are: [{'Tool': 'itstools'}].
Learned tool itstools is 34.32142857142857x far from the best tool gspn.
ReachabilityCardinality itstools Railroad-PT-005...
Jun 02, 2018 4:24:34 PM fr.lip6.move.gal.application.Application start
INFO: Running its-tools with arguments : [-z3path, /usr/bin/z3, -yices2path, /usr/bin/yices, -ltsminpath, /usr/bin, -smt, -its, -pnfolder, /mcc-data, -examination, ReachabilityCardinality]
Jun 02, 2018 4:24:34 PM fr.lip6.move.gal.application.MccTranslator transformPNML
INFO: Parsing pnml file : /mcc-data/model.pnml
Jun 02, 2018 4:24:35 PM fr.lip6.move.gal.nupn.PTNetReader loadFromXML
INFO: Load time of PNML (sax parser for PT used): 73 ms
Jun 02, 2018 4:24:35 PM fr.lip6.move.gal.pnml.togal.PTGALTransformer handlePage
INFO: Transformed 68 places.
Jun 02, 2018 4:24:35 PM fr.lip6.move.gal.pnml.togal.PTGALTransformer handlePage
INFO: Transformed 56 transitions.
Jun 02, 2018 4:24:35 PM fr.lip6.move.serialization.SerializationUtil systemToFile
INFO: Time to serialize gal into /mcc-data/model.pnml.img.gal : 35 ms
Jun 02, 2018 4:24:35 PM fr.lip6.move.gal.instantiate.DomainAnalyzer computeVariableDomains
INFO: Found a total of 14 fixed domain variables (out of 68 variables) in GAL type Railroad_PT_005
Jun 02, 2018 4:24:35 PM fr.lip6.move.gal.instantiate.Simplifier printConstantVars
INFO: Found a total of 14 constant array cells/variables (out of 68 variables) in type Railroad_PT_005
Jun 02, 2018 4:24:35 PM fr.lip6.move.gal.instantiate.Simplifier printConstantVars
INFO: pl_P37_1,pl_P14_1,pl_P7_4,pl_P9_1,pl_P29_5,pl_P7_5,pl_P7_6,pl_P1_1,pl_P7_2,pl_P29_4,pl_P29_6,pl_P3_1,pl_P38_1,pl_P24_1,
Jun 02, 2018 4:24:35 PM fr.lip6.move.gal.instantiate.DomainAnalyzer computeVariableDomains
INFO: Found a total of 14 fixed domain variables (out of 68 variables) in GAL type Railroad_PT_005
Jun 02, 2018 4:24:35 PM fr.lip6.move.gal.instantiate.Simplifier printConstantVars
INFO: Found a total of 14 constant array cells/variables (out of 68 variables) in type Railroad_PT_005
Jun 02, 2018 4:24:35 PM fr.lip6.move.gal.instantiate.Simplifier printConstantVars
INFO: pl_P37_1,pl_P14_1,pl_P7_4,pl_P9_1,pl_P29_5,pl_P7_5,pl_P7_6,pl_P1_1,pl_P7_2,pl_P29_4,pl_P29_6,pl_P3_1,pl_P38_1,pl_P24_1,
Jun 02, 2018 4:24:35 PM fr.lip6.move.gal.instantiate.Simplifier simplifyConstantVariables
INFO: Removed 14 constant variables :pl_P37_1=0, pl_P14_1=0, pl_P7_4=0, pl_P9_1=0, pl_P29_5=0, pl_P7_5=0, pl_P7_6=0, pl_P1_1=0, pl_P7_2=0, pl_P29_4=0, pl_P29_6=0, pl_P3_1=0, pl_P38_1=0, pl_P24_1=0
Jun 02, 2018 4:24:35 PM fr.lip6.move.gal.instantiate.Simplifier simplifyConstantVariables
INFO: Simplified 9 expressions due to constant valuations.
Jun 02, 2018 4:24:36 PM fr.lip6.move.gal.instantiate.PropertySimplifier rewriteWithInitialState
INFO: Reachable property Railroad-PT-005-ReachabilityCardinality-01 is trivially true : it is verified in initial state.
Jun 02, 2018 4:24:36 PM fr.lip6.move.gal.instantiate.PropertySimplifier rewriteWithInitialState
INFO: Reachable property Railroad-PT-005-ReachabilityCardinality-03 is trivially true : it is verified in initial state.
Jun 02, 2018 4:24:36 PM fr.lip6.move.gal.instantiate.PropertySimplifier rewriteWithInitialState
INFO: Reachable property Railroad-PT-005-ReachabilityCardinality-05 is trivially true : it is verified in initial state.
Jun 02, 2018 4:24:36 PM fr.lip6.move.gal.instantiate.PropertySimplifier rewriteWithInitialState
INFO: Reachable property Railroad-PT-005-ReachabilityCardinality-06 is trivially true : it is verified in initial state.
Jun 02, 2018 4:24:36 PM fr.lip6.move.gal.instantiate.PropertySimplifier rewriteWithInitialState
INFO: Invariant property Railroad-PT-005-ReachabilityCardinality-08 is trivially false : it is not verified in initial state.
Jun 02, 2018 4:24:36 PM fr.lip6.move.gal.instantiate.PropertySimplifier rewriteWithInitialState
INFO: Invariant property Railroad-PT-005-ReachabilityCardinality-12 is trivially false : it is not verified in initial state.
Jun 02, 2018 4:24:36 PM fr.lip6.move.gal.instantiate.PropertySimplifier rewriteWithInitialState
INFO: Invariant property Railroad-PT-005-ReachabilityCardinality-13 is trivially false : it is not verified in initial state.
Jun 02, 2018 4:24:36 PM fr.lip6.move.gal.instantiate.PropertySimplifier rewriteWithInitialState
INFO: Reachable property Railroad-PT-005-ReachabilityCardinality-14 is trivially true : it is verified in initial state.
Jun 02, 2018 4:24:36 PM fr.lip6.move.gal.instantiate.GALRewriter flatten
INFO: Flatten gal took : 211 ms
FORMULA Railroad-PT-005-ReachabilityCardinality-15 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA Railroad-PT-005-ReachabilityCardinality-14 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA Railroad-PT-005-ReachabilityCardinality-13 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA Railroad-PT-005-ReachabilityCardinality-12 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA Railroad-PT-005-ReachabilityCardinality-08 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA Railroad-PT-005-ReachabilityCardinality-06 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA Railroad-PT-005-ReachabilityCardinality-05 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA Railroad-PT-005-ReachabilityCardinality-03 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA Railroad-PT-005-ReachabilityCardinality-01 TRUE TECHNIQUES TOPOLOGICAL INITIAL_STATE
FORMULA Railroad-PT-005-ReachabilityCardinality-00 FALSE TECHNIQUES TOPOLOGICAL INITIAL_STATE
Using solver Z3 to compute partial order matrices.
Built C files in :
/mcc-data
Jun 02, 2018 4:24:36 PM fr.lip6.move.gal.instantiate.GALRewriter flatten
INFO: Flatten gal took : 104 ms
Jun 02, 2018 4:24:36 PM fr.lip6.move.serialization.SerializationUtil systemToFile
INFO: Time to serialize gal into /mcc-data/ReachabilityCardinality.pnml.gal : 15 ms
Jun 02, 2018 4:24:36 PM fr.lip6.move.gal.instantiate.GALRewriter flatten
INFO: Flatten gal took : 52 ms
Jun 02, 2018 4:24:36 PM fr.lip6.move.serialization.SerializationUtil serializePropertiesForITSTools
INFO: Time to serialize properties into /mcc-data/ReachabilityCardinality.prop : 4 ms
Invoking ITS tools like this :CommandLine [args=[/usr/share/itscl/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.201804131302/bin/its-reach-linux64, --gc-threshold, 2000000, --quiet, -i, /mcc-data/ReachabilityCardinality.pnml.gal, -t, CGAL, -reachable-file, ReachabilityCardinality.prop, --nowitness], workingDir=/mcc-data]

its-reach command run as :

/usr/share/itscl/plugins/fr.lip6.move.gal.itstools.binaries_1.0.0.201804131302/bin/its-reach-linux64 --gc-threshold 2000000 --quiet -i /mcc-data/ReachabilityCardinality.pnml.gal -t CGAL -reachable-file ReachabilityCardinality.prop --nowitness
Loading property file ReachabilityCardinality.prop.
Read [invariant] property : Railroad-PT-005-ReachabilityCardinality-02 with value :(((!(pl_P29_3<=0))&&(pl_P34_4>=2))||(pl_P25_1>=0))
Read [invariant] property : Railroad-PT-005-ReachabilityCardinality-04 with value :(!(pl_P40_2>=2))
Read [invariant] property : Railroad-PT-005-ReachabilityCardinality-07 with value :(!(((pl_P7_3>=3)||(pl_P7_3>=1))||((pl_P40_6>=3)||(pl_P33_1>=2))))
Read [reachable] property : Railroad-PT-005-ReachabilityCardinality-09 with value :(pl_P23_1<=0)
Read [invariant] property : Railroad-PT-005-ReachabilityCardinality-10 with value :((((pl_P21_1>=0)||(pl_P10_1<=0))||(!(pl_P36_1>=3)))||((!(pl_P16_1>=3))||((pl_P34_2>=0)||(pl_P6_1>=0))))
Read [invariant] property : Railroad-PT-005-ReachabilityCardinality-11 with value :((pl_P28_1<=pl_P40_2)||(((pl_P20_1>=2)&&(pl_P40_4>=1))&&(!(pl_P40_4>=2))))
Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
Railroad\_PT\_005\_flat\_flat,1838,0.327337,5928,2,1812,5,6958,6,0,271,6760,0
Total reachable state count : 1838

Verifying 6 reachability properties.
Jun 02, 2018 4:24:36 PM fr.lip6.move.gal.semantics.DeterministicNextBuilder getDeterministicNext
INFO: Input system was already deterministic with 56 transitions.
Invariant property Railroad-PT-005-ReachabilityCardinality-02 is true.
FORMULA Railroad-PT-005-ReachabilityCardinality-02 TRUE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL COLLATERAL_PROCESSING

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
Railroad-PT-005-ReachabilityCardinality-02,0,0.331133,5932,1,0,5,6958,7,0,277,6760,0
Invariant property Railroad-PT-005-ReachabilityCardinality-04 is true.
FORMULA Railroad-PT-005-ReachabilityCardinality-04 TRUE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL COLLATERAL_PROCESSING

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
Railroad-PT-005-ReachabilityCardinality-04,0,0.337376,6136,1,0,5,6958,8,0,278,6760,0
Invariant property Railroad-PT-005-ReachabilityCardinality-07 does not hold.
FORMULA Railroad-PT-005-ReachabilityCardinality-07 FALSE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL COLLATERAL_PROCESSING

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
Railroad-PT-005-ReachabilityCardinality-07,1,0.338552,6324,2,55,6,6958,9,0,284,6760,0
Reachability property Railroad-PT-005-ReachabilityCardinality-09 is true.
FORMULA Railroad-PT-005-ReachabilityCardinality-09 TRUE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL COLLATERAL_PROCESSING

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
Railroad-PT-005-ReachabilityCardinality-09,6,0.339009,6324,2,127,7,6958,10,0,286,6760,0
Jun 02, 2018 4:24:36 PM fr.lip6.move.gal.semantics.DeterministicNextBuilder getDeterministicNext
INFO: Input system was already deterministic with 56 transitions.
Invariant property Railroad-PT-005-ReachabilityCardinality-10 is true.
FORMULA Railroad-PT-005-ReachabilityCardinality-10 TRUE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL COLLATERAL_PROCESSING

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
Railroad-PT-005-ReachabilityCardinality-10,0,0.340118,6324,1,0,7,6958,11,0,293,6760,0
Invariant property Railroad-PT-005-ReachabilityCardinality-11 does not hold.
FORMULA Railroad-PT-005-ReachabilityCardinality-11 FALSE TECHNIQUES DECISION_DIAGRAMS TOPOLOGICAL COLLATERAL_PROCESSING

Model ,|S| ,Time ,Mem(kb) ,fin. SDD ,fin. DDD ,peak SDD ,peak DDD ,SDD Hom ,SDD cache peak ,DDD Hom ,DDD cachepeak ,SHom cache
Railroad-PT-005-ReachabilityCardinality-11,1,0.341164,6324,2,55,8,6958,12,0,303,6760,0
Presburger conditions satisfied. Using coverability to approximate state space in K-Induction.
// Phase 1: matrix 56 rows 54 cols
invariant :pl_P16_1 + -1'pl_P4_1 = 0
invariant :pl_P0_5 + pl_P40_5 + -1'pl_P5_1 = 0
invariant :pl_P27_1 + -2'pl_P29_3 + pl_P31_1 + pl_P32_1 + -2'pl_P33_1 + -1'pl_P34_2 + pl_P34_4 + 2'pl_P34_5 + 3'pl_P34_6 + 2'pl_P35_1 + -2'pl_P39_1 + -1'pl_P40_1 + -1'pl_P40_2 + -1'pl_P40_3 + -1'pl_P40_4 + -1'pl_P40_5 + -1'pl_P40_6 + pl_P42_1 + pl_P5_1 + pl_P6_1 = 3
invariant :pl_P13_1 + pl_P22_1 + pl_P32_1 = 1
invariant :pl_P18_1 + pl_P27_1 + pl_P41_1 = 1
invariant :pl_P29_1 + pl_P29_3 + pl_P30_1 + pl_P33_1 + -1'pl_P35_1 + -1'pl_P7_1 = 1
invariant :pl_P19_1 + -1'pl_P22_1 = 0
invariant :pl_P10_1 + -1'pl_P30_1 + pl_P35_1 + pl_P7_1 = 0
invariant :pl_P29_2 + -1'pl_P30_1 + -1'pl_P33_1 + pl_P35_1 + pl_P7_1 = 0
invariant :-1'pl_P27_1 + 3'pl_P29_3 + -1'pl_P31_1 + -1'pl_P32_1 + 3'pl_P33_1 + 2'pl_P34_2 + pl_P34_3 + -1'pl_P34_5 + -2'pl_P34_6 + -3'pl_P35_1 + 3'pl_P39_1 + pl_P40_1 + pl_P40_2 + pl_P40_3 + pl_P40_4 + pl_P40_5 + pl_P40_6 + -1'pl_P42_1 + -1'pl_P5_1 + -1'pl_P6_1 = -2
invariant :-1'pl_P29_3 + -1'pl_P33_1 + pl_P34_1 + pl_P35_1 + -1'pl_P39_1 = 0
invariant :pl_P0_6 + pl_P40_6 = 0
invariant :pl_P23_1 + pl_P30_1 + pl_P33_1 + pl_P39_1 + pl_P7_3 = 1
invariant :pl_P28_1 + -1'pl_P41_1 = 0
invariant :pl_P0_2 + -1'pl_P32_1 + pl_P40_2 = 0
invariant :pl_P0_3 + -1'pl_P31_1 + pl_P40_3 = 0
invariant :pl_P11_1 + pl_P29_3 + pl_P30_1 + pl_P33_1 + -1'pl_P35_1 + -1'pl_P7_1 = 1
invariant :pl_P20_1 + pl_P5_1 + pl_P8_1 = 1
invariant :-1'pl_P33_1 + pl_P36_1 + -1'pl_P39_1 + -1'pl_P7_3 = 0
invariant :pl_P25_1 + -1'pl_P8_1 = 0
invariant :pl_P0_1 + pl_P40_1 + -1'pl_P6_1 = 0
invariant :pl_P0_4 + -1'pl_P27_1 + pl_P40_4 = 0
invariant :pl_P17_1 + pl_P4_1 + pl_P6_1 = 1
invariant :pl_P15_1 + pl_P21_1 + pl_P31_1 = 1
invariant :pl_P12_1 + -1'pl_P21_1 = 0
invariant :pl_P26_1 + -1'pl_P29_3 = 0
invariant :pl_P2_1 + pl_P30_1 + pl_P42_1 = 1

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="Railroad-PT-005"
export BK_EXAMINATION="ReachabilityCardinality"
export BK_TOOL="mcc4mcc-full"
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

tar xzf /home/mcc/BenchKit/INPUTS/Railroad-PT-005.tgz
mv Railroad-PT-005 execution
cd execution
pwd
ls -lh

# this is for BenchKit: explicit launching of the test
echo "====================================================================="
echo " Generated by BenchKit 2-3637"
echo " Executing tool mcc4mcc-full"
echo " Input is Railroad-PT-005, 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 r142-qhx2-152673583800173"
echo "====================================================================="
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
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 ;