Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.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.001878/0.001878, allocations: 123.4 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.002445/0.002445, allocations: 208.3 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.708/1.708, allocations: 230.6 MB / 254.1 MB, free: 15.08 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.2733/0.2733, 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.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37") translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002104/0.002104, allocations: 67.89 kB / 0.4915 GB, free: 7.348 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1684/0.1705, allocations: 65.99 MB / 0.5559 GB, free: 5.223 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.005956/0.1764, allocations: 1.686 MB / 0.5576 GB, free: 3.523 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003429/0.1799, allocations: 1.019 MB / 0.5586 GB, free: 2.5 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00012/0.18, allocations: 7.938 kB / 0.5586 GB, free: 2.492 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004772/0.1805, allocations: 63.8 kB / 0.5586 GB, free: 2.43 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006441/0.1811, allocations: 103.5 kB / 0.5587 GB, free: 2.328 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003867/0.1815, allocations: 79.67 kB / 0.5588 GB, free: 2.25 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000388/0.1819, allocations: 107.7 kB / 0.5589 GB, free: 2.145 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.061e-05/0.182, allocations: 240 / 0.5589 GB, free: 2.145 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002163/0.1822, allocations: 55.77 kB / 0.559 GB, free: 2.09 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001955/0.1824, allocations: 47.77 kB / 0.559 GB, free: 2.043 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.079e-05/0.1824, allocations: 4 kB / 0.559 GB, free: 2.039 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001558/0.1826, allocations: 39.92 kB / 0.5591 GB, free: 2 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001026/0.1827, allocations: 23.91 kB / 0.5591 GB, free: 1.977 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.665e-05/0.1828, allocations: 31.75 kB / 0.5591 GB, free: 1.945 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003902/0.1832, allocations: 103.6 kB / 0.5592 GB, free: 1.844 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.1832, allocations: 0 / 0.5592 GB, free: 1.844 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.1832, allocations: 0 / 0.5592 GB, free: 1.844 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.518e-06/0.1832, allocations: 0 / 0.5592 GB, free: 1.844 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.001039/0.1842, allocations: 410.8 kB / 0.5596 GB, free: 1.395 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.299e-05/0.1843, allocations: 12.03 kB / 0.5596 GB, free: 1.383 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.343e-05/0.1844, allocations: 12.84 kB / 0.5596 GB, free: 1.371 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004616/0.1848, allocations: 215.2 kB / 0.5598 GB, free: 1.125 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.122e-05/0.1848, allocations: 384 / 0.5598 GB, free: 1.125 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.801e-05/0.1849, allocations: 12.11 kB / 0.5598 GB, free: 1.113 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002264/0.1851, allocations: 49.67 kB / 0.5599 GB, free: 1.059 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.487e-05/0.1851, allocations: 0 / 0.5599 GB, free: 1.059 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.429e-05/0.1851, allocations: 0 / 0.5599 GB, free: 1.059 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.1851, allocations: 0 / 0.5599 GB, free: 1.059 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001205/0.1853, allocations: 15.98 kB / 0.5599 GB, free: 1.043 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003755/0.1856, allocations: 193.6 kB / 0.5601 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003089/0.1859, allocations: 50.55 kB / 0.5601 GB, free: 0.7461 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000106/0.186, allocations: 20.8 kB / 0.5602 GB, free: 0.7227 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.212e-05/0.1861, allocations: 3.984 kB / 0.5602 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002452/0.1863, allocations: 71.39 kB / 0.5602 GB, free: 0.6367 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 2.254e-06/0.1863, allocations: 7.938 kB / 0.5602 GB, free: 0.6289 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004971/0.1868, allocations: 93.56 kB / 0.5603 GB, free: 0.5312 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.569e-05/0.1869, allocations: 51.41 kB / 0.5604 GB, free: 480 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003342/0.1872, allocations: 194.4 kB / 0.5606 GB, free: 276 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.281e-05/0.1872, allocations: 25.7 kB / 0.5606 GB, free: 244 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000105/0.1874, allocations: 104.1 kB / 0.5607 GB, free: 136 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.628e-05/0.1874, allocations: 11.91 kB / 0.5607 GB, free: 124 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.528e-05/0.1875, allocations: 17.72 kB / 0.5607 GB, free: 100 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002679/0.1877, allocations: 330.8 kB / 0.561 GB, free: 15.77 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.53e-05/0.1878, allocations: 19.92 kB / 0.561 GB, free: 15.75 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001173/0.1879, allocations: 25.7 kB / 0.5611 GB, free: 15.71 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000196/0.1881, allocations: 45.66 kB / 0.5611 GB, free: 15.66 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.1881, allocations: 0 / 0.5611 GB, free: 15.66 MB / 430.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004284/0.1886, allocations: 89.52 kB / 0.5612 GB, free: 15.57 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.62e-05/0.1886, allocations: 8 kB / 0.5612 GB, free: 15.56 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.1886, allocations: 0 / 0.5612 GB, free: 15.56 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.247e-05/0.1886, allocations: 0 / 0.5612 GB, free: 15.56 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000124/0.1888, allocations: 11.94 kB / 0.5612 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.1888, allocations: 4 kB / 0.5612 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.988e-05/0.1888, allocations: 3.938 kB / 0.5612 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.8e-05/0.1889, allocations: 8 kB / 0.5612 GB, free: 15.54 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: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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.0001938/0.1891, allocations: 128 kB / 0.5614 GB, free: 15.4 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.522e-05/0.1891, allocations: 11.98 kB / 0.5614 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.189e-05/0.1892, allocations: 16.98 kB / 0.5614 GB, free: 15.37 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.925e-06/0.1892, allocations: 4 kB / 0.5614 GB, free: 15.37 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.1892, allocations: 0 / 0.5614 GB, free: 15.37 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.1892, allocations: 0 / 0.5614 GB, free: 15.37 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002961/0.1895, allocations: 189.5 kB / 0.5616 GB, free: 15.13 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.1895, allocations: 0 / 0.5616 GB, free: 15.13 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.214e-05/0.1895, allocations: 8.297 kB / 0.5616 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.1895, allocations: 0 / 0.5616 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.435e-05/0.1896, allocations: 4 kB / 0.5616 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.1896, allocations: 0 / 0.5616 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.624e-06/0.1896, allocations: 4 kB / 0.5616 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003527/0.1899, allocations: 116.9 kB / 0.5617 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.058e-05/0.19, allocations: 81.06 kB / 0.5618 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.061e-05/0.19, allocations: 7.938 kB / 0.5618 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.537e-05/0.1901, allocations: 0 / 0.5618 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.732e-05/0.1902, allocations: 7.969 kB / 0.5618 GB, free: 14.87 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.876e-05/0.1902, allocations: 4 kB / 0.5618 GB, free: 14.87 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002376/0.1904, allocations: 152.2 kB / 0.5619 GB, free: 14.72 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1904, allocations: 0 / 0.5619 GB, free: 14.72 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004047/0.1908, allocations: 16 kB / 0.562 GB, free: 14.7 MB / 430.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002598/0.1934, allocations: 414.1 kB / 0.5623 GB, free: 14.45 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002825/0.1937, allocations: 35.92 kB / 0.5624 GB, free: 14.41 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.1937, allocations: 0 / 0.5624 GB, free: 14.41 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001181/0.1938, allocations: 19.98 kB / 0.5624 GB, free: 14.39 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004808/0.1943, allocations: 39.62 kB / 0.5624 GB, free: 14.36 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007609/0.1951, allocations: 202 kB / 0.5626 GB, free: 14.13 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005922/0.1957, allocations: 0.7079 MB / 0.5633 GB, free: 13.39 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.91e-05/0.1957, allocations: 12.42 kB / 0.5633 GB, free: 13.38 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.871e-05/0.1958, allocations: 15.42 kB / 0.5633 GB, free: 13.37 MB / 430.1 MB Notification: Performance of SimCode: time 6.01e-07/0.1958, allocations: 4 kB / 0.5634 GB, free: 13.37 MB / 430.1 MB Notification: Performance of Templates: time 0.008904/0.2047, allocations: 1.518 MB / 0.5648 GB, free: 11.86 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.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.714741718024015]