Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_cpp_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_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00106/0.00106, allocations: 175.6 kB / 16.72 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.203/1.203, allocations: 205.4 MB / 222.9 MB, free: 8.949 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000742/0.0007419, allocations: 86.41 kB / 271.2 MB, free: 8.23 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.281/0.281, allocations: 43.57 MB / 363.1 MB, free: 51.86 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003527/0.0003527, allocations: 11.98 kB / 432 MB, free: 5.566 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09322/0.09359, allocations: 58.85 MB / 490.8 MB, free: 10.63 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.002036/0.09566, allocations: 1.673 MB / 492.5 MB, free: 8.945 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001513/0.0972, allocations: 1.034 MB / 493.6 MB, free: 7.906 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001033/0.09733, allocations: 0 / 493.6 MB, free: 7.906 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002284/0.09757, allocations: 43.75 kB / 493.6 MB, free: 7.863 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001867/0.09777, allocations: 71.58 kB / 493.7 MB, free: 7.793 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004736/0.09825, allocations: 127.6 kB / 493.8 MB, free: 7.668 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003812/0.09864, allocations: 362.5 kB / 494.1 MB, free: 7.312 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.378e-05/0.09872, allocations: 40.7 kB / 494.2 MB, free: 7.273 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001947/0.09893, allocations: 111.4 kB / 494.3 MB, free: 7.164 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001967/0.09913, allocations: 131.5 kB / 494.4 MB, free: 7.035 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.488e-05/0.09918, allocations: 11.94 kB / 494.4 MB, free: 7.023 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003575/0.09954, allocations: 183.7 kB / 494.6 MB, free: 6.844 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.317e-05/0.09963, allocations: 71.67 kB / 494.7 MB, free: 6.773 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001334/0.09977, allocations: 137 kB / 494.8 MB, free: 6.633 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000312/0.1001, allocations: 271.5 kB / 495.1 MB, free: 6.367 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.1001, allocations: 0 / 495.1 MB, free: 6.367 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1001, allocations: 8 kB / 495.1 MB, free: 6.359 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.1001, allocations: 0 / 495.1 MB, free: 6.359 MB / 378.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.0009992/0.1011, allocations: 0.5809 MB / 495.7 MB, free: 5.73 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.1012, allocations: 16.02 kB / 495.7 MB, free: 5.715 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.826e-05/0.1013, allocations: 32.56 kB / 495.7 MB, free: 5.684 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002865/0.1016, allocations: 263.7 kB / 496 MB, free: 5.387 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.303e-05/0.1016, allocations: 24.5 kB / 496 MB, free: 5.363 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.972e-05/0.1016, allocations: 24 kB / 496 MB, free: 5.34 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006911/0.1023, allocations: 441.8 kB / 496.5 MB, free: 4.891 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.1023, allocations: 0 / 496.5 MB, free: 4.891 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.738e-05/0.1024, allocations: 12 kB / 496.5 MB, free: 4.879 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.357e-05/0.1024, allocations: 20.55 kB / 496.5 MB, free: 4.859 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006666/0.1031, allocations: 345.9 kB / 496.8 MB, free: 4.523 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001394/0.1045, allocations: 1.092 MB / 497.9 MB, free: 3.367 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004617/0.105, allocations: 259.7 kB / 498.2 MB, free: 3.086 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002725/0.1053, allocations: 122.5 kB / 498.3 MB, free: 2.957 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.838e-05/0.1053, allocations: 7.984 kB / 498.3 MB, free: 2.949 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.319e-05/0.1053, allocations: 38.5 kB / 498.3 MB, free: 2.902 MB / 378.7 MB Notification: Performance of pre-optimization done (n=14): time 3.246e-06/0.1053, allocations: 0 / 498.3 MB, free: 2.902 MB / 378.7 MB Notification: Performance of matching and sorting (n=14): time 0.0009544/0.1063, allocations: 401 kB / 498.7 MB, free: 2.504 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.409e-05/0.1064, allocations: 102.8 kB / 498.8 MB, free: 2.379 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003965/0.1068, allocations: 405.4 kB / 499.2 MB, free: 1.973 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.274e-05/0.1068, allocations: 37.77 kB / 499.3 MB, free: 1.93 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001192/0.1069, allocations: 183.8 kB / 499.4 MB, free: 1.746 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.259e-05/0.107, allocations: 51.34 kB / 499.5 MB, free: 1.695 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.719e-05/0.107, allocations: 4 kB / 499.5 MB, free: 1.691 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.1071, allocations: 338.8 kB / 499.8 MB, free: 1.352 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002943/0.1074, allocations: 132.1 kB / 500 MB, free: 1.223 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003658/0.1078, allocations: 243.7 kB / 0.4885 GB, free: 0.9297 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006321/0.1084, allocations: 387 kB / 0.4888 GB, free: 0.4961 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.1084, allocations: 4 kB / 0.4888 GB, free: 0.4922 MB / 378.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008007/0.1093, allocations: 425.4 kB / 0.4892 GB, free: 72 kB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.1093, allocations: 4 kB / 0.4892 GB, free: 68 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.24e-05/0.1093, allocations: 24 kB / 0.4893 GB, free: 44 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.1094, allocations: 11.92 kB / 0.4893 GB, free: 32 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1603/0.2697, allocations: 52.36 kB / 0.4893 GB, free: 42.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.646e-05/0.2697, allocations: 14.31 kB / 0.4893 GB, free: 42.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003419/0.2701, allocations: 59.59 kB / 0.4894 GB, free: 42.8 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.44e-05/0.2701, allocations: 16.34 kB / 0.4894 GB, free: 42.8 MB / 378.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_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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001944/0.2703, allocations: 179.4 kB / 0.4896 GB, free: 42.69 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.247e-05/0.2704, allocations: 36.06 kB / 0.4896 GB, free: 42.69 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006024/0.271, allocations: 289.8 kB / 0.4899 GB, free: 42.66 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.684e-06/0.271, allocations: 4.156 kB / 0.4899 GB, free: 42.66 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.271, allocations: 4.438 kB / 0.4899 GB, free: 42.66 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.2711, allocations: 8.906 kB / 0.4899 GB, free: 42.66 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004516/0.2715, allocations: 300.7 kB / 0.4902 GB, free: 42.47 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-05/0.2716, allocations: 22.22 kB / 0.4902 GB, free: 42.47 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001503/0.2717, allocations: 29.8 kB / 0.4903 GB, free: 42.47 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.03e-06/0.2717, allocations: 4.75 kB / 0.4903 GB, free: 42.47 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.002e-05/0.2717, allocations: 11.67 kB / 0.4903 GB, free: 42.47 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.2718, allocations: 1.062 kB / 0.4903 GB, free: 42.47 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.2718, allocations: 1.906 kB / 0.4903 GB, free: 42.47 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000622/0.2724, allocations: 0.5236 MB / 0.4908 GB, free: 42.19 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.559e-05/0.2725, allocations: 117.5 kB / 0.4909 GB, free: 42.09 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.397e-05/0.2725, allocations: 7.234 kB / 0.4909 GB, free: 42.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002523/0.2728, allocations: 22.95 kB / 0.4909 GB, free: 42.09 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.903e-05/0.2729, allocations: 15.83 kB / 0.4909 GB, free: 42.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.076e-05/0.2729, allocations: 13.34 kB / 0.491 GB, free: 42.09 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002802/0.2732, allocations: 286.1 kB / 0.4912 GB, free: 42 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2732, allocations: 3.875 kB / 0.4912 GB, free: 42 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000459/0.2736, allocations: 95.17 kB / 0.4913 GB, free: 42 MB / 378.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002226/0.2739, allocations: 151.9 kB / 0.4915 GB, free: 41.91 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007145/0.2746, allocations: 457.2 kB / 0.4919 GB, free: 41.73 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.2746, allocations: 0 / 0.4919 GB, free: 41.73 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000332/0.2749, allocations: 282.8 kB / 0.4922 GB, free: 41.54 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005948/0.2755, allocations: 79.23 kB / 0.4922 GB, free: 41.54 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009425/0.2765, allocations: 0.6991 MB / 0.4929 GB, free: 41.2 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002071/0.2767, allocations: 0.796 MB / 0.4937 GB, free: 40.5 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.602e-05/0.2768, allocations: 24.08 kB / 0.4937 GB, free: 40.5 MB / 378.7 MB Notification: Performance of SimCode: time 2.1e-07/0.2768, allocations: 0 / 0.4937 GB, free: 40.5 MB / 378.7 MB Notification: Performance of Templates: time 0.006835/0.2836, allocations: 5.463 MB / 0.4991 GB, free: 40.09 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_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_turbulent/kc_turbulent.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches