Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test23.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 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.CombiTable1Dv.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test23") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001293/0.001293, 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 trunk/package.mo): time 0.001372/0.001372, allocations: 213.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.492/1.492, allocations: 227.4 MB / 246.3 MB, free: 9.074 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.239/0.239, allocations: 46.12 MB / 343.7 MB, free: 11.52 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.003025/0.003026, allocations: 84.28 kB / 416.9 MB, free: 20.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1649/0.168, allocations: 62.45 MB / 479.4 MB, free: 5.613 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test23): time 0.00383/0.1719, allocations: 1.649 MB / 481 MB, free: 3.949 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002147/0.174, allocations: 1.144 MB / 482.2 MB, free: 2.797 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.68e-05/0.1742, allocations: 3.938 kB / 482.2 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000285/0.1745, allocations: 31.91 kB / 482.2 MB, free: 2.762 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003274/0.1748, allocations: 67.77 kB / 482.3 MB, free: 2.695 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003525/0.1752, allocations: 91.83 kB / 482.4 MB, free: 2.605 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001581/0.1754, allocations: 71.75 kB / 482.4 MB, free: 2.535 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000113/0.1755, allocations: 8 kB / 482.4 MB, free: 2.527 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.161e-05/0.1755, allocations: 27.92 kB / 482.5 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001561/0.1757, allocations: 31.84 kB / 482.5 MB, free: 2.469 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.668e-05/0.1757, allocations: 0 / 482.5 MB, free: 2.469 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001925/0.1759, allocations: 91.88 kB / 482.6 MB, free: 2.379 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.937e-05/0.176, allocations: 15.92 kB / 482.6 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.051e-05/0.176, allocations: 15.88 kB / 482.6 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002406/0.1763, allocations: 139.7 kB / 482.8 MB, free: 2.211 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1763, allocations: 3.938 kB / 482.8 MB, free: 2.207 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.021e-06/0.1763, allocations: 0 / 482.8 MB, free: 2.207 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.725e-06/0.1763, allocations: 0 / 482.8 MB, free: 2.207 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005727/0.1769, allocations: 407.4 kB / 483.2 MB, free: 1.762 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.1769, allocations: 12.88 kB / 483.2 MB, free: 1.75 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.121e-05/0.177, allocations: 0.9375 kB / 483.2 MB, free: 1.75 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002432/0.1772, allocations: 196.1 kB / 483.4 MB, free: 1.52 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.518e-06/0.1773, allocations: 384 / 483.4 MB, free: 1.52 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.208e-05/0.1773, allocations: 4.375 kB / 483.4 MB, free: 1.516 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001987/0.1775, allocations: 63.53 kB / 483.4 MB, free: 1.441 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.1775, allocations: 0 / 483.4 MB, free: 1.441 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/0.1775, allocations: 4 kB / 483.4 MB, free: 1.438 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.1775, allocations: 0 / 483.4 MB, free: 1.438 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001031/0.1777, allocations: 31.91 kB / 483.5 MB, free: 1.406 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000535/0.1782, allocations: 288.9 kB / 483.7 MB, free: 1.074 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002283/0.1784, allocations: 42.56 kB / 483.8 MB, free: 1.023 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.423e-05/0.1785, allocations: 24.88 kB / 483.8 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.93e-05/0.1785, allocations: 3.984 kB / 483.8 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.395e-05/0.1786, allocations: 38.5 kB / 483.9 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.1786, allocations: 0 / 483.9 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006525/0.1792, allocations: 157.2 kB / 484 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.702e-05/0.1793, allocations: 81.11 kB / 484.1 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001734/0.1795, allocations: 141.8 kB / 484.2 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.863e-05/0.1795, allocations: 25.7 kB / 484.2 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.513e-05/0.1796, allocations: 96.12 kB / 484.3 MB, free: 420 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.344e-05/0.1796, allocations: 15.72 kB / 484.4 MB, free: 404 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.234e-05/0.1797, allocations: 21.7 kB / 484.4 MB, free: 376 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.1798, allocations: 318.8 kB / 484.7 MB, free: 48 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.904e-05/0.1799, allocations: 23.98 kB / 484.7 MB, free: 24 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001081/0.18, allocations: 45.62 kB / 484.8 MB, free: 15.97 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001409/0.1802, allocations: 44.83 kB / 484.8 MB, free: 15.93 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/0.1802, allocations: 4 kB / 484.8 MB, free: 15.92 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002171/0.1804, allocations: 85.59 kB / 484.9 MB, free: 15.83 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.1805, allocations: 8.031 kB / 484.9 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.1805, allocations: 0 / 484.9 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.1805, allocations: 0 / 484.9 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.151e-05/0.1806, allocations: 15.98 kB / 484.9 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.1806, allocations: 0 / 484.9 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.165e-05/0.1806, allocations: 8 kB / 484.9 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.698e-06/0.1807, allocations: 3.938 kB / 484.9 MB, free: 15.8 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 (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.0001164/0.1808, allocations: 113.8 kB / 485 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.067e-05/0.1808, allocations: 11.89 kB / 485 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002899/0.1811, allocations: 101.9 kB / 485.1 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.1811, allocations: 0 / 485.1 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.1811, allocations: 0 / 485.1 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.1812, allocations: 0 / 485.1 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000516/0.1817, allocations: 366.7 kB / 485.5 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.1817, allocations: 0 / 485.5 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.559e-05/0.1818, allocations: 15.98 kB / 485.5 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.1818, allocations: 0 / 485.5 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.332e-05/0.1818, allocations: 0 / 485.5 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.1818, allocations: 15.81 kB / 485.5 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.1818, allocations: 0 / 485.5 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002521/0.1821, allocations: 179.4 kB / 485.7 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.703e-05/0.1821, allocations: 85.11 kB / 485.8 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.275e-05/0.1822, allocations: 3.984 kB / 485.8 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.864e-05/0.1823, allocations: 7.938 kB / 485.8 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.382e-05/0.1823, allocations: 8 kB / 485.8 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.988e-06/0.1823, allocations: 0 / 485.8 MB, free: 14.8 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001121/0.1824, allocations: 117.4 kB / 485.9 MB, free: 14.69 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1824, allocations: 0 / 485.9 MB, free: 14.69 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003242/0.1828, allocations: 39.98 kB / 486 MB, free: 14.65 MB / 366.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.001817/0.1846, allocations: 497.6 kB / 486.5 MB, free: 14.32 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002345/0.1848, allocations: 63.89 kB / 486.5 MB, free: 14.26 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.1849, allocations: 0 / 486.5 MB, free: 14.26 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.287e-05/0.1849, allocations: 23.98 kB / 486.5 MB, free: 14.23 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003894/0.1853, allocations: 15.98 kB / 486.6 MB, free: 14.22 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004809/0.1858, allocations: 191.2 kB / 486.7 MB, free: 14 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003507/0.1862, allocations: 0.6926 MB / 487.4 MB, free: 13.29 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.525e-05/0.1863, allocations: 20.23 kB / 487.5 MB, free: 13.27 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.639e-05/0.1863, allocations: 19.42 kB / 487.5 MB, free: 13.25 MB / 366.1 MB Notification: Performance of SimCode: time 3.9e-07/0.1863, allocations: 4 kB / 487.5 MB, free: 13.24 MB / 366.1 MB Notification: Performance of Templates: time 0.005068/0.1914, allocations: 1.733 MB / 489.2 MB, free: 11.52 MB / 366.1 MB make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test23.makefile (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test23.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test23/Test23.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches