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_overall.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_overall,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.|Nu_3.1.|Nu_3.2.|Nu_3.3.|Nu_4.1.|Nu_4.2.|Nu_4.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_overall") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall,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.|Nu_3.1.|Nu_3.2.|Nu_3.3.|Nu_4.1.|Nu_4.2.|Nu_4.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_overall") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002164/0.002168, allocations: 177.8 kB / 8.363 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.07/2.07, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001073/0.001073, allocations: 95.16 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.369/0.369, allocations: 43.49 MB / 353.6 MB, free: 2.254 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.688e-05/1.689e-05, allocations: 4.219 kB / 418.3 MB, free: 41.01 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.395/0.395, allocations: 58.85 MB / 477.1 MB, free: 5.277 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2205/0.6156, allocations: 98.55 MB / 0.5622 GB, free: 0.7266 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005204/0.6162, allocations: 99.92 kB / 0.5623 GB, free: 0.6289 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.1694/0.7856, allocations: 23.93 MB / 0.5856 GB, free: 8.5 MB / 427.1 MB Notification: Performance of FrontEnd: time 1.164e-05/0.7857, allocations: 4 kB / 0.5856 GB, free: 8.496 MB / 427.1 MB Notification: Performance of Transformations before backend: time 3.471e-05/0.7858, allocations: 8 kB / 0.5856 GB, free: 8.488 MB / 427.1 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.002553/0.7883, allocations: 0.7401 MB / 0.5864 GB, free: 7.703 MB / 427.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.639e-05/0.7884, allocations: 8.031 kB / 0.5864 GB, free: 7.695 MB / 427.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002889/0.7888, allocations: 59.3 kB / 0.5864 GB, free: 7.637 MB / 427.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001012/0.7898, allocations: 302.4 kB / 0.5867 GB, free: 7.301 MB / 427.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.381e-05/0.7899, allocations: 16 kB / 0.5867 GB, free: 7.285 MB / 427.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001757/0.7901, allocations: 39.94 kB / 0.5868 GB, free: 7.246 MB / 427.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001776/0.7919, allocations: 450.3 kB / 0.5872 GB, free: 6.805 MB / 427.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002431/0.7944, allocations: 0.6461 MB / 0.5878 GB, free: 6.141 MB / 427.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.119e-05/0.7945, allocations: 0 / 0.5878 GB, free: 6.141 MB / 427.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.186e-05/0.7946, allocations: 0 / 0.5878 GB, free: 6.141 MB / 427.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001088/0.7947, allocations: 25.31 kB / 0.5879 GB, free: 6.113 MB / 427.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005942/0.8007, allocations: 1.535 MB / 0.5894 GB, free: 4.527 MB / 427.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001034/0.8018, allocations: 267.5 kB / 0.5896 GB, free: 4.238 MB / 427.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005164/0.8023, allocations: 114.7 kB / 0.5897 GB, free: 4.117 MB / 427.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.729e-05/0.8024, allocations: 11.97 kB / 0.5897 GB, free: 4.105 MB / 427.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.3e-05/0.8025, allocations: 42.56 kB / 0.5898 GB, free: 4.055 MB / 427.1 MB Notification: Performance of pre-optimization done (n=20): time 8.155e-06/0.8026, allocations: 0 / 0.5898 GB, free: 4.055 MB / 427.1 MB Notification: Performance of matching and sorting (n=20): time 0.001525/0.8041, allocations: 296.9 kB / 0.5901 GB, free: 3.758 MB / 427.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.824e-05/0.8042, allocations: 103.1 kB / 0.5902 GB, free: 3.633 MB / 427.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008259/0.8051, allocations: 305 kB / 0.5904 GB, free: 3.336 MB / 427.1 MB Notification: Performance of collectPreVariables (initialization): time 8.958e-05/0.8052, allocations: 25.7 kB / 0.5905 GB, free: 3.305 MB / 427.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004154/0.8056, allocations: 373.1 kB / 0.5908 GB, free: 2.938 MB / 427.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001656/0.8058, allocations: 67 kB / 0.5909 GB, free: 2.871 MB / 427.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.221e-05/0.8059, allocations: 4 kB / 0.5909 GB, free: 2.867 MB / 427.1 MB Notification: Performance of setup shared object (initialization): time 0.0002267/0.8062, allocations: 330.8 kB / 0.5912 GB, free: 2.535 MB / 427.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006926/0.8069, allocations: 149 kB / 0.5914 GB, free: 2.387 MB / 427.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001004/0.8079, allocations: 420.4 kB / 0.5918 GB, free: 1.848 MB / 427.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009502/0.8089, allocations: 230.6 kB / 0.592 GB, free: 1.625 MB / 427.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.78e-05/0.8089, allocations: 7.938 kB / 0.592 GB, free: 1.617 MB / 427.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.002537/0.8115, allocations: 0.5402 MB / 0.5925 GB, free: 1.07 MB / 427.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.7e-05/0.8116, allocations: 8 kB / 0.5925 GB, free: 1.062 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002331/0.8119, allocations: 51.95 kB / 0.5926 GB, free: 1.012 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.261e-05/0.8119, allocations: 12 kB / 0.5926 GB, free: 1 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008906/0.8128, allocations: 84.23 kB / 0.5927 GB, free: 0.918 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.618e-05/0.8129, allocations: 23.92 kB / 0.5927 GB, free: 0.8945 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001058/0.814, allocations: 51.62 kB / 0.5927 GB, free: 0.8438 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001446/0.8142, allocations: 35.98 kB / 0.5928 GB, free: 0.8086 MB / 427.1 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_4[3].target,m_flow_IN_con_4[3].roughness,m_flow_IN_con_4[2].target,m_flow_IN_con_4[2].roughness,m_flow_IN_con_4[1].target,m_flow_IN_con_4[1].roughness,m_flow_IN_con_3[3].target,m_flow_IN_con_3[3].roughness,m_flow_IN_con_3[2].target,m_flow_IN_con_3[2].roughness,m_flow_IN_con_3[1].target,m_flow_IN_con_3[1].roughness,m_flow_IN_con_2[3].target,m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[2].target,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[1].target,m_flow_IN_con_2[1].roughness,m_flow_IN_con_1[3].target,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[2].target,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[1].target,m_flow_IN_con_1[1].roughness) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003213/0.8145, allocations: 139.9 kB / 0.5929 GB, free: 0.668 MB / 427.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002161/0.8148, allocations: 27.62 kB / 0.5929 GB, free: 0.6406 MB / 427.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002189/0.817, allocations: 427 kB / 0.5933 GB, free: 216 kB / 427.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.593e-05/0.8171, allocations: 8 kB / 0.5933 GB, free: 208 kB / 427.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.869e-06/0.8171, allocations: 0 / 0.5933 GB, free: 208 kB / 427.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.523e-05/0.8171, allocations: 3.984 kB / 0.5933 GB, free: 204 kB / 427.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001444/0.8186, allocations: 369.9 kB / 0.5937 GB, free: 15.8 MB / 443.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001761/0.8188, allocations: 35.97 kB / 0.5937 GB, free: 15.77 MB / 443.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004427/0.8193, allocations: 27.97 kB / 0.5938 GB, free: 15.74 MB / 443.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.655e-05/0.8193, allocations: 4 kB / 0.5938 GB, free: 15.73 MB / 443.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.29e-05/0.8194, allocations: 19.98 kB / 0.5938 GB, free: 15.71 MB / 443.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.142e-06/0.8194, allocations: 0 / 0.5938 GB, free: 15.71 MB / 443.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-05/0.8195, allocations: 4 kB / 0.5938 GB, free: 15.71 MB / 443.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001669/0.8212, allocations: 0.5611 MB / 0.5943 GB, free: 15.12 MB / 443.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001945/0.8214, allocations: 108.7 kB / 0.5944 GB, free: 15 MB / 443.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001176/0.8216, allocations: 3.984 kB / 0.5944 GB, free: 14.99 MB / 443.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00078/0.8224, allocations: 19.98 kB / 0.5945 GB, free: 14.97 MB / 443.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001697/0.8226, allocations: 23.97 kB / 0.5945 GB, free: 14.95 MB / 443.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.437e-05/0.8227, allocations: 15.98 kB / 0.5945 GB, free: 14.93 MB / 443.1 MB Notification: Performance of sorting global known variables: time 0.000513/0.8232, allocations: 212.6 kB / 0.5947 GB, free: 14.73 MB / 443.1 MB Notification: Performance of sort global known variables: time 9.72e-07/0.8232, allocations: 7.938 kB / 0.5947 GB, free: 14.72 MB / 443.1 MB Notification: Performance of remove unused functions: time 0.002075/0.8253, allocations: 211.4 kB / 0.5949 GB, free: 14.51 MB / 443.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 () * 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 (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.001165/0.8265, allocations: 285.5 kB / 0.5952 GB, free: 14.23 MB / 443.1 MB Notification: Performance of simCode: created initialization part: time 0.002041/0.8286, allocations: 0.6693 MB / 0.5958 GB, free: 13.49 MB / 443.1 MB Notification: Performance of simCode: created event and clocks part: time 8.045e-06/0.8287, allocations: 0 / 0.5958 GB, free: 13.49 MB / 443.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000948/0.8296, allocations: 456.5 kB / 0.5963 GB, free: 12.97 MB / 443.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008801/0.8306, allocations: 40.34 kB / 0.5963 GB, free: 12.93 MB / 443.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003916/0.8345, allocations: 0.6971 MB / 0.597 GB, free: 12.2 MB / 443.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001007/0.8356, allocations: 0.9083 MB / 0.5979 GB, free: 11.27 MB / 443.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001946/0.8358, allocations: 27.38 kB / 0.5979 GB, free: 11.24 MB / 443.1 MB Notification: Performance of SimCode: time 6.322e-06/0.8359, allocations: 0 / 0.5979 GB, free: 11.24 MB / 443.1 MB Notification: Performance of Templates: time 0.03309/0.869, allocations: 8.498 MB / 0.6062 GB, free: 2.73 MB / 443.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_res.mat","/var/lib/jenkins1/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","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches