Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.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.0009216/0.0009216, allocations: 79.92 kB / 20.72 MB, free: 3.77 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.0009617/0.0009617, allocations: 169 kB / 24.14 MB, free: 360 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.9163/0.9163, allocations: 158.6 MB / 186 MB, free: 2.77 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.147/0.147, allocations: 32.37 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.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|cp.[0-9,]+.|eta.[0-9,]+.|lambda.[0-9,]+.|rho.[0-9,]+.|m_flow.[0-9,]+.|Re_1.[0-9,]+.|Nu_1.[0-9,]+.|Nu_2.[0-9,]+.|Nu_3.[0-9,]+.|Nu_4.[0-9,]+.|Re|Pr.[0-9,]+.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|cp.[0-9,]+.|eta.[0-9,]+.|lambda.[0-9,]+.|rho.[0-9,]+.|m_flow.[0-9,]+.|Re_1.[0-9,]+.|Nu_1.[0-9,]+.|Nu_2.[0-9,]+.|Nu_3.[0-9,]+.|Nu_4.[0-9,]+.|Re|Pr.[0-9,]+.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 299.1 MB, free: 2.16 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.047e-05/2.184e-05, allocations: 2.312 kB / 299.1 MB, free: 2.156 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall): time 0.1474/0.1474, allocations: 2.282 MB / 301.4 MB, free: 19.28 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002901/0.1503, allocations: 2.053 MB / 303.5 MB, free: 18.71 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001893/0.1505, allocations: 2.25 kB / 303.5 MB, free: 18.71 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003506/0.1509, allocations: 72.91 kB / 303.5 MB, free: 18.68 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002975/0.1512, allocations: 121 kB / 303.6 MB, free: 18.62 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001425/0.1526, allocations: 432.1 kB / 304.1 MB, free: 18.5 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006757/0.1533, allocations: 0.5508 MB / 304.6 MB, free: 18.32 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.1534, allocations: 30.45 kB / 304.6 MB, free: 18.3 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004511/0.1538, allocations: 239.9 kB / 304.9 MB, free: 18.23 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003188/0.1541, allocations: 177.9 kB / 305.1 MB, free: 18.18 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.578e-05/0.1542, allocations: 14.03 kB / 305.1 MB, free: 18.18 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008575/0.1551, allocations: 374.8 kB / 305.4 MB, free: 18.09 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001674/0.1552, allocations: 107.3 kB / 305.5 MB, free: 18.04 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001956/0.1554, allocations: 130.9 kB / 305.7 MB, free: 17.99 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001171/0.1566, allocations: 0.7181 MB / 306.4 MB, free: 17.71 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.1566, allocations: 5.188 kB / 306.4 MB, free: 17.71 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1566, allocations: 0 / 306.4 MB, free: 17.71 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.802e-05/0.1566, allocations: 0.5 kB / 306.4 MB, free: 17.71 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001129/0.1577, allocations: 0.7184 MB / 307.1 MB, free: 17.21 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.1578, allocations: 9.75 kB / 307.1 MB, free: 17.21 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001199/0.1579, allocations: 80.48 kB / 307.2 MB, free: 17.19 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002478/0.1582, allocations: 210 kB / 307.4 MB, free: 17.01 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.14e-05/0.1582, allocations: 43.31 kB / 307.4 MB, free: 16.99 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.192e-05/0.1582, allocations: 51.34 kB / 307.5 MB, free: 16.97 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000686/0.1589, allocations: 490.2 kB / 308 MB, free: 16.77 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.606e-05/0.1589, allocations: 1.188 kB / 308 MB, free: 16.77 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.272e-05/0.159, allocations: 30.97 kB / 308 MB, free: 16.75 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.311e-05/0.159, allocations: 26.05 kB / 308 MB, free: 16.75 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003183/0.1593, allocations: 202 kB / 308.2 MB, free: 16.71 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001361/0.1607, allocations: 1.147 MB / 309.4 MB, free: 15.97 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001899/0.1609, allocations: 171.1 kB / 309.5 MB, free: 15.83 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.151e-05/0.161, allocations: 44.83 kB / 309.6 MB, free: 15.79 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.121e-05/0.161, allocations: 18.09 kB / 309.6 MB, free: 15.79 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.43e-05/0.161, allocations: 32.75 kB / 309.6 MB, free: 15.75 MB / 282.7 MB Notification: Performance of pre-optimization done (n=20): time 2.054e-06/0.161, allocations: 1.062 kB / 309.6 MB, free: 15.75 MB / 282.7 MB Notification: Performance of matching and sorting (n=20): time 0.0003315/0.1614, allocations: 126.2 kB / 309.8 MB, free: 15.7 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.27e-05/0.1614, allocations: 109 kB / 309.9 MB, free: 15.57 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002131/0.1616, allocations: 319 kB / 310.2 MB, free: 15.38 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.967e-05/0.1616, allocations: 25.7 kB / 310.2 MB, free: 15.35 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001101/0.1617, allocations: 306.2 kB / 310.5 MB, free: 15.1 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.508e-05/0.1618, allocations: 74.98 kB / 310.6 MB, free: 15.04 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001204/0.1619, allocations: 111.4 kB / 310.7 MB, free: 14.98 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.483e-05/0.1619, allocations: 345.4 kB / 311 MB, free: 14.65 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.849e-05/0.162, allocations: 52.02 kB / 311.1 MB, free: 14.64 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001722/0.1622, allocations: 307.2 kB / 311.4 MB, free: 14.28 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003577/0.1626, allocations: 442 kB / 311.8 MB, free: 13.84 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.912e-06/0.1626, allocations: 5.812 kB / 311.8 MB, free: 13.84 MB / 282.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.000446/0.163, allocations: 342.8 kB / 312.1 MB, free: 13.7 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.163, allocations: 9.625 kB / 312.2 MB, free: 13.7 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.573e-05/0.1631, allocations: 30.62 kB / 312.2 MB, free: 13.69 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.365e-05/0.1631, allocations: 16.44 kB / 312.2 MB, free: 13.69 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001555/0.1633, allocations: 66.11 kB / 312.3 MB, free: 13.68 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.672e-05/0.1633, allocations: 18.8 kB / 312.3 MB, free: 13.67 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002031/0.1635, allocations: 59.16 kB / 312.3 MB, free: 13.64 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.803e-05/0.1635, allocations: 30.31 kB / 312.4 MB, free: 13.63 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 24 (m_flow_IN_con_1[1].target,m_flow_IN_con_1[1].roughness,m_flow_IN_con_1[2].target,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[3].target,m_flow_IN_con_1[3].roughness,m_flow_IN_con_2[1].target,m_flow_IN_con_2[1].roughness,m_flow_IN_con_2[2].target,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[3].target,m_flow_IN_con_2[3].roughness,m_flow_IN_con_3[1].target,m_flow_IN_con_3[1].roughness,m_flow_IN_con_3[2].target,m_flow_IN_con_3[2].roughness,m_flow_IN_con_3[3].target,m_flow_IN_con_3[3].roughness,m_flow_IN_con_4[1].target,m_flow_IN_con_4[1].roughness,m_flow_IN_con_4[2].target,m_flow_IN_con_4[2].roughness,m_flow_IN_con_4[3].target,m_flow_IN_con_4[3].roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0001495/0.1637, allocations: 173.8 kB / 312.5 MB, free: 13.48 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.241e-05/0.1637, allocations: 22.02 kB / 312.6 MB, free: 13.47 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003518/0.1641, allocations: 219.8 kB / 312.8 MB, free: 13.36 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.085e-06/0.1641, allocations: 5.484 kB / 312.8 MB, free: 13.36 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.876e-06/0.1641, allocations: 1.094 kB / 312.8 MB, free: 13.36 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.1641, allocations: 2.812 kB / 312.8 MB, free: 13.36 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003258/0.1644, allocations: 191.4 kB / 313 MB, free: 13.25 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-05/0.1645, allocations: 22.25 kB / 313 MB, free: 13.24 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.879e-05/0.1645, allocations: 21.2 kB / 313 MB, free: 13.24 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.1645, allocations: 4 kB / 313 MB, free: 13.23 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.69e-05/0.1646, allocations: 5.297 kB / 313 MB, free: 13.23 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.1646, allocations: 6.375 kB / 313 MB, free: 13.23 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.1646, allocations: 3.938 kB / 313 MB, free: 13.23 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002381/0.1648, allocations: 410.1 kB / 313.4 MB, free: 12.88 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.39e-05/0.1648, allocations: 33.33 kB / 313.5 MB, free: 12.86 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.796e-05/0.1649, allocations: 2.125 kB / 313.5 MB, free: 12.86 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001227/0.165, allocations: 15.2 kB / 313.5 MB, free: 12.86 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.908e-05/0.165, allocations: 18.89 kB / 313.5 MB, free: 12.85 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.582e-05/0.1651, allocations: 12.31 kB / 313.5 MB, free: 12.84 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.243e-05/0.1652, allocations: 100.2 kB / 313.6 MB, free: 12.81 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1652, allocations: 1.188 kB / 313.6 MB, free: 12.81 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006857/0.1658, allocations: 212 kB / 313.8 MB, free: 12.75 MB / 282.7 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 (17): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0003712/0.1662, allocations: 208.5 kB / 314 MB, free: 12.64 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003763/0.1666, allocations: 0.503 MB / 314.5 MB, free: 12.2 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.54e-05/0.1666, allocations: 4.625 kB / 314.5 MB, free: 12.2 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001374/0.1667, allocations: 375.3 kB / 314.9 MB, free: 11.8 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003276/0.1671, allocations: 58.62 kB / 315 MB, free: 11.77 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001349/0.1684, allocations: 0.8165 MB / 315.8 MB, free: 11.32 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001037/0.1685, allocations: 143.1 kB / 315.9 MB, free: 11.25 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001194/0.1686, allocations: 34.64 kB / 315.9 MB, free: 11.24 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002138/0.1689, allocations: 151.8 kB / 316.1 MB, free: 11.18 MB / 282.7 MB Notification: Performance of SimCode: time 1.132e-06/0.1689, allocations: 0 / 316.1 MB, free: 11.18 MB / 282.7 MB Notification: Performance of Templates: time 0.01004/0.1789, allocations: 8.136 MB / 324.2 MB, free: 4.492 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_overall/kc_overall.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.3382265460677445]