Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.Test21,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.Test21") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test21,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.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001124/0.001128, allocations: 109.4 kB / 17.21 MB, free: 6.273 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.001282/0.001282, allocations: 194 kB / 18.12 MB, free: 5.363 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.478/1.478, allocations: 222.9 MB / 241.8 MB, free: 15.34 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.2254/0.2254, allocations: 44.17 MB / 336.1 MB, free: 2.969 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 67.61 kB / 407.7 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1513/0.1526, allocations: 60.83 MB / 468.5 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test21): time 0.006048/0.1587, allocations: 2.015 MB / 470.5 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002431/0.1612, allocations: 0.834 MB / 471.4 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002765/0.1615, allocations: 0 / 471.4 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000799/0.1623, allocations: 251.4 kB / 471.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006291/0.163, allocations: 175.5 kB / 471.8 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001816/0.1648, allocations: 453.1 kB / 472.2 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000701/0.1656, allocations: 279.2 kB / 472.5 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002675/0.1658, allocations: 56.58 kB / 472.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002989/0.1661, allocations: 115.5 kB / 472.7 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003576/0.1665, allocations: 203.3 kB / 472.9 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.9e-05/0.1666, allocations: 4 kB / 472.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002972/0.1669, allocations: 91.95 kB / 473 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000188/0.1671, allocations: 87.61 kB / 473 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000133/0.1672, allocations: 103.1 kB / 473.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005668/0.1678, allocations: 287.3 kB / 473.4 MB, free: 9.895 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.1678, allocations: 3.984 kB / 473.4 MB, free: 9.891 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1678, allocations: 4 kB / 473.4 MB, free: 9.887 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.357e-06/0.1678, allocations: 0 / 473.4 MB, free: 9.887 MB / 350.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.001218/0.1691, allocations: 0.6225 MB / 474.1 MB, free: 9.215 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.512e-05/0.1691, allocations: 12.03 kB / 474.1 MB, free: 9.203 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001394/0.1693, allocations: 36.47 kB / 474.1 MB, free: 9.168 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006649/0.17, allocations: 306.2 kB / 474.4 MB, free: 8.828 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.17, allocations: 8.375 kB / 474.4 MB, free: 8.82 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.885e-05/0.17, allocations: 8.375 kB / 474.4 MB, free: 8.812 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00033/0.1704, allocations: 109.8 kB / 474.5 MB, free: 8.699 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.935e-05/0.1704, allocations: 3.938 kB / 474.5 MB, free: 8.695 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.286e-05/0.1704, allocations: 4 kB / 474.5 MB, free: 8.691 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.216e-05/0.1705, allocations: 4 kB / 474.5 MB, free: 8.688 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002242/0.1707, allocations: 71.89 kB / 474.6 MB, free: 8.617 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001052/0.1718, allocations: 480.3 kB / 475.1 MB, free: 8.098 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000249/0.172, allocations: 94.42 kB / 475.2 MB, free: 7.996 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.565e-05/0.1721, allocations: 33.06 kB / 475.2 MB, free: 7.961 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.699e-05/0.1722, allocations: 11.92 kB / 475.2 MB, free: 7.949 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.394e-05/0.1722, allocations: 30.56 kB / 475.2 MB, free: 7.91 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.853e-06/0.1722, allocations: 0 / 475.2 MB, free: 7.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001361/0.1736, allocations: 374.5 kB / 475.6 MB, free: 7.539 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.04e-05/0.1737, allocations: 59.41 kB / 475.7 MB, free: 7.469 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009285/0.1746, allocations: 0.521 MB / 476.2 MB, free: 6.938 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.756e-05/0.1747, allocations: 25.7 kB / 476.2 MB, free: 6.906 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002684/0.1749, allocations: 192.4 kB / 476.4 MB, free: 6.715 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.935e-05/0.175, allocations: 59.16 kB / 476.5 MB, free: 6.656 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.113e-05/0.1751, allocations: 41.64 kB / 476.5 MB, free: 6.609 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002107/0.1753, allocations: 350.8 kB / 476.8 MB, free: 6.258 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001584/0.1755, allocations: 47.97 kB / 476.9 MB, free: 6.211 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001515/0.1757, allocations: 51.91 kB / 476.9 MB, free: 6.16 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003329/0.176, allocations: 126.5 kB / 477.1 MB, free: 6.035 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.873e-06/0.176, allocations: 7.938 kB / 477.1 MB, free: 6.027 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005333/0.1766, allocations: 197.2 kB / 477.3 MB, free: 5.828 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/0.1766, allocations: 4 kB / 477.3 MB, free: 5.824 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.1766, allocations: 3.984 kB / 477.3 MB, free: 5.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.956e-05/0.1767, allocations: 0 / 477.3 MB, free: 5.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002094/0.1769, allocations: 35.92 kB / 477.3 MB, free: 5.785 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.328e-06/0.1769, allocations: 0 / 477.3 MB, free: 5.785 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.724e-05/0.177, allocations: 7.938 kB / 477.3 MB, free: 5.777 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.957e-05/0.177, allocations: 11.98 kB / 477.3 MB, free: 5.766 MB / 350.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.000241/0.1773, allocations: 177.8 kB / 477.5 MB, free: 5.582 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.523e-05/0.1774, allocations: 35.53 kB / 477.5 MB, free: 5.547 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005926/0.178, allocations: 227.2 kB / 477.8 MB, free: 5.316 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/0.178, allocations: 4 kB / 477.8 MB, free: 5.312 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.877e-06/0.178, allocations: 0 / 477.8 MB, free: 5.312 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.178, allocations: 0 / 477.8 MB, free: 5.312 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001061/0.1791, allocations: 0.6113 MB / 478.4 MB, free: 4.645 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.1791, allocations: 0 / 478.4 MB, free: 4.645 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001525/0.1793, allocations: 31.98 kB / 478.4 MB, free: 4.613 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.1793, allocations: 0 / 478.4 MB, free: 4.613 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.162e-05/0.1793, allocations: 11.98 kB / 478.4 MB, free: 4.602 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.1793, allocations: 4 kB / 478.4 MB, free: 4.598 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.98e-06/0.1793, allocations: 7.938 kB / 478.4 MB, free: 4.59 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005404/0.1799, allocations: 293 kB / 478.7 MB, free: 4.289 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.841e-05/0.18, allocations: 104.6 kB / 478.8 MB, free: 4.168 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.861e-05/0.18, allocations: 4 kB / 478.8 MB, free: 4.164 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001303/0.1802, allocations: 7.984 kB / 478.8 MB, free: 4.156 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.76e-05/0.1803, allocations: 27.86 kB / 478.9 MB, free: 4.129 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.366e-05/0.1803, allocations: 4 kB / 478.9 MB, free: 4.125 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005526/0.1808, allocations: 387.1 kB / 479.2 MB, free: 3.75 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1808, allocations: 0 / 479.2 MB, free: 3.75 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004607/0.1813, allocations: 51.98 kB / 479.3 MB, free: 3.699 MB / 350.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.002457/0.1838, allocations: 0.6819 MB / 480 MB, free: 3.328 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003231/0.1841, allocations: 138.5 kB / 480.1 MB, free: 3.195 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1841, allocations: 0 / 480.1 MB, free: 3.195 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001379/0.1843, allocations: 75.81 kB / 480.2 MB, free: 3.121 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005781/0.1849, allocations: 73.16 kB / 480.2 MB, free: 3.055 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001092/0.186, allocations: 0.7545 MB / 481 MB, free: 2.273 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003857/0.1864, allocations: 0.8025 MB / 481.8 MB, free: 1.445 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001268/0.1865, allocations: 45.91 kB / 481.9 MB, free: 1.402 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.293e-05/0.1866, allocations: 27.42 kB / 481.9 MB, free: 1.375 MB / 350.1 MB Notification: Performance of SimCode: time 2.144e-06/0.1866, allocations: 0 / 481.9 MB, free: 1.375 MB / 350.1 MB Notification: Performance of Templates: time 0.00734/0.1939, allocations: 3.052 MB / 484.9 MB, free: 14.34 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches