Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.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.CombiTimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable") translateModel(ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001399/0.001398, allocations: 111.2 kB / 17.28 MB, free: 6.199 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.001663/0.001663, allocations: 197.3 kB / 18.21 MB, free: 5.273 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.44/1.44, allocations: 222.9 MB / 241.9 MB, free: 15.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.058/1.058, allocations: 119.3 MB / 411.3 MB, free: 9.68 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001461/0.001461, allocations: 55.91 kB / 0.4911 GB, free: 14.06 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5637/0.5652, allocations: 80.68 MB / 0.5699 GB, free: 43.44 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable): time 0.002912/0.5682, allocations: 1.615 MB / 0.5714 GB, free: 42.18 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001326/0.5695, allocations: 0.8788 MB / 0.5723 GB, free: 41.5 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.79e-05/0.5696, allocations: 4 kB / 0.5723 GB, free: 41.5 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0003423/0.57, allocations: 64.64 kB / 0.5724 GB, free: 41.46 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0003103/0.5703, allocations: 91.19 kB / 0.5725 GB, free: 41.4 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002391/0.5706, allocations: 98.2 kB / 0.5726 GB, free: 41.34 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0001733/0.5707, allocations: 126.7 kB / 0.5727 GB, free: 41.27 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.498e-05/0.5708, allocations: 5.438 kB / 0.5727 GB, free: 41.27 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001323/0.5709, allocations: 62.83 kB / 0.5727 GB, free: 41.23 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001167/0.5711, allocations: 60.09 kB / 0.5728 GB, free: 41.2 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 2.032e-05/0.5711, allocations: 4.781 kB / 0.5728 GB, free: 41.2 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 8.817e-05/0.5712, allocations: 40.95 kB / 0.5728 GB, free: 41.18 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001141/0.5713, allocations: 71.7 kB / 0.5729 GB, free: 41.14 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 6.301e-05/0.5714, allocations: 52.72 kB / 0.573 GB, free: 41.11 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001617/0.5715, allocations: 115.1 kB / 0.5731 GB, free: 41.04 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.5715, allocations: 0 / 0.5731 GB, free: 41.04 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.233e-06/0.5715, allocations: 0 / 0.5731 GB, free: 41.04 MB / 462.3 MB Notification: Performance of Transformations before backend: time 5.58e-06/0.5716, allocations: 4.844 kB / 0.5731 GB, free: 41.04 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000559/0.5721, allocations: 497 kB / 0.5735 GB, free: 40.55 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.5722, allocations: 13.77 kB / 0.5736 GB, free: 40.55 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.302e-05/0.5722, allocations: 20.91 kB / 0.5736 GB, free: 40.54 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003509/0.5726, allocations: 329.4 kB / 0.5739 GB, free: 40.24 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.107e-06/0.5726, allocations: 1.719 kB / 0.5739 GB, free: 40.24 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.477e-05/0.5726, allocations: 9.391 kB / 0.5739 GB, free: 40.23 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001263/0.5728, allocations: 52.14 kB / 0.574 GB, free: 40.18 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.5728, allocations: 4 kB / 0.574 GB, free: 40.18 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.5728, allocations: 0 / 0.574 GB, free: 40.18 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.5728, allocations: 5.031 kB / 0.574 GB, free: 40.18 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.564e-05/0.5729, allocations: 16.98 kB / 0.574 GB, free: 40.17 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001637/0.573, allocations: 206.8 kB / 0.5742 GB, free: 39.94 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001498/0.5732, allocations: 50.56 kB / 0.5742 GB, free: 39.9 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.695e-05/0.5733, allocations: 29.72 kB / 0.5743 GB, free: 39.88 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 2.014e-05/0.5733, allocations: 0 / 0.5743 GB, free: 39.88 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001891/0.5735, allocations: 68.83 kB / 0.5743 GB, free: 39.81 MB / 462.3 MB Notification: Performance of pre-optimization done (n=5): time 1.453e-06/0.5735, allocations: 0 / 0.5743 GB, free: 39.81 MB / 462.3 MB Notification: Performance of matching and sorting (n=5): time 0.0002729/0.5738, allocations: 108.8 kB / 0.5744 GB, free: 39.74 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.925e-05/0.5738, allocations: 51.41 kB / 0.5745 GB, free: 39.68 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002461/0.5741, allocations: 284.1 kB / 0.5747 GB, free: 39.5 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.01e-05/0.5741, allocations: 29.7 kB / 0.5748 GB, free: 39.46 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 6.964e-05/0.5742, allocations: 135.1 kB / 0.5749 GB, free: 39.34 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 3.031e-05/0.5742, allocations: 14.41 kB / 0.5749 GB, free: 39.32 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.354e-05/0.5742, allocations: 22.8 kB / 0.5749 GB, free: 39.3 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 6.661e-05/0.5743, allocations: 333.5 kB / 0.5753 GB, free: 38.97 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.788e-05/0.5744, allocations: 16.3 kB / 0.5753 GB, free: 38.96 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.904e-05/0.5744, allocations: 27.7 kB / 0.5753 GB, free: 38.94 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.007e-05/0.5745, allocations: 47.28 kB / 0.5753 GB, free: 38.91 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.614e-06/0.5745, allocations: 0 / 0.5753 GB, free: 38.91 MB / 462.3 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001534/0.5747, allocations: 96.17 kB / 0.5754 GB, free: 38.84 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.5747, allocations: 4.812 kB / 0.5754 GB, free: 38.84 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.5747, allocations: 0 / 0.5754 GB, free: 38.84 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.5747, allocations: 1.156 kB / 0.5754 GB, free: 38.84 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.868e-05/0.5748, allocations: 14 kB / 0.5754 GB, free: 38.84 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.5748, allocations: 32 / 0.5754 GB, free: 38.84 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.931e-05/0.5749, allocations: 14.42 kB / 0.5755 GB, free: 38.82 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.795e-06/0.5749, allocations: 2.75 kB / 0.5755 GB, free: 38.82 MB / 462.3 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * 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 9.799e-05/0.575, allocations: 138.2 kB / 0.5756 GB, free: 38.7 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.434e-05/0.575, allocations: 26.92 kB / 0.5756 GB, free: 38.68 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.954e-05/0.5751, allocations: 23.72 kB / 0.5756 GB, free: 38.67 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.5751, allocations: 0 / 0.5756 GB, free: 38.67 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.5751, allocations: 5.453 kB / 0.5757 GB, free: 38.66 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.5751, allocations: 0 / 0.5757 GB, free: 38.66 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000137/0.5753, allocations: 219.3 kB / 0.5759 GB, free: 38.43 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.5753, allocations: 9.156 kB / 0.5759 GB, free: 38.42 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.061e-05/0.5753, allocations: 2.469 kB / 0.5759 GB, free: 38.42 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.5753, allocations: 1.156 kB / 0.5759 GB, free: 38.42 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-06/0.5753, allocations: 1.156 kB / 0.5759 GB, free: 38.42 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.5753, allocations: 128 / 0.5759 GB, free: 38.42 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.5753, allocations: 5.125 kB / 0.5759 GB, free: 38.42 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001792/0.5755, allocations: 125.4 kB / 0.576 GB, free: 38.31 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 5.131e-05/0.5756, allocations: 102.7 kB / 0.5761 GB, free: 38.2 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.612e-05/0.5756, allocations: 2.188 kB / 0.5761 GB, free: 38.2 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.022e-05/0.5757, allocations: 5.312 kB / 0.5761 GB, free: 38.19 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.499e-05/0.5757, allocations: 3.094 kB / 0.5761 GB, free: 38.19 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.452e-05/0.5757, allocations: 1.969 kB / 0.5761 GB, free: 38.19 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.0001701/0.5759, allocations: 208.1 kB / 0.5763 GB, free: 38.05 MB / 462.3 MB Notification: Performance of sort global known variables: time 9e-08/0.5759, allocations: 0 / 0.5763 GB, free: 38.05 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002161/0.5761, allocations: 20.5 kB / 0.5763 GB, free: 38.05 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: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0009224/0.577, allocations: 413.4 kB / 0.5767 GB, free: 37.85 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.000179/0.5772, allocations: 44.64 kB / 0.5768 GB, free: 37.83 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.5772, allocations: 0 / 0.5768 GB, free: 37.83 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 6.084e-05/0.5773, allocations: 23.36 kB / 0.5768 GB, free: 37.82 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002842/0.5776, allocations: 36.39 kB / 0.5768 GB, free: 37.8 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005722/0.5782, allocations: 402.9 kB / 0.5772 GB, free: 37.49 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001783/0.5784, allocations: 0.7392 MB / 0.5779 GB, free: 36.77 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.664e-05/0.5784, allocations: 25.98 kB / 0.578 GB, free: 36.75 MB / 462.3 MB Notification: Performance of SimCode: time 2.21e-07/0.5784, allocations: 0 / 0.578 GB, free: 36.75 MB / 462.3 MB Notification: Performance of Templates: time 0.004647/0.5831, allocations: 2.55 MB / 0.5804 GB, free: 35.45 MB / 462.3 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches