Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001147/0.001147, allocations: 106.7 kB / 17.33 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001358/0.001358, allocations: 205.8 kB / 18.27 MB, free: 5.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.467/1.467, allocations: 227.4 MB / 246.4 MB, free: 10.86 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2328/0.2328, allocations: 46.1 MB / 343.8 MB, free: 11.76 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001689/0.001689, allocations: 77.84 kB / 417 MB, free: 20.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1631/0.1648, allocations: 62.44 MB / 479.5 MB, free: 5.617 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test29): time 0.005191/0.1701, allocations: 1.704 MB / 481.2 MB, free: 3.898 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00146/0.1716, allocations: 0.53 MB / 481.7 MB, free: 3.363 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.858e-05/0.1717, allocations: 7.938 kB / 481.7 MB, free: 3.355 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000344/0.1721, allocations: 35.91 kB / 481.8 MB, free: 3.32 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004118/0.1725, allocations: 75.8 kB / 481.8 MB, free: 3.246 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000394/0.173, allocations: 87.16 kB / 481.9 MB, free: 3.164 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002509/0.1732, allocations: 79.83 kB / 482 MB, free: 3.086 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000174/0.1734, allocations: 27.98 kB / 482 MB, free: 3.059 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001171/0.1735, allocations: 35.78 kB / 482.1 MB, free: 3.023 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001668/0.1737, allocations: 35.84 kB / 482.1 MB, free: 2.988 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.292e-05/0.1737, allocations: 4 kB / 482.1 MB, free: 2.984 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001717/0.1739, allocations: 51.97 kB / 482.1 MB, free: 2.934 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002106/0.1741, allocations: 15.94 kB / 482.2 MB, free: 2.918 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.308e-05/0.1742, allocations: 35.73 kB / 482.2 MB, free: 2.883 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002925/0.1745, allocations: 104 kB / 482.3 MB, free: 2.781 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.1745, allocations: 0 / 482.3 MB, free: 2.781 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.1746, allocations: 3.938 kB / 482.3 MB, free: 2.777 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.514e-06/0.1746, allocations: 0 / 482.3 MB, free: 2.777 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006609/0.1752, allocations: 413.3 kB / 482.7 MB, free: 2.328 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/0.1753, allocations: 8.031 kB / 482.7 MB, free: 2.32 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.231e-05/0.1754, allocations: 16.75 kB / 482.7 MB, free: 2.305 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002505/0.1756, allocations: 196.2 kB / 482.9 MB, free: 2.074 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.687e-05/0.1756, allocations: 4.375 kB / 482.9 MB, free: 2.07 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.218e-05/0.1757, allocations: 8.281 kB / 482.9 MB, free: 2.062 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002161/0.1759, allocations: 73.73 kB / 483 MB, free: 1.984 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.821e-05/0.1759, allocations: 0 / 483 MB, free: 1.984 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.781e-05/0.176, allocations: 8 kB / 483 MB, free: 1.977 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.107e-06/0.176, allocations: 4 kB / 483 MB, free: 1.973 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001414/0.1761, allocations: 39.89 kB / 483.1 MB, free: 1.934 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005933/0.1767, allocations: 316.7 kB / 483.4 MB, free: 1.574 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001629/0.1769, allocations: 66.48 kB / 483.4 MB, free: 1.5 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.257e-05/0.177, allocations: 32.84 kB / 483.5 MB, free: 1.465 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.08e-05/0.177, allocations: 0 / 483.5 MB, free: 1.465 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.075e-05/0.1771, allocations: 30.72 kB / 483.5 MB, free: 1.426 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/0.1771, allocations: 0 / 483.5 MB, free: 1.426 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.001404/0.1785, allocations: 297.4 kB / 483.8 MB, free: 1.129 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.076e-05/0.1786, allocations: 59.41 kB / 483.8 MB, free: 1.059 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002154/0.1788, allocations: 160.8 kB / 484 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.13e-05/0.1788, allocations: 25.7 kB / 484 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.572e-05/0.1789, allocations: 104 kB / 484.1 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.386e-05/0.179, allocations: 47.38 kB / 484.2 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.328e-05/0.179, allocations: 33.7 kB / 484.2 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.1792, allocations: 322.9 kB / 484.5 MB, free: 356 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001068/0.1793, allocations: 35.92 kB / 484.6 MB, free: 320 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.794e-05/0.1794, allocations: 39.97 kB / 484.6 MB, free: 280 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001979/0.1796, allocations: 88.83 kB / 484.7 MB, free: 188 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-06/0.1796, allocations: 0 / 484.7 MB, free: 188 kB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003334/0.18, allocations: 140.7 kB / 484.8 MB, free: 44 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.556e-05/0.18, allocations: 7.938 kB / 484.8 MB, free: 36 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.18, allocations: 0 / 484.8 MB, free: 36 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/0.1801, allocations: 4 kB / 484.8 MB, free: 32 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001551/0.1802, allocations: 31.92 kB / 484.9 MB, free: 0 / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.1802, allocations: 0 / 484.9 MB, free: 0 / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.162e-05/0.1803, allocations: 8.047 kB / 484.9 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.301e-05/0.1804, allocations: 4 kB / 484.9 MB, free: 15.98 MB / 366.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 (13): * Single equations (assignments): 13 * 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.0001522/0.1805, allocations: 125.8 kB / 485 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.728e-05/0.1806, allocations: 15.83 kB / 485 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003954/0.181, allocations: 158.4 kB / 485.2 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.181, allocations: 7.938 kB / 485.2 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.181, allocations: 0 / 485.2 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.181, allocations: 0 / 485.2 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007297/0.1818, allocations: 478.9 kB / 485.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.1818, allocations: 0 / 485.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.341e-05/0.1819, allocations: 35.92 kB / 485.7 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.1819, allocations: 0 / 485.7 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/0.1819, allocations: 0 / 485.7 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.1819, allocations: 4 kB / 485.7 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.1819, allocations: 32 / 485.7 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003521/0.1823, allocations: 240.1 kB / 485.9 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.857e-05/0.1824, allocations: 85.02 kB / 486 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.713e-05/0.1824, allocations: 0 / 486 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.08e-05/0.1825, allocations: 11.98 kB / 486 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.423e-05/0.1826, allocations: 12 kB / 486 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.015e-06/0.1826, allocations: 0 / 486 MB, free: 14.73 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001154/0.1827, allocations: 134.8 kB / 486.2 MB, free: 14.6 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.515e-06/0.1827, allocations: 0 / 486.2 MB, free: 14.6 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003055/0.183, allocations: 35.92 kB / 486.2 MB, free: 14.56 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (13): * Single equations (assignments): 13 * 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.001309/0.1843, allocations: 453.6 kB / 486.6 MB, free: 14.28 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000347/0.1847, allocations: 99.89 kB / 486.7 MB, free: 14.18 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.815e-06/0.1847, allocations: 4 kB / 486.7 MB, free: 14.18 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001285/0.1848, allocations: 55.91 kB / 486.8 MB, free: 14.12 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004679/0.1853, allocations: 20.14 kB / 486.8 MB, free: 14.1 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007729/0.1861, allocations: 283.5 kB / 487.1 MB, free: 13.8 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003769/0.1865, allocations: 0.708 MB / 487.8 MB, free: 13.06 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.831e-05/0.1866, allocations: 16.53 kB / 487.8 MB, free: 13.05 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.69e-05/0.1867, allocations: 23.44 kB / 487.8 MB, free: 13.02 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1867, allocations: 0 / 487.8 MB, free: 13.02 MB / 366.1 MB Notification: Performance of Templates: time 0.004708/0.1914, allocations: 1.484 MB / 489.3 MB, free: 11.54 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test29/Test29.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches