Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47.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.0007833/0.0007833, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.003477/0.003477, allocations: 160.4 kB / 24.7 MB, free: 9.43 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.8401/0.8401, allocations: 177.1 MB / 205 MB, free: 5.75 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.2214/0.2214, allocations: 34.25 MB / 295.7 MB, free: 0.6797 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.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47") translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.704e-06/1.704e-06, allocations: 0 / 443.5 MB, free: 1.062 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.376e-05/2.546e-05, allocations: 2.281 kB / 443.5 MB, free: 1.059 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.1656/0.1656, allocations: 1.719 MB / 445.2 MB, free: 43.72 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009411/0.1665, allocations: 0.9696 MB / 446.2 MB, free: 43.34 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.623e-05/0.1666, allocations: 1.625 kB / 446.2 MB, free: 43.34 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000257/0.1669, allocations: 57.75 kB / 446.3 MB, free: 43.32 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002295/0.1671, allocations: 102.1 kB / 446.4 MB, free: 43.29 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001144/0.1672, allocations: 82.52 kB / 446.5 MB, free: 43.26 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001324/0.1673, allocations: 105.7 kB / 446.6 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.881e-05/0.1674, allocations: 6.75 kB / 446.6 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.74e-05/0.1675, allocations: 60.14 kB / 446.6 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.079e-05/0.1676, allocations: 25.98 kB / 446.7 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.441e-05/0.1676, allocations: 6.812 kB / 446.7 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.406e-05/0.1676, allocations: 44.8 kB / 446.7 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.698e-05/0.1677, allocations: 33.98 kB / 446.7 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.246e-05/0.1677, allocations: 20.69 kB / 446.8 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001496/0.1679, allocations: 141 kB / 446.9 MB, free: 43.07 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.1679, allocations: 2.969 kB / 446.9 MB, free: 43.07 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1679, allocations: 0 / 446.9 MB, free: 43.07 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.549e-06/0.1679, allocations: 3.938 kB / 446.9 MB, free: 43.07 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.0003651/0.1682, allocations: 364.5 kB / 447.3 MB, free: 42.74 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.292e-05/0.1683, allocations: 8.812 kB / 447.3 MB, free: 42.74 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.012e-05/0.1683, allocations: 17.38 kB / 447.3 MB, free: 42.73 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002178/0.1685, allocations: 168 kB / 447.4 MB, free: 42.57 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.073e-05/0.1685, allocations: 384 / 447.4 MB, free: 42.57 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.835e-05/0.1686, allocations: 3.375 kB / 447.4 MB, free: 42.57 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001108/0.1687, allocations: 57.78 kB / 447.5 MB, free: 42.53 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.1687, allocations: 3.938 kB / 447.5 MB, free: 42.53 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.025e-06/0.1687, allocations: 0 / 447.5 MB, free: 42.53 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.1687, allocations: 4.062 kB / 447.5 MB, free: 42.53 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.745e-05/0.1687, allocations: 22.2 kB / 447.5 MB, free: 42.52 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002384/0.169, allocations: 242.2 kB / 447.8 MB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001075/0.1691, allocations: 58.11 kB / 447.8 MB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.693e-05/0.1691, allocations: 26.52 kB / 447.9 MB, free: 42.25 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.669e-05/0.1691, allocations: 0 / 447.9 MB, free: 42.25 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001039/0.1692, allocations: 71.72 kB / 447.9 MB, free: 42.19 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 8.52e-07/0.1692, allocations: 0 / 447.9 MB, free: 42.19 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003783/0.1696, allocations: 191.1 kB / 448.1 MB, free: 42.1 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.367e-05/0.1696, allocations: 55.34 kB / 448.2 MB, free: 42.03 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001386/0.1698, allocations: 282.9 kB / 448.4 MB, free: 41.88 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.153e-06/0.1698, allocations: 25.7 kB / 448.5 MB, free: 41.85 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.819e-05/0.1698, allocations: 115.7 kB / 448.6 MB, free: 41.74 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.212e-05/0.1698, allocations: 25.08 kB / 448.6 MB, free: 41.72 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.862e-05/0.1699, allocations: 26.12 kB / 448.6 MB, free: 41.7 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.454e-05/0.1699, allocations: 330.8 kB / 449 MB, free: 41.38 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.78e-05/0.1699, allocations: 22.8 kB / 449 MB, free: 41.37 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.658e-05/0.17, allocations: 39 kB / 449 MB, free: 41.35 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.328e-05/0.17, allocations: 63.59 kB / 449.1 MB, free: 41.31 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.17, allocations: 0 / 449.1 MB, free: 41.31 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001049/0.1702, allocations: 105.5 kB / 449.2 MB, free: 41.25 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.097e-05/0.1702, allocations: 9.312 kB / 449.2 MB, free: 41.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.1702, allocations: 4.031 kB / 449.2 MB, free: 41.24 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.1702, allocations: 0 / 449.2 MB, free: 41.24 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.652e-05/0.1703, allocations: 17.33 kB / 449.2 MB, free: 41.24 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.1703, allocations: 0 / 449.2 MB, free: 41.24 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.951e-05/0.1703, allocations: 6.625 kB / 449.2 MB, free: 41.24 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.69e-06/0.1703, allocations: 2.656 kB / 449.2 MB, free: 41.24 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 6e-05/0.1704, allocations: 141.8 kB / 449.4 MB, free: 41.11 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.268e-05/0.1704, allocations: 19.89 kB / 449.4 MB, free: 41.1 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001495/0.1705, allocations: 127.4 kB / 449.5 MB, free: 41.04 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.1705, allocations: 0 / 449.5 MB, free: 41.04 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.1705, allocations: 4.938 kB / 449.5 MB, free: 41.04 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.1705, allocations: 0 / 449.5 MB, free: 41.04 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002306/0.1708, allocations: 365.6 kB / 449.9 MB, free: 40.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.1708, allocations: 0 / 449.9 MB, free: 40.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.209e-05/0.1708, allocations: 8.688 kB / 449.9 MB, free: 40.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.1708, allocations: 0 / 449.9 MB, free: 40.75 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.637e-06/0.1708, allocations: 13.25 kB / 449.9 MB, free: 40.74 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.1708, allocations: 0 / 449.9 MB, free: 40.74 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1708, allocations: 2.938 kB / 449.9 MB, free: 40.74 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001071/0.1709, allocations: 223 kB / 450.1 MB, free: 40.57 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.118e-05/0.1709, allocations: 14.75 kB / 450.1 MB, free: 40.55 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.533e-05/0.1709, allocations: 2.938 kB / 450.1 MB, free: 40.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.786e-05/0.171, allocations: 2.969 kB / 450.1 MB, free: 40.55 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.982e-05/0.171, allocations: 14.03 kB / 450.1 MB, free: 40.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.382e-05/0.171, allocations: 6.25 kB / 450.1 MB, free: 40.55 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.484e-05/0.1711, allocations: 209.9 kB / 450.3 MB, free: 40.44 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1711, allocations: 0 / 450.3 MB, free: 40.44 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001748/0.1713, allocations: 24.98 kB / 450.4 MB, free: 40.43 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.0007455/0.172, allocations: 0.4923 MB / 450.9 MB, free: 40.26 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001204/0.1721, allocations: 58.84 kB / 450.9 MB, free: 40.25 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.1721, allocations: 0 / 450.9 MB, free: 40.25 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.038e-05/0.1722, allocations: 33.53 kB / 451 MB, free: 40.23 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002271/0.1724, allocations: 35.5 kB / 451 MB, free: 40.22 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003656/0.1728, allocations: 323.2 kB / 451.3 MB, free: 40 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.472e-05/0.1728, allocations: 100.9 kB / 451.4 MB, free: 39.93 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.888e-05/0.1728, allocations: 18.25 kB / 451.4 MB, free: 39.93 MB / 410.7 MB Notification: Performance of SimCode: time 5.01e-07/0.1728, allocations: 0 / 451.4 MB, free: 39.93 MB / 410.7 MB Notification: Performance of Templates: time 0.002462/0.1753, allocations: 2.171 MB / 453.6 MB, free: 39.67 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test47/Test47.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47.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.777043282054365]