Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.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.CombiTable2Dv.Test30,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_ModelicaTest.Tables.CombiTable2Dv.Test30") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test30,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_ModelicaTest.Tables.CombiTable2Dv.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00081/0.0008102, allocations: 88.19 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009304/0.0009304, allocations: 175.8 kB / 16.58 MB, free: 6.84 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.853/1.853, allocations: 205.4 MB / 222.7 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5507/0.5507, allocations: 43.57 MB / 314.6 MB, free: 8.777 MB / 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.0006248/0.0006251, allocations: 18.97 kB / 384 MB, free: 8.016 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1694/0.1701, allocations: 58.87 MB / 442.8 MB, free: 13.04 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test30): time 0.002327/0.1725, allocations: 1.302 MB / 444.1 MB, free: 11.72 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006587/0.1732, allocations: 323.8 kB / 444.4 MB, free: 11.4 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.167e-05/0.1733, allocations: 3.938 kB / 444.4 MB, free: 11.4 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003113/0.1736, allocations: 71.84 kB / 444.5 MB, free: 11.33 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001776/0.1738, allocations: 55.86 kB / 444.6 MB, free: 11.27 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003855/0.1742, allocations: 131.8 kB / 444.7 MB, free: 11.14 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001567/0.1743, allocations: 67.83 kB / 444.8 MB, free: 11.08 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001178/0.1745, allocations: 19.97 kB / 444.8 MB, free: 11.06 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.63e-05/0.1745, allocations: 35.83 kB / 444.8 MB, free: 11.02 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001163/0.1747, allocations: 31.91 kB / 444.9 MB, free: 10.99 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.474e-05/0.1747, allocations: 4 kB / 444.9 MB, free: 10.99 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.314e-05/0.1748, allocations: 35.91 kB / 444.9 MB, free: 10.95 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.197e-05/0.1748, allocations: 19.98 kB / 444.9 MB, free: 10.93 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.327e-05/0.1749, allocations: 37.64 kB / 444.9 MB, free: 10.89 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001493/0.175, allocations: 76.11 kB / 445 MB, free: 10.82 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.136e-06/0.175, allocations: 0 / 445 MB, free: 10.82 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.1751, allocations: 0 / 445 MB, free: 10.82 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.758e-06/0.1751, allocations: 0 / 445 MB, free: 10.82 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.0005818/0.1757, allocations: 402.8 kB / 445.4 MB, free: 10.38 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.866e-05/0.1757, allocations: 12.02 kB / 445.4 MB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.868e-05/0.1758, allocations: 15.86 kB / 445.4 MB, free: 10.35 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002278/0.176, allocations: 198.9 kB / 445.6 MB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.176, allocations: 0 / 445.6 MB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.261e-05/0.176, allocations: 4 kB / 445.6 MB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001903/0.1762, allocations: 61.67 kB / 445.7 MB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.1763, allocations: 0 / 445.7 MB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.1763, allocations: 0 / 445.7 MB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.882e-06/0.1763, allocations: 3.938 kB / 445.7 MB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001479/0.1764, allocations: 63.84 kB / 445.8 MB, free: 9.977 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004721/0.1769, allocations: 312.7 kB / 446.1 MB, free: 9.621 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001391/0.1771, allocations: 54.55 kB / 446.1 MB, free: 9.559 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.386e-05/0.1772, allocations: 28.94 kB / 446.2 MB, free: 9.527 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.614e-05/0.1772, allocations: 0 / 446.2 MB, free: 9.527 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.254e-05/0.1772, allocations: 46.5 kB / 446.2 MB, free: 9.473 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.1772, allocations: 0 / 446.2 MB, free: 9.473 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.000825/0.1781, allocations: 261.1 kB / 446.5 MB, free: 9.211 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.234e-05/0.1781, allocations: 51.41 kB / 446.5 MB, free: 9.148 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002022/0.1783, allocations: 207.3 kB / 446.7 MB, free: 8.934 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.501e-05/0.1784, allocations: 25.7 kB / 446.7 MB, free: 8.902 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.994e-05/0.1785, allocations: 116 kB / 446.8 MB, free: 8.785 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.582e-05/0.1785, allocations: 11.72 kB / 446.9 MB, free: 8.773 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.02e-05/0.1785, allocations: 8 kB / 446.9 MB, free: 8.766 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.1787, allocations: 318.8 kB / 447.2 MB, free: 8.445 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001243/0.1788, allocations: 55.95 kB / 447.2 MB, free: 8.391 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001008/0.1789, allocations: 39.97 kB / 447.3 MB, free: 8.352 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001197/0.179, allocations: 51.97 kB / 447.3 MB, free: 8.301 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.179, allocations: 0 / 447.3 MB, free: 8.301 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.00028/0.1793, allocations: 145.8 kB / 447.5 MB, free: 8.152 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.1794, allocations: 11.94 kB / 447.5 MB, free: 8.141 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.605e-06/0.1794, allocations: 0 / 447.5 MB, free: 8.141 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.1794, allocations: 7.875 kB / 447.5 MB, free: 8.133 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001182/0.1795, allocations: 23.98 kB / 447.5 MB, free: 8.109 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/0.1795, allocations: 0 / 447.5 MB, free: 8.109 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.004e-05/0.1796, allocations: 19.98 kB / 447.5 MB, free: 8.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.233e-06/0.1796, allocations: 0 / 447.5 MB, free: 8.09 MB / 382.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 (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.0001139/0.1797, allocations: 129.8 kB / 447.7 MB, free: 7.953 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.841e-05/0.1798, allocations: 7.906 kB / 447.7 MB, free: 7.945 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003451/0.1801, allocations: 166.8 kB / 447.8 MB, free: 7.777 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.1801, allocations: 4 kB / 447.8 MB, free: 7.773 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/0.1801, allocations: 0 / 447.8 MB, free: 7.773 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/0.1801, allocations: 0 / 447.8 MB, free: 7.773 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005368/0.1807, allocations: 426.5 kB / 448.2 MB, free: 7.301 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.1807, allocations: 3.953 kB / 448.2 MB, free: 7.297 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.314e-05/0.1808, allocations: 27.98 kB / 448.3 MB, free: 7.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.1808, allocations: 0 / 448.3 MB, free: 7.27 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.385e-05/0.1808, allocations: 0 / 448.3 MB, free: 7.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1808, allocations: 3.938 kB / 448.3 MB, free: 7.266 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.1808, allocations: 0 / 448.3 MB, free: 7.266 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003286/0.1812, allocations: 235.4 kB / 448.5 MB, free: 7.02 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.456e-05/0.1812, allocations: 96.89 kB / 448.6 MB, free: 6.906 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.677e-05/0.1813, allocations: 0 / 448.6 MB, free: 6.906 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.648e-05/0.1814, allocations: 23.98 kB / 448.6 MB, free: 6.883 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.613e-05/0.1814, allocations: 4 kB / 448.6 MB, free: 6.879 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.458e-06/0.1814, allocations: 4 kB / 448.6 MB, free: 6.875 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001265/0.1816, allocations: 156.9 kB / 448.8 MB, free: 6.723 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1816, allocations: 0 / 448.8 MB, free: 6.723 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002415/0.1818, allocations: 19.89 kB / 448.8 MB, free: 6.703 MB / 382.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 (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.0009813/0.1828, allocations: 410.5 kB / 449.2 MB, free: 6.336 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002919/0.1831, allocations: 107.9 kB / 449.3 MB, free: 6.23 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1831, allocations: 0 / 449.3 MB, free: 6.23 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001243/0.1832, allocations: 55.97 kB / 449.4 MB, free: 6.176 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003331/0.1836, allocations: 15.92 kB / 449.4 MB, free: 6.16 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005065/0.1841, allocations: 281.5 kB / 449.7 MB, free: 5.852 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003121/0.1844, allocations: 0.7121 MB / 450.4 MB, free: 5.113 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.035e-05/0.1845, allocations: 16.28 kB / 450.4 MB, free: 5.098 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.892e-05/0.1845, allocations: 19.42 kB / 450.4 MB, free: 5.078 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1846, allocations: 4 kB / 450.4 MB, free: 5.074 MB / 382.1 MB Notification: Performance of Templates: time 0.003801/0.1884, allocations: 1.174 MB / 451.6 MB, free: 3.898 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test30/Test30.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches