Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.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.CombiTable2Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001314/0.001314, allocations: 117.2 kB / 17.78 MB, free: 5.262 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.001519/0.001519, allocations: 184.2 kB / 18.71 MB, free: 4.34 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.513/1.513, allocations: 222.9 MB / 242.4 MB, free: 15.05 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.2207/0.2207, allocations: 44.19 MB / 336.7 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001593/0.001593, allocations: 63.89 kB / 470.5 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4307/0.4323, allocations: 60.82 MB / 0.5189 GB, free: 3.605 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test20): time 0.003198/0.4356, allocations: 1.969 MB / 0.5208 GB, free: 2.23 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001358/0.4369, allocations: 0.8497 MB / 0.5217 GB, free: 1.66 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.507e-05/0.4371, allocations: 2.875 kB / 0.5217 GB, free: 1.66 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004645/0.4375, allocations: 250 kB / 0.5219 GB, free: 1.609 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003659/0.4379, allocations: 193.6 kB / 0.5221 GB, free: 1.543 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009762/0.4389, allocations: 483.6 kB / 0.5226 GB, free: 1.312 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003382/0.4393, allocations: 282.5 kB / 0.5228 GB, free: 1.207 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001614/0.4394, allocations: 74.38 kB / 0.5229 GB, free: 1.164 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001448/0.4396, allocations: 129.5 kB / 0.523 GB, free: 1.117 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002284/0.4398, allocations: 193.5 kB / 0.5232 GB, free: 1.062 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.937e-05/0.4399, allocations: 9.219 kB / 0.5232 GB, free: 1.062 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000138/0.44, allocations: 69.81 kB / 0.5233 GB, free: 1.043 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001315/0.4401, allocations: 91.14 kB / 0.5234 GB, free: 1.004 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.246e-05/0.4402, allocations: 101.6 kB / 0.5235 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003372/0.4406, allocations: 296.2 kB / 0.5237 GB, free: 0.793 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.4406, allocations: 0 / 0.5237 GB, free: 0.793 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.4406, allocations: 2 kB / 0.5237 GB, free: 0.793 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.573e-06/0.4406, allocations: 0 / 0.5237 GB, free: 0.793 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.0005879/0.4412, allocations: 0.6116 MB / 0.5243 GB, free: 260 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.4412, allocations: 14.7 kB / 0.5244 GB, free: 256 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.032e-05/0.4413, allocations: 37.16 kB / 0.5244 GB, free: 236 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002899/0.4416, allocations: 303.1 kB / 0.5247 GB, free: 15.95 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.515e-05/0.4416, allocations: 9.016 kB / 0.5247 GB, free: 15.95 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.039e-05/0.4417, allocations: 11.56 kB / 0.5247 GB, free: 15.95 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002364/0.4419, allocations: 111.7 kB / 0.5248 GB, free: 15.88 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.4419, allocations: 0 / 0.5248 GB, free: 15.88 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.529e-05/0.4419, allocations: 6.25 kB / 0.5248 GB, free: 15.88 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.442, allocations: 1.75 kB / 0.5248 GB, free: 15.88 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001716/0.4421, allocations: 79.55 kB / 0.5249 GB, free: 15.85 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006494/0.4428, allocations: 473.4 kB / 0.5253 GB, free: 15.5 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001681/0.443, allocations: 90.62 kB / 0.5254 GB, free: 15.45 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.578e-05/0.4431, allocations: 38.09 kB / 0.5255 GB, free: 15.43 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.82e-05/0.4431, allocations: 11.23 kB / 0.5255 GB, free: 15.42 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.449e-05/0.4431, allocations: 36.55 kB / 0.5255 GB, free: 15.38 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.132e-06/0.4431, allocations: 0 / 0.5255 GB, free: 15.38 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.0008936/0.444, allocations: 374 kB / 0.5259 GB, free: 15.2 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.733e-05/0.4441, allocations: 52.78 kB / 0.5259 GB, free: 15.14 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005515/0.4447, allocations: 0.5169 MB / 0.5264 GB, free: 14.89 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.116e-05/0.4447, allocations: 33.7 kB / 0.5265 GB, free: 14.85 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001325/0.4448, allocations: 193.2 kB / 0.5266 GB, free: 14.67 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.336e-05/0.4449, allocations: 65.45 kB / 0.5267 GB, free: 14.61 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.889e-05/0.4449, allocations: 29.28 kB / 0.5267 GB, free: 14.59 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001329/0.4451, allocations: 354.4 kB / 0.5271 GB, free: 14.25 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001154/0.4452, allocations: 46.31 kB / 0.5271 GB, free: 14.23 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001066/0.4453, allocations: 50.91 kB / 0.5272 GB, free: 14.2 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002304/0.4456, allocations: 128.5 kB / 0.5273 GB, free: 14.14 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.4456, allocations: 3.938 kB / 0.5273 GB, free: 14.13 MB / 398.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003375/0.4459, allocations: 194.7 kB / 0.5275 GB, free: 14.02 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.4459, allocations: 4.562 kB / 0.5275 GB, free: 14.02 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.4459, allocations: 3.984 kB / 0.5275 GB, free: 14.02 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.446, allocations: 1.312 kB / 0.5275 GB, free: 14.02 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001454/0.4461, allocations: 31.39 kB / 0.5275 GB, free: 14.02 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.463e-06/0.4461, allocations: 1.344 kB / 0.5275 GB, free: 14.02 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.826e-05/0.4462, allocations: 15.2 kB / 0.5275 GB, free: 14 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.178e-05/0.4462, allocations: 8.281 kB / 0.5275 GB, free: 14 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.0001682/0.4464, allocations: 174.8 kB / 0.5277 GB, free: 13.86 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.386e-05/0.4465, allocations: 36.03 kB / 0.5277 GB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004451/0.4469, allocations: 234 kB / 0.528 GB, free: 13.7 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.68e-06/0.4469, allocations: 1.25 kB / 0.528 GB, free: 13.7 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.154e-06/0.447, allocations: 7.938 kB / 0.528 GB, free: 13.7 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.447, allocations: 9.172 kB / 0.528 GB, free: 13.69 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007864/0.4478, allocations: 0.5997 MB / 0.5286 GB, free: 13.19 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.4478, allocations: 0 / 0.5286 GB, free: 13.19 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001085/0.4479, allocations: 38.31 kB / 0.5286 GB, free: 13.18 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.4479, allocations: 0 / 0.5286 GB, free: 13.18 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.138e-05/0.4479, allocations: 2.594 kB / 0.5286 GB, free: 13.18 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.4479, allocations: 1.312 kB / 0.5286 GB, free: 13.18 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.4479, allocations: 7.938 kB / 0.5286 GB, free: 13.17 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004026/0.4483, allocations: 293 kB / 0.5289 GB, free: 12.96 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.028e-05/0.4484, allocations: 99.92 kB / 0.529 GB, free: 12.85 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.169e-05/0.4484, allocations: 1.312 kB / 0.529 GB, free: 12.85 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.301e-05/0.4485, allocations: 15.61 kB / 0.529 GB, free: 12.84 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.853e-05/0.4486, allocations: 13.55 kB / 0.529 GB, free: 12.83 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.284e-05/0.4486, allocations: 12.84 kB / 0.529 GB, free: 12.82 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004148/0.449, allocations: 385.2 kB / 0.5294 GB, free: 12.62 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.449, allocations: 0 / 0.5294 GB, free: 12.62 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003061/0.4494, allocations: 53.77 kB / 0.5294 GB, free: 12.61 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.001587/0.4509, allocations: 0.6873 MB / 0.5301 GB, free: 12.3 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004231/0.4514, allocations: 133.8 kB / 0.5302 GB, free: 12.25 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.4514, allocations: 0 / 0.5302 GB, free: 12.25 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001378/0.4515, allocations: 79.17 kB / 0.5303 GB, free: 12.21 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005073/0.452, allocations: 71.53 kB / 0.5304 GB, free: 12.18 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001041/0.4531, allocations: 0.6568 MB / 0.531 GB, free: 11.79 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003716/0.4535, allocations: 0.8045 MB / 0.5318 GB, free: 11.04 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000136/0.4536, allocations: 46.5 kB / 0.5319 GB, free: 11.01 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.969e-05/0.4537, allocations: 27.97 kB / 0.5319 GB, free: 11 MB / 398.1 MB Notification: Performance of SimCode: time 3.31e-07/0.4537, allocations: 0 / 0.5319 GB, free: 11 MB / 398.1 MB Notification: Performance of Templates: time 0.007695/0.4614, allocations: 3.184 MB / 0.535 GB, free: 9.395 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test20/Test20.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches