Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49.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.001343/0.001343, 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.001421/0.001421, 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.579/1.579, 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.2619/0.2619, allocations: 46.92 MB / 357.1 MB, free: 10.31 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.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49") translateModel(ModelicaTest.Tables.CombiTimeTable.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002366/0.002366, allocations: 75.89 kB / 0.4915 GB, free: 7.375 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1639/0.1663, allocations: 66 MB / 0.5559 GB, free: 5.246 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.004517/0.1708, allocations: 1.733 MB / 0.5576 GB, free: 3.5 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002157/0.173, allocations: 1.038 MB / 0.5586 GB, free: 2.457 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001343/0.1731, allocations: 4 kB / 0.5587 GB, free: 2.453 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003726/0.1735, allocations: 51.75 kB / 0.5587 GB, free: 2.402 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003967/0.1739, allocations: 103.5 kB / 0.5588 GB, free: 2.301 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002835/0.1742, allocations: 79.72 kB / 0.5589 GB, free: 2.223 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002051/0.1744, allocations: 103.6 kB / 0.559 GB, free: 2.121 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.1745, allocations: 16 kB / 0.559 GB, free: 2.105 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001086/0.1746, allocations: 43.78 kB / 0.559 GB, free: 2.062 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.986e-05/0.1747, allocations: 31.84 kB / 0.5591 GB, free: 2.031 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/0.1747, allocations: 7.938 kB / 0.5591 GB, free: 2.023 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000132/0.1748, allocations: 43.98 kB / 0.5591 GB, free: 1.98 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.981e-05/0.1749, allocations: 31.84 kB / 0.5591 GB, free: 1.949 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.752e-05/0.175, allocations: 47.67 kB / 0.5592 GB, free: 1.902 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002686/0.1752, allocations: 127.4 kB / 0.5593 GB, free: 1.777 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.1752, allocations: 0 / 0.5593 GB, free: 1.777 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1752, allocations: 0 / 0.5593 GB, free: 1.777 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.1753, allocations: 0 / 0.5593 GB, free: 1.777 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000817/0.1761, allocations: 458.3 kB / 0.5597 GB, free: 1.281 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.1761, allocations: 12.03 kB / 0.5598 GB, free: 1.27 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.347e-05/0.1762, allocations: 12.84 kB / 0.5598 GB, free: 1.258 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003426/0.1765, allocations: 221.1 kB / 0.56 GB, free: 1 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.1765, allocations: 8.375 kB / 0.56 GB, free: 0.9922 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.979e-05/0.1766, allocations: 4.125 kB / 0.56 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001704/0.1767, allocations: 53.67 kB / 0.56 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.1767, allocations: 0 / 0.56 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.536e-05/0.1768, allocations: 4 kB / 0.56 GB, free: 0.9258 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.1768, allocations: 0 / 0.56 GB, free: 0.9258 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.002e-05/0.1768, allocations: 23.92 kB / 0.5601 GB, free: 0.9023 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000478/0.1773, allocations: 304.8 kB / 0.5604 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001877/0.1775, allocations: 54.67 kB / 0.5604 GB, free: 0.4922 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.687e-05/0.1776, allocations: 16.86 kB / 0.5604 GB, free: 484 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.189e-05/0.1776, allocations: 11.97 kB / 0.5604 GB, free: 472 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001697/0.1778, allocations: 71.33 kB / 0.5605 GB, free: 388 kB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.423e-06/0.1778, allocations: 4 kB / 0.5605 GB, free: 384 kB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006175/0.1784, allocations: 177.3 kB / 0.5607 GB, free: 200 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.753e-05/0.1784, allocations: 55.39 kB / 0.5607 GB, free: 132 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003482/0.1788, allocations: 275.1 kB / 0.561 GB, free: 15.84 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.143e-05/0.1788, allocations: 33.64 kB / 0.561 GB, free: 15.8 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.386e-05/0.1789, allocations: 112.1 kB / 0.5611 GB, free: 15.69 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.536e-05/0.1789, allocations: 23.8 kB / 0.5612 GB, free: 15.67 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.317e-05/0.179, allocations: 21.7 kB / 0.5612 GB, free: 15.64 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001689/0.1791, allocations: 342.7 kB / 0.5615 GB, free: 15.3 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.25e-05/0.1792, allocations: 19.98 kB / 0.5615 GB, free: 15.28 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.882e-05/0.1793, allocations: 37.7 kB / 0.5616 GB, free: 15.23 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001361/0.1794, allocations: 53.66 kB / 0.5616 GB, free: 15.18 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.1794, allocations: 0 / 0.5616 GB, free: 15.18 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002182/0.1796, allocations: 121.6 kB / 0.5617 GB, free: 15.05 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.1797, allocations: 4 kB / 0.5617 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-06/0.1797, allocations: 4 kB / 0.5617 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.1797, allocations: 0 / 0.5617 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001001/0.1798, allocations: 19.92 kB / 0.5618 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.1798, allocations: 0 / 0.5618 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.492e-05/0.1798, allocations: 7.938 kB / 0.5618 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.095e-05/0.1799, allocations: 4 kB / 0.5618 GB, free: 15.01 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 (10): * Single equations (assignments): 10 * 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.0001378/0.18, allocations: 136 kB / 0.5619 GB, free: 14.87 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.582e-05/0.18, allocations: 15.94 kB / 0.5619 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.979e-05/0.1801, allocations: 25.39 kB / 0.5619 GB, free: 14.83 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/0.1801, allocations: 4 kB / 0.5619 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.1801, allocations: 0 / 0.5619 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/0.1801, allocations: 7.922 kB / 0.5619 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005141/0.1806, allocations: 399.3 kB / 0.5623 GB, free: 14.37 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.1806, allocations: 0 / 0.5623 GB, free: 14.37 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.596e-05/0.1806, allocations: 12 kB / 0.5623 GB, free: 14.36 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.1806, allocations: 7.969 kB / 0.5623 GB, free: 14.35 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.62e-05/0.1807, allocations: 11.92 kB / 0.5624 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1807, allocations: 384 / 0.5624 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.1807, allocations: 0 / 0.5624 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002667/0.1809, allocations: 204.3 kB / 0.5626 GB, free: 14.12 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.201e-05/0.181, allocations: 89.02 kB / 0.5626 GB, free: 14.01 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.439e-05/0.181, allocations: 7.938 kB / 0.5626 GB, free: 14 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.89e-05/0.1811, allocations: 11.98 kB / 0.5627 GB, free: 13.99 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.211e-05/0.1811, allocations: 4 kB / 0.5627 GB, free: 13.99 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.72e-05/0.1812, allocations: 4 kB / 0.5627 GB, free: 13.98 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001958/0.1814, allocations: 204.8 kB / 0.5629 GB, free: 13.79 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1814, allocations: 3.938 kB / 0.5629 GB, free: 13.78 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000289/0.1817, allocations: 27.88 kB / 0.5629 GB, free: 13.75 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: 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 (8): * Single equations (assignments): 6 * 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.001739/0.1834, allocations: 458.9 kB / 0.5633 GB, free: 13.48 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002088/0.1836, allocations: 55.97 kB / 0.5634 GB, free: 13.43 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.1836, allocations: 0 / 0.5634 GB, free: 13.43 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.654e-05/0.1837, allocations: 27.92 kB / 0.5634 GB, free: 13.4 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003916/0.1841, allocations: 36.98 kB / 0.5634 GB, free: 13.37 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005949/0.1847, allocations: 299.5 kB / 0.5637 GB, free: 13.05 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003928/0.1851, allocations: 0.7235 MB / 0.5644 GB, free: 12.3 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.387e-05/0.1851, allocations: 16.81 kB / 0.5645 GB, free: 12.29 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.316e-05/0.1852, allocations: 23.42 kB / 0.5645 GB, free: 12.26 MB / 430.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1852, allocations: 0 / 0.5645 GB, free: 12.26 MB / 430.1 MB Notification: Performance of Templates: time 0.005427/0.1906, allocations: 1.774 MB / 0.5662 GB, free: 10.5 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test49.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.394092466682196]