Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000872/0.000872, allocations: 88.33 kB / 21.44 MB, free: 3.113 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.004282/0.004282, allocations: 153.4 kB / 24.69 MB, free: 9.43 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9135/0.9135, allocations: 177 MB / 204.9 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2417/0.2417, allocations: 34.24 MB / 295.6 MB, free: 0.6836 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test43,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43") translateModel(ModelicaTest.Tables.CombiTimeTable.Test43,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 443.5 MB, free: 0.9648 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.198e-05/2.351e-05, allocations: 2.281 kB / 443.5 MB, free: 0.9609 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test43): time 0.1764/0.1764, allocations: 1.712 MB / 445.2 MB, free: 43.7 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009737/0.1774, allocations: 0.9748 MB / 446.2 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.569e-05/0.1775, allocations: 3.719 kB / 446.2 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002835/0.1778, allocations: 46.36 kB / 446.2 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002738/0.1781, allocations: 92.98 kB / 446.3 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001656/0.1782, allocations: 78.62 kB / 446.4 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001449/0.1784, allocations: 109.6 kB / 446.5 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.335e-05/0.1785, allocations: 9.484 kB / 446.5 MB, free: 43.08 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.659e-05/0.1785, allocations: 56.47 kB / 446.6 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.664e-05/0.1786, allocations: 26.02 kB / 446.6 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.63e-05/0.1786, allocations: 7.641 kB / 446.6 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.785e-05/0.1787, allocations: 46.17 kB / 446.7 MB, free: 43.03 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.065e-05/0.1787, allocations: 21.28 kB / 446.7 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.545e-05/0.1788, allocations: 20.02 kB / 446.7 MB, free: 43.01 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001638/0.1789, allocations: 123.3 kB / 446.8 MB, free: 42.96 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.179, allocations: 3.797 kB / 446.8 MB, free: 42.96 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.179, allocations: 1.312 kB / 446.8 MB, free: 42.96 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.179, allocations: 0 / 446.8 MB, free: 42.96 MB / 410.7 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.0003956/0.1794, allocations: 351.6 kB / 447.2 MB, free: 42.64 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.1794, allocations: 14.16 kB / 447.2 MB, free: 42.64 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.948e-05/0.1794, allocations: 10.89 kB / 447.2 MB, free: 42.63 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001934/0.1796, allocations: 157 kB / 447.4 MB, free: 42.48 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.1796, allocations: 384 / 447.4 MB, free: 42.48 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.974e-05/0.1797, allocations: 6.938 kB / 447.4 MB, free: 42.48 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001093/0.1798, allocations: 55.75 kB / 447.4 MB, free: 42.44 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.1798, allocations: 3.188 kB / 447.4 MB, free: 42.44 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.887e-06/0.1798, allocations: 384 / 447.4 MB, free: 42.44 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.1798, allocations: 6.625 kB / 447.4 MB, free: 42.43 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.796e-05/0.1798, allocations: 27.67 kB / 447.5 MB, free: 42.42 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002342/0.1801, allocations: 230.5 kB / 447.7 MB, free: 42.21 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001119/0.1802, allocations: 53.64 kB / 447.7 MB, free: 42.18 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.11e-05/0.1802, allocations: 23.55 kB / 447.8 MB, free: 42.16 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.424e-05/0.1802, allocations: 4 kB / 447.8 MB, free: 42.16 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.81e-05/0.1803, allocations: 72.77 kB / 447.8 MB, free: 42.1 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.232e-06/0.1803, allocations: 0 / 447.8 MB, free: 42.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003757/0.1807, allocations: 184.1 kB / 448 MB, free: 42.01 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.209e-05/0.1807, allocations: 54.06 kB / 448.1 MB, free: 41.95 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001078/0.1808, allocations: 214.5 kB / 448.3 MB, free: 41.81 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.542e-06/0.1808, allocations: 25.7 kB / 448.3 MB, free: 41.78 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.927e-05/0.1809, allocations: 109.6 kB / 448.4 MB, free: 41.68 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.191e-05/0.1809, allocations: 28.92 kB / 448.4 MB, free: 41.66 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.635e-05/0.1809, allocations: 25.75 kB / 448.5 MB, free: 41.64 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.184e-05/0.1809, allocations: 327.8 kB / 448.8 MB, free: 41.32 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.298e-05/0.181, allocations: 17.77 kB / 448.8 MB, free: 41.31 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.446e-05/0.181, allocations: 37.62 kB / 448.8 MB, free: 41.29 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.27e-05/0.1811, allocations: 70.23 kB / 448.9 MB, free: 41.25 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.1811, allocations: 0 / 448.9 MB, free: 41.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001083/0.1812, allocations: 110.9 kB / 449 MB, free: 41.18 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.1812, allocations: 5.125 kB / 449 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.1812, allocations: 6.531 kB / 449 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.1812, allocations: 2.656 kB / 449 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.272e-05/0.1813, allocations: 14.84 kB / 449 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.73e-06/0.1813, allocations: 5.828 kB / 449 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.78e-05/0.1813, allocations: 2.719 kB / 449 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.171e-06/0.1813, allocations: 6.781 kB / 449 MB, free: 41.17 MB / 410.7 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 5.363e-05/0.1814, allocations: 123.7 kB / 449.2 MB, free: 41.05 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.167e-05/0.1814, allocations: 14.81 kB / 449.2 MB, free: 41.05 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001451/0.1815, allocations: 125.3 kB / 449.3 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.1815, allocations: 4 kB / 449.3 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.1815, allocations: 2.688 kB / 449.3 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.1815, allocations: 0 / 449.3 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002253/0.1818, allocations: 356.1 kB / 449.7 MB, free: 40.69 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1818, allocations: 0 / 449.7 MB, free: 40.69 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.121e-05/0.1818, allocations: 11.94 kB / 449.7 MB, free: 40.69 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.1818, allocations: 3.938 kB / 449.7 MB, free: 40.68 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.605e-06/0.1818, allocations: 2.938 kB / 449.7 MB, free: 40.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.1818, allocations: 0 / 449.7 MB, free: 40.68 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.1818, allocations: 5.578 kB / 449.7 MB, free: 40.68 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000107/0.1819, allocations: 219.8 kB / 449.9 MB, free: 40.51 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.078e-05/0.1819, allocations: 6.797 kB / 449.9 MB, free: 40.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.893e-05/0.1819, allocations: 10.06 kB / 449.9 MB, free: 40.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.734e-05/0.182, allocations: 10.12 kB / 449.9 MB, free: 40.5 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.902e-05/0.182, allocations: 6.156 kB / 449.9 MB, free: 40.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.313e-05/0.182, allocations: 2.875 kB / 449.9 MB, free: 40.5 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.735e-05/0.1821, allocations: 162.1 kB / 450.1 MB, free: 40.4 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1821, allocations: 0 / 450.1 MB, free: 40.4 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001697/0.1823, allocations: 25.28 kB / 450.1 MB, free: 40.39 MB / 410.7 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 (9): * Single equations (assignments): 7 * 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.0008008/0.1831, allocations: 485.2 kB / 450.6 MB, free: 40.21 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001257/0.1832, allocations: 64.12 kB / 450.7 MB, free: 40.19 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.1832, allocations: 3.938 kB / 450.7 MB, free: 40.18 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.038e-05/0.1832, allocations: 28.91 kB / 450.7 MB, free: 40.18 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002219/0.1835, allocations: 43.64 kB / 450.7 MB, free: 40.16 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003206/0.1838, allocations: 265.3 kB / 451 MB, free: 39.96 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.034e-05/0.1838, allocations: 97.14 kB / 451.1 MB, free: 39.89 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.653e-05/0.1839, allocations: 24.08 kB / 451.1 MB, free: 39.88 MB / 410.7 MB Notification: Performance of SimCode: time 5.81e-07/0.1839, allocations: 0 / 451.1 MB, free: 39.88 MB / 410.7 MB Notification: Performance of Templates: time 0.00243/0.1863, allocations: 2.022 MB / 453.1 MB, free: 39.66 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test43/Test43.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.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: 4.988471629098058]