Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001501/0.001501, allocations: 116.5 kB / 18.45 MB, free: 4.562 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.00162/0.00162, allocations: 215.2 kB / 21.42 MB, free: 1.605 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.533/1.533, allocations: 230.6 MB / 254.8 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.2527/0.2527, allocations: 46.93 MB / 357.8 MB, free: 10.38 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.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.1.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.1.0_ModelicaTest.Tables.CombiTimeTable.Test79") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002034/0.002034, allocations: 75.91 kB / 0.4922 GB, free: 7.402 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1398/0.1418, allocations: 65.99 MB / 0.5566 GB, free: 5.285 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.00403/0.1458, allocations: 1.937 MB / 0.5585 GB, free: 3.336 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00227/0.1481, allocations: 1.134 MB / 0.5596 GB, free: 2.195 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001764/0.1483, allocations: 4 kB / 0.5596 GB, free: 2.191 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005803/0.1489, allocations: 227.4 kB / 0.5598 GB, free: 1.969 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005887/0.1495, allocations: 215.2 kB / 0.56 GB, free: 1.758 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003739/0.1498, allocations: 115.6 kB / 0.5601 GB, free: 1.645 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004454/0.1503, allocations: 259.2 kB / 0.5604 GB, free: 1.391 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001455/0.1504, allocations: 21.67 kB / 0.5604 GB, free: 1.367 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002574/0.1507, allocations: 131.5 kB / 0.5605 GB, free: 1.238 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002897/0.151, allocations: 171.4 kB / 0.5607 GB, free: 1.07 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.906e-05/0.151, allocations: 8 kB / 0.5607 GB, free: 1.062 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001708/0.1512, allocations: 63.92 kB / 0.5608 GB, free: 1 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001107/0.1513, allocations: 59.75 kB / 0.5608 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001177/0.1514, allocations: 91.3 kB / 0.5609 GB, free: 0.8516 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004603/0.1519, allocations: 246.8 kB / 0.5611 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.1519, allocations: 0 / 0.5611 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1519, allocations: 3.938 kB / 0.5612 GB, free: 0.6055 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.143e-05/0.1519, allocations: 0 / 0.5612 GB, free: 0.6055 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.0009896/0.1529, allocations: 0.5787 MB / 0.5617 GB, free: 15.98 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.1529, allocations: 11.97 kB / 0.5617 GB, free: 15.96 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.142e-05/0.153, allocations: 32.7 kB / 0.5618 GB, free: 15.93 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005038/0.1535, allocations: 284.4 kB / 0.562 GB, free: 15.62 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.22e-05/0.1535, allocations: 4.375 kB / 0.562 GB, free: 15.62 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.041e-05/0.1536, allocations: 8.938 kB / 0.562 GB, free: 15.61 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002949/0.1539, allocations: 117.1 kB / 0.5622 GB, free: 15.48 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.575e-05/0.1539, allocations: 3.938 kB / 0.5622 GB, free: 15.48 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.208e-05/0.1539, allocations: 7.984 kB / 0.5622 GB, free: 15.47 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.014e-05/0.1539, allocations: 0 / 0.5622 GB, free: 15.47 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001574/0.1541, allocations: 43.97 kB / 0.5622 GB, free: 15.43 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007399/0.1548, allocations: 484.7 kB / 0.5627 GB, free: 14.9 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004578/0.1553, allocations: 117.2 kB / 0.5628 GB, free: 14.77 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001211/0.1554, allocations: 41.77 kB / 0.5628 GB, free: 14.72 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.545e-05/0.1554, allocations: 7.984 kB / 0.5628 GB, free: 14.71 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002418/0.1557, allocations: 117.1 kB / 0.5629 GB, free: 14.58 MB / 430.1 MB Notification: Performance of pre-optimization done (n=14): time 1.373e-06/0.1557, allocations: 0 / 0.5629 GB, free: 14.58 MB / 430.1 MB Notification: Performance of matching and sorting (n=22): time 0.0015/0.1572, allocations: 0.5092 MB / 0.5634 GB, free: 14.07 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.721e-05/0.1573, allocations: 85.09 kB / 0.5635 GB, free: 13.96 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005309/0.1578, allocations: 444.5 kB / 0.5639 GB, free: 13.52 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.432e-05/0.1578, allocations: 33.7 kB / 0.564 GB, free: 13.48 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001495/0.158, allocations: 164.4 kB / 0.5641 GB, free: 13.31 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.749e-05/0.158, allocations: 67.42 kB / 0.5642 GB, free: 13.24 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.569e-05/0.1581, allocations: 45.7 kB / 0.5642 GB, free: 13.19 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001902/0.1583, allocations: 342.8 kB / 0.5646 GB, free: 12.85 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000142/0.1585, allocations: 55.97 kB / 0.5646 GB, free: 12.79 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001648/0.1586, allocations: 105.5 kB / 0.5647 GB, free: 12.68 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003052/0.1589, allocations: 159.5 kB / 0.5649 GB, free: 12.51 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.1589, allocations: 0 / 0.5649 GB, free: 12.51 MB / 430.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004564/0.1594, allocations: 237.2 kB / 0.5651 GB, free: 12.27 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.1594, allocations: 7.984 kB / 0.5651 GB, free: 12.27 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.1594, allocations: 4 kB / 0.5651 GB, free: 12.26 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.043e-05/0.1594, allocations: 3.938 kB / 0.5651 GB, free: 12.26 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001516/0.1596, allocations: 39.98 kB / 0.5652 GB, free: 12.22 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.827e-06/0.1596, allocations: 3.938 kB / 0.5652 GB, free: 12.21 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001036/0.1597, allocations: 8 kB / 0.5652 GB, free: 12.21 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.135e-05/0.1597, allocations: 15.98 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.000178/0.1599, allocations: 165.9 kB / 0.5653 GB, free: 12.02 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.696e-05/0.16, allocations: 31.81 kB / 0.5654 GB, free: 11.99 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.002e-05/0.16, allocations: 38.81 kB / 0.5654 GB, free: 11.95 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/0.16, allocations: 11.88 kB / 0.5654 GB, free: 11.94 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.631e-05/0.1601, allocations: 0 / 0.5654 GB, free: 11.94 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.1601, allocations: 0 / 0.5654 GB, free: 11.94 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001053/0.1611, allocations: 0.7428 MB / 0.5661 GB, free: 11.12 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.1611, allocations: 0 / 0.5661 GB, free: 11.12 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.788e-05/0.1612, allocations: 35.92 kB / 0.5662 GB, free: 11.09 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.013e-06/0.1612, allocations: 8 kB / 0.5662 GB, free: 11.08 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.011e-05/0.1612, allocations: 11.92 kB / 0.5662 GB, free: 11.07 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.889e-06/0.1612, allocations: 4 kB / 0.5662 GB, free: 11.07 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.1612, allocations: 0 / 0.5662 GB, free: 11.07 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005675/0.1618, allocations: 422 kB / 0.5666 GB, free: 10.62 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.982e-05/0.1619, allocations: 112.9 kB / 0.5667 GB, free: 10.5 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.344e-05/0.162, allocations: 8 kB / 0.5667 GB, free: 10.49 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000142/0.1621, allocations: 4 kB / 0.5667 GB, free: 10.48 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.802e-05/0.1622, allocations: 27.91 kB / 0.5667 GB, free: 10.46 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.63e-05/0.1622, allocations: 8 kB / 0.5668 GB, free: 10.45 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003772/0.1626, allocations: 335 kB / 0.5671 GB, free: 10.12 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1626, allocations: 0 / 0.5671 GB, free: 10.12 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004002/0.163, allocations: 51.92 kB / 0.5671 GB, free: 10.07 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.002044/0.165, allocations: 0.5151 MB / 0.5676 GB, free: 9.766 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0004192/0.1654, allocations: 150.1 kB / 0.5678 GB, free: 9.621 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.1654, allocations: 0 / 0.5678 GB, free: 9.621 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001723/0.1656, allocations: 76.03 kB / 0.5678 GB, free: 9.547 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006259/0.1662, allocations: 67.95 kB / 0.5679 GB, free: 9.484 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001133/0.1674, allocations: 0.5958 MB / 0.5685 GB, free: 8.844 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004991/0.1679, allocations: 0.7792 MB / 0.5693 GB, free: 8.035 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.856e-05/0.168, allocations: 31.42 kB / 0.5693 GB, free: 8.004 MB / 430.1 MB Notification: Performance of SimCode: time 5.91e-07/0.168, allocations: 0 / 0.5693 GB, free: 8.004 MB / 430.1 MB Notification: Performance of Templates: time 0.007639/0.1756, allocations: 3.779 MB / 0.573 GB, free: 4.238 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 8.190961641987087]