Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/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(ModelicaTest.Tables.CombiTable2Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001618/0.001618, allocations: 114.4 kB / 17.78 MB, free: 5.266 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.001968/0.001968, allocations: 187.8 kB / 18.71 MB, free: 4.344 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.454/1.454, allocations: 222.9 MB / 242.4 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2299/0.2299, allocations: 44.18 MB / 336.7 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002125/0.002125, allocations: 67.89 kB / 470.6 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4586/0.4608, allocations: 60.81 MB / 0.5189 GB, free: 3.621 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test21): time 0.003135/0.464, allocations: 1.98 MB / 0.5208 GB, free: 2.242 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00168/0.4657, allocations: 0.9498 MB / 0.5218 GB, free: 1.617 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001686/0.4659, allocations: 6.281 kB / 0.5218 GB, free: 1.613 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005585/0.4665, allocations: 259.3 kB / 0.522 GB, free: 1.559 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004113/0.4669, allocations: 192.1 kB / 0.5222 GB, free: 1.492 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001455/0.4684, allocations: 0.6558 MB / 0.5229 GB, free: 1.172 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004562/0.4688, allocations: 305.1 kB / 0.5231 GB, free: 1.059 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000189/0.469, allocations: 82.11 kB / 0.5232 GB, free: 1.016 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001797/0.4692, allocations: 129.8 kB / 0.5233 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002438/0.4695, allocations: 205.9 kB / 0.5235 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.31e-05/0.4695, allocations: 9.094 kB / 0.5235 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002149/0.4697, allocations: 98.19 kB / 0.5236 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001354/0.4699, allocations: 93.67 kB / 0.5237 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.7e-05/0.47, allocations: 111.5 kB / 0.5238 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004118/0.4704, allocations: 320.7 kB / 0.5241 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.4704, allocations: 1.312 kB / 0.5241 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.552e-06/0.4704, allocations: 4 kB / 0.5242 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.208e-05/0.4704, allocations: 0 / 0.5242 GB, free: 0.6172 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0006963/0.4711, allocations: 0.6298 MB / 0.5248 GB, free: 68 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.4712, allocations: 10.12 kB / 0.5248 GB, free: 68 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.502e-05/0.4712, allocations: 38.12 kB / 0.5248 GB, free: 48 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003883/0.4716, allocations: 315.5 kB / 0.5251 GB, free: 15.77 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.521e-05/0.4717, allocations: 8.188 kB / 0.5251 GB, free: 15.77 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.753e-05/0.4717, allocations: 12.84 kB / 0.5251 GB, free: 15.76 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002849/0.472, allocations: 132.7 kB / 0.5253 GB, free: 15.69 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.623e-05/0.472, allocations: 1.812 kB / 0.5253 GB, free: 15.69 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.814e-05/0.472, allocations: 4.594 kB / 0.5253 GB, free: 15.69 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.472, allocations: 8 kB / 0.5253 GB, free: 15.68 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002266/0.4723, allocations: 94.45 kB / 0.5254 GB, free: 15.66 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008631/0.4732, allocations: 0.4919 MB / 0.5258 GB, free: 15.29 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002498/0.4734, allocations: 112.5 kB / 0.526 GB, free: 15.23 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001079/0.4735, allocations: 40.03 kB / 0.526 GB, free: 15.21 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.852e-05/0.4736, allocations: 9.359 kB / 0.526 GB, free: 15.2 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.096e-05/0.4736, allocations: 31.94 kB / 0.526 GB, free: 15.16 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.924e-06/0.4736, allocations: 0 / 0.526 GB, free: 15.16 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001397/0.4751, allocations: 438.2 kB / 0.5264 GB, free: 14.93 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.045e-05/0.4752, allocations: 52.78 kB / 0.5265 GB, free: 14.86 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008878/0.4761, allocations: 0.5268 MB / 0.527 GB, free: 14.59 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.005e-05/0.4761, allocations: 29.7 kB / 0.527 GB, free: 14.55 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002371/0.4763, allocations: 201 kB / 0.5272 GB, free: 14.37 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.233e-05/0.4764, allocations: 46.11 kB / 0.5273 GB, free: 14.33 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.43e-05/0.4765, allocations: 34.12 kB / 0.5273 GB, free: 14.3 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002353/0.4768, allocations: 350.8 kB / 0.5276 GB, free: 13.96 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001869/0.477, allocations: 74.14 kB / 0.5277 GB, free: 13.92 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001668/0.4771, allocations: 68.33 kB / 0.5278 GB, free: 13.89 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003451/0.4775, allocations: 159.9 kB / 0.5279 GB, free: 13.81 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/0.4775, allocations: 5.156 kB / 0.5279 GB, free: 13.8 MB / 398.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.00056/0.4781, allocations: 222.5 kB / 0.5281 GB, free: 13.68 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.442e-05/0.4781, allocations: 4.844 kB / 0.5282 GB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.307e-05/0.4782, allocations: 5.156 kB / 0.5282 GB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.302e-05/0.4782, allocations: 1.188 kB / 0.5282 GB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002614/0.4785, allocations: 38.41 kB / 0.5282 GB, free: 13.67 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.438e-05/0.4785, allocations: 13.14 kB / 0.5282 GB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.89e-05/0.4786, allocations: 7.562 kB / 0.5282 GB, free: 13.65 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.715e-05/0.4786, allocations: 8.656 kB / 0.5282 GB, free: 13.65 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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.000257/0.4789, allocations: 178.3 kB / 0.5284 GB, free: 13.5 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.485e-05/0.479, allocations: 35.81 kB / 0.5284 GB, free: 13.48 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005927/0.4796, allocations: 277.2 kB / 0.5287 GB, free: 13.33 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.582e-06/0.4796, allocations: 1.562 kB / 0.5287 GB, free: 13.33 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.4796, allocations: 0 / 0.5287 GB, free: 13.33 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.4796, allocations: 1.688 kB / 0.5287 GB, free: 13.33 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001085/0.4807, allocations: 0.6632 MB / 0.5293 GB, free: 12.8 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.4807, allocations: 0 / 0.5293 GB, free: 12.8 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001175/0.4809, allocations: 34.2 kB / 0.5294 GB, free: 12.79 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.4809, allocations: 1.156 kB / 0.5294 GB, free: 12.79 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.481e-05/0.4809, allocations: 6.172 kB / 0.5294 GB, free: 12.79 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.4809, allocations: 1.062 kB / 0.5294 GB, free: 12.79 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.407e-05/0.4809, allocations: 3.938 kB / 0.5294 GB, free: 12.78 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004496/0.4814, allocations: 326.6 kB / 0.5297 GB, free: 12.55 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.168e-05/0.4815, allocations: 104.5 kB / 0.5298 GB, free: 12.44 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.85e-05/0.4815, allocations: 8.938 kB / 0.5298 GB, free: 12.43 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.511e-05/0.4816, allocations: 11.02 kB / 0.5298 GB, free: 12.43 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.017e-05/0.4817, allocations: 18.58 kB / 0.5298 GB, free: 12.41 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.32e-05/0.4817, allocations: 4.531 kB / 0.5298 GB, free: 12.41 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004378/0.4821, allocations: 392.5 kB / 0.5302 GB, free: 12.21 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4821, allocations: 0 / 0.5302 GB, free: 12.21 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003121/0.4825, allocations: 51.3 kB / 0.5303 GB, free: 12.2 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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 Backend phase and start with SimCode phase: time 0.001678/0.4841, allocations: 0.694 MB / 0.5309 GB, free: 11.88 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004096/0.4846, allocations: 162.7 kB / 0.5311 GB, free: 11.81 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.4846, allocations: 0 / 0.5311 GB, free: 11.81 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001689/0.4848, allocations: 101.6 kB / 0.5312 GB, free: 11.76 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005424/0.4853, allocations: 68.22 kB / 0.5313 GB, free: 11.73 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001247/0.4866, allocations: 0.6841 MB / 0.5319 GB, free: 11.32 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006049/0.4872, allocations: 0.827 MB / 0.5327 GB, free: 10.55 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001859/0.4874, allocations: 56.06 kB / 0.5328 GB, free: 10.53 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.047e-05/0.4875, allocations: 25.47 kB / 0.5328 GB, free: 10.53 MB / 398.1 MB Notification: Performance of SimCode: time 5.21e-07/0.4875, allocations: 0 / 0.5328 GB, free: 10.53 MB / 398.1 MB Notification: Performance of Templates: time 0.00899/0.4965, allocations: 3.324 MB / 0.5361 GB, free: 8.832 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches