Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.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.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70") translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001334/0.001334, allocations: 173.9 kB / 17.4 MB, free: 4.293 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.466/1.466, allocations: 225.7 MB / 243.9 MB, free: 8.449 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.0008457/0.0008457, allocations: 100.1 kB / 295.1 MB, free: 9.492 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.3914/0.3914, allocations: 44.31 MB / 390.5 MB, free: 38.04 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002911/0.0002912, allocations: 12 kB / 463.2 MB, free: 472 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3906/0.3909, allocations: 61.9 MB / 0.5127 GB, free: 38.04 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.001844/0.3928, allocations: 1.486 MB / 0.5142 GB, free: 36.97 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00154/0.3944, allocations: 0.9716 MB / 0.5151 GB, free: 36.27 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.758e-05/0.3945, allocations: 3.938 kB / 0.5152 GB, free: 36.27 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000528/0.395, allocations: 298.9 kB / 0.5154 GB, free: 36.23 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003332/0.3954, allocations: 198.7 kB / 0.5156 GB, free: 36.18 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003334/0.3957, allocations: 154.9 kB / 0.5158 GB, free: 36.1 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002473/0.396, allocations: 238.7 kB / 0.516 GB, free: 36.02 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.937e-05/0.396, allocations: 10.5 kB / 0.516 GB, free: 36.01 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001455/0.3962, allocations: 111.9 kB / 0.5161 GB, free: 35.98 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002216/0.3964, allocations: 191 kB / 0.5163 GB, free: 35.95 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.213e-05/0.3964, allocations: 6.969 kB / 0.5163 GB, free: 35.94 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.857e-05/0.3966, allocations: 38.27 kB / 0.5163 GB, free: 35.93 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001621/0.3967, allocations: 130.7 kB / 0.5165 GB, free: 35.89 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001487/0.3969, allocations: 168.8 kB / 0.5166 GB, free: 35.76 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003969/0.3973, allocations: 353.6 kB / 0.517 GB, free: 35.63 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.3973, allocations: 5.219 kB / 0.517 GB, free: 35.62 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3973, allocations: 4 kB / 0.517 GB, free: 35.62 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.166e-06/0.3973, allocations: 0 / 0.517 GB, free: 35.62 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008393/0.3982, allocations: 0.6573 MB / 0.5176 GB, free: 35.06 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.3982, allocations: 9.031 kB / 0.5176 GB, free: 35.06 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.085e-05/0.3983, allocations: 48.05 kB / 0.5177 GB, free: 35.04 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005146/0.3988, allocations: 447.3 kB / 0.5181 GB, free: 34.72 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.133e-05/0.3989, allocations: 5.812 kB / 0.5181 GB, free: 34.71 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.653e-05/0.3989, allocations: 11.31 kB / 0.5181 GB, free: 34.71 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000199/0.3991, allocations: 86.95 kB / 0.5182 GB, free: 34.64 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.3991, allocations: 0 / 0.5182 GB, free: 34.64 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.53e-05/0.3991, allocations: 5.734 kB / 0.5182 GB, free: 34.64 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.064e-05/0.3991, allocations: 1.094 kB / 0.5182 GB, free: 34.64 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001018/0.3992, allocations: 37.19 kB / 0.5182 GB, free: 34.62 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003519/0.3996, allocations: 375.2 kB / 0.5186 GB, free: 34.37 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002461/0.3999, allocations: 105 kB / 0.5187 GB, free: 34.3 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.093e-05/0.4, allocations: 47.34 kB / 0.5187 GB, free: 34.27 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.752e-05/0.4, allocations: 2.594 kB / 0.5187 GB, free: 34.27 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002316/0.4002, allocations: 105.9 kB / 0.5188 GB, free: 34.19 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.302e-06/0.4002, allocations: 0 / 0.5188 GB, free: 34.19 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004007/0.4006, allocations: 204.3 kB / 0.519 GB, free: 34.09 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.091e-05/0.4007, allocations: 77.11 kB / 0.5191 GB, free: 34 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008841/0.4016, allocations: 1.031 MB / 0.5201 GB, free: 33.65 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.362e-05/0.4016, allocations: 36.11 kB / 0.5202 GB, free: 33.61 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001245/0.4017, allocations: 225.8 kB / 0.5204 GB, free: 33.43 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.646e-05/0.4018, allocations: 32.61 kB / 0.5204 GB, free: 33.41 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.691e-06/0.4018, allocations: 0 / 0.5204 GB, free: 33.41 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.06e-05/0.4019, allocations: 367.9 kB / 0.5208 GB, free: 33.07 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.092e-05/0.4019, allocations: 23.75 kB / 0.5208 GB, free: 33.07 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.694e-05/0.402, allocations: 66.98 kB / 0.5208 GB, free: 33.02 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001561/0.4022, allocations: 88.39 kB / 0.5209 GB, free: 32.96 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.4022, allocations: 3.938 kB / 0.5209 GB, free: 32.95 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002364/0.4024, allocations: 161.9 kB / 0.5211 GB, free: 32.86 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.4025, allocations: 13.94 kB / 0.5211 GB, free: 32.86 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.4025, allocations: 3 kB / 0.5211 GB, free: 32.86 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.4025, allocations: 0 / 0.5211 GB, free: 32.86 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001079/0.4026, allocations: 24.77 kB / 0.5211 GB, free: 32.86 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.475e-06/0.4026, allocations: 3.094 kB / 0.5211 GB, free: 32.86 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.293e-05/0.4027, allocations: 11.16 kB / 0.5211 GB, free: 32.85 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.067e-05/0.4027, allocations: 5.969 kB / 0.5211 GB, free: 32.85 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.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001694/0.4029, allocations: 224 kB / 0.5214 GB, free: 32.71 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.623e-05/0.403, allocations: 54.38 kB / 0.5214 GB, free: 32.68 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.475e-05/0.403, allocations: 57.45 kB / 0.5215 GB, free: 32.65 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.4031, allocations: 2.969 kB / 0.5215 GB, free: 32.65 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.4031, allocations: 0 / 0.5215 GB, free: 32.65 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.4031, allocations: 3.703 kB / 0.5215 GB, free: 32.65 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002544/0.4033, allocations: 346.2 kB / 0.5218 GB, free: 32.4 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.4033, allocations: 0 / 0.5218 GB, free: 32.4 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.41e-05/0.4034, allocations: 12.69 kB / 0.5218 GB, free: 32.39 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.4034, allocations: 3.938 kB / 0.5218 GB, free: 32.39 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.43e-05/0.4034, allocations: 10.27 kB / 0.5218 GB, free: 32.39 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.4034, allocations: 0 / 0.5218 GB, free: 32.39 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.4034, allocations: 4 kB / 0.5218 GB, free: 32.38 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002646/0.4037, allocations: 201.8 kB / 0.522 GB, free: 32.25 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001036/0.4038, allocations: 143.7 kB / 0.5222 GB, free: 32.12 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.703e-05/0.4039, allocations: 9.938 kB / 0.5222 GB, free: 32.12 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.823e-05/0.4039, allocations: 2.5 kB / 0.5222 GB, free: 32.12 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.783e-05/0.404, allocations: 12.31 kB / 0.5222 GB, free: 32.12 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.687e-05/0.404, allocations: 9.062 kB / 0.5222 GB, free: 32.11 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006414/0.4047, allocations: 0.7646 MB / 0.5229 GB, free: 31.85 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4047, allocations: 0 / 0.5229 GB, free: 31.85 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000245/0.4049, allocations: 44.84 kB / 0.523 GB, free: 31.84 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * 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.0009853/0.4059, allocations: 466.5 kB / 0.5234 GB, free: 31.58 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002936/0.4062, allocations: 89.42 kB / 0.5235 GB, free: 31.55 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.4062, allocations: 3.938 kB / 0.5235 GB, free: 31.54 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.313e-05/0.4063, allocations: 34.55 kB / 0.5235 GB, free: 31.54 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004544/0.4068, allocations: 80.45 kB / 0.5236 GB, free: 31.5 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001185/0.408, allocations: 0.9586 MB / 0.5246 GB, free: 31.02 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003493/0.4084, allocations: 0.8388 MB / 0.5254 GB, free: 30.3 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001232/0.4085, allocations: 58.41 kB / 0.5254 GB, free: 30.3 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.28e-05/0.4086, allocations: 32.59 kB / 0.5255 GB, free: 30.29 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.4086, allocations: 0 / 0.5255 GB, free: 30.29 MB / 378.7 MB Notification: Performance of Templates: time 0.006893/0.4155, allocations: 3.47 MB / 0.5289 GB, free: 29.96 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches