Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test12.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test12") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001129/0.001129, allocations: 179.7 kB / 16.41 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.676/1.676, allocations: 205.4 MB / 222.6 MB, free: 9.105 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008297/0.0008296, allocations: 96.78 kB / 270.9 MB, free: 8.344 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.491/0.491, allocations: 43.55 MB / 362.7 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005044/0.0005045, allocations: 12 kB / 431.4 MB, free: 5.898 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1693/0.1698, allocations: 58.86 MB / 490.2 MB, free: 10.96 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test12): time 0.002753/0.1727, allocations: 1.313 MB / 491.6 MB, free: 9.633 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001547/0.1743, allocations: 0.8987 MB / 492.5 MB, free: 8.727 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.566e-05/0.1743, allocations: 0 / 492.5 MB, free: 8.727 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002443/0.1746, allocations: 19.91 kB / 492.5 MB, free: 8.707 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001591/0.1748, allocations: 35.91 kB / 492.5 MB, free: 8.672 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003979/0.1752, allocations: 139.8 kB / 492.6 MB, free: 8.535 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001412/0.1753, allocations: 51.84 kB / 492.7 MB, free: 8.484 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001243/0.1755, allocations: 31.81 kB / 492.7 MB, free: 8.453 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.184e-05/0.1755, allocations: 19.88 kB / 492.8 MB, free: 8.434 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000148/0.1757, allocations: 31.84 kB / 492.8 MB, free: 8.402 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.831e-05/0.1757, allocations: 0 / 492.8 MB, free: 8.402 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001067/0.1758, allocations: 39.97 kB / 492.8 MB, free: 8.363 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.064e-05/0.1759, allocations: 15.92 kB / 492.8 MB, free: 8.348 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.353e-05/0.1759, allocations: 33.7 kB / 492.9 MB, free: 8.309 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001603/0.1761, allocations: 71.83 kB / 492.9 MB, free: 8.238 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.1761, allocations: 0 / 492.9 MB, free: 8.238 MB / 378.7 MB Notification: Performance of FrontEnd: time 5e-06/0.1761, allocations: 7.984 kB / 492.9 MB, free: 8.23 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.65e-05/0.1761, allocations: 0 / 492.9 MB, free: 8.23 MB / 378.7 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.0005948/0.1768, allocations: 379.4 kB / 493.3 MB, free: 7.812 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/0.1768, allocations: 12.02 kB / 493.3 MB, free: 7.801 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.824e-05/0.1769, allocations: 11.86 kB / 493.3 MB, free: 7.789 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000243/0.1771, allocations: 186.8 kB / 493.5 MB, free: 7.566 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.723e-05/0.1771, allocations: 7.984 kB / 493.5 MB, free: 7.559 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.184e-05/0.1772, allocations: 4 kB / 493.5 MB, free: 7.555 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002411/0.1774, allocations: 75.39 kB / 493.6 MB, free: 7.469 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.1774, allocations: 0 / 493.6 MB, free: 7.469 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.1775, allocations: 4 kB / 493.6 MB, free: 7.465 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/0.1775, allocations: 7.984 kB / 493.6 MB, free: 7.457 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001697/0.1777, allocations: 55.8 kB / 493.7 MB, free: 7.402 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005224/0.1782, allocations: 300.9 kB / 494 MB, free: 7.059 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001442/0.1783, allocations: 54.55 kB / 494 MB, free: 6.996 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.698e-05/0.1784, allocations: 28.94 kB / 494.1 MB, free: 6.965 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.342e-05/0.1785, allocations: 0 / 494.1 MB, free: 6.965 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.721e-05/0.1785, allocations: 34.56 kB / 494.1 MB, free: 6.922 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.1785, allocations: 7.938 kB / 494.1 MB, free: 6.914 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.000942/0.1795, allocations: 257.2 kB / 494.3 MB, free: 6.656 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.303e-05/0.1796, allocations: 81.05 kB / 494.4 MB, free: 6.559 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001622/0.1797, allocations: 137.8 kB / 494.6 MB, free: 6.414 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.289e-05/0.1798, allocations: 29.7 kB / 494.6 MB, free: 6.379 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.783e-05/0.1798, allocations: 96.03 kB / 494.7 MB, free: 6.281 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.545e-05/0.1799, allocations: 19.66 kB / 494.7 MB, free: 6.262 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.839e-06/0.1799, allocations: 3.938 kB / 494.7 MB, free: 6.258 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001568/0.18, allocations: 322.8 kB / 495 MB, free: 5.934 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001758/0.1802, allocations: 47.97 kB / 495.1 MB, free: 5.887 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001306/0.1804, allocations: 57.69 kB / 495.1 MB, free: 5.824 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001376/0.1805, allocations: 52.06 kB / 495.2 MB, free: 5.773 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.1805, allocations: 4 kB / 495.2 MB, free: 5.77 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003248/0.1809, allocations: 141.5 kB / 495.3 MB, free: 5.625 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.1809, allocations: 7.953 kB / 495.3 MB, free: 5.617 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.1809, allocations: 0 / 495.3 MB, free: 5.617 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.1809, allocations: 3.938 kB / 495.3 MB, free: 5.613 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001356/0.1811, allocations: 23.98 kB / 495.3 MB, free: 5.59 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.1811, allocations: 0 / 495.3 MB, free: 5.59 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.992e-05/0.1812, allocations: 15.98 kB / 495.4 MB, free: 5.574 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.888e-06/0.1812, allocations: 4 kB / 495.4 MB, free: 5.57 MB / 378.7 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 (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001314/0.1813, allocations: 117.8 kB / 495.5 MB, free: 5.445 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.679e-05/0.1814, allocations: 11.91 kB / 495.5 MB, free: 5.434 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003945/0.1818, allocations: 166.2 kB / 495.7 MB, free: 5.27 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.1818, allocations: 0 / 495.7 MB, free: 5.27 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.1818, allocations: 0 / 495.7 MB, free: 5.27 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.1818, allocations: 0 / 495.7 MB, free: 5.27 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005849/0.1824, allocations: 418.5 kB / 496.1 MB, free: 4.805 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/0.1824, allocations: 3.953 kB / 496.1 MB, free: 4.801 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.348e-05/0.1825, allocations: 31.92 kB / 496.1 MB, free: 4.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.429e-06/0.1825, allocations: 0 / 496.1 MB, free: 4.77 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.1825, allocations: 0 / 496.1 MB, free: 4.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.1825, allocations: 3.938 kB / 496.1 MB, free: 4.766 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1825, allocations: 4 kB / 496.1 MB, free: 4.762 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000373/0.1829, allocations: 235.4 kB / 496.3 MB, free: 4.516 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.826e-05/0.183, allocations: 96.95 kB / 496.4 MB, free: 4.402 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.906e-05/0.183, allocations: 0 / 496.4 MB, free: 4.402 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.039e-05/0.1831, allocations: 11.98 kB / 496.4 MB, free: 4.391 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.161e-05/0.1832, allocations: 12 kB / 496.5 MB, free: 4.379 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.744e-06/0.1832, allocations: 4 kB / 496.5 MB, free: 4.375 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.229e-05/0.1833, allocations: 106.9 kB / 496.6 MB, free: 4.273 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1833, allocations: 0 / 496.6 MB, free: 4.273 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002536/0.1836, allocations: 28 kB / 496.6 MB, free: 4.246 MB / 378.7 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 (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001046/0.1846, allocations: 441.7 kB / 497 MB, free: 3.855 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003447/0.185, allocations: 111.8 kB / 497.1 MB, free: 3.746 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.185, allocations: 4 kB / 497.1 MB, free: 3.742 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001406/0.1851, allocations: 51.97 kB / 497.2 MB, free: 3.691 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003363/0.1855, allocations: 15.73 kB / 497.2 MB, free: 3.68 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005509/0.186, allocations: 239 kB / 497.4 MB, free: 3.414 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003528/0.1864, allocations: 0.6965 MB / 498.1 MB, free: 2.691 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.61e-05/0.1865, allocations: 15.44 kB / 498.1 MB, free: 2.676 MB / 378.7 MB Notification: Performance of SimCode: time 2.61e-07/0.1865, allocations: 0 / 498.1 MB, free: 2.676 MB / 378.7 MB Notification: Performance of Templates: time 0.00441/0.1909, allocations: 1.786 MB / 499.9 MB, free: 0.8906 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test12.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test12.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test12 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test12/Test12.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches