Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57") translateModel(ModelicaTest.Tables.CombiTimeTable.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001023/0.001023, allocations: 178.3 kB / 17.41 MB, free: 4.289 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.3/1.3, allocations: 225.7 MB / 243.9 MB, free: 8.469 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008361/0.0008363, allocations: 96.23 kB / 295.1 MB, free: 9.5 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3252/0.3252, allocations: 44.31 MB / 390.5 MB, free: 38.04 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003316/0.0003317, allocations: 15.94 kB / 463.2 MB, free: 484 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3512/0.3515, allocations: 61.9 MB / 0.5128 GB, free: 38.01 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.001843/0.3534, allocations: 1.397 MB / 0.5141 GB, free: 37 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001777/0.3552, allocations: 1.557 MB / 0.5156 GB, free: 35.83 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.261e-05/0.3553, allocations: 0 / 0.5156 GB, free: 35.83 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000289/0.3556, allocations: 32.62 kB / 0.5157 GB, free: 35.82 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001764/0.3558, allocations: 51.88 kB / 0.5157 GB, free: 35.79 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002528/0.356, allocations: 93.14 kB / 0.5158 GB, free: 35.74 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001638/0.3562, allocations: 91.2 kB / 0.5159 GB, free: 35.7 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001152/0.3563, allocations: 12.08 kB / 0.5159 GB, free: 35.69 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.575e-05/0.3564, allocations: 42.62 kB / 0.5159 GB, free: 35.67 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001333/0.3566, allocations: 33.05 kB / 0.516 GB, free: 35.66 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.117e-05/0.3566, allocations: 2.938 kB / 0.516 GB, free: 35.66 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001114/0.3567, allocations: 53.66 kB / 0.516 GB, free: 35.64 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.617e-05/0.3568, allocations: 18.06 kB / 0.516 GB, free: 35.63 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.346e-05/0.3569, allocations: 53.47 kB / 0.5161 GB, free: 35.58 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001825/0.357, allocations: 119.8 kB / 0.5162 GB, free: 35.54 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.3571, allocations: 0 / 0.5162 GB, free: 35.54 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.454e-06/0.3571, allocations: 0 / 0.5162 GB, free: 35.54 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.661e-06/0.3571, allocations: 0 / 0.5162 GB, free: 35.54 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004503/0.3575, allocations: 392.9 kB / 0.5166 GB, free: 35.14 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.3576, allocations: 11.56 kB / 0.5166 GB, free: 35.14 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.593e-05/0.3576, allocations: 7.938 kB / 0.5166 GB, free: 35.13 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001894/0.3578, allocations: 208.9 kB / 0.5168 GB, free: 34.92 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.3578, allocations: 4.375 kB / 0.5168 GB, free: 34.91 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.273e-05/0.3579, allocations: 7.062 kB / 0.5168 GB, free: 34.91 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00015/0.358, allocations: 67.59 kB / 0.5169 GB, free: 34.86 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.358, allocations: 3.938 kB / 0.5169 GB, free: 34.85 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.3581, allocations: 0 / 0.5169 GB, free: 34.85 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.3581, allocations: 2.719 kB / 0.5169 GB, free: 34.85 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.918e-05/0.3581, allocations: 15.78 kB / 0.5169 GB, free: 34.85 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002924/0.3584, allocations: 284.8 kB / 0.5172 GB, free: 34.56 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001431/0.3586, allocations: 60.38 kB / 0.5172 GB, free: 34.52 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.586e-05/0.3587, allocations: 21.02 kB / 0.5173 GB, free: 34.51 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.294e-05/0.3587, allocations: 0 / 0.5173 GB, free: 34.51 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001669/0.3589, allocations: 75.92 kB / 0.5173 GB, free: 34.45 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.264e-06/0.3589, allocations: 0 / 0.5173 GB, free: 34.45 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004803/0.3594, allocations: 172.4 kB / 0.5175 GB, free: 34.36 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.292e-05/0.3594, allocations: 81.05 kB / 0.5176 GB, free: 34.26 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000129/0.3595, allocations: 155.2 kB / 0.5177 GB, free: 34.14 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.216e-05/0.3596, allocations: 26.45 kB / 0.5177 GB, free: 34.11 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.602e-05/0.3596, allocations: 92.73 kB / 0.5178 GB, free: 34.02 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.861e-05/0.3596, allocations: 31.89 kB / 0.5179 GB, free: 34 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.599e-06/0.3597, allocations: 0 / 0.5179 GB, free: 34 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.694e-05/0.3597, allocations: 329.2 kB / 0.5182 GB, free: 33.67 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.384e-05/0.3598, allocations: 15.72 kB / 0.5182 GB, free: 33.67 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.992e-05/0.3599, allocations: 48.77 kB / 0.5182 GB, free: 33.63 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001021/0.36, allocations: 61.58 kB / 0.5183 GB, free: 33.59 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.36, allocations: 0 / 0.5183 GB, free: 33.59 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001772/0.3602, allocations: 99.77 kB / 0.5184 GB, free: 33.53 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.3602, allocations: 5.344 kB / 0.5184 GB, free: 33.53 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.3602, allocations: 1.031 kB / 0.5184 GB, free: 33.53 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.3602, allocations: 1.031 kB / 0.5184 GB, free: 33.53 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.604e-05/0.3603, allocations: 19.52 kB / 0.5184 GB, free: 33.53 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.044e-06/0.3603, allocations: 1.062 kB / 0.5184 GB, free: 33.53 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.07e-05/0.3604, allocations: 7.25 kB / 0.5184 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.059e-05/0.3604, allocations: 8.281 kB / 0.5184 GB, free: 33.52 MB / 378.7 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 0.0001018/0.3605, allocations: 118.3 kB / 0.5185 GB, free: 33.4 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.857e-05/0.3605, allocations: 13.59 kB / 0.5186 GB, free: 33.39 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.739e-05/0.3606, allocations: 13.05 kB / 0.5186 GB, free: 33.38 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.339e-06/0.3606, allocations: 1.438 kB / 0.5186 GB, free: 33.38 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.388e-06/0.3606, allocations: 4.656 kB / 0.5186 GB, free: 33.38 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.3606, allocations: 4.594 kB / 0.5186 GB, free: 33.38 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004056/0.3611, allocations: 391.6 kB / 0.5189 GB, free: 33.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.3611, allocations: 1.156 kB / 0.519 GB, free: 33.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.364e-05/0.3611, allocations: 8.453 kB / 0.519 GB, free: 33.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.3611, allocations: 1.406 kB / 0.519 GB, free: 33.02 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/0.3611, allocations: 10.66 kB / 0.519 GB, free: 33.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.3611, allocations: 1.375 kB / 0.519 GB, free: 33.02 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.3611, allocations: 1.031 kB / 0.519 GB, free: 33.02 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001999/0.3613, allocations: 204.1 kB / 0.5192 GB, free: 32.85 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.968e-05/0.3614, allocations: 90.42 kB / 0.5193 GB, free: 32.75 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.743e-05/0.3614, allocations: 5.984 kB / 0.5193 GB, free: 32.74 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.223e-05/0.3615, allocations: 12.42 kB / 0.5193 GB, free: 32.73 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.62e-05/0.3616, allocations: 9.875 kB / 0.5193 GB, free: 32.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.511e-05/0.3616, allocations: 3.734 kB / 0.5193 GB, free: 32.73 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001041/0.3617, allocations: 119.8 kB / 0.5194 GB, free: 32.64 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3617, allocations: 0 / 0.5194 GB, free: 32.64 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002722/0.362, allocations: 31.67 kB / 0.5194 GB, free: 32.63 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.001152/0.3631, allocations: 0.5747 MB / 0.52 GB, free: 32.3 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001919/0.3633, allocations: 59.17 kB / 0.52 GB, free: 32.29 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.3634, allocations: 1.094 kB / 0.52 GB, free: 32.29 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.567e-05/0.3634, allocations: 32.12 kB / 0.5201 GB, free: 32.27 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003313/0.3638, allocations: 37.5 kB / 0.5201 GB, free: 32.26 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004059/0.3642, allocations: 216.8 kB / 0.5203 GB, free: 32.07 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001622/0.3644, allocations: 0.6923 MB / 0.521 GB, free: 31.38 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.56e-05/0.3644, allocations: 21.58 kB / 0.521 GB, free: 31.37 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.126e-05/0.3645, allocations: 20.41 kB / 0.521 GB, free: 31.36 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.3645, allocations: 0 / 0.521 GB, free: 31.36 MB / 378.7 MB Notification: Performance of Templates: time 0.004603/0.3691, allocations: 1.867 MB / 0.5229 GB, free: 31.15 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches