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.001144/0.001144, allocations: 109.8 kB / 17.78 MB, free: 5.309 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.001132/0.001132, allocations: 179.1 kB / 18.71 MB, free: 4.383 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.291/1.291, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.1892/0.1892, allocations: 44.19 MB / 336.8 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001357, allocations: 63.91 kB / 470.5 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3518/0.3532, 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.002727/0.3559, allocations: 1.962 MB / 0.5208 GB, free: 2.238 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001229/0.3572, allocations: 0.8495 MB / 0.5217 GB, free: 1.668 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.509e-05/0.3573, allocations: 2.719 kB / 0.5217 GB, free: 1.668 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000453/0.3577, allocations: 250.4 kB / 0.5219 GB, free: 1.617 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003327/0.3581, allocations: 193.2 kB / 0.5221 GB, free: 1.551 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009141/0.359, allocations: 493.7 kB / 0.5226 GB, free: 1.309 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003563/0.3594, allocations: 274.7 kB / 0.5228 GB, free: 1.207 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001686/0.3595, allocations: 77.34 kB / 0.5229 GB, free: 1.164 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001447/0.3597, allocations: 130.3 kB / 0.523 GB, free: 1.117 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000241/0.3599, allocations: 189.2 kB / 0.5232 GB, free: 1.066 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.109e-05/0.36, allocations: 9.062 kB / 0.5232 GB, free: 1.066 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001447/0.3601, allocations: 77.2 kB / 0.5233 GB, free: 1.039 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000119/0.3603, allocations: 83.27 kB / 0.5234 GB, free: 1.008 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.173e-05/0.3604, allocations: 107 kB / 0.5235 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003605/0.3607, allocations: 301.3 kB / 0.5237 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3607, allocations: 0 / 0.5237 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.3607, allocations: 0 / 0.5237 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.3608, allocations: 0 / 0.5237 GB, free: 0.7891 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.0005557/0.3613, allocations: 0.626 MB / 0.5244 GB, free: 240 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.3614, allocations: 9.438 kB / 0.5244 GB, free: 240 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.48e-05/0.3614, allocations: 42.48 kB / 0.5244 GB, free: 216 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002968/0.3617, allocations: 314.8 kB / 0.5247 GB, free: 15.93 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.3618, allocations: 9.156 kB / 0.5247 GB, free: 15.92 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.299e-05/0.3618, allocations: 11.06 kB / 0.5247 GB, free: 15.92 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002276/0.362, allocations: 109.8 kB / 0.5248 GB, free: 15.86 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.362, allocations: 5.703 kB / 0.5248 GB, free: 15.85 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.499e-05/0.3621, allocations: 1.062 kB / 0.5248 GB, free: 15.85 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.3621, allocations: 3.406 kB / 0.5248 GB, free: 15.85 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000168/0.3623, allocations: 74.44 kB / 0.5249 GB, free: 15.83 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005911/0.3629, allocations: 477.7 kB / 0.5254 GB, free: 15.47 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001622/0.363, allocations: 96.16 kB / 0.5255 GB, free: 15.42 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.467e-05/0.3631, allocations: 38.3 kB / 0.5255 GB, free: 15.4 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.537e-05/0.3631, allocations: 6.156 kB / 0.5255 GB, free: 15.39 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.912e-05/0.3632, allocations: 36.16 kB / 0.5255 GB, free: 15.35 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.133e-06/0.3632, allocations: 0 / 0.5255 GB, free: 15.35 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.0008488/0.364, allocations: 378.5 kB / 0.5259 GB, free: 15.17 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.529e-05/0.3641, allocations: 54.72 kB / 0.5259 GB, free: 15.11 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004976/0.3646, allocations: 0.5161 MB / 0.5265 GB, free: 14.86 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.456e-05/0.3646, allocations: 27.08 kB / 0.5265 GB, free: 14.82 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001253/0.3647, allocations: 199.6 kB / 0.5267 GB, free: 14.64 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.421e-05/0.3648, allocations: 58.41 kB / 0.5267 GB, free: 14.59 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.002e-05/0.3648, allocations: 34.08 kB / 0.5268 GB, free: 14.56 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001265/0.365, allocations: 353.8 kB / 0.5271 GB, free: 14.22 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001087/0.3651, allocations: 50.09 kB / 0.5271 GB, free: 14.2 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.724e-05/0.3652, allocations: 47.47 kB / 0.5272 GB, free: 14.18 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002169/0.3654, allocations: 131.6 kB / 0.5273 GB, free: 14.11 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.3654, allocations: 3.938 kB / 0.5273 GB, free: 14.1 MB / 398.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003102/0.3657, allocations: 194.3 kB / 0.5275 GB, free: 13.99 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.3658, allocations: 6.781 kB / 0.5275 GB, free: 13.99 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.3658, allocations: 1.094 kB / 0.5275 GB, free: 13.99 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.3658, allocations: 1.188 kB / 0.5275 GB, free: 13.99 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001386/0.3659, allocations: 35.39 kB / 0.5275 GB, free: 13.98 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.366, allocations: 3.938 kB / 0.5275 GB, free: 13.98 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.565e-05/0.366, allocations: 19.52 kB / 0.5276 GB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.26e-05/0.366, allocations: 5.219 kB / 0.5276 GB, free: 13.96 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.0001422/0.3662, allocations: 170.5 kB / 0.5277 GB, free: 13.82 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.122e-05/0.3663, allocations: 36.36 kB / 0.5278 GB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004233/0.3667, allocations: 230.5 kB / 0.528 GB, free: 13.67 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.3667, allocations: 2.469 kB / 0.528 GB, free: 13.67 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.249e-06/0.3667, allocations: 0 / 0.528 GB, free: 13.67 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.3667, allocations: 9.141 kB / 0.528 GB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007164/0.3674, allocations: 0.6085 MB / 0.5286 GB, free: 13.16 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.3674, allocations: 1.531 kB / 0.5286 GB, free: 13.16 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001101/0.3676, allocations: 33.16 kB / 0.5286 GB, free: 13.15 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.3676, allocations: 1.281 kB / 0.5286 GB, free: 13.15 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.365e-05/0.3676, allocations: 6.844 kB / 0.5286 GB, free: 13.14 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.3676, allocations: 0 / 0.5286 GB, free: 13.14 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.3676, allocations: 5.469 kB / 0.5286 GB, free: 13.14 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003757/0.368, allocations: 299.2 kB / 0.5289 GB, free: 12.92 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.872e-05/0.3681, allocations: 102.9 kB / 0.529 GB, free: 12.81 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.967e-05/0.3681, allocations: 6.469 kB / 0.529 GB, free: 12.8 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.649e-05/0.3682, allocations: 6.953 kB / 0.529 GB, free: 12.8 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.07e-05/0.3682, allocations: 17.61 kB / 0.5291 GB, free: 12.79 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.009e-05/0.3683, allocations: 5.188 kB / 0.5291 GB, free: 12.79 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003797/0.3686, allocations: 391.9 kB / 0.5294 GB, free: 12.59 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3687, allocations: 1.125 kB / 0.5294 GB, free: 12.59 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002905/0.3689, allocations: 48.61 kB / 0.5295 GB, free: 12.57 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.001487/0.3704, allocations: 0.6885 MB / 0.5301 GB, free: 12.27 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003242/0.3708, allocations: 128.3 kB / 0.5303 GB, free: 12.22 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.3708, allocations: 4 kB / 0.5303 GB, free: 12.21 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001319/0.3709, allocations: 75.73 kB / 0.5303 GB, free: 12.18 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004868/0.3714, allocations: 74.16 kB / 0.5304 GB, free: 12.15 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000874/0.3723, allocations: 0.6621 MB / 0.5311 GB, free: 11.74 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003553/0.3727, allocations: 0.8046 MB / 0.5319 GB, free: 10.99 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001148/0.3728, allocations: 38.88 kB / 0.5319 GB, free: 10.97 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.179e-05/0.3729, allocations: 36.39 kB / 0.5319 GB, free: 10.96 MB / 398.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3729, allocations: 0 / 0.5319 GB, free: 10.96 MB / 398.1 MB Notification: Performance of Templates: time 0.006582/0.3794, allocations: 3.181 MB / 0.535 GB, free: 9.348 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