Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.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.001791/0.001791, allocations: 115.1 kB / 18.46 MB, free: 4.543 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.002234/0.002234, allocations: 215.2 kB / 21.42 MB, free: 1.582 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.55/1.55, allocations: 230.6 MB / 254.8 MB, free: 15.27 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.2408/0.2408, allocations: 46.91 MB / 357.8 MB, free: 10.36 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.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|cp.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.3.|m_flow.1.|m_flow.2.|m_flow.3.|Re_1.1.|Re_1.2.|Re_1.3.|Nu_1.1.|Nu_1.2.|Nu_1.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|Re|Pr.1.|Pr.2.|Pr.3.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|cp.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.3.|m_flow.1.|m_flow.2.|m_flow.3.|Re_1.1.|Re_1.2.|Re_1.3.|Nu_1.1.|Nu_1.2.|Nu_1.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|Re|Pr.1.|Pr.2.|Pr.3.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002824/0.002824, allocations: 59.91 kB / 0.4921 GB, free: 7.48 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1511/0.154, allocations: 65.99 MB / 0.5565 GB, free: 5.359 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.003851/0.1578, allocations: 2.044 MB / 0.5585 GB, free: 3.305 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002161/0.16, allocations: 1.157 MB / 0.5597 GB, free: 2.145 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001514/0.1601, allocations: 4 kB / 0.5597 GB, free: 2.141 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002807/0.1604, allocations: 59.59 kB / 0.5597 GB, free: 2.082 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002573/0.1607, allocations: 83.52 kB / 0.5598 GB, free: 2 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006227/0.1613, allocations: 179.3 kB / 0.56 GB, free: 1.824 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004443/0.1617, allocations: 330.5 kB / 0.5603 GB, free: 1.5 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.134e-05/0.1618, allocations: 20.75 kB / 0.5603 GB, free: 1.48 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002464/0.162, allocations: 127.4 kB / 0.5604 GB, free: 1.355 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002036/0.1623, allocations: 135.4 kB / 0.5606 GB, free: 1.223 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.099e-05/0.1623, allocations: 12 kB / 0.5606 GB, free: 1.211 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003932/0.1627, allocations: 219.7 kB / 0.5608 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.492e-05/0.1628, allocations: 67.69 kB / 0.5609 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001402/0.1629, allocations: 131.1 kB / 0.561 GB, free: 0.8008 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005493/0.1635, allocations: 402.3 kB / 0.5614 GB, free: 416 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.1635, allocations: 3.938 kB / 0.5614 GB, free: 412 kB / 414.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.1635, allocations: 0 / 0.5614 GB, free: 412 kB / 414.1 MB Notification: Performance of Transformations before backend: time 6.211e-06/0.1635, allocations: 0 / 0.5614 GB, free: 412 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.001169/0.1646, allocations: 0.6387 MB / 0.562 GB, free: 15.71 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.1647, allocations: 12.03 kB / 0.562 GB, free: 15.7 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000386/0.1651, allocations: 68.66 kB / 0.5621 GB, free: 15.63 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003506/0.1654, allocations: 267.6 kB / 0.5623 GB, free: 15.33 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.749e-05/0.1654, allocations: 16.56 kB / 0.5623 GB, free: 15.32 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.765e-05/0.1655, allocations: 28 kB / 0.5624 GB, free: 15.29 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007511/0.1662, allocations: 429.8 kB / 0.5628 GB, free: 14.85 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.1662, allocations: 0 / 0.5628 GB, free: 14.85 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.232e-05/0.1663, allocations: 12 kB / 0.5628 GB, free: 14.84 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.191e-05/0.1663, allocations: 16.56 kB / 0.5628 GB, free: 14.82 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007146/0.167, allocations: 325.9 kB / 0.5631 GB, free: 14.51 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001584/0.1686, allocations: 1.108 MB / 0.5642 GB, free: 13.34 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005142/0.1691, allocations: 231.7 kB / 0.5644 GB, free: 13.08 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002952/0.1694, allocations: 114.4 kB / 0.5645 GB, free: 12.96 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.301e-05/0.1695, allocations: 3.984 kB / 0.5645 GB, free: 12.96 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.447e-05/0.1695, allocations: 34.56 kB / 0.5646 GB, free: 12.91 MB / 430.1 MB Notification: Performance of pre-optimization done (n=14): time 1.513e-06/0.1695, allocations: 0 / 0.5646 GB, free: 12.91 MB / 430.1 MB Notification: Performance of matching and sorting (n=14): time 0.00106/0.1705, allocations: 365.1 kB / 0.5649 GB, free: 12.55 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.854e-05/0.1706, allocations: 110.8 kB / 0.565 GB, free: 12.42 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000467/0.1711, allocations: 405.6 kB / 0.5654 GB, free: 12.01 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.765e-05/0.1711, allocations: 29.7 kB / 0.5654 GB, free: 11.97 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001562/0.1713, allocations: 196.2 kB / 0.5656 GB, free: 11.77 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.084e-05/0.1713, allocations: 51.58 kB / 0.5657 GB, free: 11.72 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001135/0.1714, allocations: 61.89 kB / 0.5657 GB, free: 11.65 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001744/0.1716, allocations: 350.8 kB / 0.5661 GB, free: 11.3 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003117/0.1719, allocations: 116.1 kB / 0.5662 GB, free: 11.19 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003998/0.1723, allocations: 237.8 kB / 0.5664 GB, free: 10.9 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007435/0.1731, allocations: 367 kB / 0.5667 GB, free: 10.49 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.347e-06/0.1731, allocations: 0 / 0.5667 GB, free: 10.49 MB / 430.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009112/0.174, allocations: 400.9 kB / 0.5671 GB, free: 10.09 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.174, allocations: 7.938 kB / 0.5671 GB, free: 10.08 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.675e-05/0.174, allocations: 24.53 kB / 0.5672 GB, free: 10.06 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.912e-05/0.1741, allocations: 4 kB / 0.5672 GB, free: 10.05 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002525/0.1743, allocations: 51.89 kB / 0.5672 GB, free: 10 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.258e-05/0.1743, allocations: 11.94 kB / 0.5672 GB, free: 9.992 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002813/0.1746, allocations: 59.78 kB / 0.5673 GB, free: 9.934 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.322e-05/0.1746, allocations: 20 kB / 0.5673 GB, free: 9.914 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 6 (m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[1].roughness,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[1].roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.0002095/0.1749, allocations: 180.8 kB / 0.5675 GB, free: 9.73 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.612e-05/0.175, allocations: 31.8 kB / 0.5675 GB, free: 9.699 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000654/0.1756, allocations: 292 kB / 0.5678 GB, free: 9.406 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.029e-05/0.1756, allocations: 4 kB / 0.5678 GB, free: 9.402 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.1756, allocations: 3.938 kB / 0.5678 GB, free: 9.398 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.1756, allocations: 4 kB / 0.5678 GB, free: 9.395 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004938/0.1761, allocations: 297.5 kB / 0.5681 GB, free: 9.055 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.276e-05/0.1762, allocations: 20 kB / 0.5681 GB, free: 9.035 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001688/0.1763, allocations: 27.97 kB / 0.5681 GB, free: 9.008 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.1763, allocations: 0 / 0.5681 GB, free: 9.008 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.565e-05/0.1764, allocations: 15.98 kB / 0.5681 GB, free: 8.992 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.1764, allocations: 3.938 kB / 0.5681 GB, free: 8.988 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.1764, allocations: 3.938 kB / 0.5681 GB, free: 8.984 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007825/0.1772, allocations: 0.5051 MB / 0.5686 GB, free: 8.465 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001098/0.1773, allocations: 116.8 kB / 0.5687 GB, free: 8.332 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.327e-05/0.1773, allocations: 4 kB / 0.5688 GB, free: 8.328 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002604/0.1776, allocations: 11.98 kB / 0.5688 GB, free: 8.316 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.779e-05/0.1776, allocations: 19.92 kB / 0.5688 GB, free: 8.297 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.435e-05/0.1777, allocations: 19.98 kB / 0.5688 GB, free: 8.277 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003166/0.178, allocations: 283.1 kB / 0.5691 GB, free: 8.004 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.178, allocations: 0 / 0.5691 GB, free: 8.004 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005196/0.1785, allocations: 99.81 kB / 0.5692 GB, free: 7.906 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * 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.000311/0.1788, allocations: 155.1 kB / 0.5693 GB, free: 7.742 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0008574/0.1797, allocations: 422.8 kB / 0.5697 GB, free: 7.293 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1797, allocations: 288 / 0.5697 GB, free: 7.293 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000406/0.1801, allocations: 274 kB / 0.57 GB, free: 6.988 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005965/0.1807, allocations: 69.77 kB / 0.57 GB, free: 6.922 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001185/0.1819, allocations: 0.6411 MB / 0.5707 GB, free: 6.242 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004395/0.1823, allocations: 0.7909 MB / 0.5714 GB, free: 5.426 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.304e-05/0.1824, allocations: 31.42 kB / 0.5715 GB, free: 5.395 MB / 430.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1824, allocations: 0 / 0.5715 GB, free: 5.395 MB / 430.1 MB Notification: Performance of Templates: time 0.008924/0.1913, allocations: 5.611 MB / 0.577 GB, free: 15.81 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_turbulent/kc_turbulent.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.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: 8.256792058004066]