Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.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.0008739/0.0008739, 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.003659/0.003659, allocations: 163.1 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.9058/0.9058, allocations: 177.1 MB / 205 MB, free: 5.734 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.2229/0.2229, allocations: 34.26 MB / 295.7 MB, free: 0.6875 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.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71") translateModel(ModelicaTest.Tables.CombiTimeTable.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 443.5 MB, free: 1.055 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.723e-05/1.898e-05, allocations: 2.281 kB / 443.5 MB, free: 1.051 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.1516/0.1516, allocations: 1.788 MB / 445.3 MB, free: 43.68 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009675/0.1525, allocations: 1.048 MB / 446.4 MB, free: 43.27 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.095e-05/0.1526, allocations: 2.781 kB / 446.4 MB, free: 43.27 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003508/0.153, allocations: 307.6 kB / 446.7 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002934/0.1533, allocations: 264.8 kB / 446.9 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001269/0.1534, allocations: 107.4 kB / 447 MB, free: 43.08 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001784/0.1536, allocations: 269.2 kB / 447.3 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.304e-05/0.1536, allocations: 7.719 kB / 447.3 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001084/0.1537, allocations: 154.8 kB / 447.4 MB, free: 42.93 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000136/0.1538, allocations: 204.1 kB / 447.6 MB, free: 42.9 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.778e-05/0.1539, allocations: 9.797 kB / 447.7 MB, free: 42.9 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.937e-05/0.1539, allocations: 46.86 kB / 447.7 MB, free: 42.89 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.659e-05/0.154, allocations: 152.3 kB / 447.8 MB, free: 42.83 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.153e-05/0.1541, allocations: 70.2 kB / 447.9 MB, free: 42.79 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002294/0.1543, allocations: 357.1 kB / 448.3 MB, free: 42.67 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.1543, allocations: 3.938 kB / 448.3 MB, free: 42.67 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1543, allocations: 0.75 kB / 448.3 MB, free: 42.67 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.1543, allocations: 0 / 448.3 MB, free: 42.67 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005151/0.1548, allocations: 0.6733 MB / 448.9 MB, free: 42.14 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.009e-05/0.1549, allocations: 16.12 kB / 449 MB, free: 42.14 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.196e-05/0.1549, allocations: 52.78 kB / 449 MB, free: 42.11 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003329/0.1552, allocations: 402.4 kB / 449.4 MB, free: 41.84 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.1553, allocations: 3.5 kB / 449.4 MB, free: 41.84 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.13e-05/0.1553, allocations: 3.094 kB / 449.4 MB, free: 41.84 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001235/0.1554, allocations: 90.23 kB / 449.5 MB, free: 41.78 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.1554, allocations: 10.92 kB / 449.5 MB, free: 41.78 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.217e-06/0.1554, allocations: 0 / 449.5 MB, free: 41.78 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.1554, allocations: 2.875 kB / 449.5 MB, free: 41.78 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.024e-05/0.1555, allocations: 31.86 kB / 449.5 MB, free: 41.77 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001951/0.1557, allocations: 305.8 kB / 449.8 MB, free: 41.59 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001417/0.1558, allocations: 102 kB / 449.9 MB, free: 41.52 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.647e-05/0.1559, allocations: 43.11 kB / 450 MB, free: 41.5 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.353e-05/0.1559, allocations: 0 / 450 MB, free: 41.5 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001269/0.156, allocations: 109.3 kB / 450.1 MB, free: 41.41 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 9.51e-07/0.156, allocations: 3.344 kB / 450.1 MB, free: 41.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002657/0.1563, allocations: 219.7 kB / 450.3 MB, free: 41.31 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.232e-05/0.1563, allocations: 83.39 kB / 450.4 MB, free: 41.21 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005417/0.1568, allocations: 1.059 MB / 451.4 MB, free: 40.86 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.796e-06/0.1568, allocations: 29.7 kB / 451.5 MB, free: 40.83 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.539e-05/0.1569, allocations: 240.2 kB / 451.7 MB, free: 40.64 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.785e-05/0.1569, allocations: 32.8 kB / 451.7 MB, free: 40.61 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.813e-05/0.157, allocations: 26.25 kB / 451.8 MB, free: 40.59 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.733e-05/0.157, allocations: 371.9 kB / 452.1 MB, free: 40.25 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.55e-05/0.1571, allocations: 28.81 kB / 452.2 MB, free: 40.25 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.508e-05/0.1571, allocations: 67.56 kB / 452.2 MB, free: 40.2 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.724e-05/0.1572, allocations: 87.72 kB / 452.3 MB, free: 40.14 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.1572, allocations: 0 / 452.3 MB, free: 40.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001451/0.1573, allocations: 176.4 kB / 452.5 MB, free: 40.05 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.1574, allocations: 5.594 kB / 452.5 MB, free: 40.05 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.1574, allocations: 6.812 kB / 452.5 MB, free: 40.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.1574, allocations: 0 / 452.5 MB, free: 40.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.928e-05/0.1574, allocations: 26.05 kB / 452.5 MB, free: 40.05 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.1574, allocations: 0 / 452.5 MB, free: 40.05 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.309e-05/0.1575, allocations: 17.64 kB / 452.5 MB, free: 40.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.1575, allocations: 2.875 kB / 452.5 MB, free: 40.04 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.000108/0.1576, allocations: 234.5 kB / 452.8 MB, free: 39.89 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.848e-05/0.1576, allocations: 55.98 kB / 452.8 MB, free: 39.86 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001928/0.1578, allocations: 215.2 kB / 453 MB, free: 39.77 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.1578, allocations: 3.031 kB / 453 MB, free: 39.77 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.1578, allocations: 0 / 453 MB, free: 39.77 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.646e-06/0.1578, allocations: 0 / 453 MB, free: 39.77 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001308/0.158, allocations: 270.2 kB / 453.3 MB, free: 39.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.158, allocations: 6.156 kB / 453.3 MB, free: 39.59 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.173e-05/0.158, allocations: 11.81 kB / 453.3 MB, free: 39.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.158, allocations: 0 / 453.3 MB, free: 39.59 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-06/0.158, allocations: 2.938 kB / 453.3 MB, free: 39.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.158, allocations: 3.938 kB / 453.3 MB, free: 39.59 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.158, allocations: 6.969 kB / 453.3 MB, free: 39.58 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001482/0.1582, allocations: 220.1 kB / 453.6 MB, free: 39.45 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.867e-05/0.1582, allocations: 60.75 kB / 453.6 MB, free: 39.42 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.367e-05/0.1582, allocations: 10.81 kB / 453.6 MB, free: 39.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.814e-05/0.1583, allocations: 11.23 kB / 453.6 MB, free: 39.41 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.216e-05/0.1583, allocations: 10.64 kB / 453.6 MB, free: 39.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.339e-05/0.1583, allocations: 10.28 kB / 453.7 MB, free: 39.4 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003908/0.1587, allocations: 0.7911 MB / 454.4 MB, free: 39.13 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.1587, allocations: 0 / 454.4 MB, free: 39.13 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000175/0.1589, allocations: 45.91 kB / 454.5 MB, free: 39.12 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0006306/0.1595, allocations: 451.9 kB / 454.9 MB, free: 38.96 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001426/0.1597, allocations: 90.22 kB / 455 MB, free: 38.94 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.112e-06/0.1597, allocations: 0 / 455 MB, free: 38.94 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.215e-05/0.1597, allocations: 38.52 kB / 455.1 MB, free: 38.93 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002467/0.16, allocations: 72.59 kB / 455.1 MB, free: 38.91 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006741/0.1606, allocations: 0.9418 MB / 456.1 MB, free: 38.46 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001144/0.1607, allocations: 251.3 kB / 456.3 MB, free: 38.36 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.45e-05/0.1608, allocations: 29.84 kB / 456.3 MB, free: 38.36 MB / 410.7 MB Notification: Performance of SimCode: time 5.91e-07/0.1608, allocations: 0 / 456.3 MB, free: 38.36 MB / 410.7 MB Notification: Performance of Templates: time 0.004/0.1648, allocations: 5.364 MB / 461.7 MB, free: 37.55 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.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.756207505241036]