Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_500",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_500",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001007/0.001007, allocations: 181.9 kB / 16.39 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.29/1.29, allocations: 223.2 MB / 240.3 MB, free: 10.17 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008933/0.0008934, allocations: 92.22 kB / 291.5 MB, free: 10.69 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8127/0.8127, allocations: 120.5 MB / 463 MB, free: 8.676 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003474/0.0003473, allocations: 8 kB / 0.5434 GB, free: 42.35 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1367/0.1371, allocations: 82.85 MB / 0.6243 GB, free: 9.105 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6582/0.7954, allocations: 126.7 MB / 0.7481 GB, free: 7.16 MB / 0.5107 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001743/0.7956, allocations: 50.98 kB / 0.7481 GB, free: 7.137 MB / 0.5107 GB Notification: Performance of FrontEnd - DAE generated: time 0.08082/0.8764, allocations: 27.64 MB / 0.7751 GB, free: 13.22 MB / 0.5419 GB Notification: Performance of FrontEnd: time 2.775e-06/0.8765, allocations: 3.938 kB / 0.7751 GB, free: 13.22 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 0.000349/0.8768, allocations: 64 kB / 0.7752 GB, free: 13.16 MB / 0.5419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.008022/0.8849, allocations: 4.674 MB / 0.7797 GB, free: 8.645 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 4.971e-05/0.8849, allocations: 8.031 kB / 0.7798 GB, free: 8.637 MB / 0.5419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003121/0.8853, allocations: 58.33 kB / 0.7798 GB, free: 8.574 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009493/0.8862, allocations: 0.5746 MB / 0.7804 GB, free: 7.992 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01201/0.8982, allocations: 5.702 MB / 0.7859 GB, free: 2.887 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.787e-05/0.8983, allocations: 4 kB / 0.7859 GB, free: 2.883 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.484e-05/0.8984, allocations: 16 kB / 0.786 GB, free: 2.867 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003367/0.8987, allocations: 237.4 kB / 0.7862 GB, free: 2.637 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.834e-06/0.8987, allocations: 0 / 0.7862 GB, free: 2.637 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.129e-05/0.8988, allocations: 16 kB / 0.7862 GB, free: 2.621 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.144e-06/0.8988, allocations: 3.953 kB / 0.7862 GB, free: 2.617 MB / 0.5419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001936/0.899, allocations: 135.6 kB / 0.7863 GB, free: 2.492 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002081/0.9011, allocations: 1.861 MB / 0.7882 GB, free: 1.074 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001595/0.9012, allocations: 102 kB / 0.7882 GB, free: 0.9766 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.026e-05/0.9013, allocations: 3.938 kB / 0.7883 GB, free: 0.9727 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003117/0.9016, allocations: 252.5 kB / 0.7885 GB, free: 0.7188 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=8): time 4.739e-06/0.9016, allocations: 3.984 kB / 0.7885 GB, free: 0.7148 MB / 0.5419 GB Notification: Performance of matching and sorting (n=8): time 0.001364/0.903, allocations: 1.175 MB / 0.7896 GB, free: 15.52 MB / 0.5575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.942e-05/0.903, allocations: 92.88 kB / 0.7897 GB, free: 15.41 MB / 0.5575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006521/0.9096, allocations: 5.396 MB / 0.795 GB, free: 11.05 MB / 0.5575 GB Notification: Performance of collectPreVariables (initialization): time 8.736e-05/0.9097, allocations: 41.7 kB / 0.795 GB, free: 11 MB / 0.5575 GB Notification: Performance of collectInitialEqns (initialization): time 0.001686/0.9114, allocations: 2.567 MB / 0.7975 GB, free: 10.34 MB / 0.5575 GB Notification: Performance of collectInitialBindings (initialization): time 9.913e-05/0.9115, allocations: 39.56 kB / 0.7976 GB, free: 10.3 MB / 0.5575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.154e-05/0.9115, allocations: 20 kB / 0.7976 GB, free: 10.29 MB / 0.5575 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.9117, allocations: 306 kB / 0.7979 GB, free: 9.98 MB / 0.5575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001272/0.9118, allocations: 79.73 kB / 0.798 GB, free: 9.91 MB / 0.5575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001189/0.9119, allocations: 75.5 kB / 0.798 GB, free: 9.84 MB / 0.5575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001634/0.9121, allocations: 117.1 kB / 0.7982 GB, free: 9.73 MB / 0.5575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.9121, allocations: 4 kB / 0.7982 GB, free: 9.727 MB / 0.5575 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.00125/0.9134, allocations: 1.019 MB / 0.7992 GB, free: 8.707 MB / 0.5575 GB Notification: Performance of prepare postOptimizeDAE: time 5.679e-05/0.9134, allocations: 33.7 kB / 0.7992 GB, free: 8.668 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.9134, allocations: 2.875 kB / 0.7992 GB, free: 8.668 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/0.9135, allocations: 4 kB / 0.7992 GB, free: 8.664 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.779e-05/0.9136, allocations: 7.984 kB / 0.7992 GB, free: 8.656 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.9136, allocations: 3.938 kB / 0.7992 GB, free: 8.652 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004691/0.9141, allocations: 31.61 kB / 0.7992 GB, free: 8.625 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001899/0.9143, allocations: 223 kB / 0.7994 GB, free: 8.438 MB / 0.5575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,timeTable.a,timeTable.b,timeTable.last,$PRE.timeTable.nextEvent,timeTable.nextEvent,timeTable.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001647/0.9159, allocations: 1.333 MB / 0.8008 GB, free: 7.211 MB / 0.5575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004736/0.9164, allocations: 0.5708 MB / 0.8013 GB, free: 6.633 MB / 0.5575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006452/0.917, allocations: 0.6473 MB / 0.8019 GB, free: 6.105 MB / 0.5575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.9171, allocations: 0 / 0.8019 GB, free: 6.105 MB / 0.5575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.9171, allocations: 0 / 0.8019 GB, free: 6.105 MB / 0.5575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.9171, allocations: 96 / 0.8019 GB, free: 6.105 MB / 0.5575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00175/0.9188, allocations: 2.032 MB / 0.8039 GB, free: 4.523 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.9188, allocations: 0 / 0.8039 GB, free: 4.523 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.475e-05/0.9189, allocations: 7.984 kB / 0.8039 GB, free: 4.516 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.9189, allocations: 4 kB / 0.8039 GB, free: 4.512 MB / 0.5575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.92e-05/0.919, allocations: 52 kB / 0.804 GB, free: 4.461 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.919, allocations: 0 / 0.804 GB, free: 4.461 MB / 0.5575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.919, allocations: 0 / 0.804 GB, free: 4.461 MB / 0.5575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00111/0.9201, allocations: 1.104 MB / 0.8051 GB, free: 3.355 MB / 0.5575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008954/0.921, allocations: 0.564 MB / 0.8056 GB, free: 2.766 MB / 0.5575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002263/0.9212, allocations: 16 kB / 0.8056 GB, free: 2.75 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003232/0.9216, allocations: 23.81 kB / 0.8057 GB, free: 2.73 MB / 0.5575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.329e-05/0.9216, allocations: 7.984 kB / 0.8057 GB, free: 2.723 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001714/0.9218, allocations: 223.9 kB / 0.8059 GB, free: 2.535 MB / 0.5575 GB Notification: Performance of sorting global known variables: time 0.004781/0.9266, allocations: 4.31 MB / 0.8101 GB, free: 15.12 MB / 0.5732 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9266, allocations: 0 / 0.8101 GB, free: 15.12 MB / 0.5732 GB Notification: Performance of remove unused functions: time 0.0005315/0.9271, allocations: 191.9 kB / 0.8103 GB, free: 14.93 MB / 0.5732 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,timeTable.a,timeTable.b,timeTable.last,timeTable.nextEvent,timeTable.nextEventScaled) * Number of discrete states: 6 (timeTable.nextEvent,timeTable.last,timeTable.nextEventScaled,timeTable.b,timeTable.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001426/0.9285, allocations: 1.715 MB / 0.8119 GB, free: 13.2 MB / 0.5732 GB Notification: Performance of simCode: created initialization part: time 0.0003719/0.9289, allocations: 282.1 kB / 0.8122 GB, free: 12.95 MB / 0.5732 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.9289, allocations: 0 / 0.8122 GB, free: 12.95 MB / 0.5732 GB Notification: Performance of simCode: created simulation system equations: time 0.0002068/0.9292, allocations: 190.1 kB / 0.8124 GB, free: 12.78 MB / 0.5732 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007223/0.9299, allocations: 420 kB / 0.8128 GB, free: 12.61 MB / 0.5732 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09015/1.02, allocations: 42.34 MB / 0.8541 GB, free: 1.707 MB / 0.6044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003083/1.023, allocations: 2.817 MB / 0.8569 GB, free: 14.99 MB / 0.62 GB Notification: Performance of simCode: alias equations: time 0.003006/1.026, allocations: 1.165 MB / 0.858 GB, free: 13.82 MB / 0.62 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001578/1.028, allocations: 2.082 MB / 0.8601 GB, free: 13.44 MB / 0.62 GB Notification: Performance of SimCode: time 1.774e-06/1.028, allocations: 0 / 0.8601 GB, free: 13.44 MB / 0.62 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1197/1.147, allocations: 74.52 MB / 0.9328 GB, free: 3 MB / 0.6825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002018/1.148, allocations: 201.9 kB / 0.933 GB, free: 2.758 MB / 0.6825 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.067/5.214, allocations: 4 kB / 0.933 GB, free: 2.754 MB / 0.6825 GB (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_500_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_500.fmu > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500_res.mat does not exist to compare? outputFormat=mat