Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0009853/0.0009853, 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.00121/0.00121, allocations: 169 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.965/0.965, allocations: 158.6 MB / 186 MB, free: 2.758 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.1818/0.1818, 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.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71") translateModel(ModelicaTest.Tables.CombiTimeTable.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 299.2 MB, free: 2.082 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.95e-05/3.133e-05, allocations: 2.312 kB / 299.2 MB, free: 2.078 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.003191/0.003222, allocations: 1.841 MB / 301 MB, free: 228 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1574/0.1606, allocations: 0.8797 MB / 301.9 MB, free: 19.2 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001231/0.1607, allocations: 1.219 kB / 301.9 MB, free: 19.2 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000629/0.1614, allocations: 306.1 kB / 302.2 MB, free: 19.17 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004469/0.1618, allocations: 220 kB / 302.4 MB, free: 19.15 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004136/0.1622, allocations: 138.2 kB / 302.6 MB, free: 19.14 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004438/0.1627, allocations: 250 kB / 302.8 MB, free: 19.11 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.627e-05/0.1627, allocations: 11.12 kB / 302.8 MB, free: 19.11 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002638/0.163, allocations: 148.2 kB / 303 MB, free: 19.09 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000278/0.1633, allocations: 168.9 kB / 303.1 MB, free: 19.08 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.779e-05/0.1633, allocations: 6.688 kB / 303.1 MB, free: 19.08 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001353/0.1634, allocations: 47.62 kB / 303.2 MB, free: 19.08 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001578/0.1636, allocations: 142.6 kB / 303.3 MB, free: 19.05 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.211e-05/0.1637, allocations: 71.47 kB / 303.4 MB, free: 19.04 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000362/0.164, allocations: 274.3 kB / 303.7 MB, free: 18.98 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.164, allocations: 0 / 303.7 MB, free: 18.98 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.164, allocations: 0.5312 kB / 303.7 MB, free: 18.98 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.085e-05/0.1641, allocations: 0.7812 kB / 303.7 MB, free: 18.98 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007968/0.1649, allocations: 0.6233 MB / 304.3 MB, free: 18.53 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.1649, allocations: 10.56 kB / 304.3 MB, free: 18.53 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.117e-05/0.165, allocations: 29.08 kB / 304.3 MB, free: 18.53 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00039/0.1654, allocations: 304.8 kB / 304.6 MB, free: 18.32 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.615e-05/0.1654, allocations: 6.812 kB / 304.6 MB, free: 18.31 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.189e-05/0.1654, allocations: 4.312 kB / 304.6 MB, free: 18.31 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001704/0.1656, allocations: 89.23 kB / 304.7 MB, free: 18.25 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.1656, allocations: 3.938 kB / 304.7 MB, free: 18.24 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.1656, allocations: 2.328 kB / 304.7 MB, free: 18.24 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.1656, allocations: 1.281 kB / 304.7 MB, free: 18.24 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.531e-05/0.1657, allocations: 18.77 kB / 304.7 MB, free: 18.23 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000182/0.1658, allocations: 122.8 kB / 304.9 MB, free: 18.14 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000139/0.166, allocations: 75.42 kB / 304.9 MB, free: 18.09 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.161e-05/0.166, allocations: 26.12 kB / 305 MB, free: 18.07 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.044e-05/0.166, allocations: 3.875 kB / 305 MB, free: 18.07 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001406/0.1662, allocations: 97.83 kB / 305.1 MB, free: 18 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 2.034e-06/0.1662, allocations: 0.5938 kB / 305.1 MB, free: 18 MB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002027/0.1664, allocations: 111.2 kB / 305.2 MB, free: 17.96 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.342e-05/0.1664, allocations: 82.8 kB / 305.2 MB, free: 17.86 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005668/0.167, allocations: 0.599 MB / 305.8 MB, free: 17.73 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.591e-05/0.167, allocations: 30.02 kB / 305.9 MB, free: 17.7 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.499e-05/0.1671, allocations: 149.4 kB / 306 MB, free: 17.61 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.241e-05/0.1671, allocations: 25.23 kB / 306 MB, free: 17.6 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.82e-05/0.1672, allocations: 32.47 kB / 306.1 MB, free: 17.58 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.859e-05/0.1672, allocations: 366.1 kB / 306.4 MB, free: 17.24 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.745e-05/0.1672, allocations: 14 kB / 306.5 MB, free: 17.23 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.599e-05/0.1673, allocations: 42.73 kB / 306.5 MB, free: 17.2 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.558e-05/0.1674, allocations: 69.05 kB / 306.6 MB, free: 17.15 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.1674, allocations: 1.344 kB / 306.6 MB, free: 17.15 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001383/0.1675, allocations: 112.9 kB / 306.7 MB, free: 17.11 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.1675, allocations: 5.969 kB / 306.7 MB, free: 17.11 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.1675, allocations: 4.031 kB / 306.7 MB, free: 17.11 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.1675, allocations: 1.156 kB / 306.7 MB, free: 17.11 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.093e-05/0.1676, allocations: 25.05 kB / 306.7 MB, free: 17.1 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.93e-06/0.1676, allocations: 10.12 kB / 306.7 MB, free: 17.09 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.788e-05/0.1677, allocations: 16.66 kB / 306.7 MB, free: 17.09 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.754e-06/0.1677, allocations: 2.656 kB / 306.7 MB, free: 17.09 MB / 282.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 8.042e-05/0.1678, allocations: 123.7 kB / 306.9 MB, free: 16.96 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.654e-05/0.1678, allocations: 29.06 kB / 306.9 MB, free: 16.96 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001736/0.168, allocations: 120.3 kB / 307 MB, free: 16.92 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.168, allocations: 2.203 kB / 307 MB, free: 16.92 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.168, allocations: 5.281 kB / 307 MB, free: 16.92 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.481e-06/0.168, allocations: 0.75 kB / 307 MB, free: 16.92 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001987/0.1682, allocations: 161.8 kB / 307.2 MB, free: 16.81 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.1682, allocations: 1.375 kB / 307.2 MB, free: 16.81 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.675e-05/0.1683, allocations: 14.02 kB / 307.2 MB, free: 16.81 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.1683, allocations: 1.344 kB / 307.2 MB, free: 16.81 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.305e-06/0.1683, allocations: 2.781 kB / 307.2 MB, free: 16.81 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.776e-06/0.1683, allocations: 1.531 kB / 307.2 MB, free: 16.81 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.1683, allocations: 1.75 kB / 307.2 MB, free: 16.81 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001378/0.1684, allocations: 146 kB / 307.3 MB, free: 16.71 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.976e-05/0.1685, allocations: 55.06 kB / 307.4 MB, free: 16.68 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.058e-05/0.1685, allocations: 2.578 kB / 307.4 MB, free: 16.68 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.645e-05/0.1685, allocations: 13.05 kB / 307.4 MB, free: 16.68 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.931e-05/0.1686, allocations: 9.875 kB / 307.4 MB, free: 16.68 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.723e-05/0.1686, allocations: 7.984 kB / 307.4 MB, free: 16.68 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002979/0.1689, allocations: 315.1 kB / 307.7 MB, free: 16.61 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1689, allocations: 0 / 307.7 MB, free: 16.61 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000185/0.1691, allocations: 42.05 kB / 307.8 MB, free: 16.61 MB / 282.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.00112/0.1702, allocations: 0.5103 MB / 308.3 MB, free: 16.32 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001573/0.1703, allocations: 54.11 kB / 308.3 MB, free: 16.31 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.892e-05/0.1704, allocations: 9.75 kB / 308.3 MB, free: 16.3 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.588e-05/0.1704, allocations: 35.22 kB / 308.4 MB, free: 16.29 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003182/0.1707, allocations: 79.75 kB / 308.5 MB, free: 16.25 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009018/0.1716, allocations: 0.6411 MB / 309.1 MB, free: 15.86 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001124/0.1718, allocations: 133.3 kB / 309.2 MB, free: 15.78 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001057/0.1719, allocations: 37.95 kB / 309.3 MB, free: 15.77 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001371/0.172, allocations: 97.55 kB / 309.4 MB, free: 15.72 MB / 282.7 MB Notification: Performance of SimCode: time 1.683e-06/0.172, allocations: 7.938 kB / 309.4 MB, free: 15.71 MB / 282.7 MB Notification: Performance of Templates: time 0.008947/0.1809, allocations: 4.256 MB / 313.6 MB, free: 14.33 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.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.1747317132540047]