Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,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.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,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.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001059/0.001059, allocations: 109.4 kB / 18.45 MB, free: 4.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001117/0.001117, allocations: 190.2 kB / 19.38 MB, free: 3.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.268/1.268, allocations: 222.9 MB / 243.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1995/0.1995, allocations: 44.18 MB / 337.4 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 59.91 kB / 471.2 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2955/0.2967, allocations: 60.82 MB / 0.5196 GB, free: 3.625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.002789/0.2996, allocations: 2.012 MB / 0.5216 GB, free: 2.238 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001452/0.301, allocations: 1.079 MB / 0.5226 GB, free: 1.484 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.179e-05/0.3011, allocations: 1.062 kB / 0.5226 GB, free: 1.484 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002513/0.3014, allocations: 55.41 kB / 0.5227 GB, free: 1.457 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001765/0.3016, allocations: 74.38 kB / 0.5227 GB, free: 1.414 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004732/0.3021, allocations: 163.8 kB / 0.5229 GB, free: 1.34 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003445/0.3024, allocations: 322.7 kB / 0.5232 GB, free: 1.203 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.799e-05/0.3025, allocations: 38.53 kB / 0.5232 GB, free: 1.184 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001627/0.3027, allocations: 112.8 kB / 0.5233 GB, free: 1.137 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001856/0.3029, allocations: 141 kB / 0.5235 GB, free: 1.074 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.499e-05/0.3029, allocations: 10.69 kB / 0.5235 GB, free: 1.074 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003448/0.3033, allocations: 194.5 kB / 0.5237 GB, free: 1.012 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001037/0.3034, allocations: 70.95 kB / 0.5237 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001148/0.3035, allocations: 129 kB / 0.5239 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004916/0.304, allocations: 388.9 kB / 0.5242 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.304, allocations: 3.938 kB / 0.5242 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.304, allocations: 0 / 0.5242 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.162e-06/0.304, allocations: 0 / 0.5242 GB, free: 0.7539 MB / 382.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.0009649/0.305, allocations: 0.6209 MB / 0.5248 GB, free: 264 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.305, allocations: 12.97 kB / 0.5249 GB, free: 260 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.634e-05/0.3051, allocations: 33.17 kB / 0.5249 GB, free: 244 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002263/0.3053, allocations: 255 kB / 0.5251 GB, free: 0 / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.11e-05/0.3054, allocations: 23.92 kB / 0.5252 GB, free: 15.99 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.227e-05/0.3054, allocations: 25.84 kB / 0.5252 GB, free: 15.98 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000735/0.3062, allocations: 436 kB / 0.5256 GB, free: 15.81 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.3062, allocations: 1.375 kB / 0.5256 GB, free: 15.81 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.038e-05/0.3062, allocations: 10.75 kB / 0.5256 GB, free: 15.8 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.308e-05/0.3063, allocations: 16.61 kB / 0.5256 GB, free: 15.8 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007137/0.307, allocations: 326 kB / 0.5259 GB, free: 15.73 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001425/0.3084, allocations: 1.095 MB / 0.527 GB, free: 14.94 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004511/0.3089, allocations: 244 kB / 0.5272 GB, free: 14.79 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000259/0.3092, allocations: 113.4 kB / 0.5273 GB, free: 14.73 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.67e-05/0.3092, allocations: 4.125 kB / 0.5273 GB, free: 14.73 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.678e-05/0.3093, allocations: 39.88 kB / 0.5274 GB, free: 14.68 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.613e-06/0.3093, allocations: 0 / 0.5274 GB, free: 14.68 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.00096/0.3102, allocations: 351.2 kB / 0.5277 GB, free: 14.52 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.003e-05/0.3103, allocations: 115.9 kB / 0.5278 GB, free: 14.38 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004041/0.3107, allocations: 400.6 kB / 0.5282 GB, free: 14.14 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.77e-05/0.3108, allocations: 30.98 kB / 0.5282 GB, free: 14.11 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001267/0.3109, allocations: 197.7 kB / 0.5284 GB, free: 13.92 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.442e-05/0.3109, allocations: 54 kB / 0.5285 GB, free: 13.88 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001091/0.311, allocations: 56.94 kB / 0.5285 GB, free: 13.84 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001233/0.3112, allocations: 339.7 kB / 0.5289 GB, free: 13.5 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003003/0.3115, allocations: 123.2 kB / 0.529 GB, free: 13.45 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003602/0.3119, allocations: 235.6 kB / 0.5292 GB, free: 13.25 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006566/0.3125, allocations: 373.3 kB / 0.5296 GB, free: 12.97 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.3125, allocations: 1.594 kB / 0.5296 GB, free: 12.97 MB / 398.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008051/0.3133, allocations: 391.2 kB / 0.5299 GB, free: 12.79 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.3134, allocations: 7.156 kB / 0.5299 GB, free: 12.79 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.544e-05/0.3134, allocations: 25.27 kB / 0.53 GB, free: 12.78 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.3134, allocations: 5.656 kB / 0.53 GB, free: 12.78 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002354/0.3137, allocations: 48.36 kB / 0.53 GB, free: 12.77 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.371e-05/0.3137, allocations: 14.41 kB / 0.53 GB, free: 12.76 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002734/0.314, allocations: 61.3 kB / 0.5301 GB, free: 12.72 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.45e-05/0.314, allocations: 24.28 kB / 0.5301 GB, free: 12.71 MB / 398.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.0001697/0.3142, allocations: 166.9 kB / 0.5303 GB, free: 12.57 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.656e-05/0.3143, allocations: 36.45 kB / 0.5303 GB, free: 12.54 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006051/0.3149, allocations: 284.7 kB / 0.5306 GB, free: 12.39 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.143e-06/0.3149, allocations: 2.812 kB / 0.5306 GB, free: 12.39 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/0.315, allocations: 5.031 kB / 0.5306 GB, free: 12.39 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.315, allocations: 1.75 kB / 0.5306 GB, free: 12.39 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000448/0.3154, allocations: 305.6 kB / 0.5309 GB, free: 12.11 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.432e-05/0.3155, allocations: 17.81 kB / 0.5309 GB, free: 12.11 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001464/0.3156, allocations: 24.34 kB / 0.5309 GB, free: 12.1 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.48e-06/0.3156, allocations: 5.344 kB / 0.5309 GB, free: 12.09 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.041e-05/0.3156, allocations: 8.312 kB / 0.5309 GB, free: 12.09 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.3157, allocations: 1.438 kB / 0.5309 GB, free: 12.09 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.3157, allocations: 13.22 kB / 0.5309 GB, free: 12.08 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000683/0.3164, allocations: 0.4963 MB / 0.5314 GB, free: 11.7 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.363e-05/0.3164, allocations: 117.8 kB / 0.5315 GB, free: 11.58 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.314e-05/0.3165, allocations: 5.344 kB / 0.5315 GB, free: 11.58 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002674/0.3168, allocations: 17.38 kB / 0.5316 GB, free: 11.57 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.716e-05/0.3169, allocations: 24.91 kB / 0.5316 GB, free: 11.55 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.667e-05/0.3169, allocations: 6.281 kB / 0.5316 GB, free: 11.55 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002926/0.3172, allocations: 291.5 kB / 0.5319 GB, free: 11.38 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3172, allocations: 0 / 0.5319 GB, free: 11.38 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005227/0.3177, allocations: 89.84 kB / 0.532 GB, free: 11.36 MB / 398.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.0003369/0.3181, allocations: 158.3 kB / 0.5321 GB, free: 11.24 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007812/0.3189, allocations: 431.9 kB / 0.5325 GB, free: 10.94 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3189, allocations: 1.062 kB / 0.5325 GB, free: 10.94 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003785/0.3193, allocations: 278.4 kB / 0.5328 GB, free: 10.7 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006047/0.3199, allocations: 71.23 kB / 0.5329 GB, free: 10.67 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001165/0.321, allocations: 0.6268 MB / 0.5335 GB, free: 10.27 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003961/0.3215, allocations: 0.7995 MB / 0.5342 GB, free: 9.512 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.021e-05/0.3215, allocations: 22.84 kB / 0.5343 GB, free: 9.504 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3216, allocations: 0 / 0.5343 GB, free: 9.504 MB / 398.1 MB Notification: Performance of Templates: time 0.01028/0.3318, allocations: 5.521 MB / 0.5397 GB, free: 6.715 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_turbulent/kc_turbulent.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches