Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001024/0.001024, allocations: 98.47 kB / 18.01 MB, free: 5.734 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.001418/0.001419, allocations: 176.9 kB / 18.91 MB, free: 4.871 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.503/1.503, allocations: 223.3 MB / 242.9 MB, free: 212 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1908/0.1908, allocations: 44.25 MB / 338.3 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005416/0.0005417, allocations: 12 kB / 411 MB, free: 27.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1629/0.1635, allocations: 61.92 MB / 472.9 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test9): time 0.003099/0.1667, allocations: 1.294 MB / 474.2 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001447/0.1682, allocations: 399.3 kB / 474.6 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.643e-05/0.1683, allocations: 4 kB / 474.6 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009246/0.1692, allocations: 451.2 kB / 475 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005817/0.1698, allocations: 239.6 kB / 475.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006521/0.1705, allocations: 118.7 kB / 475.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003777/0.1709, allocations: 147.7 kB / 475.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001201/0.171, allocations: 15.98 kB / 475.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002498/0.1713, allocations: 103.7 kB / 475.7 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004031/0.1717, allocations: 195.6 kB / 475.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.017e-05/0.1718, allocations: 8 kB / 475.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001072/0.1719, allocations: 23.98 kB / 475.9 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001729/0.1721, allocations: 79.69 kB / 476 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001649/0.1723, allocations: 124.7 kB / 476.1 MB, free: 10.15 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003256/0.1726, allocations: 167.8 kB / 476.2 MB, free: 9.988 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.1726, allocations: 0 / 476.2 MB, free: 9.988 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.1727, allocations: 0 / 476.2 MB, free: 9.988 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.838e-06/0.1727, allocations: 0 / 476.2 MB, free: 9.988 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.001134/0.1738, allocations: 0.5953 MB / 476.8 MB, free: 9.344 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.681e-05/0.1739, allocations: 15.97 kB / 476.8 MB, free: 9.328 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001237/0.174, allocations: 36.47 kB / 476.9 MB, free: 9.293 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004861/0.1746, allocations: 296.1 kB / 477.2 MB, free: 8.965 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.479e-05/0.1746, allocations: 384 / 477.2 MB, free: 8.965 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.498e-05/0.1746, allocations: 4.375 kB / 477.2 MB, free: 8.961 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000257/0.1749, allocations: 53.81 kB / 477.2 MB, free: 8.902 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.742e-05/0.1749, allocations: 3.984 kB / 477.2 MB, free: 8.898 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.387e-05/0.175, allocations: 7.938 kB / 477.2 MB, free: 8.891 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.109e-05/0.175, allocations: 3.984 kB / 477.2 MB, free: 8.887 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002643/0.1753, allocations: 43.92 kB / 477.3 MB, free: 8.844 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007386/0.176, allocations: 376.7 kB / 477.7 MB, free: 8.426 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002083/0.1762, allocations: 42.56 kB / 477.7 MB, free: 8.375 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001412/0.1764, allocations: 24.94 kB / 477.7 MB, free: 8.348 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.215e-05/0.1765, allocations: 0 / 477.7 MB, free: 8.348 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.783e-05/0.1765, allocations: 38.56 kB / 477.8 MB, free: 8.301 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 2.044e-06/0.1765, allocations: 3.938 kB / 477.8 MB, free: 8.297 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005984/0.1771, allocations: 121.2 kB / 477.9 MB, free: 8.172 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.882e-05/0.1772, allocations: 55.41 kB / 477.9 MB, free: 8.105 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001603/0.1789, allocations: 0.8535 MB / 478.8 MB, free: 7.242 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.475e-05/0.1789, allocations: 25.7 kB / 478.8 MB, free: 7.211 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003032/0.1792, allocations: 212.1 kB / 479 MB, free: 7 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.705e-05/0.1793, allocations: 11.81 kB / 479 MB, free: 6.988 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.121e-05/0.1793, allocations: 9.719 kB / 479 MB, free: 6.973 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0003352/0.1797, allocations: 366.7 kB / 479.4 MB, free: 6.605 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001295/0.1798, allocations: 15.98 kB / 479.4 MB, free: 6.59 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001181/0.18, allocations: 20 kB / 479.4 MB, free: 6.57 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002511/0.1803, allocations: 48.77 kB / 479.5 MB, free: 6.52 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.1803, allocations: 0 / 479.5 MB, free: 6.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003902/0.1807, allocations: 113.2 kB / 479.6 MB, free: 6.402 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.653e-05/0.1807, allocations: 7.984 kB / 479.6 MB, free: 6.395 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.1807, allocations: 0 / 479.6 MB, free: 6.395 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.1808, allocations: 0 / 479.6 MB, free: 6.395 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001356/0.1809, allocations: 8 kB / 479.6 MB, free: 6.387 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.164e-06/0.1809, allocations: 0 / 479.6 MB, free: 6.387 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001162/0.1811, allocations: 15.98 kB / 479.6 MB, free: 6.371 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.969e-06/0.1811, allocations: 0 / 479.6 MB, free: 6.371 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 (3): * Single equations (assignments): 3 * 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.0003383/0.1814, allocations: 209.7 kB / 479.8 MB, free: 6.156 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001024/0.1816, allocations: 39.44 kB / 479.9 MB, free: 6.117 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004888/0.1821, allocations: 136.9 kB / 480 MB, free: 5.969 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.1821, allocations: 4 kB / 480 MB, free: 5.965 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.1821, allocations: 0 / 480 MB, free: 5.965 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.1821, allocations: 0 / 480 MB, free: 5.965 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004877/0.1826, allocations: 289.8 kB / 480.3 MB, free: 5.633 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.1826, allocations: 3.938 kB / 480.3 MB, free: 5.629 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.822e-05/0.1827, allocations: 8 kB / 480.3 MB, free: 5.621 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.1828, allocations: 4 kB / 480.3 MB, free: 5.617 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.858e-06/0.1828, allocations: 0 / 480.3 MB, free: 5.617 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.1828, allocations: 0 / 480.3 MB, free: 5.617 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.1828, allocations: 4 kB / 480.3 MB, free: 5.613 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004644/0.1833, allocations: 218.9 kB / 480.5 MB, free: 5.383 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001339/0.1834, allocations: 108.5 kB / 480.6 MB, free: 5.258 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.265e-05/0.1835, allocations: 4 kB / 480.6 MB, free: 5.254 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001678/0.1837, allocations: 15.98 kB / 480.6 MB, free: 5.238 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.397e-05/0.1838, allocations: 0 / 480.6 MB, free: 5.238 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.552e-06/0.1838, allocations: 0 / 480.6 MB, free: 5.238 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001165/0.1849, allocations: 0.6472 MB / 481.3 MB, free: 4.594 MB / 350.1 MB Notification: Performance of sort global known variables: time 4.81e-07/0.185, allocations: 0 / 481.3 MB, free: 4.594 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004408/0.1854, allocations: 20 kB / 481.3 MB, free: 4.574 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 (3): * Single equations (assignments): 3 * 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.001486/0.1869, allocations: 343.4 kB / 481.7 MB, free: 4.359 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003284/0.1873, allocations: 43.91 kB / 481.7 MB, free: 4.316 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.1873, allocations: 4 kB / 481.7 MB, free: 4.312 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001452/0.1875, allocations: 27.92 kB / 481.7 MB, free: 4.285 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000597/0.1881, allocations: 28.61 kB / 481.8 MB, free: 4.262 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002046/0.1901, allocations: 0.8741 MB / 482.6 MB, free: 3.359 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007154/0.1909, allocations: 0.8145 MB / 483.4 MB, free: 2.516 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.325e-05/0.1909, allocations: 15.44 kB / 483.5 MB, free: 2.5 MB / 350.1 MB Notification: Performance of SimCode: time 8.32e-07/0.191, allocations: 0 / 483.5 MB, free: 2.5 MB / 350.1 MB Notification: Performance of Templates: time 0.01248/0.2035, allocations: 3.398 MB / 486.9 MB, free: 15.1 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches