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.001748/0.001756, allocations: 113.8 kB / 17.78 MB, free: 5.285 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.002079/0.002079, allocations: 183.9 kB / 18.71 MB, free: 4.371 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.67/1.67, allocations: 222.9 MB / 242.4 MB, free: 15.09 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.269/0.269, allocations: 44.19 MB / 336.7 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001919/0.00192, allocations: 63.91 kB / 470.5 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4337/0.4356, allocations: 60.82 MB / 0.5189 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test21): time 0.002978/0.4386, allocations: 1.981 MB / 0.5208 GB, free: 2.23 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001432/0.4401, allocations: 0.9538 MB / 0.5218 GB, free: 1.602 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.659e-05/0.4402, allocations: 3.25 kB / 0.5218 GB, free: 1.602 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004633/0.4407, allocations: 257.2 kB / 0.522 GB, free: 1.547 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003449/0.441, allocations: 194.3 kB / 0.5222 GB, free: 1.48 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001246/0.4423, allocations: 0.6475 MB / 0.5228 GB, free: 1.168 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003905/0.4427, allocations: 306.7 kB / 0.5231 GB, free: 1.055 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001702/0.4429, allocations: 81.62 kB / 0.5232 GB, free: 1.012 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001448/0.443, allocations: 134.6 kB / 0.5233 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002382/0.4433, allocations: 201.6 kB / 0.5235 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.812e-05/0.4433, allocations: 12.81 kB / 0.5236 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001944/0.4435, allocations: 95.55 kB / 0.5236 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001244/0.4436, allocations: 92.19 kB / 0.5237 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.017e-05/0.4437, allocations: 120.2 kB / 0.5238 GB, free: 0.75 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000356/0.4441, allocations: 321 kB / 0.5242 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.4441, allocations: 0 / 0.5242 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.4441, allocations: 0 / 0.5242 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.253e-05/0.4441, allocations: 5.375 kB / 0.5242 GB, free: 0.6055 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.0006158/0.4447, allocations: 0.6262 MB / 0.5248 GB, free: 60 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.4448, allocations: 8.875 kB / 0.5248 GB, free: 60 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.844e-05/0.4449, allocations: 38.73 kB / 0.5248 GB, free: 40 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003374/0.4452, allocations: 311.8 kB / 0.5251 GB, free: 15.77 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.403e-05/0.4452, allocations: 7.688 kB / 0.5251 GB, free: 15.76 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.115e-05/0.4453, allocations: 16.77 kB / 0.5251 GB, free: 15.75 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002629/0.4455, allocations: 128.9 kB / 0.5253 GB, free: 15.69 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.4456, allocations: 5.156 kB / 0.5253 GB, free: 15.68 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.59e-05/0.4456, allocations: 7.984 kB / 0.5253 GB, free: 15.68 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.4456, allocations: 3.312 kB / 0.5253 GB, free: 15.68 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002079/0.4458, allocations: 95.75 kB / 0.5254 GB, free: 15.65 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007017/0.4465, allocations: 0.4922 MB / 0.5258 GB, free: 15.29 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002021/0.4467, allocations: 115.5 kB / 0.526 GB, free: 15.22 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.899e-05/0.4468, allocations: 36.12 kB / 0.526 GB, free: 15.2 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.08e-05/0.4469, allocations: 6.266 kB / 0.526 GB, free: 15.2 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.505e-05/0.4469, allocations: 35.66 kB / 0.526 GB, free: 15.15 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.262e-06/0.4469, allocations: 0 / 0.526 GB, free: 15.15 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001003/0.4479, allocations: 431.4 kB / 0.5264 GB, free: 14.92 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.816e-05/0.448, allocations: 56.78 kB / 0.5265 GB, free: 14.85 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000534/0.4485, allocations: 0.5268 MB / 0.527 GB, free: 14.57 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.231e-05/0.4485, allocations: 29.69 kB / 0.527 GB, free: 14.54 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001505/0.4487, allocations: 197.2 kB / 0.5272 GB, free: 14.36 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.084e-05/0.4487, allocations: 49.89 kB / 0.5273 GB, free: 14.32 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.7e-05/0.4488, allocations: 39.11 kB / 0.5273 GB, free: 14.29 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001462/0.449, allocations: 349.8 kB / 0.5276 GB, free: 13.95 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001386/0.4491, allocations: 71.16 kB / 0.5277 GB, free: 13.91 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001286/0.4493, allocations: 67.14 kB / 0.5278 GB, free: 13.88 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002912/0.4496, allocations: 157 kB / 0.5279 GB, free: 13.8 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.4496, allocations: 3.938 kB / 0.5279 GB, free: 13.8 MB / 398.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003718/0.4499, allocations: 220.9 kB / 0.5281 GB, free: 13.68 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.45, allocations: 5.312 kB / 0.5281 GB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.45, allocations: 0 / 0.5281 GB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.45, allocations: 5 kB / 0.5281 GB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001539/0.4502, allocations: 46.81 kB / 0.5282 GB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.76e-06/0.4502, allocations: 5.094 kB / 0.5282 GB, free: 13.65 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.889e-05/0.4502, allocations: 7.375 kB / 0.5282 GB, free: 13.65 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.406e-05/0.4503, allocations: 8.859 kB / 0.5282 GB, free: 13.64 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.0001645/0.4504, allocations: 178.5 kB / 0.5284 GB, free: 13.5 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.863e-05/0.4505, allocations: 36.31 kB / 0.5284 GB, free: 13.48 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005109/0.451, allocations: 280.4 kB / 0.5287 GB, free: 13.32 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.451, allocations: 2.219 kB / 0.5287 GB, free: 13.32 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.4511, allocations: 0 / 0.5287 GB, free: 13.32 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.4511, allocations: 5.188 kB / 0.5287 GB, free: 13.32 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008511/0.4519, allocations: 0.6588 MB / 0.5293 GB, free: 12.79 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.4519, allocations: 0 / 0.5293 GB, free: 12.79 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001147/0.4521, allocations: 34.58 kB / 0.5294 GB, free: 12.78 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.4521, allocations: 9.031 kB / 0.5294 GB, free: 12.77 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.491e-05/0.4521, allocations: 6.297 kB / 0.5294 GB, free: 12.77 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.4521, allocations: 1.438 kB / 0.5294 GB, free: 12.77 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.4521, allocations: 3.938 kB / 0.5294 GB, free: 12.77 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004159/0.4525, allocations: 319.6 kB / 0.5297 GB, free: 12.54 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.992e-05/0.4526, allocations: 104 kB / 0.5298 GB, free: 12.43 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.548e-05/0.4526, allocations: 6.219 kB / 0.5298 GB, free: 12.43 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001078/0.4527, allocations: 15.33 kB / 0.5298 GB, free: 12.41 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.659e-05/0.4528, allocations: 13.45 kB / 0.5298 GB, free: 12.41 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.155e-05/0.4528, allocations: 8.219 kB / 0.5298 GB, free: 12.4 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004087/0.4532, allocations: 396.3 kB / 0.5302 GB, free: 12.2 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4532, allocations: 0 / 0.5302 GB, free: 12.2 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003096/0.4536, allocations: 48.69 kB / 0.5303 GB, free: 12.19 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.001642/0.4552, allocations: 0.705 MB / 0.5309 GB, free: 11.87 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003629/0.4556, allocations: 162.1 kB / 0.5311 GB, free: 11.8 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.4556, allocations: 0 / 0.5311 GB, free: 11.8 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001549/0.4558, allocations: 90.48 kB / 0.5312 GB, free: 11.77 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005846/0.4563, allocations: 69.78 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.001013/0.4574, allocations: 0.687 MB / 0.5319 GB, free: 11.32 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004066/0.4578, allocations: 0.8241 MB / 0.5327 GB, free: 10.56 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001504/0.458, allocations: 55.23 kB / 0.5328 GB, free: 10.54 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.821e-05/0.458, allocations: 33.97 kB / 0.5328 GB, free: 10.52 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.458, allocations: 0 / 0.5328 GB, free: 10.52 MB / 398.1 MB Notification: Performance of Templates: time 0.007401/0.4655, allocations: 3.286 MB / 0.536 GB, free: 8.863 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