Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.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.001765/0.001765, allocations: 119 kB / 18.46 MB, free: 4.613 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.002066/0.002066, allocations: 211.3 kB / 21.42 MB, free: 1.66 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.491/1.491, allocations: 230.6 MB / 254.8 MB, free: 15.25 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.2475/0.2475, allocations: 46.92 MB / 357.8 MB, free: 10.34 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.Test75,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.1.0_ModelicaTest.Tables.CombiTimeTable.Test75") translateModel(ModelicaTest.Tables.CombiTimeTable.Test75,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.1.0_ModelicaTest.Tables.CombiTimeTable.Test75") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001961/0.001961, allocations: 63.91 kB / 0.4922 GB, free: 7.395 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1546/0.1566, allocations: 65.99 MB / 0.5566 GB, free: 5.273 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.003562/0.1601, allocations: 1.933 MB / 0.5585 GB, free: 3.328 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002083/0.1622, allocations: 1.138 MB / 0.5596 GB, free: 2.184 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001091/0.1623, allocations: 4 kB / 0.5596 GB, free: 2.18 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005426/0.1629, allocations: 223.4 kB / 0.5598 GB, free: 1.961 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005651/0.1634, allocations: 219.2 kB / 0.56 GB, free: 1.746 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003564/0.1638, allocations: 115.6 kB / 0.5601 GB, free: 1.633 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004241/0.1642, allocations: 259.2 kB / 0.5604 GB, free: 1.379 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001677/0.1644, allocations: 17.69 kB / 0.5604 GB, free: 1.359 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002221/0.1646, allocations: 135.5 kB / 0.5605 GB, free: 1.227 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002495/0.1649, allocations: 167.4 kB / 0.5607 GB, free: 1.062 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.066e-05/0.1649, allocations: 12 kB / 0.5607 GB, free: 1.051 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000157/0.165, allocations: 63.97 kB / 0.5608 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001108/0.1652, allocations: 59.77 kB / 0.5608 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000116/0.1653, allocations: 95.23 kB / 0.5609 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004078/0.1657, allocations: 246.8 kB / 0.5612 GB, free: 0.5938 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.1657, allocations: 0 / 0.5612 GB, free: 0.5938 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.445e-06/0.1657, allocations: 0 / 0.5612 GB, free: 0.5938 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.537e-05/0.1657, allocations: 0 / 0.5612 GB, free: 0.5938 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.001021/0.1667, allocations: 0.5748 MB / 0.5617 GB, free: 15.97 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.699e-05/0.1668, allocations: 12.03 kB / 0.5617 GB, free: 15.96 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.441e-05/0.1669, allocations: 32.7 kB / 0.5618 GB, free: 15.93 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005145/0.1674, allocations: 292.3 kB / 0.562 GB, free: 15.61 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.996e-05/0.1674, allocations: 384 / 0.562 GB, free: 15.61 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.662e-05/0.1674, allocations: 12.94 kB / 0.5621 GB, free: 15.59 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002688/0.1677, allocations: 107.3 kB / 0.5622 GB, free: 15.48 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.126e-05/0.1677, allocations: 7.875 kB / 0.5622 GB, free: 15.47 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.458e-05/0.1677, allocations: 0 / 0.5622 GB, free: 15.47 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.1677, allocations: 4 kB / 0.5622 GB, free: 15.46 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001456/0.1679, allocations: 47.95 kB / 0.5622 GB, free: 15.42 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006285/0.1685, allocations: 484.7 kB / 0.5627 GB, free: 14.89 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003967/0.1689, allocations: 113.2 kB / 0.5628 GB, free: 14.76 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001087/0.169, allocations: 45.77 kB / 0.5628 GB, free: 14.71 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.478e-05/0.169, allocations: 4 kB / 0.5628 GB, free: 14.71 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002467/0.1693, allocations: 117 kB / 0.5629 GB, free: 14.57 MB / 430.1 MB Notification: Performance of pre-optimization done (n=14): time 1.523e-06/0.1693, allocations: 0 / 0.5629 GB, free: 14.57 MB / 430.1 MB Notification: Performance of matching and sorting (n=22): time 0.001434/0.1707, allocations: 0.5016 MB / 0.5634 GB, free: 14.07 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.488e-05/0.1708, allocations: 89.05 kB / 0.5635 GB, free: 13.96 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004863/0.1713, allocations: 444.5 kB / 0.5639 GB, free: 13.51 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.028e-05/0.1713, allocations: 33.7 kB / 0.564 GB, free: 13.47 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000123/0.1715, allocations: 160.4 kB / 0.5641 GB, free: 13.31 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.458e-05/0.1715, allocations: 71.42 kB / 0.5642 GB, free: 13.24 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.8e-05/0.1716, allocations: 45.72 kB / 0.5642 GB, free: 13.19 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001671/0.1718, allocations: 342.8 kB / 0.5646 GB, free: 12.84 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001275/0.1719, allocations: 63.91 kB / 0.5646 GB, free: 12.78 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001475/0.172, allocations: 93.53 kB / 0.5647 GB, free: 12.68 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002828/0.1723, allocations: 163.5 kB / 0.5649 GB, free: 12.51 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.133e-06/0.1723, allocations: 0 / 0.5649 GB, free: 12.51 MB / 430.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004123/0.1727, allocations: 237.2 kB / 0.5651 GB, free: 12.27 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.1728, allocations: 4 kB / 0.5651 GB, free: 12.27 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.1728, allocations: 0 / 0.5651 GB, free: 12.27 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.337e-05/0.1728, allocations: 11.92 kB / 0.5651 GB, free: 12.25 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001486/0.1729, allocations: 43.97 kB / 0.5652 GB, free: 12.21 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.173, allocations: 240 / 0.5652 GB, free: 12.21 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.064e-05/0.173, allocations: 12.06 kB / 0.5652 GB, free: 12.2 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.818e-05/0.1731, allocations: 12 kB / 0.5652 GB, free: 12.19 MB / 430.1 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 0.0001727/0.1732, allocations: 165.8 kB / 0.5653 GB, free: 12.02 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.054e-05/0.1733, allocations: 31.75 kB / 0.5654 GB, free: 11.98 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.366e-05/0.1734, allocations: 50.78 kB / 0.5654 GB, free: 11.93 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.1734, allocations: 3.938 kB / 0.5654 GB, free: 11.93 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.1734, allocations: 0 / 0.5654 GB, free: 11.93 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.762e-06/0.1734, allocations: 4 kB / 0.5654 GB, free: 11.93 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000976/0.1744, allocations: 0.7389 MB / 0.5661 GB, free: 11.12 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.1744, allocations: 0 / 0.5661 GB, free: 11.12 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.769e-05/0.1745, allocations: 39.86 kB / 0.5662 GB, free: 11.08 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/0.1745, allocations: 4 kB / 0.5662 GB, free: 11.07 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.707e-05/0.1745, allocations: 4 kB / 0.5662 GB, free: 11.07 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.1745, allocations: 4.125 kB / 0.5662 GB, free: 11.07 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/0.1745, allocations: 4 kB / 0.5662 GB, free: 11.06 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005257/0.175, allocations: 426.8 kB / 0.5666 GB, free: 10.62 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.581e-05/0.1751, allocations: 104.9 kB / 0.5667 GB, free: 10.5 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.225e-05/0.1751, allocations: 11.98 kB / 0.5667 GB, free: 10.48 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001367/0.1753, allocations: 8 kB / 0.5667 GB, free: 10.48 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.411e-05/0.1753, allocations: 23.92 kB / 0.5667 GB, free: 10.45 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.879e-05/0.1754, allocations: 11.98 kB / 0.5668 GB, free: 10.44 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003521/0.1757, allocations: 335 kB / 0.5671 GB, free: 10.11 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1757, allocations: 0 / 0.5671 GB, free: 10.11 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003706/0.1761, allocations: 51.94 kB / 0.5671 GB, free: 10.06 MB / 430.1 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 (22): * Single equations (assignments): 18 * 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.002031/0.1781, allocations: 0.5158 MB / 0.5676 GB, free: 9.754 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0004006/0.1785, allocations: 150.4 kB / 0.5678 GB, free: 9.609 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.1785, allocations: 0 / 0.5678 GB, free: 9.609 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00016/0.1787, allocations: 76.28 kB / 0.5678 GB, free: 9.535 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006044/0.1793, allocations: 69.06 kB / 0.5679 GB, free: 9.473 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001011/0.1803, allocations: 0.5916 MB / 0.5685 GB, free: 8.836 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004209/0.1807, allocations: 0.7807 MB / 0.5692 GB, free: 8.027 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.588e-05/0.1808, allocations: 27.42 kB / 0.5693 GB, free: 8 MB / 430.1 MB Notification: Performance of SimCode: time 7.61e-07/0.1808, allocations: 0 / 0.5693 GB, free: 8 MB / 430.1 MB Notification: Performance of Templates: time 0.00712/0.1879, allocations: 3.782 MB / 0.573 GB, free: 4.23 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.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: 8.401967788027832]