Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.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.002006/0.002006, allocations: 124.5 kB / 17.79 MB, free: 5.227 MB / 14.72 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.002465/0.002465, allocations: 207.2 kB / 20.75 MB, free: 2.273 MB / 14.72 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 1.653/1.653, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] 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.256/0.256, allocations: 46.92 MB / 357.1 MB, free: 10.32 MB / 286.1 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.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68") translateModel(ModelicaTest.Tables.CombiTimeTable.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002034/0.002034, allocations: 63.91 kB / 0.4915 GB, free: 7.391 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1499/0.1519, allocations: 66 MB / 0.5559 GB, free: 5.262 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.003401/0.1554, allocations: 1.817 MB / 0.5577 GB, free: 3.43 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002046/0.1574, allocations: 1.114 MB / 0.5588 GB, free: 2.312 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.552e-05/0.1575, allocations: 4 kB / 0.5588 GB, free: 2.309 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005551/0.158, allocations: 307.2 kB / 0.5591 GB, free: 2.008 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005012/0.1585, allocations: 243.2 kB / 0.5593 GB, free: 1.77 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002638/0.1588, allocations: 111.6 kB / 0.5594 GB, free: 1.66 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003514/0.1592, allocations: 263.2 kB / 0.5597 GB, free: 1.402 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.091e-05/0.1592, allocations: 13.62 kB / 0.5597 GB, free: 1.387 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001955/0.1594, allocations: 139.5 kB / 0.5598 GB, free: 1.25 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002659/0.1597, allocations: 208 kB / 0.56 GB, free: 1.047 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.913e-05/0.1597, allocations: 8 kB / 0.56 GB, free: 1.039 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001202/0.1598, allocations: 51.91 kB / 0.5601 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001527/0.16, allocations: 132.5 kB / 0.5602 GB, free: 0.8594 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000158/0.1601, allocations: 150.8 kB / 0.5603 GB, free: 0.7109 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004764/0.1606, allocations: 370.2 kB / 0.5607 GB, free: 356 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.217e-06/0.1606, allocations: 0 / 0.5607 GB, free: 356 kB / 414.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1606, allocations: 0 / 0.5607 GB, free: 356 kB / 414.1 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.1606, allocations: 0 / 0.5607 GB, free: 356 kB / 414.1 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.001145/0.1618, allocations: 0.7539 MB / 0.5614 GB, free: 15.54 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.1618, allocations: 12.03 kB / 0.5614 GB, free: 15.53 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.302e-05/0.1619, allocations: 48.61 kB / 0.5615 GB, free: 15.48 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006381/0.1625, allocations: 460.3 kB / 0.5619 GB, free: 14.99 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.696e-05/0.1626, allocations: 4.375 kB / 0.5619 GB, free: 14.99 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.886e-05/0.1626, allocations: 8.125 kB / 0.5619 GB, free: 14.98 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002292/0.1628, allocations: 87.3 kB / 0.562 GB, free: 14.88 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.1628, allocations: 0 / 0.562 GB, free: 14.88 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.1628, allocations: 0 / 0.562 GB, free: 14.88 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.1628, allocations: 0 / 0.562 GB, free: 14.88 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001178/0.163, allocations: 31.97 kB / 0.5621 GB, free: 14.85 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004532/0.1634, allocations: 378.4 kB / 0.5624 GB, free: 14.43 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002861/0.1637, allocations: 101.2 kB / 0.5625 GB, free: 14.31 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001114/0.1638, allocations: 45.64 kB / 0.5626 GB, free: 14.26 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.767e-05/0.1638, allocations: 0 / 0.5626 GB, free: 14.26 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002347/0.1641, allocations: 113 kB / 0.5627 GB, free: 14.13 MB / 430.1 MB Notification: Performance of pre-optimization done (n=10): time 1.083e-06/0.1641, allocations: 0 / 0.5627 GB, free: 14.13 MB / 430.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005308/0.1646, allocations: 205.2 kB / 0.5629 GB, free: 13.93 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.373e-05/0.1647, allocations: 81.11 kB / 0.5629 GB, free: 13.83 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001256/0.1659, allocations: 1.022 MB / 0.5639 GB, free: 12.79 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.714e-05/0.1659, allocations: 29.7 kB / 0.564 GB, free: 12.76 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002045/0.1661, allocations: 232.1 kB / 0.5642 GB, free: 12.53 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.452e-05/0.1662, allocations: 31.73 kB / 0.5642 GB, free: 12.5 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.483e-05/0.1662, allocations: 29.7 kB / 0.5642 GB, free: 12.46 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002315/0.1665, allocations: 370.8 kB / 0.5646 GB, free: 12.09 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.199e-05/0.1666, allocations: 35.92 kB / 0.5646 GB, free: 12.05 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001122/0.1667, allocations: 63.28 kB / 0.5647 GB, free: 11.98 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001965/0.1669, allocations: 79.42 kB / 0.5648 GB, free: 11.89 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.75e-06/0.1669, allocations: 8 kB / 0.5648 GB, free: 11.88 MB / 430.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003364/0.1672, allocations: 177.1 kB / 0.5649 GB, free: 11.7 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.1672, allocations: 4 kB / 0.5649 GB, free: 11.7 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.315e-06/0.1672, allocations: 4.625 kB / 0.565 GB, free: 11.7 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.1673, allocations: 0 / 0.565 GB, free: 11.7 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001244/0.1674, allocations: 19.98 kB / 0.565 GB, free: 11.68 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.325e-06/0.1674, allocations: 4 kB / 0.565 GB, free: 11.67 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.971e-05/0.1675, allocations: 11.89 kB / 0.565 GB, free: 11.66 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.305e-05/0.1675, allocations: 8 kB / 0.565 GB, free: 11.65 MB / 430.1 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.0002523/0.1678, allocations: 231.9 kB / 0.5652 GB, free: 11.42 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.163e-05/0.1678, allocations: 51.67 kB / 0.5653 GB, free: 11.37 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.631e-05/0.1679, allocations: 60.09 kB / 0.5653 GB, free: 11.3 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.1679, allocations: 0 / 0.5653 GB, free: 11.3 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.698e-06/0.1679, allocations: 0 / 0.5653 GB, free: 11.3 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.1679, allocations: 0 / 0.5653 GB, free: 11.3 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003716/0.1683, allocations: 341.4 kB / 0.5656 GB, free: 10.92 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.1683, allocations: 0 / 0.5656 GB, free: 10.92 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.907e-05/0.1684, allocations: 12 kB / 0.5657 GB, free: 10.91 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.043e-06/0.1684, allocations: 4 kB / 0.5657 GB, free: 10.91 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.591e-05/0.1684, allocations: 7.984 kB / 0.5657 GB, free: 10.9 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.634e-06/0.1684, allocations: 0 / 0.5657 GB, free: 10.9 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1684, allocations: 0 / 0.5657 GB, free: 10.9 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003833/0.1688, allocations: 205.5 kB / 0.5659 GB, free: 10.68 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001486/0.1689, allocations: 136.8 kB / 0.566 GB, free: 10.52 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.615e-05/0.169, allocations: 8 kB / 0.566 GB, free: 10.52 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.755e-05/0.169, allocations: 11.98 kB / 0.566 GB, free: 10.5 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.367e-05/0.1691, allocations: 11.92 kB / 0.566 GB, free: 10.49 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.015e-05/0.1691, allocations: 8 kB / 0.566 GB, free: 10.48 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0009174/0.17, allocations: 0.7604 MB / 0.5668 GB, free: 9.727 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.17, allocations: 0 / 0.5668 GB, free: 9.727 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002825/0.1703, allocations: 47.92 kB / 0.5668 GB, free: 9.68 MB / 430.1 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.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * 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.001556/0.1719, allocations: 416.9 kB / 0.5672 GB, free: 9.422 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002657/0.1721, allocations: 83.91 kB / 0.5673 GB, free: 9.34 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.1721, allocations: 0 / 0.5673 GB, free: 9.34 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001099/0.1722, allocations: 35.92 kB / 0.5673 GB, free: 9.305 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004492/0.1727, allocations: 75.22 kB / 0.5674 GB, free: 9.238 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001378/0.1741, allocations: 0.8699 MB / 0.5683 GB, free: 8.34 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005753/0.1746, allocations: 0.8427 MB / 0.5691 GB, free: 7.469 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000119/0.1748, allocations: 55.45 kB / 0.5691 GB, free: 7.414 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.962e-05/0.1748, allocations: 27.42 kB / 0.5692 GB, free: 7.391 MB / 430.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1748, allocations: 0 / 0.5692 GB, free: 7.391 MB / 430.1 MB Notification: Performance of Templates: time 0.009124/0.184, allocations: 3.778 MB / 0.5728 GB, free: 3.629 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.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: 5.520486332476139]