Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.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.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001132/0.001132, allocations: 108.2 kB / 18.39 MB, free: 4.762 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.001207/0.001207, allocations: 182.9 kB / 19.32 MB, free: 3.832 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.535/1.535, allocations: 222.9 MB / 243 MB, free: 15.14 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.2779/0.2779, allocations: 44.18 MB / 337.4 MB, free: 2.695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 65.7 kB / 409.9 MB, free: 26.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1643/0.1656, allocations: 60.83 MB / 470.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.006181/0.1718, allocations: 1.633 MB / 472.3 MB, free: 12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001635/0.1735, allocations: 455.1 kB / 472.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001053/0.1737, allocations: 0 / 472.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001135/0.1748, allocations: 459.1 kB / 473.2 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008047/0.1757, allocations: 251.5 kB / 473.5 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008895/0.1766, allocations: 178.4 kB / 473.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004147/0.177, allocations: 175.6 kB / 473.8 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000175/0.1772, allocations: 16 kB / 473.8 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000341/0.1776, allocations: 115.8 kB / 473.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004483/0.178, allocations: 207.6 kB / 474.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.79e-05/0.1781, allocations: 0 / 474.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001731/0.1783, allocations: 47.97 kB / 474.2 MB, free: 10.13 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001843/0.1785, allocations: 83.69 kB / 474.3 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001717/0.1787, allocations: 106.9 kB / 474.4 MB, free: 9.941 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005292/0.1792, allocations: 270.9 kB / 474.6 MB, free: 9.676 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.945e-06/0.1792, allocations: 3.984 kB / 474.6 MB, free: 9.672 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.1793, allocations: 4 kB / 474.7 MB, free: 9.668 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.895e-06/0.1793, allocations: 0 / 474.7 MB, free: 9.668 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.00123/0.1805, allocations: 0.6298 MB / 475.3 MB, free: 8.988 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.1806, allocations: 12.03 kB / 475.3 MB, free: 8.977 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.338e-05/0.1807, allocations: 40.38 kB / 475.3 MB, free: 8.938 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004646/0.1811, allocations: 304.1 kB / 475.6 MB, free: 8.598 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/0.1812, allocations: 4.375 kB / 475.6 MB, free: 8.594 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.625e-05/0.1812, allocations: 4.375 kB / 475.6 MB, free: 8.59 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002162/0.1814, allocations: 65.8 kB / 475.7 MB, free: 8.52 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.924e-05/0.1815, allocations: 0 / 475.7 MB, free: 8.52 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.71e-05/0.1815, allocations: 3.984 kB / 475.7 MB, free: 8.516 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.525e-05/0.1815, allocations: 4 kB / 475.7 MB, free: 8.512 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001472/0.1817, allocations: 39.84 kB / 475.7 MB, free: 8.473 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009395/0.1826, allocations: 404.6 kB / 476.1 MB, free: 8.027 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001772/0.1828, allocations: 54.59 kB / 476.2 MB, free: 7.965 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.718e-05/0.1829, allocations: 16.94 kB / 476.2 MB, free: 7.945 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.053e-05/0.183, allocations: 4 kB / 476.2 MB, free: 7.941 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000117/0.1831, allocations: 30.56 kB / 476.2 MB, free: 7.902 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.634e-06/0.1831, allocations: 0 / 476.2 MB, free: 7.902 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.00159/0.1847, allocations: 315.8 kB / 476.6 MB, free: 7.586 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.193e-05/0.1848, allocations: 59.34 kB / 476.6 MB, free: 7.516 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001583/0.1864, allocations: 0.8535 MB / 477.5 MB, free: 6.652 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.711e-05/0.1864, allocations: 25.7 kB / 477.5 MB, free: 6.621 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000366/0.1868, allocations: 228 kB / 477.7 MB, free: 6.395 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.305e-05/0.1869, allocations: 19.66 kB / 477.7 MB, free: 6.375 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.764e-05/0.187, allocations: 37.64 kB / 477.8 MB, free: 6.332 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0003855/0.1874, allocations: 354.8 kB / 478.1 MB, free: 5.977 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001455/0.1875, allocations: 31.97 kB / 478.1 MB, free: 5.945 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001534/0.1877, allocations: 31.98 kB / 478.2 MB, free: 5.914 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002759/0.188, allocations: 76.75 kB / 478.3 MB, free: 5.836 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.188, allocations: 0 / 478.3 MB, free: 5.836 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004165/0.1884, allocations: 145.1 kB / 478.4 MB, free: 5.688 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.404e-05/0.1885, allocations: 8 kB / 478.4 MB, free: 5.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.808e-06/0.1885, allocations: 4 kB / 478.4 MB, free: 5.676 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.1885, allocations: 0 / 478.4 MB, free: 5.676 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001609/0.1887, allocations: 19.98 kB / 478.4 MB, free: 5.656 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.195e-05/0.1887, allocations: 3.938 kB / 478.4 MB, free: 5.652 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001022/0.1888, allocations: 4 kB / 478.4 MB, free: 5.648 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.133e-05/0.1889, allocations: 320 / 478.4 MB, free: 5.648 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 (8): * Single equations (assignments): 8 * 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.0003553/0.1892, allocations: 221.7 kB / 478.7 MB, free: 5.422 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.426e-05/0.1893, allocations: 43.44 kB / 478.7 MB, free: 5.379 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000609/0.19, allocations: 177.4 kB / 478.9 MB, free: 5.195 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.842e-06/0.19, allocations: 4 kB / 478.9 MB, free: 5.191 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.19, allocations: 3.938 kB / 478.9 MB, free: 5.188 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.19, allocations: 0 / 478.9 MB, free: 5.188 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001244/0.1913, allocations: 0.511 MB / 479.4 MB, free: 4.617 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.602e-06/0.1913, allocations: 3.938 kB / 479.4 MB, free: 4.613 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001081/0.1914, allocations: 23.86 kB / 479.4 MB, free: 4.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.1914, allocations: 0 / 479.4 MB, free: 4.59 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.418e-05/0.1915, allocations: 4 kB / 479.4 MB, free: 4.586 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.1915, allocations: 0 / 479.4 MB, free: 4.586 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.1915, allocations: 0 / 479.4 MB, free: 4.586 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005455/0.192, allocations: 251.8 kB / 479.7 MB, free: 4.32 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001138/0.1922, allocations: 112.9 kB / 479.8 MB, free: 4.191 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.064e-05/0.1922, allocations: 4 kB / 479.8 MB, free: 4.188 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001477/0.1924, allocations: 4 kB / 479.8 MB, free: 4.184 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.762e-05/0.1924, allocations: 7.984 kB / 479.8 MB, free: 4.176 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.081e-05/0.1924, allocations: 7.938 kB / 479.8 MB, free: 4.168 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001015/0.1935, allocations: 0.6511 MB / 480.4 MB, free: 3.52 MB / 350.1 MB Notification: Performance of sort global known variables: time 6.82e-07/0.1935, allocations: 0 / 480.4 MB, free: 3.52 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004668/0.194, allocations: 31.98 kB / 480.5 MB, free: 3.488 MB / 350.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 (8): * Single equations (assignments): 8 * 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.001901/0.1959, allocations: 466.9 kB / 480.9 MB, free: 3.207 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004216/0.1963, allocations: 79.89 kB / 481 MB, free: 3.129 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.1963, allocations: 0 / 481 MB, free: 3.129 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000178/0.1965, allocations: 39.92 kB / 481.1 MB, free: 3.09 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006443/0.1972, allocations: 40.28 kB / 481.1 MB, free: 3.062 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002177/0.1994, allocations: 0.8239 MB / 481.9 MB, free: 2.203 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008251/0.2002, allocations: 0.8337 MB / 482.7 MB, free: 1.344 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001284/0.2004, allocations: 20.41 kB / 482.8 MB, free: 1.324 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.703e-05/0.2005, allocations: 19.42 kB / 482.8 MB, free: 1.305 MB / 350.1 MB Notification: Performance of SimCode: time 1.002e-06/0.2005, allocations: 4 kB / 482.8 MB, free: 1.301 MB / 350.1 MB Notification: Performance of Templates: time 0.01417/0.2147, allocations: 1.717 MB / 484.5 MB, free: 15.59 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches