Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.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 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 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 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.CombiTable1D.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21") translateModel(ModelicaTest.Tables.CombiTable1D.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001153/0.001153, allocations: 112.6 kB / 17.04 MB, free: 6.078 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.001019/0.001019, allocations: 195 kB / 17.97 MB, free: 5.16 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.751/1.751, allocations: 205.1 MB / 223.8 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2365/0.2365, allocations: 43.52 MB / 314.7 MB, free: 496 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002524/0.002525, allocations: 69.58 kB / 384.2 MB, free: 56.4 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1636/0.1662, allocations: 57.79 MB / 442 MB, free: 6.164 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test21): time 0.003241/0.1695, allocations: 1.55 MB / 443.5 MB, free: 4.598 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001356/0.1709, allocations: 0.9417 MB / 444.5 MB, free: 3.648 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.373e-05/0.171, allocations: 0 / 444.5 MB, free: 3.648 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002728/0.1713, allocations: 27.84 kB / 444.5 MB, free: 3.621 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002042/0.1715, allocations: 43.78 kB / 444.5 MB, free: 3.578 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002685/0.1718, allocations: 91.8 kB / 444.6 MB, free: 3.488 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001931/0.172, allocations: 59.78 kB / 444.7 MB, free: 3.43 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001352/0.1721, allocations: 15.94 kB / 444.7 MB, free: 3.414 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.286e-05/0.1722, allocations: 23.91 kB / 444.7 MB, free: 3.391 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002028/0.1724, allocations: 27.38 kB / 444.7 MB, free: 3.367 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.1724, allocations: 8 kB / 444.8 MB, free: 3.359 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000134/0.1725, allocations: 51.97 kB / 444.8 MB, free: 3.309 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.945e-05/0.1726, allocations: 11.98 kB / 444.8 MB, free: 3.297 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.809e-05/0.1727, allocations: 15.88 kB / 444.8 MB, free: 3.281 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000242/0.1729, allocations: 95.7 kB / 444.9 MB, free: 3.188 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.035e-06/0.1729, allocations: 0 / 444.9 MB, free: 3.188 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.558e-06/0.1729, allocations: 0 / 444.9 MB, free: 3.188 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.874e-05/0.173, allocations: 0 / 444.9 MB, free: 3.188 MB / 318.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.000593/0.1736, allocations: 379.1 kB / 445.3 MB, free: 2.77 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.09e-05/0.1736, allocations: 11.89 kB / 445.3 MB, free: 2.758 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.557e-05/0.1737, allocations: 8.938 kB / 445.3 MB, free: 2.75 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002267/0.1739, allocations: 191.2 kB / 445.5 MB, free: 2.527 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.5e-05/0.1739, allocations: 384 / 445.5 MB, free: 2.527 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.989e-05/0.174, allocations: 4.375 kB / 445.5 MB, free: 2.523 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002216/0.1742, allocations: 67.47 kB / 445.6 MB, free: 2.445 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.446e-05/0.1742, allocations: 0 / 445.6 MB, free: 2.445 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/0.1742, allocations: 3.984 kB / 445.6 MB, free: 2.441 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-06/0.1743, allocations: 0 / 445.6 MB, free: 2.441 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.525e-05/0.1744, allocations: 31.92 kB / 445.6 MB, free: 2.41 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004687/0.1748, allocations: 272.9 kB / 445.9 MB, free: 2.094 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002545/0.1751, allocations: 54.48 kB / 445.9 MB, free: 2.031 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.314e-05/0.1752, allocations: 8.859 kB / 445.9 MB, free: 2.02 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.4e-05/0.1752, allocations: 8 kB / 445.9 MB, free: 2.012 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.721e-05/0.1752, allocations: 30.56 kB / 446 MB, free: 1.973 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.423e-06/0.1752, allocations: 0 / 446 MB, free: 1.973 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006414/0.1759, allocations: 153.4 kB / 446.1 MB, free: 1.816 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.702e-05/0.176, allocations: 77.11 kB / 446.2 MB, free: 1.723 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001346/0.1761, allocations: 129.8 kB / 446.3 MB, free: 1.586 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.714e-05/0.1761, allocations: 33.7 kB / 446.4 MB, free: 1.547 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.472e-05/0.1762, allocations: 96.03 kB / 446.5 MB, free: 1.449 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.77e-05/0.1762, allocations: 15.75 kB / 446.5 MB, free: 1.434 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.057e-05/0.1763, allocations: 17.72 kB / 446.5 MB, free: 1.41 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001139/0.1764, allocations: 322.8 kB / 446.8 MB, free: 1.086 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.172e-05/0.1765, allocations: 19.98 kB / 446.8 MB, free: 1.066 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.06e-05/0.1766, allocations: 37.7 kB / 446.9 MB, free: 1.023 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001308/0.1767, allocations: 60.95 kB / 446.9 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.1767, allocations: 0 / 446.9 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001676/0.1769, allocations: 85.56 kB / 447 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.1769, allocations: 4 kB / 447 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.1769, allocations: 0 / 447 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/0.177, allocations: 0 / 447 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.836e-05/0.177, allocations: 20.02 kB / 447 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.94e-06/0.177, allocations: 0 / 447 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.59e-05/0.1771, allocations: 4 kB / 447 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.1771, allocations: 0 / 447 MB, free: 0.8438 MB / 318.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 9.497e-05/0.1772, allocations: 129.6 kB / 447.2 MB, free: 0.707 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.906e-05/0.1772, allocations: 4 kB / 447.2 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002148/0.1774, allocations: 93.53 kB / 447.2 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.1775, allocations: 8 kB / 447.3 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.1775, allocations: 0 / 447.3 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.1775, allocations: 0 / 447.3 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003508/0.1778, allocations: 354.4 kB / 447.6 MB, free: 200 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.1778, allocations: 288 / 447.6 MB, free: 200 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.498e-05/0.1779, allocations: 11.98 kB / 447.6 MB, free: 188 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.1779, allocations: 0 / 447.6 MB, free: 188 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.1779, allocations: 4 kB / 447.6 MB, free: 184 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.1779, allocations: 8.125 kB / 447.6 MB, free: 176 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1779, allocations: 4 kB / 447.6 MB, free: 172 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000212/0.1781, allocations: 183.4 kB / 447.8 MB, free: 15.97 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.75e-05/0.1782, allocations: 81.11 kB / 447.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.617e-05/0.1782, allocations: 3.938 kB / 447.9 MB, free: 15.87 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.806e-05/0.1783, allocations: 15.86 kB / 447.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.288e-05/0.1784, allocations: 4 kB / 447.9 MB, free: 15.85 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.38e-06/0.1784, allocations: 8 kB / 447.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.002e-05/0.1785, allocations: 111.2 kB / 448 MB, free: 15.73 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.773e-06/0.1785, allocations: 4 kB / 448 MB, free: 15.73 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002423/0.1787, allocations: 15.94 kB / 448 MB, free: 15.71 MB / 334.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.001004/0.1797, allocations: 449.5 kB / 448.5 MB, free: 15.36 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00022/0.1799, allocations: 51.95 kB / 448.5 MB, free: 15.31 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.18, allocations: 0 / 448.5 MB, free: 15.31 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.518e-05/0.18, allocations: 27.92 kB / 448.6 MB, free: 15.28 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003382/0.1804, allocations: 15.98 kB / 448.6 MB, free: 15.27 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003782/0.1808, allocations: 165.5 kB / 448.7 MB, free: 15.08 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002702/0.1811, allocations: 0.6944 MB / 449.4 MB, free: 14.36 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.334e-05/0.1811, allocations: 11.98 kB / 449.4 MB, free: 14.35 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.428e-05/0.1812, allocations: 11.44 kB / 449.5 MB, free: 14.34 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1812, allocations: 0 / 449.5 MB, free: 14.34 MB / 334.1 MB Notification: Performance of Templates: time 0.00447/0.1857, allocations: 1.373 MB / 450.8 MB, free: 12.97 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches