Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test20.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.001475/0.001475, allocations: 123.4 kB / 17.79 MB, free: 5.227 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.001571/0.001571, allocations: 208.3 kB / 20.75 MB, free: 2.273 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.605/1.605, allocations: 230.6 MB / 254.1 MB, free: 15.08 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.3151/0.3151, allocations: 46.92 MB / 357.1 MB, free: 10.29 MB / 286.1 MB " [Timeout remaining time 179] 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.CombiTable1Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test20") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test20") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001953/0.001953, allocations: 67.89 kB / 0.4914 GB, free: 7.422 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1497/0.1517, allocations: 66 MB / 0.5559 GB, free: 5.301 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test20): time 0.003742/0.1554, allocations: 1.613 MB / 0.5574 GB, free: 3.676 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001956/0.1574, allocations: 1.175 MB / 0.5586 GB, free: 2.492 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.918e-05/0.1575, allocations: 4 kB / 0.5586 GB, free: 2.488 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002336/0.1577, allocations: 27.78 kB / 0.5586 GB, free: 2.461 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000298/0.158, allocations: 79.62 kB / 0.5587 GB, free: 2.383 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000302/0.1583, allocations: 111.6 kB / 0.5588 GB, free: 2.277 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001646/0.1585, allocations: 71.77 kB / 0.5589 GB, free: 2.207 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.1586, allocations: 11.98 kB / 0.5589 GB, free: 2.195 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.76e-05/0.1586, allocations: 27.92 kB / 0.5589 GB, free: 2.168 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000163/0.1588, allocations: 39.78 kB / 0.5589 GB, free: 2.129 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.927e-05/0.1588, allocations: 4 kB / 0.559 GB, free: 2.125 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001779/0.159, allocations: 99.92 kB / 0.559 GB, free: 2.027 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.173e-05/0.159, allocations: 11.92 kB / 0.5591 GB, free: 2.016 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.193e-05/0.1591, allocations: 23.81 kB / 0.5591 GB, free: 1.992 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002668/0.1593, allocations: 147.5 kB / 0.5592 GB, free: 1.848 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.1593, allocations: 0 / 0.5592 GB, free: 1.848 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1593, allocations: 0 / 0.5592 GB, free: 1.848 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.077e-05/0.1594, allocations: 0 / 0.5592 GB, free: 1.848 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006242/0.16, allocations: 406.8 kB / 0.5596 GB, free: 1.402 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.16, allocations: 8.031 kB / 0.5596 GB, free: 1.395 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.688e-05/0.1601, allocations: 8.891 kB / 0.5596 GB, free: 1.387 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002806/0.1603, allocations: 192.2 kB / 0.5598 GB, free: 1.16 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.1604, allocations: 4.375 kB / 0.5598 GB, free: 1.156 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.897e-05/0.1604, allocations: 8.312 kB / 0.5598 GB, free: 1.148 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002026/0.1606, allocations: 63.52 kB / 0.5599 GB, free: 1.074 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/0.1606, allocations: 4 kB / 0.5599 GB, free: 1.07 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.499e-05/0.1606, allocations: 8 kB / 0.5599 GB, free: 1.062 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.1606, allocations: 0 / 0.5599 GB, free: 1.062 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001011/0.1607, allocations: 19.98 kB / 0.5599 GB, free: 1.043 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004684/0.1612, allocations: 288.8 kB / 0.5602 GB, free: 0.7109 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002513/0.1614, allocations: 46.55 kB / 0.5602 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.595e-05/0.1615, allocations: 16.86 kB / 0.5602 GB, free: 0.6367 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.616e-05/0.1615, allocations: 0 / 0.5602 GB, free: 0.6367 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.447e-05/0.1616, allocations: 42.64 kB / 0.5603 GB, free: 0.5859 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.1616, allocations: 0 / 0.5603 GB, free: 0.5859 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.000677/0.1622, allocations: 149.4 kB / 0.5604 GB, free: 444 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.05e-05/0.1623, allocations: 81.11 kB / 0.5605 GB, free: 344 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001692/0.1625, allocations: 143.7 kB / 0.5606 GB, free: 192 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.206e-05/0.1625, allocations: 25.7 kB / 0.5607 GB, free: 160 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.042e-05/0.1626, allocations: 92.14 kB / 0.5608 GB, free: 64 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.279e-05/0.1626, allocations: 31.72 kB / 0.5608 GB, free: 32 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.73e-05/0.1626, allocations: 13.72 kB / 0.5608 GB, free: 12 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001911/0.1628, allocations: 326.8 kB / 0.5611 GB, free: 15.68 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.205e-05/0.1629, allocations: 23.92 kB / 0.5611 GB, free: 15.66 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.188e-05/0.163, allocations: 41.64 kB / 0.5612 GB, free: 15.61 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001579/0.1632, allocations: 52.81 kB / 0.5612 GB, free: 15.56 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.1632, allocations: 192 / 0.5612 GB, free: 15.56 MB / 430.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002757/0.1634, allocations: 85.91 kB / 0.5613 GB, free: 15.47 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.1635, allocations: 8 kB / 0.5613 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.1635, allocations: 4.031 kB / 0.5613 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.1635, allocations: 0 / 0.5613 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.934e-05/0.1635, allocations: 11.98 kB / 0.5613 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.1635, allocations: 0 / 0.5613 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.922e-05/0.1636, allocations: 15.92 kB / 0.5613 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.51e-05/0.1636, allocations: 11.92 kB / 0.5614 GB, free: 15.42 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.0001077/0.1637, allocations: 116 kB / 0.5615 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.748e-05/0.1638, allocations: 7.953 kB / 0.5615 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004095/0.1642, allocations: 97.95 kB / 0.5616 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.1642, allocations: 4 kB / 0.5616 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.1642, allocations: 0 / 0.5616 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.646e-06/0.1642, allocations: 0 / 0.5616 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006433/0.1648, allocations: 358.4 kB / 0.5619 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.1648, allocations: 0 / 0.5619 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.894e-05/0.1649, allocations: 11.98 kB / 0.5619 GB, free: 14.76 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/0.1649, allocations: 8 kB / 0.5619 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.353e-06/0.1649, allocations: 0 / 0.5619 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.1649, allocations: 3.938 kB / 0.5619 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.1649, allocations: 0 / 0.5619 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003193/0.1652, allocations: 187.7 kB / 0.5621 GB, free: 14.55 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.026e-05/0.1653, allocations: 81.06 kB / 0.5622 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.204e-05/0.1653, allocations: 8 kB / 0.5622 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.752e-05/0.1654, allocations: 11.92 kB / 0.5622 GB, free: 14.43 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.614e-05/0.1654, allocations: 8 kB / 0.5622 GB, free: 14.43 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-06/0.1654, allocations: 0 / 0.5622 GB, free: 14.43 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002066/0.1656, allocations: 117.3 kB / 0.5623 GB, free: 14.31 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1656, allocations: 0 / 0.5623 GB, free: 14.31 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002923/0.1659, allocations: 39.81 kB / 0.5624 GB, free: 14.27 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.001795/0.1677, allocations: 493.3 kB / 0.5628 GB, free: 13.97 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002542/0.168, allocations: 55.95 kB / 0.5629 GB, free: 13.92 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.168, allocations: 0 / 0.5629 GB, free: 13.92 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.033e-05/0.168, allocations: 31.92 kB / 0.5629 GB, free: 13.89 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000319/0.1684, allocations: 23.02 kB / 0.5629 GB, free: 13.87 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005155/0.1689, allocations: 165.5 kB / 0.5631 GB, free: 13.68 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007204/0.1696, allocations: 0.6924 MB / 0.5638 GB, free: 12.96 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.424e-05/0.1697, allocations: 23.7 kB / 0.5638 GB, free: 12.94 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.707e-05/0.1697, allocations: 19.42 kB / 0.5638 GB, free: 12.92 MB / 430.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1697, allocations: 0 / 0.5638 GB, free: 12.92 MB / 430.1 MB Notification: Performance of Templates: time 0.005578/0.1753, allocations: 1.762 MB / 0.5655 GB, free: 11.16 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test20.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test20.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test20/Test20.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test20.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: 5.4579241797327995]