Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.CombiTable2Ds.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001101/0.001101, allocations: 107.7 kB / 17.21 MB, free: 6.27 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.001197/0.001197, allocations: 194 kB / 18.12 MB, free: 5.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 222.9 MB / 241.8 MB, free: 15.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.256/0.256, allocations: 44.17 MB / 336.1 MB, free: 3.031 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001807/0.001807, allocations: 71.11 kB / 407.7 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1676/0.1695, allocations: 60.82 MB / 468.5 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test31): time 0.004431/0.1739, allocations: 1.672 MB / 470.2 MB, free: 13.17 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002015/0.176, allocations: 1.015 MB / 471.2 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.619e-05/0.1761, allocations: 4 kB / 471.2 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002779/0.1763, allocations: 15.91 kB / 471.2 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001995/0.1766, allocations: 35.91 kB / 471.3 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000399/0.177, allocations: 119.7 kB / 471.4 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001534/0.1772, allocations: 55.84 kB / 471.4 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000117/0.1773, allocations: 24.16 kB / 471.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.973e-05/0.1774, allocations: 19.88 kB / 471.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001622/0.1775, allocations: 27.84 kB / 471.5 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.96e-05/0.1776, allocations: 4 kB / 471.5 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001403/0.1777, allocations: 51.97 kB / 471.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.295e-05/0.1778, allocations: 15.92 kB / 471.6 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.261e-05/0.1778, allocations: 15.88 kB / 471.6 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00026/0.1781, allocations: 95.75 kB / 471.7 MB, free: 11.67 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.1781, allocations: 4 kB / 471.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1781, allocations: 0 / 471.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.1781, allocations: 0 / 471.7 MB, free: 11.66 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006766/0.1788, allocations: 391.5 kB / 472.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/0.1789, allocations: 12.03 kB / 472.1 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.072e-05/0.179, allocations: 4.844 kB / 472.1 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002655/0.1792, allocations: 190.3 kB / 472.3 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/0.1793, allocations: 4.375 kB / 472.3 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.486e-05/0.1793, allocations: 384 / 472.3 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002424/0.1795, allocations: 79.31 kB / 472.4 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.614e-05/0.1796, allocations: 4 kB / 472.4 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.481e-05/0.1796, allocations: 0 / 472.4 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.1796, allocations: 0 / 472.4 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001883/0.1798, allocations: 39.91 kB / 472.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005483/0.1804, allocations: 288.7 kB / 472.7 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001849/0.1806, allocations: 38.56 kB / 472.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001135/0.1807, allocations: 24.94 kB / 472.7 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.971e-05/0.1808, allocations: 0 / 472.7 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.319e-05/0.1808, allocations: 42.48 kB / 472.8 MB, free: 10.4 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.432e-06/0.1808, allocations: 4 kB / 472.8 MB, free: 10.4 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.001118/0.182, allocations: 201.2 kB / 473 MB, free: 10.2 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.276e-05/0.1821, allocations: 81.11 kB / 473.1 MB, free: 10.1 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001928/0.1823, allocations: 141.8 kB / 473.2 MB, free: 9.949 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.05e-05/0.1823, allocations: 25.7 kB / 473.2 MB, free: 9.918 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.029e-05/0.1824, allocations: 100 kB / 473.3 MB, free: 9.816 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.445e-05/0.1824, allocations: 23.72 kB / 473.3 MB, free: 9.793 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.817e-05/0.1825, allocations: 17.72 kB / 473.4 MB, free: 9.77 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.1826, allocations: 318.8 kB / 473.7 MB, free: 9.449 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001594/0.1828, allocations: 35.91 kB / 473.7 MB, free: 9.414 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001824/0.183, allocations: 53.69 kB / 473.8 MB, free: 9.355 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002969/0.1833, allocations: 72.81 kB / 473.8 MB, free: 9.281 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.502e-06/0.1833, allocations: 0 / 473.8 MB, free: 9.281 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003936/0.1837, allocations: 117.5 kB / 473.9 MB, free: 9.16 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.178e-05/0.1838, allocations: 4 kB / 474 MB, free: 9.156 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.1838, allocations: 0 / 474 MB, free: 9.156 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.1838, allocations: 4 kB / 474 MB, free: 9.152 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001782/0.184, allocations: 19.97 kB / 474 MB, free: 9.133 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.303e-06/0.184, allocations: 0 / 474 MB, free: 9.133 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.472e-05/0.1841, allocations: 15.94 kB / 474 MB, free: 9.117 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.678e-06/0.1841, allocations: 0 / 474 MB, free: 9.117 MB / 350.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001394/0.1843, allocations: 126.4 kB / 474.1 MB, free: 8.984 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.773e-05/0.1843, allocations: 7.906 kB / 474.1 MB, free: 8.977 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004747/0.1848, allocations: 126.2 kB / 474.2 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.1848, allocations: 0 / 474.2 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.1848, allocations: 0 / 474.2 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.673e-06/0.1849, allocations: 7.922 kB / 474.3 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007461/0.1856, allocations: 382.9 kB / 474.6 MB, free: 8.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.1856, allocations: 0 / 474.6 MB, free: 8.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001186/0.1858, allocations: 27.92 kB / 474.7 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.1858, allocations: 0 / 474.7 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.352e-05/0.1858, allocations: 3.938 kB / 474.7 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.1858, allocations: 0 / 474.7 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.1858, allocations: 0 / 474.7 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000442/0.1863, allocations: 215.5 kB / 474.9 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.689e-05/0.1863, allocations: 81.02 kB / 474.9 MB, free: 8.055 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.822e-05/0.1864, allocations: 3.938 kB / 475 MB, free: 8.051 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001392/0.1865, allocations: 11.98 kB / 475 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.718e-05/0.1866, allocations: 8 kB / 475 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-06/0.1866, allocations: 4 kB / 475 MB, free: 8.027 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000123/0.1867, allocations: 109 kB / 475.1 MB, free: 7.922 MB / 350.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1867, allocations: 3.938 kB / 475.1 MB, free: 7.918 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004719/0.1872, allocations: 24 kB / 475.1 MB, free: 7.895 MB / 350.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 (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.001437/0.1887, allocations: 438.3 kB / 475.5 MB, free: 7.633 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003772/0.1891, allocations: 75.94 kB / 475.6 MB, free: 7.559 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.1891, allocations: 0 / 475.6 MB, free: 7.559 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001742/0.1893, allocations: 43.91 kB / 475.7 MB, free: 7.516 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004968/0.1898, allocations: 19.64 kB / 475.7 MB, free: 7.5 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005352/0.1903, allocations: 207.8 kB / 475.9 MB, free: 7.266 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002789/0.1906, allocations: 0.6926 MB / 476.6 MB, free: 6.547 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.906e-05/0.1907, allocations: 20.25 kB / 476.6 MB, free: 6.527 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.154e-05/0.1907, allocations: 15.42 kB / 476.6 MB, free: 6.512 MB / 350.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1908, allocations: 0 / 476.6 MB, free: 6.512 MB / 350.1 MB Notification: Performance of Templates: time 0.004051/0.1948, allocations: 1.425 MB / 478 MB, free: 5.098 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test31/Test31.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches