Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88.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.001799/0.001799, allocations: 114.1 kB / 18.45 MB, free: 4.605 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.002261/0.002261, allocations: 208.3 kB / 21.41 MB, free: 1.648 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.516/1.516, 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.2401/0.2401, allocations: 46.92 MB / 357.8 MB, free: 10.28 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.Test88,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88") translateModel(ModelicaTest.Tables.CombiTimeTable.Test88,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001882/0.001882, allocations: 63.91 kB / 0.4922 GB, free: 7.316 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1399/0.1417, allocations: 65.99 MB / 0.5566 GB, free: 5.191 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test88): time 0.004012/0.1458, allocations: 2.282 MB / 0.5588 GB, free: 2.895 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002416/0.1482, allocations: 1.328 MB / 0.5601 GB, free: 1.562 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001498/0.1483, allocations: 11.88 kB / 0.5602 GB, free: 1.551 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004018/0.1487, allocations: 127.3 kB / 0.5603 GB, free: 1.426 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005341/0.1493, allocations: 242.9 kB / 0.5605 GB, free: 1.188 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003811/0.1496, allocations: 183.6 kB / 0.5607 GB, free: 1.008 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005454/0.1502, allocations: 466.5 kB / 0.5611 GB, free: 0.5508 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001482/0.1503, allocations: 53.03 kB / 0.5612 GB, free: 0.4961 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003833/0.1507, allocations: 307 kB / 0.5615 GB, free: 200 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002052/0.1509, allocations: 167.1 kB / 0.5616 GB, free: 32 kB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.771e-05/0.151, allocations: 20 kB / 0.5616 GB, free: 12 kB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001702/0.1511, allocations: 79.95 kB / 0.5617 GB, free: 15.93 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001549/0.1513, allocations: 131.5 kB / 0.5619 GB, free: 15.8 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001633/0.1515, allocations: 182.5 kB / 0.562 GB, free: 15.62 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005752/0.152, allocations: 445.6 kB / 0.5624 GB, free: 15.19 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.152, allocations: 0 / 0.5624 GB, free: 15.19 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.152, allocations: 0 / 0.5624 GB, free: 15.19 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.136e-06/0.152, allocations: 0 / 0.5624 GB, free: 15.19 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001188/0.1532, allocations: 0.8397 MB / 0.5633 GB, free: 14.29 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.1533, allocations: 13.11 kB / 0.5633 GB, free: 14.28 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001173/0.1534, allocations: 72.5 kB / 0.5634 GB, free: 14.21 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005841/0.154, allocations: 421 kB / 0.5638 GB, free: 13.76 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.1e-05/0.154, allocations: 8.375 kB / 0.5638 GB, free: 13.75 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.997e-05/0.154, allocations: 28.06 kB / 0.5638 GB, free: 13.72 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004008/0.1544, allocations: 193 kB / 0.564 GB, free: 13.52 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.025e-05/0.1545, allocations: 7.922 kB / 0.564 GB, free: 13.51 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.248e-05/0.1545, allocations: 8 kB / 0.564 GB, free: 13.5 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.126e-05/0.1545, allocations: 4 kB / 0.564 GB, free: 13.5 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002461/0.1547, allocations: 83.94 kB / 0.5641 GB, free: 13.41 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009538/0.1557, allocations: 0.8093 MB / 0.5649 GB, free: 12.54 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006733/0.1564, allocations: 226.5 kB / 0.5651 GB, free: 12.29 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001937/0.1566, allocations: 87.47 kB / 0.5652 GB, free: 12.19 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.716e-05/0.1566, allocations: 8.219 kB / 0.5652 GB, free: 12.18 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000365/0.157, allocations: 202.6 kB / 0.5654 GB, free: 11.96 MB / 430.1 MB Notification: Performance of pre-optimization done (n=28): time 4.999e-06/0.157, allocations: 3.984 kB / 0.5654 GB, free: 11.96 MB / 430.1 MB Notification: Performance of matching and sorting (n=44): time 0.002615/0.1596, allocations: 1.145 MB / 0.5665 GB, free: 10.8 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.312e-05/0.1597, allocations: 136.5 kB / 0.5666 GB, free: 10.64 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009149/0.1606, allocations: 0.8008 MB / 0.5674 GB, free: 9.828 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.121e-05/0.1606, allocations: 41.7 kB / 0.5674 GB, free: 9.781 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001924/0.1608, allocations: 233 kB / 0.5677 GB, free: 9.551 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000131/0.161, allocations: 150.8 kB / 0.5678 GB, free: 9.402 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001222/0.1611, allocations: 78.09 kB / 0.5679 GB, free: 9.316 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001901/0.1613, allocations: 378.7 kB / 0.5682 GB, free: 8.938 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002568/0.1615, allocations: 116.8 kB / 0.5683 GB, free: 8.824 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003038/0.1618, allocations: 183.2 kB / 0.5685 GB, free: 8.621 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005788/0.1624, allocations: 314.8 kB / 0.5688 GB, free: 8.289 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.1624, allocations: 4 kB / 0.5688 GB, free: 8.285 MB / 430.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0008018/0.1632, allocations: 436.9 kB / 0.5692 GB, free: 7.852 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.1632, allocations: 5.875 kB / 0.5692 GB, free: 7.848 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.1632, allocations: 4 kB / 0.5693 GB, free: 7.844 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/0.1632, allocations: 4 kB / 0.5693 GB, free: 7.84 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002894/0.1635, allocations: 87.89 kB / 0.5693 GB, free: 7.754 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/0.1635, allocations: 4 kB / 0.5693 GB, free: 7.75 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001561/0.1637, allocations: 28.05 kB / 0.5694 GB, free: 7.723 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.864e-05/0.1637, allocations: 16 kB / 0.5694 GB, free: 7.707 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0002738/0.164, allocations: 238 kB / 0.5696 GB, free: 7.465 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001005/0.1641, allocations: 75.47 kB / 0.5697 GB, free: 7.391 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001513/0.1643, allocations: 76.91 kB / 0.5698 GB, free: 7.309 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.135e-06/0.1643, allocations: 11.94 kB / 0.5698 GB, free: 7.297 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/0.1643, allocations: 0 / 0.5698 GB, free: 7.297 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/0.1643, allocations: 3.938 kB / 0.5698 GB, free: 7.293 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001779/0.1661, allocations: 1.307 MB / 0.571 GB, free: 5.902 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/0.1661, allocations: 4 kB / 0.5711 GB, free: 5.898 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000186/0.1663, allocations: 71.84 kB / 0.5711 GB, free: 5.828 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.672e-06/0.1663, allocations: 4 kB / 0.5711 GB, free: 5.824 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.846e-05/0.1663, allocations: 12 kB / 0.5711 GB, free: 5.812 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.368e-06/0.1663, allocations: 7.984 kB / 0.5711 GB, free: 5.805 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.002e-06/0.1663, allocations: 4 kB / 0.5711 GB, free: 5.801 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009984/0.1673, allocations: 0.8012 MB / 0.5719 GB, free: 4.953 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001953/0.1675, allocations: 172.6 kB / 0.5721 GB, free: 4.766 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.039e-05/0.1676, allocations: 19.94 kB / 0.5721 GB, free: 4.746 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002816/0.1678, allocations: 15.98 kB / 0.5721 GB, free: 4.73 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.171e-05/0.1679, allocations: 43.83 kB / 0.5722 GB, free: 4.688 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.474e-05/0.168, allocations: 27.98 kB / 0.5722 GB, free: 4.66 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006755/0.1687, allocations: 0.5771 MB / 0.5728 GB, free: 4.09 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1687, allocations: 0 / 0.5728 GB, free: 4.09 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005419/0.1692, allocations: 87.92 kB / 0.5728 GB, free: 4.004 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.00204/0.1712, allocations: 0.529 MB / 0.5734 GB, free: 3.68 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000677/0.1719, allocations: 292.1 kB / 0.5736 GB, free: 3.395 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1719, allocations: 0 / 0.5736 GB, free: 3.395 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003088/0.1722, allocations: 147.7 kB / 0.5738 GB, free: 3.25 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009764/0.1732, allocations: 140 kB / 0.5739 GB, free: 3.121 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001689/0.1749, allocations: 1.122 MB / 0.575 GB, free: 1.934 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005588/0.1755, allocations: 0.8889 MB / 0.5759 GB, free: 1.023 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001292/0.1756, allocations: 55.42 kB / 0.5759 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1756, allocations: 0 / 0.5759 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of Templates: time 0.01058/0.1862, allocations: 6.519 MB / 0.5823 GB, free: 10.47 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test88/Test88.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88.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: 8.853813360008644]