Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.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.00148/0.00148, allocations: 119.4 kB / 17.79 MB, free: 5.285 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.001467/0.001467, allocations: 200.3 kB / 20.74 MB, free: 2.344 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.613/1.613, 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.2542/0.2542, 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.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76") translateModel(ModelicaTest.Tables.CombiTimeTable.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002032/0.002032, allocations: 63.91 kB / 0.4915 GB, free: 7.344 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1672/0.1692, allocations: 66 MB / 0.556 GB, free: 5.219 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.004241/0.1734, allocations: 1.75 MB / 0.5577 GB, free: 3.457 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002224/0.1757, allocations: 1.037 MB / 0.5587 GB, free: 2.414 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000125/0.1758, allocations: 0 / 0.5587 GB, free: 2.414 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003389/0.1761, allocations: 51.73 kB / 0.5587 GB, free: 2.363 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004335/0.1766, allocations: 107.5 kB / 0.5588 GB, free: 2.258 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003072/0.1769, allocations: 83.66 kB / 0.5589 GB, free: 2.176 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002676/0.1771, allocations: 123.7 kB / 0.559 GB, free: 2.055 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001243/0.1773, allocations: 15.97 kB / 0.559 GB, free: 2.039 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001449/0.1774, allocations: 59.77 kB / 0.5591 GB, free: 1.98 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001328/0.1775, allocations: 55.7 kB / 0.5591 GB, free: 1.926 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.181e-05/0.1776, allocations: 4 kB / 0.5592 GB, free: 1.922 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001759/0.1777, allocations: 63.91 kB / 0.5592 GB, free: 1.859 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.428e-05/0.1778, allocations: 31.91 kB / 0.5592 GB, free: 1.828 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.571e-05/0.1779, allocations: 43.69 kB / 0.5593 GB, free: 1.785 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003431/0.1782, allocations: 147.4 kB / 0.5594 GB, free: 1.641 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.1782, allocations: 3.938 kB / 0.5594 GB, free: 1.637 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1782, allocations: 0 / 0.5594 GB, free: 1.637 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.374e-06/0.1782, allocations: 0 / 0.5594 GB, free: 1.637 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007558/0.179, allocations: 442.5 kB / 0.5599 GB, free: 1.156 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/0.179, allocations: 12.03 kB / 0.5599 GB, free: 1.145 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.111e-05/0.1791, allocations: 12.84 kB / 0.5599 GB, free: 1.133 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004109/0.1795, allocations: 240.1 kB / 0.5601 GB, free: 0.8594 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/0.1795, allocations: 4.375 kB / 0.5601 GB, free: 0.8555 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.25e-05/0.1796, allocations: 8.125 kB / 0.5601 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002231/0.1798, allocations: 73.59 kB / 0.5602 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.1798, allocations: 0 / 0.5602 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.057e-05/0.1798, allocations: 11.98 kB / 0.5602 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.1798, allocations: 0 / 0.5602 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001254/0.1799, allocations: 39.97 kB / 0.5602 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005345/0.1805, allocations: 328.7 kB / 0.5605 GB, free: 356 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003389/0.1808, allocations: 78.53 kB / 0.5606 GB, free: 268 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.192e-05/0.1809, allocations: 24.84 kB / 0.5606 GB, free: 240 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.88e-05/0.1809, allocations: 7.984 kB / 0.5607 GB, free: 232 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002006/0.1811, allocations: 79.41 kB / 0.5607 GB, free: 140 kB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 2.064e-06/0.1811, allocations: 4 kB / 0.5607 GB, free: 136 kB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.001073/0.1822, allocations: 301.4 kB / 0.561 GB, free: 15.83 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.797e-05/0.1823, allocations: 59.28 kB / 0.5611 GB, free: 15.76 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002312/0.1825, allocations: 190.1 kB / 0.5613 GB, free: 15.57 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.203e-05/0.1825, allocations: 37.69 kB / 0.5613 GB, free: 15.52 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.391e-05/0.1826, allocations: 100.4 kB / 0.5614 GB, free: 15.42 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.87e-05/0.1827, allocations: 43.64 kB / 0.5614 GB, free: 15.38 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.045e-05/0.1827, allocations: 33.7 kB / 0.5615 GB, free: 15.34 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001804/0.1829, allocations: 326.8 kB / 0.5618 GB, free: 15.01 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.48e-05/0.183, allocations: 35.98 kB / 0.5618 GB, free: 14.98 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001254/0.1831, allocations: 61.62 kB / 0.5619 GB, free: 14.91 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001909/0.1833, allocations: 93.7 kB / 0.562 GB, free: 14.81 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.1833, allocations: 0 / 0.562 GB, free: 14.81 MB / 430.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003077/0.1836, allocations: 157.5 kB / 0.5621 GB, free: 14.65 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.1837, allocations: 4 kB / 0.5621 GB, free: 14.65 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.291e-06/0.1837, allocations: 4 kB / 0.5621 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.82e-05/0.1837, allocations: 3.938 kB / 0.5621 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001084/0.1838, allocations: 31.92 kB / 0.5622 GB, free: 14.61 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.183e-05/0.1838, allocations: 3.938 kB / 0.5622 GB, free: 14.61 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.986e-05/0.1839, allocations: 4 kB / 0.5622 GB, free: 14.6 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.549e-05/0.1839, allocations: 7.984 kB / 0.5622 GB, free: 14.59 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 (15): * Single equations (assignments): 15 * 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.0001579/0.184, allocations: 140 kB / 0.5623 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.725e-05/0.1841, allocations: 11.91 kB / 0.5623 GB, free: 14.44 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.656e-05/0.1841, allocations: 21.52 kB / 0.5623 GB, free: 14.41 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.1842, allocations: 0 / 0.5623 GB, free: 14.41 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.139e-05/0.1842, allocations: 3.938 kB / 0.5623 GB, free: 14.41 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.1842, allocations: 4 kB / 0.5623 GB, free: 14.41 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007502/0.1849, allocations: 496.1 kB / 0.5628 GB, free: 13.86 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.1849, allocations: 64 / 0.5628 GB, free: 13.86 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.124e-05/0.185, allocations: 20 kB / 0.5628 GB, free: 13.84 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.185, allocations: 0 / 0.5628 GB, free: 13.84 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.958e-05/0.185, allocations: 11.98 kB / 0.5628 GB, free: 13.83 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.185, allocations: 0 / 0.5628 GB, free: 13.83 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.185, allocations: 0 / 0.5628 GB, free: 13.83 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004357/0.1854, allocations: 264.9 kB / 0.5631 GB, free: 13.55 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.194e-05/0.1855, allocations: 89.02 kB / 0.5632 GB, free: 13.45 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.074e-05/0.1856, allocations: 8 kB / 0.5632 GB, free: 13.44 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.906e-05/0.1856, allocations: 0 / 0.5632 GB, free: 13.44 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.654e-05/0.1857, allocations: 11.98 kB / 0.5632 GB, free: 13.43 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.536e-05/0.1857, allocations: 11.98 kB / 0.5632 GB, free: 13.41 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001518/0.1859, allocations: 152.2 kB / 0.5634 GB, free: 13.27 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1859, allocations: 0 / 0.5634 GB, free: 13.27 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002987/0.1862, allocations: 31.94 kB / 0.5634 GB, free: 13.23 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 11 * 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.00207/0.1882, allocations: 0.5114 MB / 0.5639 GB, free: 12.93 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002929/0.1885, allocations: 95.89 kB / 0.564 GB, free: 12.83 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.1885, allocations: 0 / 0.564 GB, free: 12.83 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001115/0.1886, allocations: 47.92 kB / 0.564 GB, free: 12.79 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003841/0.189, allocations: 39.28 kB / 0.5641 GB, free: 12.75 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006839/0.1897, allocations: 280.2 kB / 0.5643 GB, free: 12.44 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004514/0.1902, allocations: 0.7123 MB / 0.565 GB, free: 11.7 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.627e-05/0.1902, allocations: 29.41 kB / 0.5651 GB, free: 11.68 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.743e-05/0.1903, allocations: 27.42 kB / 0.5651 GB, free: 11.65 MB / 430.1 MB Notification: Performance of SimCode: time 3.9e-07/0.1903, allocations: 0 / 0.5651 GB, free: 11.65 MB / 430.1 MB Notification: Performance of Templates: time 0.006163/0.1965, allocations: 2.186 MB / 0.5672 GB, free: 9.48 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.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.532079495489597]