Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.conf.json 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/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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ScalableTestSuite.Elementary.Tables.Models.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable") translateModel(ScalableTestSuite.Elementary.Tables.Models.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001802/0.001802, allocations: 110.9 kB / 17.68 MB, free: 5.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002437/0.002437, allocations: 192 kB / 18.62 MB, free: 4.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.416/1.416, allocations: 222.9 MB / 242.3 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.242/1.242, allocations: 119.3 MB / 411.8 MB, free: 9.547 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.00118, allocations: 59.91 kB / 0.4923 GB, free: 13.05 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6611/0.6623, allocations: 80.69 MB / 0.5711 GB, free: 43.36 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.TimeTable): time 0.002783/0.6652, allocations: 1.386 MB / 0.5725 GB, free: 42.27 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001026/0.6662, allocations: 0.5774 MB / 0.5731 GB, free: 41.82 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.362e-05/0.6663, allocations: 1.219 kB / 0.5731 GB, free: 41.82 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001818/0.6665, allocations: 22.31 kB / 0.5731 GB, free: 41.8 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0002773/0.6668, allocations: 60.3 kB / 0.5731 GB, free: 41.77 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002799/0.6671, allocations: 80.95 kB / 0.5732 GB, free: 41.72 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0001537/0.6672, allocations: 91.08 kB / 0.5733 GB, free: 41.67 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.511e-05/0.6673, allocations: 7.312 kB / 0.5733 GB, free: 41.67 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000108/0.6674, allocations: 48.08 kB / 0.5734 GB, free: 41.64 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001276/0.6675, allocations: 46.34 kB / 0.5734 GB, free: 41.62 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 2.16e-05/0.6676, allocations: 5.5 kB / 0.5734 GB, free: 41.62 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001311/0.6677, allocations: 85.69 kB / 0.5735 GB, free: 41.57 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001198/0.6678, allocations: 51.58 kB / 0.5735 GB, free: 41.55 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 5.879e-05/0.6679, allocations: 54.56 kB / 0.5736 GB, free: 41.5 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0002145/0.6681, allocations: 148.6 kB / 0.5737 GB, free: 41.42 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 7.745e-06/0.6681, allocations: 1.5 kB / 0.5737 GB, free: 41.42 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.525e-06/0.6681, allocations: 0 / 0.5737 GB, free: 41.42 MB / 462.3 MB Notification: Performance of Transformations before backend: time 8.276e-06/0.6682, allocations: 0 / 0.5737 GB, free: 41.42 MB / 462.3 MB 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.0005356/0.6687, allocations: 477.3 kB / 0.5742 GB, free: 40.94 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/0.6688, allocations: 13.27 kB / 0.5742 GB, free: 40.94 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.505e-05/0.6688, allocations: 16.81 kB / 0.5742 GB, free: 40.93 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000428/0.6692, allocations: 316.2 kB / 0.5745 GB, free: 40.64 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/0.6693, allocations: 1.688 kB / 0.5745 GB, free: 40.64 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.326e-05/0.6693, allocations: 2.781 kB / 0.5745 GB, free: 40.64 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001232/0.6694, allocations: 55.72 kB / 0.5746 GB, free: 40.59 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.6694, allocations: 0 / 0.5746 GB, free: 40.59 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.6694, allocations: 1.531 kB / 0.5746 GB, free: 40.59 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.6695, allocations: 0 / 0.5746 GB, free: 40.59 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.746e-05/0.6695, allocations: 29 kB / 0.5746 GB, free: 40.58 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001775/0.6697, allocations: 211.6 kB / 0.5748 GB, free: 40.34 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 6.471e-05/0.6698, allocations: 39.48 kB / 0.5748 GB, free: 40.31 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.071e-05/0.6699, allocations: 33.27 kB / 0.5749 GB, free: 40.29 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 9.868e-06/0.6699, allocations: 5.156 kB / 0.5749 GB, free: 40.28 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001366/0.67, allocations: 98.59 kB / 0.575 GB, free: 40.18 MB / 462.3 MB Notification: Performance of pre-optimization done (n=8): time 1.323e-06/0.67, allocations: 3.938 kB / 0.575 GB, free: 40.18 MB / 462.3 MB Notification: Performance of matching and sorting (n=8): time 0.0003165/0.6703, allocations: 162.8 kB / 0.5751 GB, free: 40.08 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.79e-05/0.6704, allocations: 82.7 kB / 0.5752 GB, free: 39.98 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001942/0.6706, allocations: 236.8 kB / 0.5754 GB, free: 39.82 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.2e-05/0.6706, allocations: 26.95 kB / 0.5755 GB, free: 39.79 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 5.049e-05/0.6707, allocations: 115.9 kB / 0.5756 GB, free: 39.68 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 3.3e-05/0.6707, allocations: 20.03 kB / 0.5756 GB, free: 39.66 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.399e-05/0.6708, allocations: 30.55 kB / 0.5756 GB, free: 39.64 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 6.454e-05/0.6708, allocations: 328.5 kB / 0.5759 GB, free: 39.31 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.722e-05/0.6709, allocations: 22.77 kB / 0.576 GB, free: 39.3 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.007e-05/0.6709, allocations: 17.03 kB / 0.576 GB, free: 39.29 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.967e-05/0.671, allocations: 109.7 kB / 0.5761 GB, free: 39.2 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.671, allocations: 0 / 0.5761 GB, free: 39.2 MB / 462.3 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001704/0.6712, allocations: 149 kB / 0.5762 GB, free: 39.09 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 4e-05/0.6712, allocations: 44.28 kB / 0.5763 GB, free: 39.05 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.6712, allocations: 0 / 0.5763 GB, free: 39.05 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.6713, allocations: 0 / 0.5763 GB, free: 39.05 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.32e-05/0.6713, allocations: 4.219 kB / 0.5763 GB, free: 39.05 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.6714, allocations: 1.094 kB / 0.5763 GB, free: 39.05 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.983e-05/0.6714, allocations: 7.062 kB / 0.5763 GB, free: 39.05 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.357e-05/0.6714, allocations: 10.45 kB / 0.5763 GB, free: 39.05 MB / 462.3 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (timeTable.nextEventScaled,timeTable.nextEvent,$PRE.timeTable.nextEvent,timeTable.last,timeTable.b,timeTable.a,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001153/0.6716, allocations: 180.5 kB / 0.5765 GB, free: 38.88 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.596e-05/0.6716, allocations: 25.22 kB / 0.5765 GB, free: 38.86 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.323e-05/0.6716, allocations: 18.09 kB / 0.5765 GB, free: 38.85 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.6716, allocations: 5.422 kB / 0.5765 GB, free: 38.84 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.6716, allocations: 0 / 0.5765 GB, free: 38.84 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.6717, allocations: 0 / 0.5765 GB, free: 38.84 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001254/0.6718, allocations: 211.3 kB / 0.5767 GB, free: 38.62 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-06/0.6718, allocations: 7.938 kB / 0.5767 GB, free: 38.61 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.975e-05/0.6718, allocations: 6.312 kB / 0.5767 GB, free: 38.61 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.6718, allocations: 1.125 kB / 0.5767 GB, free: 38.61 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.368e-05/0.6718, allocations: 3.75 kB / 0.5767 GB, free: 38.61 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.6718, allocations: 3.938 kB / 0.5767 GB, free: 38.6 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.6719, allocations: 1.438 kB / 0.5767 GB, free: 38.6 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000216/0.6721, allocations: 200.4 kB / 0.5769 GB, free: 38.45 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 6.245e-05/0.6721, allocations: 105.6 kB / 0.577 GB, free: 38.34 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.698e-05/0.6722, allocations: 3.375 kB / 0.577 GB, free: 38.34 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.924e-05/0.6722, allocations: 10.45 kB / 0.577 GB, free: 38.33 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.253e-05/0.6723, allocations: 5.469 kB / 0.577 GB, free: 38.33 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.667e-05/0.6723, allocations: 11.56 kB / 0.5771 GB, free: 38.32 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.0001311/0.6724, allocations: 175.1 kB / 0.5772 GB, free: 38.21 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6724, allocations: 0 / 0.5772 GB, free: 38.21 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002285/0.6727, allocations: 31.66 kB / 0.5772 GB, free: 38.21 MB / 462.3 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001564/0.6728, allocations: 129.9 kB / 0.5774 GB, free: 38.11 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0002005/0.673, allocations: 141.9 kB / 0.5775 GB, free: 38 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.673, allocations: 0.9688 kB / 0.5775 GB, free: 38 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 8.543e-05/0.6731, allocations: 110.6 kB / 0.5776 GB, free: 37.9 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002103/0.6733, allocations: 17.59 kB / 0.5776 GB, free: 37.89 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005041/0.6739, allocations: 295.5 kB / 0.5779 GB, free: 37.68 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002029/0.6741, allocations: 0.7235 MB / 0.5786 GB, free: 36.96 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 6.975e-05/0.6741, allocations: 26.89 kB / 0.5786 GB, free: 36.95 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.107e-05/0.6742, allocations: 14.22 kB / 0.5787 GB, free: 36.94 MB / 462.3 MB Notification: Performance of SimCode: time 2.21e-07/0.6742, allocations: 3.969 kB / 0.5787 GB, free: 36.94 MB / 462.3 MB Notification: Performance of Templates: time 0.004364/0.6786, allocations: 1.365 MB / 0.58 GB, free: 36.25 MB / 462.3 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable -abortSlowSimulation -alarm=300 -s cvode -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.Models.TimeTable_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches