Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.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.CombiTable2D.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5") translateModel(ModelicaTest.Tables.CombiTable2D.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000788/0.000788, allocations: 103.3 kB / 16.02 MB, free: 76 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.0008731/0.0008734, allocations: 179.4 kB / 16.92 MB, free: 6.922 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.05/2.05, allocations: 205.4 MB / 223.1 MB, free: 5.785 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.4843/0.4843, allocations: 43.57 MB / 315 MB, free: 8.926 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.0008469/0.0008471, allocations: 16 kB / 384.6 MB, free: 7.895 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1676/0.1684, allocations: 58.86 MB / 443.4 MB, free: 12.93 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test5): time 0.001973/0.1705, allocations: 1.329 MB / 444.8 MB, free: 11.59 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000605/0.1711, allocations: 311.6 kB / 445.1 MB, free: 11.29 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.745e-05/0.1711, allocations: 4 kB / 445.1 MB, free: 11.28 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005268/0.1717, allocations: 447.2 kB / 445.5 MB, free: 10.84 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002868/0.172, allocations: 247.5 kB / 445.8 MB, free: 10.6 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002708/0.1722, allocations: 103.9 kB / 445.9 MB, free: 10.5 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000194/0.1724, allocations: 155.6 kB / 446 MB, free: 10.35 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.1726, allocations: 16.17 kB / 446 MB, free: 10.33 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001024/0.1727, allocations: 103.8 kB / 446.1 MB, free: 10.23 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002022/0.1729, allocations: 203.6 kB / 446.3 MB, free: 10.03 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.626e-05/0.1729, allocations: 4 kB / 446.3 MB, free: 10.03 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.453e-05/0.173, allocations: 27.98 kB / 446.4 MB, free: 10 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.964e-05/0.1731, allocations: 75.7 kB / 446.4 MB, free: 9.926 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.649e-05/0.1732, allocations: 120.8 kB / 446.5 MB, free: 9.801 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002488/0.1734, allocations: 247.1 kB / 446.8 MB, free: 9.559 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.1734, allocations: 0 / 446.8 MB, free: 9.559 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1735, allocations: 0 / 446.8 MB, free: 9.559 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.418e-06/0.1735, allocations: 0 / 446.8 MB, free: 9.559 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.0006346/0.1741, allocations: 0.5873 MB / 447.4 MB, free: 8.922 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.1741, allocations: 8.031 kB / 447.4 MB, free: 8.914 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.263e-05/0.1742, allocations: 40.38 kB / 447.4 MB, free: 8.875 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002582/0.1745, allocations: 300.1 kB / 447.7 MB, free: 8.543 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.324e-06/0.1745, allocations: 384 / 447.7 MB, free: 8.543 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.277e-05/0.1745, allocations: 8.359 kB / 447.7 MB, free: 8.535 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001405/0.1747, allocations: 57.56 kB / 447.8 MB, free: 8.473 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.1747, allocations: 3.938 kB / 447.8 MB, free: 8.469 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.1747, allocations: 7.984 kB / 447.8 MB, free: 8.461 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.1747, allocations: 0 / 447.8 MB, free: 8.461 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.207e-05/0.1748, allocations: 31.98 kB / 447.8 MB, free: 8.43 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004391/0.1753, allocations: 380.7 kB / 448.2 MB, free: 8.008 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001956/0.1755, allocations: 50.5 kB / 448.2 MB, free: 7.949 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.059e-05/0.1755, allocations: 12.86 kB / 448.3 MB, free: 7.934 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.264e-05/0.1756, allocations: 8.078 kB / 448.3 MB, free: 7.926 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.916e-05/0.1756, allocations: 34.56 kB / 448.3 MB, free: 7.883 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.243e-06/0.1756, allocations: 0 / 448.3 MB, free: 7.883 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006231/0.1762, allocations: 240 kB / 448.5 MB, free: 7.641 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.929e-05/0.1763, allocations: 51.41 kB / 448.6 MB, free: 7.578 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000764/0.177, allocations: 0.8574 MB / 449.4 MB, free: 6.711 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.341e-05/0.1771, allocations: 29.7 kB / 449.5 MB, free: 6.676 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001601/0.1772, allocations: 224.1 kB / 449.7 MB, free: 6.453 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.511e-05/0.1773, allocations: 19.8 kB / 449.7 MB, free: 6.434 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.446e-05/0.1773, allocations: 9.719 kB / 449.7 MB, free: 6.418 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001436/0.1774, allocations: 362.8 kB / 450.1 MB, free: 6.055 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.1e-05/0.1775, allocations: 23.98 kB / 450.1 MB, free: 6.031 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.971e-05/0.1776, allocations: 27.98 kB / 450.1 MB, free: 6.004 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001301/0.1777, allocations: 44.84 kB / 450.2 MB, free: 5.957 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.1777, allocations: 3.938 kB / 450.2 MB, free: 5.953 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002029/0.1779, allocations: 125.2 kB / 450.3 MB, free: 5.824 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.178, allocations: 7.984 kB / 450.3 MB, free: 5.816 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.178, allocations: 0 / 450.3 MB, free: 5.816 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.178, allocations: 3.938 kB / 450.3 MB, free: 5.812 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.147e-05/0.1781, allocations: 12 kB / 450.3 MB, free: 5.801 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.1781, allocations: 0 / 450.3 MB, free: 5.801 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.436e-05/0.1781, allocations: 15.83 kB / 450.3 MB, free: 5.785 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.092e-06/0.1782, allocations: 8 kB / 450.3 MB, free: 5.777 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 (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 0.0001895/0.1784, allocations: 213.8 kB / 450.5 MB, free: 5.559 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.067e-05/0.1784, allocations: 35.53 kB / 450.6 MB, free: 5.523 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003035/0.1787, allocations: 152.9 kB / 450.7 MB, free: 5.363 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.1787, allocations: 4 kB / 450.7 MB, free: 5.359 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.1787, allocations: 0 / 450.7 MB, free: 5.359 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.553e-06/0.1788, allocations: 3.938 kB / 450.7 MB, free: 5.355 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005666/0.1793, allocations: 462.4 kB / 451.2 MB, free: 4.848 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1793, allocations: 384 / 451.2 MB, free: 4.848 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.153e-05/0.1794, allocations: 19.98 kB / 451.2 MB, free: 4.828 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.002e-05/0.1794, allocations: 4 kB / 451.2 MB, free: 4.824 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.1794, allocations: 3.938 kB / 451.2 MB, free: 4.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.1794, allocations: 3.938 kB / 451.2 MB, free: 4.816 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.1795, allocations: 0 / 451.2 MB, free: 4.816 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002508/0.1797, allocations: 219 kB / 451.4 MB, free: 4.586 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.516e-05/0.1798, allocations: 116.5 kB / 451.6 MB, free: 4.453 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.651e-05/0.1798, allocations: 3.938 kB / 451.6 MB, free: 4.449 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.05e-05/0.1799, allocations: 8 kB / 451.6 MB, free: 4.441 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.889e-05/0.18, allocations: 3.984 kB / 451.6 MB, free: 4.438 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.76e-06/0.18, allocations: 4 kB / 451.6 MB, free: 4.434 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006448/0.1806, allocations: 0.6433 MB / 452.2 MB, free: 3.793 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1806, allocations: 7.938 kB / 452.2 MB, free: 3.785 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002591/0.1809, allocations: 28 kB / 452.2 MB, free: 3.758 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 (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.00104/0.182, allocations: 405.5 kB / 452.6 MB, free: 3.395 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002088/0.1822, allocations: 55.91 kB / 452.7 MB, free: 3.34 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.1822, allocations: 4 kB / 452.7 MB, free: 3.336 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.592e-05/0.1823, allocations: 27.92 kB / 452.7 MB, free: 3.309 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000379/0.1827, allocations: 25.95 kB / 452.8 MB, free: 3.281 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00114/0.1838, allocations: 0.853 MB / 453.6 MB, free: 2.398 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003893/0.1842, allocations: 0.8262 MB / 454.4 MB, free: 1.547 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.25e-05/0.1843, allocations: 4 kB / 454.4 MB, free: 1.543 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.772e-05/0.1843, allocations: 15.44 kB / 454.5 MB, free: 1.531 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1843, allocations: 0 / 454.5 MB, free: 1.531 MB / 382.1 MB Notification: Performance of Templates: time 0.004308/0.1886, allocations: 1.331 MB / 455.8 MB, free: 204 kB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test5/Test5.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches