Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67.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.001816/0.001816, allocations: 115.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.002134/0.002134, allocations: 207.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.588/1.588, allocations: 230.6 MB / 254.8 MB, free: 15.26 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.2538/0.2538, allocations: 46.92 MB / 357.8 MB, free: 10.35 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.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_s.y.1.|d_t_s.y|t_min.y.1.|d_t_min.y|t_h.y.1.|d_t_h.y|t_d.y.1.|d_t_d.y|t_ms.y.1.|d_t_ms.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67") translateModel(ModelicaTest.Tables.CombiTimeTable.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_s.y.1.|d_t_s.y|t_min.y.1.|d_t_min.y|t_h.y.1.|d_t_h.y|t_d.y.1.|d_t_d.y|t_ms.y.1.|d_t_ms.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002657/0.002657, allocations: 71.89 kB / 0.4921 GB, free: 7.426 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1375/0.1401, allocations: 65.99 MB / 0.5566 GB, free: 5.301 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.004342/0.1445, allocations: 2.368 MB / 0.5589 GB, free: 2.918 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002841/0.1473, allocations: 1.406 MB / 0.5603 GB, free: 1.508 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003188/0.1476, allocations: 7.938 kB / 0.5603 GB, free: 1.5 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006963/0.1483, allocations: 298.9 kB / 0.5606 GB, free: 1.207 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008446/0.1492, allocations: 342.6 kB / 0.5609 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005535/0.1497, allocations: 215.5 kB / 0.5611 GB, free: 0.6602 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007008/0.1504, allocations: 0.553 MB / 0.5616 GB, free: 108 kB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001466/0.1506, allocations: 45 kB / 0.5617 GB, free: 60 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003907/0.151, allocations: 251.1 kB / 0.5619 GB, free: 15.81 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003469/0.1513, allocations: 290.8 kB / 0.5622 GB, free: 15.52 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.07e-05/0.1514, allocations: 24 kB / 0.5622 GB, free: 15.5 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001388/0.1515, allocations: 59.98 kB / 0.5623 GB, free: 15.44 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001391/0.1516, allocations: 115.5 kB / 0.5624 GB, free: 15.33 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001769/0.1518, allocations: 178.6 kB / 0.5626 GB, free: 15.15 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005407/0.1524, allocations: 433.6 kB / 0.563 GB, free: 14.73 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1524, allocations: 4 kB / 0.563 GB, free: 14.73 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1524, allocations: 0 / 0.563 GB, free: 14.73 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.843e-06/0.1524, allocations: 0 / 0.563 GB, free: 14.73 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001264/0.1536, allocations: 0.8169 MB / 0.5638 GB, free: 13.85 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.1537, allocations: 8.031 kB / 0.5638 GB, free: 13.84 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001106/0.1538, allocations: 60.56 kB / 0.5638 GB, free: 13.79 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006138/0.1544, allocations: 428.3 kB / 0.5642 GB, free: 13.32 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.273e-05/0.1544, allocations: 12.38 kB / 0.5643 GB, free: 13.31 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.883e-05/0.1545, allocations: 20.11 kB / 0.5643 GB, free: 13.29 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004021/0.1549, allocations: 201.8 kB / 0.5645 GB, free: 13.07 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/0.1549, allocations: 4 kB / 0.5645 GB, free: 13.07 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.242e-05/0.1549, allocations: 15.86 kB / 0.5645 GB, free: 13.05 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.1549, allocations: 4 kB / 0.5645 GB, free: 13.05 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002709/0.1552, allocations: 91.88 kB / 0.5646 GB, free: 12.96 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009627/0.1561, allocations: 0.8683 MB / 0.5654 GB, free: 12.03 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006536/0.1568, allocations: 273.3 kB / 0.5657 GB, free: 11.71 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002146/0.157, allocations: 92.25 kB / 0.5658 GB, free: 11.61 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.447e-05/0.157, allocations: 7.984 kB / 0.5658 GB, free: 11.6 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004291/0.1575, allocations: 235.4 kB / 0.566 GB, free: 11.34 MB / 430.1 MB Notification: Performance of pre-optimization done (n=30): time 1.523e-06/0.1575, allocations: 0 / 0.566 GB, free: 11.34 MB / 430.1 MB Notification: Performance of matching and sorting (n=40): time 0.002142/0.1596, allocations: 1.037 MB / 0.567 GB, free: 10.3 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001119/0.1597, allocations: 166.2 kB / 0.5672 GB, free: 10.1 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007877/0.1605, allocations: 0.6552 MB / 0.5678 GB, free: 9.43 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.797e-05/0.1605, allocations: 37.7 kB / 0.5679 GB, free: 9.387 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001927/0.1607, allocations: 237 kB / 0.5681 GB, free: 9.152 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001234/0.1609, allocations: 130.9 kB / 0.5682 GB, free: 9.023 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001045/0.161, allocations: 70.14 kB / 0.5683 GB, free: 8.949 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001937/0.1612, allocations: 378.8 kB / 0.5686 GB, free: 8.57 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002347/0.1614, allocations: 100.8 kB / 0.5687 GB, free: 8.473 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003037/0.1617, allocations: 188.8 kB / 0.5689 GB, free: 8.258 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000551/0.1622, allocations: 300.8 kB / 0.5692 GB, free: 7.934 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1622, allocations: 0 / 0.5692 GB, free: 7.934 MB / 430.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007624/0.163, allocations: 401.1 kB / 0.5696 GB, free: 7.535 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.163, allocations: 11.98 kB / 0.5696 GB, free: 7.523 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.163, allocations: 4 kB / 0.5696 GB, free: 7.52 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.163, allocations: 4.156 kB / 0.5696 GB, free: 7.516 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003045/0.1634, allocations: 87.84 kB / 0.5697 GB, free: 7.43 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/0.1634, allocations: 4 kB / 0.5697 GB, free: 7.426 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001867/0.1635, allocations: 15.98 kB / 0.5697 GB, free: 7.41 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.027e-05/0.1636, allocations: 20 kB / 0.5697 GB, free: 7.391 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.t_s.nextTimeEvent,$whenCondition5,t_s.nextTimeEventScaled,$PRE.t_s.nextTimeEventScaled,t_s.nextTimeEvent,$PRE.t_min.nextTimeEvent,$whenCondition4,t_min.nextTimeEventScaled,$PRE.t_min.nextTimeEventScaled,t_min.nextTimeEvent,$PRE.t_h.nextTimeEvent,$whenCondition3,t_h.nextTimeEventScaled,$PRE.t_h.nextTimeEventScaled,t_h.nextTimeEvent,$PRE.t_d.nextTimeEvent,$whenCondition2,t_d.nextTimeEventScaled,$PRE.t_d.nextTimeEventScaled,t_d.nextTimeEvent,$PRE.t_ms.nextTimeEvent,$whenCondition1,t_ms.nextTimeEventScaled,$PRE.t_ms.nextTimeEventScaled,t_ms.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * 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.0002528/0.1638, allocations: 210.5 kB / 0.5699 GB, free: 7.18 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001075/0.1639, allocations: 71.5 kB / 0.57 GB, free: 7.109 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001261/0.1641, allocations: 68.41 kB / 0.5701 GB, free: 7.039 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/0.1641, allocations: 8 kB / 0.5701 GB, free: 7.031 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/0.1641, allocations: 0 / 0.5701 GB, free: 7.031 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.214e-06/0.1641, allocations: 4 kB / 0.5701 GB, free: 7.027 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001687/0.1658, allocations: 1.273 MB / 0.5713 GB, free: 5.68 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.1658, allocations: 0 / 0.5713 GB, free: 5.68 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001405/0.1659, allocations: 55.86 kB / 0.5714 GB, free: 5.625 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.637e-06/0.1659, allocations: 7.984 kB / 0.5714 GB, free: 5.617 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.808e-05/0.166, allocations: 12.69 kB / 0.5714 GB, free: 5.605 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.27e-05/0.166, allocations: 7.938 kB / 0.5714 GB, free: 5.598 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.166, allocations: 8.094 kB / 0.5714 GB, free: 5.59 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009625/0.1669, allocations: 0.8284 MB / 0.5722 GB, free: 4.727 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001123/0.167, allocations: 128.7 kB / 0.5723 GB, free: 4.582 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.903e-05/0.1671, allocations: 19.92 kB / 0.5723 GB, free: 4.562 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000331/0.1674, allocations: 19.98 kB / 0.5724 GB, free: 4.543 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.552e-05/0.1675, allocations: 31.97 kB / 0.5724 GB, free: 4.512 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.929e-05/0.1676, allocations: 19.98 kB / 0.5724 GB, free: 4.492 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005614/0.1681, allocations: 494.8 kB / 0.5729 GB, free: 4.012 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1681, allocations: 0 / 0.5729 GB, free: 4.012 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005556/0.1687, allocations: 83.92 kB / 0.573 GB, free: 3.93 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled,$whenCondition2,t_d.nextTimeEvent,t_d.nextTimeEventScaled,$whenCondition3,t_h.nextTimeEvent,t_h.nextTimeEventScaled,$whenCondition4,t_min.nextTimeEvent,t_min.nextTimeEventScaled,$whenCondition5,t_s.nextTimeEvent,t_s.nextTimeEventScaled) * Number of discrete states: 10 (t_s.nextTimeEvent,t_s.nextTimeEventScaled,t_min.nextTimeEvent,t_min.nextTimeEventScaled,t_h.nextTimeEvent,t_h.nextTimeEventScaled,t_d.nextTimeEvent,t_d.nextTimeEventScaled,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.001765/0.1705, allocations: 497.2 kB / 0.5734 GB, free: 3.625 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006162/0.1711, allocations: 271.6 kB / 0.5737 GB, free: 3.359 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.1711, allocations: 0 / 0.5737 GB, free: 3.359 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003031/0.1714, allocations: 137.6 kB / 0.5738 GB, free: 3.227 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001048/0.1724, allocations: 150.1 kB / 0.574 GB, free: 3.094 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001466/0.1739, allocations: 0.9594 MB / 0.5749 GB, free: 2.074 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005196/0.1744, allocations: 0.8628 MB / 0.5758 GB, free: 1.18 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001256/0.1745, allocations: 55.42 kB / 0.5758 GB, free: 1.125 MB / 430.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1745, allocations: 0 / 0.5758 GB, free: 1.125 MB / 430.1 MB Notification: Performance of Templates: time 0.009866/0.1844, allocations: 6.586 MB / 0.5822 GB, free: 10.56 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test67/Test67.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67.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: 9.060742100991774]