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.001035/0.001035, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001469/0.002504, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001142/0.001142, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001441/0.002583, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.029/1.029, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08143/1.11, allocations: 53.65 MB / 243.3 MB, free: 15.57 MB / 250.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.2499/0.2499, allocations: 34.25 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02679/0.2767, allocations: 13.1 MB / 291.3 MB, free: 7.367 MB / 282.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.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent,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,]+.|Re|Pr.[0-9,]+.|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.[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,]+.|Re|Pr.[0-9,]+.|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 2.024e-06/2.024e-06, allocations: 0 / 292.6 MB, free: 6.277 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.378e-05/1.58e-05, allocations: 3.75 kB / 292.6 MB, free: 6.273 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.003121/0.003137, allocations: 2.126 MB / 294.8 MB, free: 4.141 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001756/0.004892, allocations: 1.142 MB / 295.9 MB, free: 2.996 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001154/0.005008, allocations: 0 / 295.9 MB, free: 2.996 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002127/0.005221, allocations: 59.55 kB / 296 MB, free: 2.938 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002158/0.005436, allocations: 87.39 kB / 296.1 MB, free: 2.852 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000559/0.005995, allocations: 171.3 kB / 296.2 MB, free: 2.684 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004122/0.006408, allocations: 350.3 kB / 296.6 MB, free: 2.34 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.274e-05/0.00647, allocations: 18.91 kB / 296.6 MB, free: 2.324 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003308/0.006801, allocations: 184.1 kB / 296.8 MB, free: 2.145 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002/0.007001, allocations: 119.5 kB / 296.9 MB, free: 2.027 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.075e-05/0.007032, allocations: 12 kB / 296.9 MB, free: 2.016 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000351/0.007383, allocations: 151.8 kB / 297 MB, free: 1.867 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.543e-05/0.007468, allocations: 59.73 kB / 297.1 MB, free: 1.809 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.652e-05/0.007555, allocations: 59.81 kB / 297.2 MB, free: 1.75 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004546/0.008009, allocations: 338.8 kB / 297.5 MB, free: 1.418 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.518e-05/0.008025, allocations: 0 / 297.5 MB, free: 1.418 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.008025, allocations: 0 / 297.5 MB, free: 1.418 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.96e-05/0.008045, allocations: 0 / 297.5 MB, free: 1.418 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.0009428/0.008988, allocations: 0.5747 MB / 298.1 MB, free: 0.8203 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.009029, allocations: 8.031 kB / 298.1 MB, free: 0.8125 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000351/0.00938, allocations: 146 kB / 298.2 MB, free: 0.6523 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002543/0.009634, allocations: 185 kB / 298.4 MB, free: 456 kB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.304e-05/0.009657, allocations: 16.66 kB / 298.4 MB, free: 436 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.713e-05/0.009694, allocations: 28 kB / 298.4 MB, free: 408 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004104/0.0101, allocations: 282.2 kB / 298.7 MB, free: 104 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.01012, allocations: 0 / 298.7 MB, free: 104 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.329e-05/0.01014, allocations: 12 kB / 298.7 MB, free: 92 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.976e-05/0.01018, allocations: 24.59 kB / 298.7 MB, free: 68 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001891/0.01037, allocations: 102.2 kB / 298.8 MB, free: 15.96 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009144/0.01128, allocations: 0.7672 MB / 299.6 MB, free: 15.16 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002071/0.01149, allocations: 152.1 kB / 299.8 MB, free: 14.98 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.017e-05/0.01155, allocations: 36.25 kB / 299.8 MB, free: 14.94 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.559e-05/0.01159, allocations: 12 kB / 299.8 MB, free: 14.93 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.815e-05/0.01162, allocations: 34.56 kB / 299.8 MB, free: 14.89 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 1.713e-06/0.01162, allocations: 0 / 299.8 MB, free: 14.89 MB / 298.7 MB Notification: Performance of matching and sorting (n=14): time 0.000312/0.01193, allocations: 101.5 kB / 299.9 MB, free: 14.78 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.254e-05/0.01199, allocations: 110.8 kB / 300 MB, free: 14.65 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001931/0.01218, allocations: 216.9 kB / 300.3 MB, free: 14.42 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.551e-05/0.01221, allocations: 29.7 kB / 300.3 MB, free: 14.39 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001157/0.01233, allocations: 200.2 kB / 300.5 MB, free: 14.19 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.13e-05/0.01237, allocations: 51.56 kB / 300.5 MB, free: 14.14 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.455e-05/0.01246, allocations: 58.11 kB / 300.6 MB, free: 14.07 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001261/0.01259, allocations: 334.7 kB / 300.9 MB, free: 13.73 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.034e-05/0.01266, allocations: 31.05 kB / 300.9 MB, free: 13.7 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001393/0.0128, allocations: 136.8 kB / 301.1 MB, free: 13.52 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002405/0.01304, allocations: 212.9 kB / 301.3 MB, free: 13.25 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.01304, allocations: 0 / 301.3 MB, free: 13.25 MB / 298.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002968/0.01334, allocations: 176.5 kB / 301.5 MB, free: 13.07 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.01335, allocations: 8 kB / 301.5 MB, free: 13.06 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.786e-05/0.01339, allocations: 15.98 kB / 301.5 MB, free: 13.04 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.951e-05/0.01341, allocations: 8 kB / 301.5 MB, free: 13.04 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000164/0.01358, allocations: 48.44 kB / 301.5 MB, free: 12.99 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.315e-06/0.01358, allocations: 11.94 kB / 301.6 MB, free: 12.98 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001544/0.01374, allocations: 35.83 kB / 301.6 MB, free: 12.94 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.323e-05/0.01376, allocations: 8 kB / 301.6 MB, free: 12.93 MB / 298.7 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_1[1].roughness,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[3].roughness,m_flow_IN_con_2[1].roughness,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[3].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.000135/0.0139, allocations: 140.5 kB / 301.7 MB, free: 12.79 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.088e-05/0.01397, allocations: 11.98 kB / 301.7 MB, free: 12.77 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000282/0.01425, allocations: 135.4 kB / 301.9 MB, free: 12.64 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.01425, allocations: 8 kB / 301.9 MB, free: 12.63 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.355e-06/0.01426, allocations: 0 / 301.9 MB, free: 12.63 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.451e-06/0.01426, allocations: 3.984 kB / 301.9 MB, free: 12.62 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003277/0.01459, allocations: 149.6 kB / 302 MB, free: 12.46 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-05/0.01462, allocations: 11.94 kB / 302 MB, free: 12.45 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.21e-05/0.0147, allocations: 23.97 kB / 302.1 MB, free: 12.43 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.764e-05/0.01473, allocations: 15.86 kB / 302.1 MB, free: 12.41 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.01473, allocations: 0 / 302.1 MB, free: 12.41 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.979e-05/0.01475, allocations: 8 kB / 302.1 MB, free: 12.4 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.01475, allocations: 0 / 302.1 MB, free: 12.4 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.01476, allocations: 4 kB / 302.1 MB, free: 12.4 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002892/0.01505, allocations: 390.1 kB / 302.5 MB, free: 12 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.098e-05/0.01508, allocations: 7.984 kB / 302.5 MB, free: 11.99 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001645/0.01524, allocations: 8 kB / 302.5 MB, free: 11.98 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.521e-05/0.0153, allocations: 15.97 kB / 302.5 MB, free: 11.97 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.436e-05/0.01531, allocations: 0 / 302.5 MB, free: 11.97 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.268e-05/0.01538, allocations: 70.78 kB / 302.6 MB, free: 11.9 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01538, allocations: 0 / 302.6 MB, free: 11.9 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005043/0.01589, allocations: 111.7 kB / 302.7 MB, free: 11.79 MB / 298.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 (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.0002397/0.01613, allocations: 148.2 kB / 302.8 MB, free: 11.64 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002949/0.01642, allocations: 259.2 kB / 303.1 MB, free: 11.35 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.164e-05/0.01643, allocations: 4 kB / 303.1 MB, free: 11.34 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001635/0.0166, allocations: 195 kB / 303.3 MB, free: 11.11 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002824/0.01688, allocations: 57.48 kB / 303.3 MB, free: 11.06 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002126/0.01901, allocations: 0.5477 MB / 303.9 MB, free: 10.47 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.227e-05/0.01908, allocations: 103.9 kB / 304 MB, free: 10.35 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.316e-05/0.01914, allocations: 21.62 kB / 304 MB, free: 10.33 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000148/0.01929, allocations: 111.3 kB / 304.1 MB, free: 10.22 MB / 298.7 MB Notification: Performance of SimCode: time 1.213e-06/0.01929, allocations: 0 / 304.1 MB, free: 10.22 MB / 298.7 MB Notification: Performance of Templates: time 0.00687/0.02616, allocations: 4.687 MB / 308.8 MB, free: 5.617 MB / 298.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_turbulent/kc_turbulent.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: 2.977765035815537]