Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48.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.001345/0.001345, allocations: 111.5 kB / 18.46 MB, free: 4.691 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.001365/0.001365, allocations: 212.3 kB / 21.42 MB, free: 1.738 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.568/1.568, 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.2574/0.2574, allocations: 46.92 MB / 357.8 MB, free: 10.3 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.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48") translateModel(ModelicaTest.Tables.CombiTimeTable.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00203/0.00203, allocations: 67.91 kB / 0.4922 GB, free: 7.355 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1585/0.1605, allocations: 66 MB / 0.5566 GB, free: 5.223 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.004603/0.1651, allocations: 1.733 MB / 0.5583 GB, free: 3.477 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002847/0.168, allocations: 1.038 MB / 0.5593 GB, free: 2.434 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001545/0.1681, allocations: 0 / 0.5593 GB, free: 2.434 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004343/0.1685, allocations: 51.77 kB / 0.5594 GB, free: 2.383 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004499/0.169, allocations: 103.5 kB / 0.5595 GB, free: 2.281 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002792/0.1693, allocations: 83.66 kB / 0.5595 GB, free: 2.199 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002139/0.1695, allocations: 99.69 kB / 0.5596 GB, free: 2.102 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001314/0.1696, allocations: 12 kB / 0.5596 GB, free: 2.09 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001239/0.1697, allocations: 55.77 kB / 0.5597 GB, free: 2.035 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.955e-05/0.1698, allocations: 27.8 kB / 0.5597 GB, free: 2.008 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.197e-05/0.1699, allocations: 4 kB / 0.5597 GB, free: 2.004 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001218/0.17, allocations: 43.98 kB / 0.5598 GB, free: 1.961 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.582e-05/0.1701, allocations: 35.83 kB / 0.5598 GB, free: 1.926 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.224e-05/0.1702, allocations: 39.69 kB / 0.5598 GB, free: 1.887 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003088/0.1705, allocations: 135.4 kB / 0.56 GB, free: 1.754 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.1705, allocations: 0 / 0.56 GB, free: 1.754 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.143e-06/0.1705, allocations: 0 / 0.56 GB, free: 1.754 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.247e-06/0.1705, allocations: 0 / 0.56 GB, free: 1.754 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0009616/0.1714, allocations: 458.3 kB / 0.5604 GB, free: 1.258 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.698e-05/0.1715, allocations: 8.031 kB / 0.5604 GB, free: 1.25 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.003e-05/0.1716, allocations: 24.83 kB / 0.5604 GB, free: 1.227 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000572/0.1722, allocations: 221.1 kB / 0.5607 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.603e-05/0.1722, allocations: 384 / 0.5607 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.503e-05/0.1722, allocations: 12.06 kB / 0.5607 GB, free: 0.957 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002341/0.1725, allocations: 53.67 kB / 0.5607 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.244e-05/0.1725, allocations: 0 / 0.5607 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.653e-05/0.1725, allocations: 0 / 0.5607 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.829e-06/0.1725, allocations: 4 kB / 0.5607 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001108/0.1726, allocations: 23.92 kB / 0.5607 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006275/0.1732, allocations: 308.8 kB / 0.561 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002053/0.1734, allocations: 50.69 kB / 0.5611 GB, free: 472 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.858e-05/0.1735, allocations: 24.84 kB / 0.5611 GB, free: 444 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.712e-05/0.1735, allocations: 0 / 0.5611 GB, free: 444 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002171/0.1738, allocations: 71.33 kB / 0.5612 GB, free: 360 kB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 2.033e-06/0.1738, allocations: 0 / 0.5612 GB, free: 360 kB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007533/0.1745, allocations: 181.3 kB / 0.5614 GB, free: 172 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.483e-05/0.1746, allocations: 51.41 kB / 0.5614 GB, free: 108 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003709/0.1749, allocations: 270.8 kB / 0.5617 GB, free: 15.83 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.148e-05/0.175, allocations: 33.7 kB / 0.5617 GB, free: 15.79 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001145/0.1751, allocations: 112.1 kB / 0.5618 GB, free: 15.68 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.755e-05/0.1751, allocations: 27.78 kB / 0.5618 GB, free: 15.65 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.469e-05/0.1752, allocations: 21.72 kB / 0.5618 GB, free: 15.62 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002298/0.1754, allocations: 338.7 kB / 0.5622 GB, free: 15.28 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.747e-05/0.1755, allocations: 20 kB / 0.5622 GB, free: 15.26 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001197/0.1756, allocations: 33.7 kB / 0.5622 GB, free: 15.22 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001343/0.1758, allocations: 65.64 kB / 0.5623 GB, free: 15.15 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.1758, allocations: 0 / 0.5623 GB, free: 15.15 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002351/0.176, allocations: 109.5 kB / 0.5624 GB, free: 15.04 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.745e-05/0.176, allocations: 7.984 kB / 0.5624 GB, free: 15.03 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.176, allocations: 0 / 0.5624 GB, free: 15.03 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.388e-05/0.1761, allocations: 4 kB / 0.5624 GB, free: 15.03 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001281/0.1762, allocations: 19.92 kB / 0.5624 GB, free: 15.01 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.1762, allocations: 0 / 0.5624 GB, free: 15.01 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.421e-05/0.1763, allocations: 12.34 kB / 0.5624 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.921e-05/0.1763, allocations: 3.984 kB / 0.5624 GB, free: 14.99 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001527/0.1764, allocations: 136 kB / 0.5626 GB, free: 14.85 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.206e-05/0.1765, allocations: 15.91 kB / 0.5626 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.396e-05/0.1765, allocations: 21.41 kB / 0.5626 GB, free: 14.81 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.1765, allocations: 4 kB / 0.5626 GB, free: 14.81 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.204e-06/0.1766, allocations: 192 / 0.5626 GB, free: 14.81 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.049e-05/0.1766, allocations: 7.922 kB / 0.5626 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006035/0.1772, allocations: 411.2 kB / 0.563 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.1772, allocations: 0 / 0.563 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.385e-05/0.1772, allocations: 11.94 kB / 0.563 GB, free: 14.33 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.1772, allocations: 0 / 0.563 GB, free: 14.33 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.63e-05/0.1772, allocations: 7.938 kB / 0.563 GB, free: 14.32 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.1772, allocations: 4 kB / 0.563 GB, free: 14.32 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1772, allocations: 0 / 0.563 GB, free: 14.32 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002972/0.1775, allocations: 204.5 kB / 0.5632 GB, free: 14.1 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.809e-05/0.1776, allocations: 97 kB / 0.5633 GB, free: 13.98 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.121e-05/0.1776, allocations: 7.938 kB / 0.5633 GB, free: 13.98 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.848e-05/0.1777, allocations: 0 / 0.5633 GB, free: 13.98 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.684e-05/0.1777, allocations: 7.984 kB / 0.5633 GB, free: 13.97 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.651e-05/0.1778, allocations: 4 kB / 0.5633 GB, free: 13.96 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002089/0.178, allocations: 204.6 kB / 0.5635 GB, free: 13.77 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.178, allocations: 3.938 kB / 0.5635 GB, free: 13.76 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000265/0.1782, allocations: 31.92 kB / 0.5636 GB, free: 13.73 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001818/0.1801, allocations: 453.3 kB / 0.564 GB, free: 13.46 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002029/0.1803, allocations: 51.98 kB / 0.564 GB, free: 13.41 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.1803, allocations: 3.938 kB / 0.564 GB, free: 13.41 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.745e-05/0.1803, allocations: 27.98 kB / 0.5641 GB, free: 13.38 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003563/0.1807, allocations: 33.84 kB / 0.5641 GB, free: 13.36 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007126/0.1814, allocations: 333.2 kB / 0.5644 GB, free: 13 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003842/0.1818, allocations: 0.7274 MB / 0.5651 GB, free: 12.24 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.497e-05/0.1818, allocations: 19.42 kB / 0.5652 GB, free: 12.22 MB / 430.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1818, allocations: 0 / 0.5652 GB, free: 12.22 MB / 430.1 MB Notification: Performance of Templates: time 0.004513/0.1863, allocations: 2.109 MB / 0.5672 GB, free: 10.12 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test48/Test48.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48.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.004658767982619]