Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56.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.001089/0.001089, allocations: 87.62 kB / 21.44 MB, free: 3.121 MB / 18.57 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.004642/0.004642, allocations: 161.1 kB / 24.7 MB, free: 9.438 MB / 18.57 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 0.8783/0.8783, allocations: 177.1 MB / 205 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] 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.2346/0.2346, allocations: 34.25 MB / 295.7 MB, free: 0.6914 MB / 266.7 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.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56") translateModel(ModelicaTest.Tables.CombiTimeTable.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 0 / 443.5 MB, free: 1.055 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.852e-05/1.967e-05, allocations: 2.844 kB / 443.5 MB, free: 1.051 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.1592/0.1593, allocations: 1.708 MB / 445.2 MB, free: 43.72 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001262/0.1605, allocations: 1.68 MB / 446.9 MB, free: 42.85 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.715e-05/0.1606, allocations: 0 / 446.9 MB, free: 42.85 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002194/0.1608, allocations: 35.12 kB / 447 MB, free: 42.83 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002382/0.161, allocations: 105.4 kB / 447.1 MB, free: 42.77 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001057/0.1611, allocations: 77.44 kB / 447.1 MB, free: 42.73 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001176/0.1613, allocations: 119.8 kB / 447.2 MB, free: 42.67 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.863e-05/0.1613, allocations: 2.938 kB / 447.2 MB, free: 42.67 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.337e-05/0.1614, allocations: 59.66 kB / 447.3 MB, free: 42.64 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.824e-05/0.1615, allocations: 32.98 kB / 447.3 MB, free: 42.63 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.436e-05/0.1615, allocations: 5.812 kB / 447.3 MB, free: 42.63 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000107/0.1616, allocations: 110.4 kB / 447.5 MB, free: 42.6 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.134e-05/0.1616, allocations: 24 kB / 447.5 MB, free: 42.59 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.792e-05/0.1617, allocations: 21.73 kB / 447.5 MB, free: 42.57 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001837/0.1619, allocations: 175.4 kB / 447.7 MB, free: 42.51 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.1619, allocations: 2.906 kB / 447.7 MB, free: 42.51 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.1619, allocations: 0 / 447.7 MB, free: 42.51 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.928e-06/0.1619, allocations: 0 / 447.7 MB, free: 42.51 MB / 410.7 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.0003455/0.1622, allocations: 356.5 kB / 448 MB, free: 42.18 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.925e-05/0.1622, allocations: 8.125 kB / 448 MB, free: 42.18 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.699e-05/0.1623, allocations: 10.05 kB / 448 MB, free: 42.18 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000171/0.1624, allocations: 149.6 kB / 448.2 MB, free: 42.04 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.748e-06/0.1625, allocations: 2.812 kB / 448.2 MB, free: 42.04 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.697e-05/0.1625, allocations: 11.52 kB / 448.2 MB, free: 42.03 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000108/0.1626, allocations: 107.8 kB / 448.3 MB, free: 41.93 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.1626, allocations: 0 / 448.3 MB, free: 41.93 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.255e-06/0.1626, allocations: 0 / 448.3 MB, free: 41.93 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.1626, allocations: 0 / 448.3 MB, free: 41.93 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.87e-05/0.1626, allocations: 20.73 kB / 448.3 MB, free: 41.93 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000205/0.1629, allocations: 233.8 kB / 448.6 MB, free: 41.71 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.581e-05/0.1629, allocations: 62.27 kB / 448.6 MB, free: 41.67 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.797e-05/0.163, allocations: 20.28 kB / 448.6 MB, free: 41.66 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.059e-05/0.163, allocations: 0 / 448.6 MB, free: 41.66 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.898e-05/0.1631, allocations: 75.22 kB / 448.7 MB, free: 41.6 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 7.21e-07/0.1631, allocations: 0 / 448.7 MB, free: 41.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003414/0.1634, allocations: 176.8 kB / 448.9 MB, free: 41.52 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.325e-05/0.1634, allocations: 85.09 kB / 449 MB, free: 41.41 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.434e-05/0.1635, allocations: 166.3 kB / 449.1 MB, free: 41.3 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.103e-06/0.1635, allocations: 32.83 kB / 449.2 MB, free: 41.26 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.306e-05/0.1636, allocations: 94.23 kB / 449.2 MB, free: 41.17 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.861e-05/0.1636, allocations: 22.7 kB / 449.3 MB, free: 41.15 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.126e-05/0.1636, allocations: 29.39 kB / 449.3 MB, free: 41.13 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.382e-05/0.1636, allocations: 325 kB / 449.6 MB, free: 40.81 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.017e-05/0.1637, allocations: 27.02 kB / 449.6 MB, free: 40.8 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.576e-05/0.1637, allocations: 69.3 kB / 449.7 MB, free: 40.73 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.851e-05/0.1638, allocations: 58.53 kB / 449.8 MB, free: 40.7 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.1638, allocations: 0 / 449.8 MB, free: 40.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.644e-05/0.1639, allocations: 107.1 kB / 449.9 MB, free: 40.64 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/0.1639, allocations: 7.031 kB / 449.9 MB, free: 40.64 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.1639, allocations: 0 / 449.9 MB, free: 40.64 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.014e-05/0.1639, allocations: 2.75 kB / 449.9 MB, free: 40.64 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.383e-05/0.1639, allocations: 16.67 kB / 449.9 MB, free: 40.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.797e-06/0.1639, allocations: 0 / 449.9 MB, free: 40.64 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.802e-05/0.164, allocations: 10.44 kB / 449.9 MB, free: 40.63 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.164, allocations: 10.12 kB / 449.9 MB, free: 40.62 MB / 410.7 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 4.535e-05/0.164, allocations: 125.2 kB / 450 MB, free: 40.5 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.112e-05/0.164, allocations: 11.8 kB / 450.1 MB, free: 40.5 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001273/0.1642, allocations: 121.9 kB / 450.2 MB, free: 40.44 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.103e-06/0.1642, allocations: 2.906 kB / 450.2 MB, free: 40.44 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.1642, allocations: 0 / 450.2 MB, free: 40.44 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.1642, allocations: 0 / 450.2 MB, free: 40.44 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002005/0.1644, allocations: 354.7 kB / 450.5 MB, free: 40.14 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.1644, allocations: 0 / 450.5 MB, free: 40.14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.853e-05/0.1644, allocations: 12.81 kB / 450.5 MB, free: 40.14 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.1644, allocations: 2.969 kB / 450.5 MB, free: 40.14 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.181e-06/0.1644, allocations: 3.234 kB / 450.5 MB, free: 40.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.1644, allocations: 6 kB / 450.5 MB, free: 40.14 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1644, allocations: 0 / 450.5 MB, free: 40.14 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.619e-05/0.1645, allocations: 211.8 kB / 450.8 MB, free: 39.97 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.021e-05/0.1645, allocations: 9.516 kB / 450.8 MB, free: 39.97 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.437e-05/0.1645, allocations: 4 kB / 450.8 MB, free: 39.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.346e-05/0.1646, allocations: 5.953 kB / 450.8 MB, free: 39.96 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.422e-05/0.1646, allocations: 6.719 kB / 450.8 MB, free: 39.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.989e-06/0.1646, allocations: 12.92 kB / 450.8 MB, free: 39.96 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.809e-05/0.1646, allocations: 130.5 kB / 450.9 MB, free: 39.86 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1646, allocations: 384 / 450.9 MB, free: 39.86 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001773/0.1648, allocations: 50.2 kB / 451 MB, free: 39.85 MB / 410.7 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 (9): * Single equations (assignments): 7 * 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.0007516/0.1656, allocations: 0.5958 MB / 451.6 MB, free: 39.64 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001115/0.1657, allocations: 60.89 kB / 451.6 MB, free: 39.62 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.102e-06/0.1657, allocations: 0 / 451.6 MB, free: 39.62 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.603e-05/0.1657, allocations: 30.88 kB / 451.7 MB, free: 39.62 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001947/0.1659, allocations: 37.36 kB / 451.7 MB, free: 39.61 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002635/0.1662, allocations: 240.3 kB / 451.9 MB, free: 39.41 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.059e-05/0.1662, allocations: 93.67 kB / 452 MB, free: 39.33 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.242e-05/0.1662, allocations: 19.95 kB / 452 MB, free: 39.33 MB / 410.7 MB Notification: Performance of SimCode: time 5.01e-07/0.1662, allocations: 0 / 452 MB, free: 39.33 MB / 410.7 MB Notification: Performance of Templates: time 0.002484/0.1687, allocations: 2.464 MB / 454.5 MB, free: 39.05 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test56/Test56.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56.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: 4.790705415420234]