Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.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.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75") translateModel(ModelicaTest.Tables.CombiTimeTable.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001253/0.001254, allocations: 178.6 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.343/1.343, allocations: 225.7 MB / 243.9 MB, free: 8.496 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.0009006/0.0009009, allocations: 93.23 kB / 295 MB, free: 9.527 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.3784/0.3784, allocations: 44.32 MB / 390.5 MB, free: 38.06 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004108/0.0004109, allocations: 11.98 kB / 463.1 MB, free: 500 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3612/0.3617, allocations: 61.91 MB / 0.5128 GB, free: 38.06 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.002459/0.3642, allocations: 1.559 MB / 0.5143 GB, free: 36.94 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001309/0.3656, allocations: 1.002 MB / 0.5153 GB, free: 36.22 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.61e-05/0.3657, allocations: 0 / 0.5153 GB, free: 36.22 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004703/0.3662, allocations: 221 kB / 0.5155 GB, free: 36.18 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003051/0.3665, allocations: 150.9 kB / 0.5156 GB, free: 36.14 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004092/0.3669, allocations: 168 kB / 0.5158 GB, free: 36.04 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000281/0.3672, allocations: 229.3 kB / 0.516 GB, free: 35.96 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001419/0.3673, allocations: 25.42 kB / 0.516 GB, free: 35.95 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001462/0.3675, allocations: 108.5 kB / 0.5161 GB, free: 35.91 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001682/0.3677, allocations: 143.3 kB / 0.5162 GB, free: 35.88 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.2e-05/0.3677, allocations: 3 kB / 0.5163 GB, free: 35.88 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000128/0.3678, allocations: 56.02 kB / 0.5163 GB, free: 35.86 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.123e-05/0.3679, allocations: 55.14 kB / 0.5164 GB, free: 35.84 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000106/0.368, allocations: 108.8 kB / 0.5165 GB, free: 35.75 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003327/0.3684, allocations: 216.9 kB / 0.5167 GB, free: 35.66 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.3684, allocations: 0 / 0.5167 GB, free: 35.66 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.993e-06/0.3684, allocations: 1 kB / 0.5167 GB, free: 35.66 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.08e-06/0.3684, allocations: 0 / 0.5167 GB, free: 35.66 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006625/0.3691, allocations: 0.5247 MB / 0.5172 GB, free: 35.18 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.3691, allocations: 9.859 kB / 0.5172 GB, free: 35.18 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.47e-05/0.3692, allocations: 29.31 kB / 0.5172 GB, free: 35.16 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003129/0.3695, allocations: 275.9 kB / 0.5175 GB, free: 34.91 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.354e-05/0.3696, allocations: 3.75 kB / 0.5175 GB, free: 34.91 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.787e-05/0.3696, allocations: 13.38 kB / 0.5175 GB, free: 34.91 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002406/0.3698, allocations: 109.2 kB / 0.5176 GB, free: 34.84 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.3699, allocations: 4 kB / 0.5176 GB, free: 34.84 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.31e-05/0.3699, allocations: 5.094 kB / 0.5176 GB, free: 34.83 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.3699, allocations: 1.906 kB / 0.5176 GB, free: 34.83 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000126/0.37, allocations: 41.98 kB / 0.5177 GB, free: 34.82 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004366/0.3705, allocations: 474.2 kB / 0.5181 GB, free: 34.41 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003437/0.3708, allocations: 122.3 kB / 0.5182 GB, free: 34.34 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.916e-05/0.3709, allocations: 45.8 kB / 0.5183 GB, free: 34.31 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.485e-05/0.371, allocations: 3.328 kB / 0.5183 GB, free: 34.31 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002713/0.3713, allocations: 123.2 kB / 0.5184 GB, free: 34.22 MB / 378.7 MB Notification: Performance of pre-optimization done (n=14): time 1.273e-06/0.3713, allocations: 0 / 0.5184 GB, free: 34.22 MB / 378.7 MB Notification: Performance of matching and sorting (n=22): time 0.00126/0.3725, allocations: 0.4916 MB / 0.5189 GB, free: 34 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.489e-05/0.3726, allocations: 83.88 kB / 0.5189 GB, free: 33.9 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003592/0.373, allocations: 428.7 kB / 0.5194 GB, free: 33.71 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.745e-05/0.373, allocations: 32.61 kB / 0.5194 GB, free: 33.67 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.406e-05/0.3731, allocations: 153.4 kB / 0.5195 GB, free: 33.54 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.18e-05/0.3731, allocations: 70.67 kB / 0.5196 GB, free: 33.48 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.057e-06/0.3731, allocations: 7.094 kB / 0.5196 GB, free: 33.48 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.502e-05/0.3732, allocations: 341.4 kB / 0.5199 GB, free: 33.16 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001034/0.3733, allocations: 59.78 kB / 0.52 GB, free: 33.13 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001079/0.3734, allocations: 96.66 kB / 0.5201 GB, free: 33.07 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002117/0.3737, allocations: 156.4 kB / 0.5202 GB, free: 32.98 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.3737, allocations: 0 / 0.5202 GB, free: 32.98 MB / 378.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003121/0.374, allocations: 234.6 kB / 0.5205 GB, free: 32.86 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.374, allocations: 16.69 kB / 0.5205 GB, free: 32.86 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.374, allocations: 0 / 0.5205 GB, free: 32.86 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.374, allocations: 2.938 kB / 0.5205 GB, free: 32.86 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001254/0.3742, allocations: 37.95 kB / 0.5205 GB, free: 32.86 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.3742, allocations: 3.938 kB / 0.5205 GB, free: 32.85 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.592e-05/0.3743, allocations: 13.28 kB / 0.5205 GB, free: 32.85 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.523e-05/0.3743, allocations: 12.72 kB / 0.5205 GB, free: 32.84 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001169/0.3744, allocations: 159.4 kB / 0.5207 GB, free: 32.71 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.711e-05/0.3745, allocations: 37.97 kB / 0.5207 GB, free: 32.69 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.362e-05/0.3745, allocations: 42.72 kB / 0.5208 GB, free: 32.67 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.3745, allocations: 6.984 kB / 0.5208 GB, free: 32.66 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.3746, allocations: 0 / 0.5208 GB, free: 32.66 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.3746, allocations: 0 / 0.5208 GB, free: 32.66 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007072/0.3753, allocations: 0.7294 MB / 0.5215 GB, free: 32.12 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.3753, allocations: 0 / 0.5215 GB, free: 32.12 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.492e-05/0.3754, allocations: 36.94 kB / 0.5215 GB, free: 32.12 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.3754, allocations: 0 / 0.5215 GB, free: 32.12 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.667e-05/0.3754, allocations: 10.53 kB / 0.5215 GB, free: 32.11 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.3754, allocations: 3.281 kB / 0.5215 GB, free: 32.11 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.3754, allocations: 0 / 0.5215 GB, free: 32.11 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003816/0.3758, allocations: 422.6 kB / 0.5219 GB, free: 31.8 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.411e-05/0.3759, allocations: 109.7 kB / 0.522 GB, free: 31.69 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.747e-05/0.3759, allocations: 2.875 kB / 0.522 GB, free: 31.69 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001503/0.3761, allocations: 17.05 kB / 0.5221 GB, free: 31.68 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.889e-05/0.3761, allocations: 20.09 kB / 0.5221 GB, free: 31.67 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.475e-05/0.3762, allocations: 12.52 kB / 0.5221 GB, free: 31.67 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002536/0.3764, allocations: 315.6 kB / 0.5224 GB, free: 31.54 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.784e-06/0.3764, allocations: 3.938 kB / 0.5224 GB, free: 31.53 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003179/0.3768, allocations: 54.17 kB / 0.5224 GB, free: 31.52 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001177/0.378, allocations: 0.6143 MB / 0.523 GB, free: 31.16 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000292/0.3783, allocations: 151 kB / 0.5232 GB, free: 31.11 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.3783, allocations: 0 / 0.5232 GB, free: 31.11 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001242/0.3784, allocations: 81.39 kB / 0.5233 GB, free: 31.09 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005385/0.3789, allocations: 61.19 kB / 0.5233 GB, free: 31.06 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007908/0.3797, allocations: 0.6092 MB / 0.5239 GB, free: 30.67 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000217/0.38, allocations: 0.7692 MB / 0.5247 GB, free: 29.96 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001255/0.3801, allocations: 43.08 kB / 0.5247 GB, free: 29.95 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.927e-05/0.3802, allocations: 28.19 kB / 0.5247 GB, free: 29.94 MB / 378.7 MB Notification: Performance of SimCode: time 3.91e-07/0.3802, allocations: 0 / 0.5247 GB, free: 29.94 MB / 378.7 MB Notification: Performance of Templates: time 0.005974/0.3862, allocations: 2.928 MB / 0.5276 GB, free: 29.63 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches