Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001218/0.001218, allocations: 109.2 kB / 17.78 MB, free: 5.242 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.001165/0.001165, allocations: 184.2 kB / 18.71 MB, free: 4.316 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.323/1.323, allocations: 222.9 MB / 242.4 MB, free: 15.16 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.1927/0.1927, allocations: 44.19 MB / 336.8 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001108/0.001108, allocations: 67.89 kB / 470.6 MB, free: 13.13 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3484/0.3496, allocations: 60.81 MB / 0.5189 GB, free: 3.605 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test5): time 0.002585/0.3522, allocations: 1.625 MB / 0.5205 GB, free: 2.484 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006292/0.3528, allocations: 424.6 kB / 0.5209 GB, free: 2.207 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.424e-05/0.3529, allocations: 1.156 kB / 0.5209 GB, free: 2.207 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006103/0.3535, allocations: 445.6 kB / 0.5213 GB, free: 2.188 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003814/0.3539, allocations: 257.5 kB / 0.5216 GB, free: 2.156 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000325/0.3542, allocations: 128.4 kB / 0.5217 GB, free: 2.094 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002267/0.3545, allocations: 161.1 kB / 0.5219 GB, free: 2.062 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.769e-05/0.3546, allocations: 14.48 kB / 0.5219 GB, free: 2.059 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000137/0.3547, allocations: 111.5 kB / 0.522 GB, free: 2.043 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002369/0.355, allocations: 212.6 kB / 0.5222 GB, free: 2.016 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.055e-05/0.355, allocations: 3.438 kB / 0.5222 GB, free: 2.016 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.45e-05/0.3551, allocations: 31.58 kB / 0.5222 GB, free: 2.008 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.879e-05/0.3552, allocations: 84.72 kB / 0.5223 GB, free: 1.977 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.051e-05/0.3552, allocations: 99.27 kB / 0.5224 GB, free: 1.895 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000289/0.3555, allocations: 251.2 kB / 0.5226 GB, free: 1.789 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.3556, allocations: 1.406 kB / 0.5226 GB, free: 1.789 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3556, allocations: 3.938 kB / 0.5226 GB, free: 1.785 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.232e-06/0.3556, allocations: 4 kB / 0.5226 GB, free: 1.781 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000553/0.3561, allocations: 0.6423 MB / 0.5233 GB, free: 1.211 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.22e-05/0.3562, allocations: 7.781 kB / 0.5233 GB, free: 1.211 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.278e-05/0.3562, allocations: 43.84 kB / 0.5233 GB, free: 1.188 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002104/0.3564, allocations: 304.5 kB / 0.5236 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.812e-06/0.3565, allocations: 1.906 kB / 0.5236 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.146e-05/0.3565, allocations: 3.188 kB / 0.5236 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001232/0.3566, allocations: 54.09 kB / 0.5237 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.958e-06/0.3566, allocations: 5.688 kB / 0.5237 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.197e-06/0.3566, allocations: 0.6094 kB / 0.5237 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.3567, allocations: 1.219 kB / 0.5237 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.656e-05/0.3567, allocations: 26.88 kB / 0.5237 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003947/0.3571, allocations: 388.2 kB / 0.5241 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00018/0.3573, allocations: 45.62 kB / 0.5241 GB, free: 496 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.432e-05/0.3574, allocations: 18.05 kB / 0.5241 GB, free: 484 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.726e-05/0.3574, allocations: 0.6094 kB / 0.5241 GB, free: 484 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.377e-05/0.3574, allocations: 33.22 kB / 0.5242 GB, free: 444 kB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.253e-06/0.3574, allocations: 0 / 0.5242 GB, free: 444 kB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005545/0.358, allocations: 228.1 kB / 0.5244 GB, free: 312 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.131e-05/0.358, allocations: 57.12 kB / 0.5244 GB, free: 244 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009495/0.359, allocations: 0.858 MB / 0.5253 GB, free: 15.91 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.488e-05/0.359, allocations: 26.5 kB / 0.5253 GB, free: 15.88 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001748/0.3592, allocations: 222.9 kB / 0.5255 GB, free: 15.7 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.218e-05/0.3592, allocations: 21.06 kB / 0.5255 GB, free: 15.68 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.038e-05/0.3593, allocations: 14.75 kB / 0.5255 GB, free: 15.67 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001478/0.3594, allocations: 363.4 kB / 0.5259 GB, free: 15.32 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.498e-05/0.3595, allocations: 22.61 kB / 0.5259 GB, free: 15.31 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.175e-05/0.3596, allocations: 18.61 kB / 0.5259 GB, free: 15.3 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001288/0.3597, allocations: 48.45 kB / 0.526 GB, free: 15.27 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.3597, allocations: 0 / 0.526 GB, free: 15.27 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001898/0.3599, allocations: 115.5 kB / 0.5261 GB, free: 15.2 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.3599, allocations: 7.594 kB / 0.5261 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.3599, allocations: 5.203 kB / 0.5261 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.36, allocations: 7.984 kB / 0.5261 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.9e-05/0.36, allocations: 17.41 kB / 0.5261 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.36, allocations: 1.25 kB / 0.5261 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.122e-05/0.3601, allocations: 10.36 kB / 0.5261 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.102e-06/0.3601, allocations: 2.438 kB / 0.5261 GB, free: 15.17 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 (5): * Single equations (assignments): 5 * 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.0001717/0.3603, allocations: 210 kB / 0.5263 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.15e-05/0.3603, allocations: 41.94 kB / 0.5264 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002613/0.3606, allocations: 134.8 kB / 0.5265 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.3606, allocations: 0 / 0.5265 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.3606, allocations: 0 / 0.5265 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.3606, allocations: 5.094 kB / 0.5265 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005403/0.3612, allocations: 453.3 kB / 0.5269 GB, free: 14.51 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.3612, allocations: 4.062 kB / 0.5269 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.977e-05/0.3613, allocations: 13.61 kB / 0.527 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.3613, allocations: 4 kB / 0.527 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.736e-06/0.3613, allocations: 5.312 kB / 0.527 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.3613, allocations: 0 / 0.527 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3613, allocations: 1.375 kB / 0.527 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002244/0.3615, allocations: 209.9 kB / 0.5272 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.012e-05/0.3616, allocations: 110.5 kB / 0.5273 GB, free: 14.2 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.72e-05/0.3616, allocations: 11.92 kB / 0.5273 GB, free: 14.19 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.481e-05/0.3617, allocations: 8.125 kB / 0.5273 GB, free: 14.18 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.465e-05/0.3617, allocations: 1.375 kB / 0.5273 GB, free: 14.18 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.077e-06/0.3618, allocations: 1.375 kB / 0.5273 GB, free: 14.18 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005821/0.3623, allocations: 0.6509 MB / 0.5279 GB, free: 13.87 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3623, allocations: 0 / 0.5279 GB, free: 13.87 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002568/0.3626, allocations: 25.56 kB / 0.528 GB, free: 13.86 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 (5): * Single equations (assignments): 5 * 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.0008595/0.3635, allocations: 399.4 kB / 0.5283 GB, free: 13.67 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001918/0.3637, allocations: 52.31 kB / 0.5284 GB, free: 13.64 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.3637, allocations: 0 / 0.5284 GB, free: 13.64 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.258e-05/0.3638, allocations: 24.08 kB / 0.5284 GB, free: 13.64 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003755/0.3641, allocations: 29.52 kB / 0.5284 GB, free: 13.62 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001042/0.3652, allocations: 0.774 MB / 0.5292 GB, free: 13.21 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003966/0.3656, allocations: 0.8307 MB / 0.53 GB, free: 12.44 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.451e-05/0.3657, allocations: 9.109 kB / 0.53 GB, free: 12.43 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.745e-05/0.3657, allocations: 11.38 kB / 0.53 GB, free: 12.43 MB / 398.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3657, allocations: 0 / 0.53 GB, free: 12.43 MB / 398.1 MB Notification: Performance of Templates: time 0.004535/0.3702, allocations: 1.461 MB / 0.5314 GB, free: 11.7 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches