Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001557/0.001557, allocations: 80.05 kB / 20.72 MB, free: 3.766 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.001778/0.001778, allocations: 173 kB / 24.14 MB, free: 356 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9597/0.9597, allocations: 158.6 MB / 186 MB, free: 2.762 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.13/0.13, allocations: 32.38 MB / 270.7 MB, free: 14.6 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.[0-9,]+.|d_t_s.y|t_min.y.[0-9,]+.|d_t_min.y|t_h.y.[0-9,]+.|d_t_h.y|t_d.y.[0-9,]+.|d_t_d.y|t_ms.y.[0-9,]+.|d_t_ms.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67") translateModel(ModelicaTest.Tables.CombiTimeTable.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_s.y.[0-9,]+.|d_t_s.y|t_min.y.[0-9,]+.|d_t_min.y|t_h.y.[0-9,]+.|d_t_h.y|t_d.y.[0-9,]+.|d_t_d.y|t_ms.y.[0-9,]+.|d_t_ms.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 299.1 MB, free: 2.129 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.573e-05/2.716e-05, allocations: 2.312 kB / 299.1 MB, free: 2.125 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.1498/0.1498, allocations: 2.262 MB / 301.4 MB, free: 19.24 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001833/0.1517, allocations: 1.189 MB / 302.6 MB, free: 19.1 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002169/0.1519, allocations: 7.469 kB / 302.6 MB, free: 19.1 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000544/0.1524, allocations: 280.9 kB / 302.9 MB, free: 19.06 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005206/0.1529, allocations: 277.9 kB / 303.2 MB, free: 19.01 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006577/0.1536, allocations: 327.5 kB / 303.5 MB, free: 18.98 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006519/0.1542, allocations: 0.5238 MB / 304 MB, free: 18.79 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001308/0.1544, allocations: 38.98 kB / 304 MB, free: 18.77 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004442/0.1548, allocations: 286 kB / 304.3 MB, free: 18.66 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003656/0.1552, allocations: 229.1 kB / 304.5 MB, free: 18.61 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.654e-05/0.1552, allocations: 20.31 kB / 304.6 MB, free: 18.61 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001415/0.1554, allocations: 57.66 kB / 304.6 MB, free: 18.59 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001305/0.1555, allocations: 118.1 kB / 304.7 MB, free: 18.54 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001062/0.1556, allocations: 95.06 kB / 304.8 MB, free: 18.49 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004283/0.156, allocations: 309.8 kB / 305.1 MB, free: 18.36 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.1561, allocations: 2.781 kB / 305.1 MB, free: 18.36 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.634e-06/0.1561, allocations: 0 / 305.1 MB, free: 18.36 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.306e-05/0.1561, allocations: 0 / 305.1 MB, free: 18.36 MB / 282.7 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.0008435/0.1569, allocations: 0.6676 MB / 305.8 MB, free: 17.85 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.1569, allocations: 11.28 kB / 305.8 MB, free: 17.85 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.443e-05/0.157, allocations: 40.2 kB / 305.8 MB, free: 17.84 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003549/0.1574, allocations: 313.2 kB / 306.1 MB, free: 17.61 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.87e-05/0.1574, allocations: 14.22 kB / 306.2 MB, free: 17.6 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.145e-05/0.1575, allocations: 14.56 kB / 306.2 MB, free: 17.6 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002454/0.1577, allocations: 189.3 kB / 306.4 MB, free: 17.48 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.1577, allocations: 4.812 kB / 306.4 MB, free: 17.48 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/0.1577, allocations: 7.719 kB / 306.4 MB, free: 17.48 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.1577, allocations: 2.875 kB / 306.4 MB, free: 17.48 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.116e-05/0.1578, allocations: 59.53 kB / 306.4 MB, free: 17.45 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004988/0.1583, allocations: 0.6128 MB / 307 MB, free: 16.9 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002609/0.1586, allocations: 436.7 kB / 307.5 MB, free: 16.53 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.597e-05/0.1587, allocations: 65.7 kB / 307.5 MB, free: 16.48 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.931e-05/0.1587, allocations: 12.66 kB / 307.6 MB, free: 16.47 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002115/0.1589, allocations: 186.2 kB / 307.7 MB, free: 16.36 MB / 282.7 MB Notification: Performance of pre-optimization done (n=30): time 2.093e-06/0.1589, allocations: 1.625 kB / 307.7 MB, free: 16.36 MB / 282.7 MB Notification: Performance of matching and sorting (n=40): time 0.0008076/0.1597, allocations: 471.4 kB / 308.2 MB, free: 16.22 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.435e-05/0.1597, allocations: 168.7 kB / 308.4 MB, free: 16.02 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003739/0.1601, allocations: 475.6 kB / 308.8 MB, free: 15.8 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.285e-05/0.1601, allocations: 38.36 kB / 308.9 MB, free: 15.76 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.757e-05/0.1602, allocations: 143.6 kB / 309 MB, free: 15.66 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.673e-05/0.1603, allocations: 133.3 kB / 309.1 MB, free: 15.55 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.426e-05/0.1604, allocations: 69.47 kB / 309.2 MB, free: 15.51 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.812e-05/0.1605, allocations: 370.2 kB / 309.6 MB, free: 15.17 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.158e-05/0.1605, allocations: 42.05 kB / 309.6 MB, free: 15.17 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.41e-05/0.1606, allocations: 122.3 kB / 309.7 MB, free: 15.07 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002283/0.1609, allocations: 214.5 kB / 309.9 MB, free: 14.94 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.1609, allocations: 1.125 kB / 309.9 MB, free: 14.94 MB / 282.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.00037/0.1612, allocations: 237.9 kB / 310.2 MB, free: 14.86 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.1612, allocations: 5.812 kB / 310.2 MB, free: 14.86 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.1613, allocations: 6.406 kB / 310.2 MB, free: 14.86 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.1613, allocations: 4.344 kB / 310.2 MB, free: 14.86 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001923/0.1615, allocations: 82.78 kB / 310.3 MB, free: 14.85 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.1615, allocations: 8.281 kB / 310.3 MB, free: 14.84 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001151/0.1616, allocations: 16.64 kB / 310.3 MB, free: 14.84 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.679e-05/0.1616, allocations: 12.95 kB / 310.3 MB, free: 14.84 MB / 282.7 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.0001126/0.1617, allocations: 152.6 kB / 310.4 MB, free: 14.69 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.08e-05/0.1618, allocations: 45.17 kB / 310.5 MB, free: 14.69 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004323/0.1622, allocations: 268.2 kB / 310.8 MB, free: 14.58 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.356e-06/0.1622, allocations: 6.062 kB / 310.8 MB, free: 14.58 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.1622, allocations: 5.094 kB / 310.8 MB, free: 14.58 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.482e-05/0.1623, allocations: 3.891 kB / 310.8 MB, free: 14.58 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001019/0.1633, allocations: 1.089 MB / 311.9 MB, free: 13.73 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/0.1633, allocations: 2.906 kB / 311.9 MB, free: 13.73 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001626/0.1634, allocations: 49.73 kB / 311.9 MB, free: 13.73 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.506e-06/0.1634, allocations: 9.062 kB / 311.9 MB, free: 13.72 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.803e-05/0.1635, allocations: 14.33 kB / 311.9 MB, free: 13.72 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.354e-06/0.1635, allocations: 3.562 kB / 311.9 MB, free: 13.72 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.252e-06/0.1635, allocations: 11.38 kB / 311.9 MB, free: 13.71 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005398/0.164, allocations: 0.8503 MB / 312.8 MB, free: 12.99 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.478e-05/0.1641, allocations: 49.86 kB / 312.8 MB, free: 12.96 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.363e-05/0.1642, allocations: 13.17 kB / 312.9 MB, free: 12.95 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002104/0.1644, allocations: 20.53 kB / 312.9 MB, free: 12.95 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.064e-05/0.1645, allocations: 38.16 kB / 312.9 MB, free: 12.94 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-05/0.1645, allocations: 22.02 kB / 312.9 MB, free: 12.93 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002484/0.1647, allocations: 230.6 kB / 313.2 MB, free: 12.87 MB / 282.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1647, allocations: 0 / 313.2 MB, free: 12.87 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0007033/0.1654, allocations: 85.86 kB / 313.2 MB, free: 12.85 MB / 282.7 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 (45): * Single equations (assignments): 35 * 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.001726/0.1672, allocations: 0.5918 MB / 313.8 MB, free: 12.52 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004089/0.1676, allocations: 186.6 kB / 314 MB, free: 12.48 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.531e-05/0.1676, allocations: 5.5 kB / 314 MB, free: 12.48 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001196/0.1677, allocations: 111.7 kB / 314.1 MB, free: 12.45 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006807/0.1684, allocations: 157.6 kB / 314.3 MB, free: 12.39 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001347/0.1697, allocations: 0.8031 MB / 315.1 MB, free: 11.86 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001256/0.1699, allocations: 129.6 kB / 315.2 MB, free: 11.79 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002265/0.1701, allocations: 78.36 kB / 315.3 MB, free: 11.77 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002144/0.1703, allocations: 145.8 kB / 315.4 MB, free: 11.71 MB / 282.7 MB Notification: Performance of SimCode: time 1.292e-06/0.1703, allocations: 4 kB / 315.4 MB, free: 11.71 MB / 282.7 MB Notification: Performance of Templates: time 0.01001/0.1803, allocations: 6.695 MB / 322.1 MB, free: 6.805 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test67/Test67.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.2103747348301113]