Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.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.001148/0.001148, allocations: 87.62 kB / 21.43 MB, free: 3.133 MB / 18.57 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.005288/0.005288, allocations: 163.1 kB / 24.7 MB, free: 8.891 MB / 18.57 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 0.9303/0.9303, allocations: 177.1 MB / 205 MB, free: 5.766 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2539/0.2539, allocations: 32.79 MB / 294.2 MB, free: 1.211 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79") translateModel(ModelicaTest.Tables.CombiTimeTable.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 3.938 kB / 440.9 MB, free: 3.684 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.493e-05/2.657e-05, allocations: 2.281 kB / 440.9 MB, free: 3.68 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.002248/0.002275, allocations: 1.87 MB / 442.8 MB, free: 1.793 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0013/0.003575, allocations: 1.083 MB / 443.9 MB, free: 0.7031 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.054e-05/0.003665, allocations: 3.938 kB / 443.9 MB, free: 0.6992 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003903/0.004055, allocations: 223.2 kB / 444.1 MB, free: 492 kB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003848/0.00444, allocations: 215.1 kB / 444.3 MB, free: 276 kB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002387/0.004679, allocations: 119.5 kB / 444.4 MB, free: 156 kB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.1677/0.1723, allocations: 264.4 kB / 444.7 MB, free: 44 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001583/0.1725, allocations: 18.94 kB / 444.7 MB, free: 44 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002144/0.1727, allocations: 151.2 kB / 444.9 MB, free: 44 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001598/0.1729, allocations: 155 kB / 445 MB, free: 43.99 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.508e-05/0.1729, allocations: 8.906 kB / 445 MB, free: 43.99 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001378/0.173, allocations: 61.48 kB / 445.1 MB, free: 43.99 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.494e-05/0.1731, allocations: 69.34 kB / 445.2 MB, free: 43.97 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.118e-05/0.1732, allocations: 49.25 kB / 445.2 MB, free: 43.96 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002581/0.1734, allocations: 240 kB / 445.4 MB, free: 43.95 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.329e-06/0.1734, allocations: 0 / 445.4 MB, free: 43.95 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.1734, allocations: 0 / 445.4 MB, free: 43.95 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.581e-06/0.1734, allocations: 3.594 kB / 445.4 MB, free: 43.95 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0004925/0.1739, allocations: 0.5012 MB / 445.9 MB, free: 43.56 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.174, allocations: 9.312 kB / 446 MB, free: 43.56 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.067e-05/0.174, allocations: 30.62 kB / 446 MB, free: 43.55 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002636/0.1743, allocations: 222 kB / 446.2 MB, free: 43.38 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.481e-05/0.1743, allocations: 4.531 kB / 446.2 MB, free: 43.38 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.613e-05/0.1743, allocations: 10.05 kB / 446.2 MB, free: 43.38 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001692/0.1745, allocations: 121.7 kB / 446.3 MB, free: 43.33 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.1745, allocations: 3.953 kB / 446.3 MB, free: 43.32 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.1745, allocations: 10.28 kB / 446.4 MB, free: 43.32 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.1745, allocations: 0 / 446.4 MB, free: 43.32 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.126e-05/0.1746, allocations: 46.08 kB / 446.4 MB, free: 43.32 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003569/0.1749, allocations: 411.7 kB / 446.8 MB, free: 43.04 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002367/0.1752, allocations: 122.4 kB / 446.9 MB, free: 42.99 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.433e-05/0.1752, allocations: 47.75 kB / 447 MB, free: 42.97 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.337e-05/0.1752, allocations: 0 / 447 MB, free: 42.97 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001384/0.1754, allocations: 131.7 kB / 447.1 MB, free: 42.91 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 9.72e-07/0.1754, allocations: 0 / 447.1 MB, free: 42.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=22): time 0.0007795/0.1762, allocations: 0.5107 MB / 447.6 MB, free: 42.79 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.035e-05/0.1762, allocations: 79.73 kB / 447.7 MB, free: 42.69 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002536/0.1765, allocations: 460.8 kB / 448.1 MB, free: 42.58 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.254e-05/0.1765, allocations: 32.48 kB / 448.2 MB, free: 42.55 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.917e-05/0.1765, allocations: 161.5 kB / 448.3 MB, free: 42.47 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.747e-05/0.1766, allocations: 75.78 kB / 448.4 MB, free: 42.42 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.214e-05/0.1766, allocations: 43.77 kB / 448.4 MB, free: 42.41 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.812e-05/0.1767, allocations: 349.4 kB / 448.8 MB, free: 42.09 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.292e-05/0.1767, allocations: 58.75 kB / 448.8 MB, free: 42.09 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.956e-05/0.1768, allocations: 94.27 kB / 448.9 MB, free: 42.06 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001523/0.177, allocations: 164.6 kB / 449.1 MB, free: 42.03 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.177, allocations: 0 / 449.1 MB, free: 42.03 MB / 410.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002163/0.1772, allocations: 240.9 kB / 449.3 MB, free: 41.98 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.1772, allocations: 9.281 kB / 449.3 MB, free: 41.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.1772, allocations: 3.125 kB / 449.3 MB, free: 41.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.1772, allocations: 0 / 449.3 MB, free: 41.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.447e-05/0.1773, allocations: 48.19 kB / 449.4 MB, free: 41.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.1773, allocations: 6.312 kB / 449.4 MB, free: 41.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.701e-05/0.1774, allocations: 18.81 kB / 449.4 MB, free: 41.97 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.207e-06/0.1774, allocations: 5.531 kB / 449.4 MB, free: 41.97 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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 9.12e-05/0.1775, allocations: 165.8 kB / 449.6 MB, free: 41.86 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.332e-05/0.1775, allocations: 40.39 kB / 449.6 MB, free: 41.84 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002963/0.1778, allocations: 283.6 kB / 449.9 MB, free: 41.8 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.1778, allocations: 2.844 kB / 449.9 MB, free: 41.8 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.1778, allocations: 6.906 kB / 449.9 MB, free: 41.79 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.1778, allocations: 3.938 kB / 449.9 MB, free: 41.79 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004694/0.1783, allocations: 0.6644 MB / 450.6 MB, free: 41.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.1783, allocations: 6.656 kB / 450.6 MB, free: 41.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.194e-05/0.1783, allocations: 35.75 kB / 450.6 MB, free: 41.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.1783, allocations: 2.844 kB / 450.6 MB, free: 41.38 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.116e-05/0.1783, allocations: 9.469 kB / 450.6 MB, free: 41.38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.1783, allocations: 2.719 kB / 450.6 MB, free: 41.38 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.1783, allocations: 4.125 kB / 450.6 MB, free: 41.37 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002289/0.1786, allocations: 444.5 kB / 451.1 MB, free: 41.06 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.045e-05/0.1786, allocations: 35.22 kB / 451.1 MB, free: 41.04 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.416e-05/0.1786, allocations: 6.75 kB / 451.1 MB, free: 41.04 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.073e-05/0.1787, allocations: 13.05 kB / 451.1 MB, free: 41.04 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.139e-05/0.1787, allocations: 17.77 kB / 451.1 MB, free: 41.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.918e-05/0.1787, allocations: 15.66 kB / 451.2 MB, free: 41.03 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001657/0.1789, allocations: 340.6 kB / 451.5 MB, free: 40.89 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1789, allocations: 0 / 451.5 MB, free: 40.89 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002308/0.1791, allocations: 52.25 kB / 451.5 MB, free: 40.87 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0008645/0.18, allocations: 0.5563 MB / 452.1 MB, free: 40.68 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002249/0.1802, allocations: 156.9 kB / 452.2 MB, free: 40.65 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1802, allocations: 0 / 452.2 MB, free: 40.65 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.42e-05/0.1803, allocations: 81.69 kB / 452.3 MB, free: 40.63 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003436/0.1807, allocations: 67.75 kB / 452.4 MB, free: 40.61 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005908/0.1813, allocations: 0.5897 MB / 453 MB, free: 40.25 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.633e-05/0.1813, allocations: 170.3 kB / 453.1 MB, free: 40.16 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.764e-05/0.1814, allocations: 35.06 kB / 453.2 MB, free: 40.15 MB / 410.7 MB Notification: Performance of SimCode: time 7.32e-07/0.1814, allocations: 7.406 kB / 453.2 MB, free: 40.15 MB / 410.7 MB Notification: Performance of Templates: time 0.003663/0.1851, allocations: 3.901 MB / 457.1 MB, free: 39.64 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,t_new.y[1],d_t_new.y,t_new_2.y[1],d_t_new_2.y,d2_t_new.y,d2_t_new_2.y Variables in the result:d2_t_new.y,d2_t_new_2.y,d_t_new.y,d_t_new_2.y,t_new.y[1],t_new_2.y[1],time [Calling sys.exit(0), Time elapsed: 5.172656032256782]