Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001606/0.001606, allocations: 124.5 kB / 17.79 MB, free: 5.227 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001748/0.001748, allocations: 207.2 kB / 20.75 MB, free: 2.273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.668/1.668, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2488/0.2488, allocations: 46.92 MB / 357.1 MB, free: 10.3 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002135/0.002135, allocations: 67.91 kB / 0.4914 GB, free: 7.43 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1655/0.1676, allocations: 65.99 MB / 0.5559 GB, free: 5.312 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.003927/0.1715, allocations: 2.051 MB / 0.5579 GB, free: 3.25 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002831/0.1744, allocations: 1.364 MB / 0.5592 GB, free: 1.879 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001853/0.1745, allocations: 8 kB / 0.5592 GB, free: 1.871 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004062/0.1749, allocations: 55.5 kB / 0.5593 GB, free: 1.816 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006588/0.1756, allocations: 211.1 kB / 0.5595 GB, free: 1.609 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001595/0.1772, allocations: 0.5913 MB / 0.56 GB, free: 1.031 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005209/0.1777, allocations: 331 kB / 0.5603 GB, free: 0.707 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002102/0.1779, allocations: 60.7 kB / 0.5604 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002834/0.1782, allocations: 143.4 kB / 0.5605 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003571/0.1786, allocations: 203.2 kB / 0.5607 GB, free: 316 kB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.099e-05/0.1786, allocations: 16 kB / 0.5608 GB, free: 300 kB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001713/0.1788, allocations: 63.98 kB / 0.5608 GB, free: 236 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002128/0.179, allocations: 147.4 kB / 0.561 GB, free: 88 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000191/0.1792, allocations: 166.8 kB / 0.5611 GB, free: 15.92 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005762/0.1798, allocations: 401.9 kB / 0.5615 GB, free: 15.52 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.1798, allocations: 4 kB / 0.5615 GB, free: 15.52 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.1798, allocations: 0 / 0.5615 GB, free: 15.52 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.296e-06/0.1798, allocations: 0 / 0.5615 GB, free: 15.52 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001181/0.181, allocations: 0.8043 MB / 0.5623 GB, free: 14.66 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.181, allocations: 12.03 kB / 0.5623 GB, free: 14.65 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003318/0.1813, allocations: 72.55 kB / 0.5624 GB, free: 14.58 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007207/0.182, allocations: 472.3 kB / 0.5628 GB, free: 14.08 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.728e-05/0.1821, allocations: 4.375 kB / 0.5628 GB, free: 14.07 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.029e-05/0.1821, allocations: 16.12 kB / 0.5628 GB, free: 14.06 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000326/0.1824, allocations: 143.3 kB / 0.563 GB, free: 13.91 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.873e-05/0.1825, allocations: 11.94 kB / 0.563 GB, free: 13.89 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.95e-05/0.1825, allocations: 4 kB / 0.563 GB, free: 13.89 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.1825, allocations: 0 / 0.563 GB, free: 13.89 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002602/0.1827, allocations: 95.92 kB / 0.5631 GB, free: 13.8 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001087/0.1838, allocations: 0.6918 MB / 0.5638 GB, free: 13.05 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002552/0.1841, allocations: 113.2 kB / 0.5639 GB, free: 12.92 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001332/0.1842, allocations: 45.75 kB / 0.5639 GB, free: 12.87 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.522e-05/0.1843, allocations: 4 kB / 0.5639 GB, free: 12.87 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.835e-05/0.1843, allocations: 38.5 kB / 0.5639 GB, free: 12.82 MB / 430.1 MB Notification: Performance of pre-optimization done (n=10): time 1.182e-06/0.1843, allocations: 4 kB / 0.5639 GB, free: 12.82 MB / 430.1 MB Notification: Performance of matching and sorting (n=16): time 0.001644/0.1859, allocations: 0.5541 MB / 0.5645 GB, free: 12.25 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.735e-05/0.186, allocations: 81.11 kB / 0.5646 GB, free: 12.16 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001154/0.1872, allocations: 0.9102 MB / 0.5655 GB, free: 11.23 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.502e-05/0.1872, allocations: 25.7 kB / 0.5655 GB, free: 11.2 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002353/0.1874, allocations: 260.3 kB / 0.5657 GB, free: 10.94 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.84e-05/0.1875, allocations: 59.52 kB / 0.5658 GB, free: 10.88 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.523e-05/0.1876, allocations: 33.7 kB / 0.5658 GB, free: 10.84 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002314/0.1878, allocations: 378.7 kB / 0.5662 GB, free: 10.46 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000184/0.188, allocations: 59.95 kB / 0.5662 GB, free: 10.41 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002075/0.1882, allocations: 81.67 kB / 0.5663 GB, free: 10.32 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003886/0.1886, allocations: 157.6 kB / 0.5665 GB, free: 10.16 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.1886, allocations: 0 / 0.5665 GB, free: 10.16 MB / 430.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005766/0.1892, allocations: 249.3 kB / 0.5667 GB, free: 9.91 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.1892, allocations: 8 kB / 0.5667 GB, free: 9.902 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.1892, allocations: 0 / 0.5667 GB, free: 9.902 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.1892, allocations: 3.938 kB / 0.5667 GB, free: 9.898 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002198/0.1894, allocations: 39.97 kB / 0.5668 GB, free: 9.859 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.1894, allocations: 4 kB / 0.5668 GB, free: 9.855 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001247/0.1896, allocations: 7.984 kB / 0.5668 GB, free: 9.848 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.664e-05/0.1896, allocations: 4 kB / 0.5668 GB, free: 9.844 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (16): * Single equations (assignments): 16 * 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.0002545/0.1898, allocations: 231.8 kB / 0.567 GB, free: 9.609 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000115/0.1899, allocations: 59.62 kB / 0.567 GB, free: 9.551 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006884/0.1906, allocations: 279.2 kB / 0.5673 GB, free: 9.266 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.1906, allocations: 3.938 kB / 0.5673 GB, free: 9.262 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.1906, allocations: 4 kB / 0.5673 GB, free: 9.258 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.837e-06/0.1907, allocations: 11.92 kB / 0.5673 GB, free: 9.246 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001288/0.1919, allocations: 0.8063 MB / 0.5681 GB, free: 8.383 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/0.1919, allocations: 4 kB / 0.5681 GB, free: 8.379 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001792/0.1921, allocations: 31.97 kB / 0.5682 GB, free: 8.348 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.1921, allocations: 4 kB / 0.5682 GB, free: 8.344 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.289e-05/0.1922, allocations: 8 kB / 0.5682 GB, free: 8.336 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.424e-05/0.1922, allocations: 11.88 kB / 0.5682 GB, free: 8.324 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.1922, allocations: 0 / 0.5682 GB, free: 8.324 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007985/0.193, allocations: 412.6 kB / 0.5686 GB, free: 7.906 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001934/0.1932, allocations: 144.7 kB / 0.5687 GB, free: 7.746 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.285e-05/0.1932, allocations: 4 kB / 0.5687 GB, free: 7.742 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001936/0.1934, allocations: 15.92 kB / 0.5687 GB, free: 7.727 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.01e-05/0.1935, allocations: 15.97 kB / 0.5687 GB, free: 7.711 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.353e-05/0.1935, allocations: 11.98 kB / 0.5688 GB, free: 7.699 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0009184/0.1944, allocations: 0.6591 MB / 0.5694 GB, free: 7.043 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1944, allocations: 0 / 0.5694 GB, free: 7.043 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004069/0.1949, allocations: 59.94 kB / 0.5695 GB, free: 6.984 MB / 430.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 (16): * Single equations (assignments): 16 * 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.001697/0.1965, allocations: 415.1 kB / 0.5698 GB, free: 6.727 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0005187/0.1971, allocations: 147.8 kB / 0.57 GB, free: 6.582 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.431e-06/0.1971, allocations: 4 kB / 0.57 GB, free: 6.578 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002078/0.1973, allocations: 87.88 kB / 0.5701 GB, free: 6.492 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006125/0.1979, allocations: 77.66 kB / 0.5702 GB, free: 6.426 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001594/0.1995, allocations: 0.9535 MB / 0.5711 GB, free: 5.438 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006417/0.2001, allocations: 0.8731 MB / 0.5719 GB, free: 4.539 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000209/0.2003, allocations: 83.84 kB / 0.572 GB, free: 4.461 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001094/0.2004, allocations: 39.42 kB / 0.5721 GB, free: 4.426 MB / 430.1 MB Notification: Performance of SimCode: time 4.61e-07/0.2004, allocations: 0 / 0.5721 GB, free: 4.426 MB / 430.1 MB Notification: Performance of Templates: time 0.01009/0.2105, allocations: 4.142 MB / 0.5761 GB, free: 308 kB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test22/Test22.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.521433413028717]