Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.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.001904/0.001904, allocations: 123.4 kB / 17.79 MB, free: 5.266 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.002318/0.002318, allocations: 200.3 kB / 20.74 MB, free: 2.32 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.557/1.557, allocations: 230.6 MB / 254.1 MB, free: 15.1 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.2582/0.2582, allocations: 46.93 MB / 357.1 MB, free: 10.35 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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4") translateModel(ModelicaTest.Tables.CombiTimeTable.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002046/0.002046, allocations: 67.91 kB / 0.4915 GB, free: 7.41 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1671/0.1691, allocations: 65.99 MB / 0.5559 GB, free: 5.285 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.003903/0.173, allocations: 1.756 MB / 0.5577 GB, free: 3.516 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002108/0.1751, allocations: 1.039 MB / 0.5587 GB, free: 2.473 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.776e-05/0.1752, allocations: 0 / 0.5587 GB, free: 2.473 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004274/0.1756, allocations: 87.69 kB / 0.5588 GB, free: 2.387 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003843/0.176, allocations: 123.5 kB / 0.5589 GB, free: 2.266 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002338/0.1763, allocations: 75.73 kB / 0.5589 GB, free: 2.191 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002206/0.1765, allocations: 123.6 kB / 0.5591 GB, free: 2.07 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001275/0.1766, allocations: 11.98 kB / 0.5591 GB, free: 2.059 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001141/0.1767, allocations: 59.75 kB / 0.5591 GB, free: 2 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001432/0.1769, allocations: 63.75 kB / 0.5592 GB, free: 1.938 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.9e-05/0.1769, allocations: 4 kB / 0.5592 GB, free: 1.934 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000136/0.177, allocations: 67.91 kB / 0.5593 GB, free: 1.867 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.551e-05/0.1771, allocations: 19.92 kB / 0.5593 GB, free: 1.848 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.435e-05/0.1771, allocations: 51.67 kB / 0.5593 GB, free: 1.797 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003096/0.1775, allocations: 135.4 kB / 0.5595 GB, free: 1.664 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.1775, allocations: 0 / 0.5595 GB, free: 1.664 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.1775, allocations: 0 / 0.5595 GB, free: 1.664 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.184e-06/0.1775, allocations: 0 / 0.5595 GB, free: 1.664 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007755/0.1783, allocations: 446.4 kB / 0.5599 GB, free: 1.18 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.703e-05/0.1783, allocations: 8.031 kB / 0.5599 GB, free: 1.172 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.11e-05/0.1784, allocations: 16.84 kB / 0.5599 GB, free: 1.156 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003256/0.1787, allocations: 220.1 kB / 0.5601 GB, free: 0.9023 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.823e-05/0.1787, allocations: 4.375 kB / 0.5601 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.547e-05/0.1787, allocations: 4.125 kB / 0.5601 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001841/0.1789, allocations: 61.66 kB / 0.5602 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/0.1789, allocations: 0 / 0.5602 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.735e-05/0.1789, allocations: 4 kB / 0.5602 GB, free: 0.8242 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.186e-06/0.179, allocations: 4 kB / 0.5602 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001021/0.1791, allocations: 31.89 kB / 0.5602 GB, free: 0.7891 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004949/0.1795, allocations: 304.8 kB / 0.5605 GB, free: 452 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002723/0.1798, allocations: 54.55 kB / 0.5606 GB, free: 388 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.629e-05/0.1799, allocations: 20.98 kB / 0.5606 GB, free: 364 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.727e-05/0.1799, allocations: 8 kB / 0.5606 GB, free: 356 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001673/0.1801, allocations: 75.31 kB / 0.5607 GB, free: 268 kB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.393e-06/0.1801, allocations: 4 kB / 0.5607 GB, free: 264 kB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008601/0.181, allocations: 233.3 kB / 0.5609 GB, free: 24 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.238e-05/0.181, allocations: 55.34 kB / 0.5609 GB, free: 15.96 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002599/0.1813, allocations: 223.4 kB / 0.5612 GB, free: 15.72 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.62e-05/0.1813, allocations: 33.7 kB / 0.5612 GB, free: 15.68 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.065e-05/0.1814, allocations: 104.1 kB / 0.5613 GB, free: 15.58 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.405e-05/0.1815, allocations: 39.66 kB / 0.5613 GB, free: 15.54 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.498e-05/0.1815, allocations: 33.72 kB / 0.5614 GB, free: 15.5 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001767/0.1817, allocations: 326.8 kB / 0.5617 GB, free: 15.17 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.095e-05/0.1818, allocations: 24 kB / 0.5617 GB, free: 15.15 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.428e-05/0.1819, allocations: 49.69 kB / 0.5617 GB, free: 15.09 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000153/0.182, allocations: 81.66 kB / 0.5618 GB, free: 15.01 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.182, allocations: 0 / 0.5618 GB, free: 15.01 MB / 430.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002488/0.1823, allocations: 133.5 kB / 0.5619 GB, free: 14.87 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.1823, allocations: 4 kB / 0.562 GB, free: 14.87 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.1823, allocations: 0 / 0.562 GB, free: 14.87 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.027e-05/0.1823, allocations: 4 kB / 0.562 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.682e-05/0.1824, allocations: 23.98 kB / 0.562 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.328e-06/0.1824, allocations: 3.938 kB / 0.562 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.837e-05/0.1824, allocations: 4 kB / 0.562 GB, free: 14.83 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.017e-05/0.1825, allocations: 4 kB / 0.562 GB, free: 14.83 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 (13): * Single equations (assignments): 13 * 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.000136/0.1826, allocations: 140 kB / 0.5621 GB, free: 14.68 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.787e-05/0.1826, allocations: 11.91 kB / 0.5621 GB, free: 14.67 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.068e-05/0.1827, allocations: 25.39 kB / 0.5622 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.1827, allocations: 0 / 0.5622 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.337e-06/0.1827, allocations: 7.938 kB / 0.5622 GB, free: 14.63 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.1827, allocations: 0 / 0.5622 GB, free: 14.63 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006031/0.1833, allocations: 448 kB / 0.5626 GB, free: 14.13 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.1833, allocations: 4.062 kB / 0.5626 GB, free: 14.13 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.96e-05/0.1833, allocations: 16 kB / 0.5626 GB, free: 14.11 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.127e-06/0.1834, allocations: 4 kB / 0.5626 GB, free: 14.11 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.34e-05/0.1834, allocations: 7.922 kB / 0.5626 GB, free: 14.1 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.1834, allocations: 4 kB / 0.5626 GB, free: 14.1 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.1834, allocations: 0 / 0.5626 GB, free: 14.1 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003063/0.1837, allocations: 233 kB / 0.5629 GB, free: 13.85 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.425e-05/0.1838, allocations: 93 kB / 0.5629 GB, free: 13.74 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.921e-05/0.1838, allocations: 8 kB / 0.5629 GB, free: 13.73 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.128e-05/0.1839, allocations: 0 / 0.5629 GB, free: 13.73 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.152e-05/0.1839, allocations: 7.984 kB / 0.563 GB, free: 13.72 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.186e-05/0.1839, allocations: 12 kB / 0.563 GB, free: 13.71 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000163/0.1841, allocations: 157.3 kB / 0.5631 GB, free: 13.56 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1841, allocations: 3.938 kB / 0.5631 GB, free: 13.55 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000279/0.1844, allocations: 35.92 kB / 0.5632 GB, free: 13.52 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 (11): * Single equations (assignments): 9 * 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.001957/0.1863, allocations: 0.515 MB / 0.5637 GB, free: 13.21 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002363/0.1866, allocations: 83.78 kB / 0.5637 GB, free: 13.13 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1866, allocations: 0 / 0.5637 GB, free: 13.13 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.973e-05/0.1867, allocations: 35.92 kB / 0.5638 GB, free: 13.09 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003668/0.187, allocations: 39.66 kB / 0.5638 GB, free: 13.05 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005978/0.1876, allocations: 276.6 kB / 0.5641 GB, free: 12.75 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003894/0.188, allocations: 0.7158 MB / 0.5648 GB, free: 12.01 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.44e-05/0.1881, allocations: 24.62 kB / 0.5648 GB, free: 11.99 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.513e-05/0.1881, allocations: 15.44 kB / 0.5648 GB, free: 11.97 MB / 430.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1881, allocations: 3.938 kB / 0.5648 GB, free: 11.97 MB / 430.1 MB Notification: Performance of Templates: time 0.005758/0.1939, allocations: 2.026 MB / 0.5668 GB, free: 9.965 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.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.4123058915138245]