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_KC.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_KC,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.|Nu.1.|Nu.2.|Nu.3.|m_flow_1.1.|m_flow_1.2.|m_flow_1.3.|m_flow_2.1.|m_flow_2.2.|m_flow_2.3.|kc.1.|kc.2.|kc.3.|Re_1.1.|Re_1.2.|Re_1.3.|Re_2.1.|Re_2.2.|Re_2.3.|input_Nu.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC,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.|Nu.1.|Nu.2.|Nu.3.|m_flow_1.1.|m_flow_1.2.|m_flow_1.3.|m_flow_2.1.|m_flow_2.2.|m_flow_2.3.|kc.1.|kc.2.|kc.3.|Re_1.1.|Re_1.2.|Re_1.3.|Re_2.1.|Re_2.2.|Re_2.3.|input_Nu.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009371/0.0009371, allocations: 174.8 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.208/1.208, allocations: 205.4 MB / 222.9 MB, free: 9.023 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.0007152/0.0007153, allocations: 89.41 kB / 271.2 MB, free: 8.242 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.2876/0.2876, allocations: 43.57 MB / 363.1 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003362/0.0003363, allocations: 16 kB / 432 MB, free: 5.812 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09619/0.09655, allocations: 58.85 MB / 490.8 MB, free: 10.88 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC): time 0.001821/0.0984, allocations: 1.559 MB / 492.4 MB, free: 9.305 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001059/0.09947, allocations: 0.7687 MB / 493.2 MB, free: 8.531 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.55e-05/0.09953, allocations: 0 / 493.2 MB, free: 8.531 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001953/0.09974, allocations: 43.8 kB / 493.2 MB, free: 8.488 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002412/0.09999, allocations: 83.62 kB / 493.3 MB, free: 8.406 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002038/0.1002, allocations: 59.81 kB / 493.4 MB, free: 8.348 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002996/0.1005, allocations: 314.6 kB / 493.7 MB, free: 8.039 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.607e-05/0.1006, allocations: 36.34 kB / 493.7 MB, free: 8.004 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001249/0.1007, allocations: 87.52 kB / 493.8 MB, free: 7.918 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001612/0.1009, allocations: 127.5 kB / 493.9 MB, free: 7.793 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.727e-05/0.1009, allocations: 7.938 kB / 493.9 MB, free: 7.785 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002059/0.1011, allocations: 111.8 kB / 494 MB, free: 7.676 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.955e-05/0.1012, allocations: 59.73 kB / 494.1 MB, free: 7.617 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001079/0.1013, allocations: 129 kB / 494.2 MB, free: 7.484 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002222/0.1016, allocations: 199.7 kB / 494.4 MB, free: 7.289 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.1016, allocations: 0 / 494.4 MB, free: 7.289 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.021e-06/0.1016, allocations: 0 / 494.4 MB, free: 7.289 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.738e-06/0.1016, allocations: 4 kB / 494.4 MB, free: 7.285 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.0006766/0.1023, allocations: 0.5146 MB / 494.9 MB, free: 6.723 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.31e-05/0.1023, allocations: 12.03 kB / 494.9 MB, free: 6.711 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.219e-05/0.1024, allocations: 24.66 kB / 495 MB, free: 6.688 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000224/0.1026, allocations: 251.7 kB / 495.2 MB, free: 6.402 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.692e-05/0.1026, allocations: 16.94 kB / 495.2 MB, free: 6.387 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.602e-05/0.1027, allocations: 24.12 kB / 495.2 MB, free: 6.363 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005738/0.1033, allocations: 389.2 kB / 495.6 MB, free: 5.973 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/0.1033, allocations: 0 / 495.6 MB, free: 5.973 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.475e-05/0.1033, allocations: 8 kB / 495.6 MB, free: 5.965 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.615e-05/0.1033, allocations: 24.64 kB / 495.7 MB, free: 5.941 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005635/0.1039, allocations: 390.2 kB / 496 MB, free: 5.562 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001139/0.1051, allocations: 0.8268 MB / 496.9 MB, free: 4.684 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004335/0.1055, allocations: 270 kB / 497.1 MB, free: 4.414 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000189/0.1057, allocations: 92.84 kB / 497.2 MB, free: 4.32 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.186e-05/0.1058, allocations: 11.92 kB / 497.2 MB, free: 4.309 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.225e-05/0.1058, allocations: 46.48 kB / 497.3 MB, free: 4.254 MB / 378.7 MB Notification: Performance of pre-optimization done (n=16): time 1.243e-06/0.1058, allocations: 0 / 497.3 MB, free: 4.254 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.0007025/0.1065, allocations: 345.1 kB / 497.6 MB, free: 3.91 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.372e-05/0.1065, allocations: 55.41 kB / 497.7 MB, free: 3.844 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002994/0.1068, allocations: 334.9 kB / 498 MB, free: 3.508 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.074e-05/0.1069, allocations: 29.7 kB / 498 MB, free: 3.473 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.899e-05/0.107, allocations: 167.9 kB / 498.2 MB, free: 3.301 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.085e-05/0.107, allocations: 55.2 kB / 498.2 MB, free: 3.246 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.813e-05/0.1071, allocations: 8 kB / 498.2 MB, free: 3.238 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001271/0.1072, allocations: 342.8 kB / 498.6 MB, free: 2.895 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000196/0.1074, allocations: 104.4 kB / 498.7 MB, free: 2.793 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002366/0.1076, allocations: 195.9 kB / 498.9 MB, free: 2.562 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004561/0.1081, allocations: 318.7 kB / 499.2 MB, free: 2.211 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.1081, allocations: 0 / 499.2 MB, free: 2.211 MB / 378.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005514/0.1087, allocations: 352.7 kB / 499.5 MB, free: 1.863 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.1087, allocations: 8 kB / 499.5 MB, free: 1.855 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.1087, allocations: 4 kB / 499.5 MB, free: 1.852 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.1087, allocations: 4 kB / 499.5 MB, free: 1.848 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005471/0.1093, allocations: 124.2 kB / 499.7 MB, free: 1.727 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1615/0.2708, allocations: 3.651 MB / 0.4915 GB, free: 41.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002658/0.2711, allocations: 50.53 kB / 0.4916 GB, free: 41.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.958e-05/0.2711, allocations: 21.41 kB / 0.4916 GB, free: 41.02 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (28): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002073/0.2713, allocations: 171.2 kB / 0.4918 GB, free: 40.91 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.438e-05/0.2714, allocations: 26.19 kB / 0.4918 GB, free: 40.91 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006396/0.272, allocations: 330 kB / 0.4921 GB, free: 40.87 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.272, allocations: 4.594 kB / 0.4921 GB, free: 40.87 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.272, allocations: 2.406 kB / 0.4921 GB, free: 40.87 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.2721, allocations: 0 / 0.4921 GB, free: 40.87 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003076/0.2724, allocations: 302.8 kB / 0.4924 GB, free: 40.68 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.2724, allocations: 0 / 0.4924 GB, free: 40.68 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004827/0.2729, allocations: 111.7 kB / 0.4925 GB, free: 40.68 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.2729, allocations: 0 / 0.4925 GB, free: 40.68 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.904e-05/0.2729, allocations: 6.859 kB / 0.4925 GB, free: 40.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001054/0.274, allocations: 3.656 MB / 0.4961 GB, free: 37.18 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.274, allocations: 4.641 kB / 0.4961 GB, free: 37.18 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004962/0.2745, allocations: 355.2 kB / 0.4964 GB, free: 37.04 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.354e-05/0.2745, allocations: 103.5 kB / 0.4965 GB, free: 36.93 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.9e-05/0.2746, allocations: 7.25 kB / 0.4965 GB, free: 36.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001617/0.2748, allocations: 21.03 kB / 0.4965 GB, free: 36.93 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.605e-05/0.2748, allocations: 21.62 kB / 0.4966 GB, free: 36.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.905e-05/0.2748, allocations: 8.562 kB / 0.4966 GB, free: 36.93 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002441/0.2751, allocations: 242.6 kB / 0.4968 GB, free: 36.85 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.2751, allocations: 0 / 0.4968 GB, free: 36.85 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003611/0.2755, allocations: 77.22 kB / 0.4969 GB, free: 36.85 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (16): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000187/0.2757, allocations: 134.6 kB / 0.497 GB, free: 36.76 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008574/0.2765, allocations: 337.7 kB / 0.4973 GB, free: 36.75 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.2765, allocations: 0 / 0.4973 GB, free: 36.75 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005855/0.2771, allocations: 192.8 kB / 0.4975 GB, free: 36.75 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003964/0.2775, allocations: 57.52 kB / 0.4976 GB, free: 36.75 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009491/0.2785, allocations: 0.6696 MB / 0.4982 GB, free: 36.43 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002284/0.2787, allocations: 0.7878 MB / 0.499 GB, free: 35.73 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.771e-05/0.2788, allocations: 26 kB / 0.499 GB, free: 35.72 MB / 378.7 MB Notification: Performance of SimCode: time 3.2e-07/0.2788, allocations: 0 / 0.499 GB, free: 35.72 MB / 378.7 MB Notification: Performance of Templates: time 0.01119/0.29, allocations: 10.75 MB / 0.5095 GB, free: 35.08 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC_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/kc_turbulent_KC.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches