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.001476/0.001475, allocations: 179.9 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.136/2.136, allocations: 205.2 MB / 219.4 MB, free: 14.22 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.00104/0.00104, allocations: 86.66 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2772/0.2772, allocations: 43.5 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.633e-05/3.657e-05, allocations: 4 kB / 425.3 MB, free: 23.36 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.1293, allocations: 58.85 MB / 484.2 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5915/0.7209, allocations: 99.22 MB / 0.5697 GB, free: 4.441 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003833/0.7214, allocations: 101.1 kB / 0.5698 GB, free: 4.383 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1117/0.8332, allocations: 24.18 MB / 0.5934 GB, free: 15.52 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.8332, allocations: 0 / 0.5934 GB, free: 15.52 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.309e-05/0.8333, allocations: 8 kB / 0.5934 GB, free: 15.52 MB / 410.7 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.001724/0.835, allocations: 0.7449 MB / 0.5942 GB, free: 14.77 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.872e-05/0.8351, allocations: 8.031 kB / 0.5942 GB, free: 14.76 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000178/0.8353, allocations: 59.3 kB / 0.5942 GB, free: 14.7 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006295/0.8359, allocations: 303.6 kB / 0.5945 GB, free: 14.38 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.22e-05/0.836, allocations: 40.19 kB / 0.5945 GB, free: 14.36 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001167/0.8361, allocations: 52.88 kB / 0.5946 GB, free: 14.32 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001622/0.8377, allocations: 0.7302 MB / 0.5953 GB, free: 13.76 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.462e-05/0.8378, allocations: 0 / 0.5953 GB, free: 13.76 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.425e-05/0.8379, allocations: 26.88 kB / 0.5953 GB, free: 13.75 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.625e-05/0.838, allocations: 28.42 kB / 0.5954 GB, free: 13.72 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001241/0.8392, allocations: 496.6 kB / 0.5958 GB, free: 13.36 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003923/0.8432, allocations: 1.697 MB / 0.5975 GB, free: 11.84 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007202/0.8439, allocations: 280.9 kB / 0.5978 GB, free: 11.57 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003444/0.8443, allocations: 119.8 kB / 0.5979 GB, free: 11.46 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.112e-05/0.8444, allocations: 11.98 kB / 0.5979 GB, free: 11.45 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.016e-05/0.8444, allocations: 37.88 kB / 0.5979 GB, free: 11.4 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 3.126e-06/0.8445, allocations: 4 kB / 0.5979 GB, free: 11.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=20): time 0.001106/0.8456, allocations: 327.8 kB / 0.5982 GB, free: 11.1 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.91e-05/0.8457, allocations: 106.8 kB / 0.5983 GB, free: 10.97 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001121/0.8468, allocations: 0.5662 MB / 0.5989 GB, free: 10.5 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.18e-05/0.8469, allocations: 28.95 kB / 0.5989 GB, free: 10.46 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002492/0.8471, allocations: 322 kB / 0.5992 GB, free: 10.21 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001015/0.8473, allocations: 76.02 kB / 0.5993 GB, free: 10.15 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.052e-05/0.8473, allocations: 10.75 kB / 0.5993 GB, free: 10.15 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.8475, allocations: 331.8 kB / 0.5996 GB, free: 9.824 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004749/0.8479, allocations: 158.9 kB / 0.5998 GB, free: 9.688 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006774/0.8486, allocations: 424.9 kB / 0.6002 GB, free: 9.184 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006308/0.8493, allocations: 236.9 kB / 0.6004 GB, free: 8.98 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.163e-05/0.8493, allocations: 11.94 kB / 0.6004 GB, free: 8.969 MB / 410.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.00166/0.851, allocations: 0.5938 MB / 0.601 GB, free: 8.441 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.519e-05/0.8511, allocations: 8 kB / 0.601 GB, free: 8.434 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000143/0.8512, allocations: 47.97 kB / 0.6011 GB, free: 8.387 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.118e-05/0.8513, allocations: 16.06 kB / 0.6011 GB, free: 8.371 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005587/0.8518, allocations: 79.59 kB / 0.6011 GB, free: 8.297 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.155e-05/0.8519, allocations: 27.91 kB / 0.6012 GB, free: 8.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008176/0.8527, allocations: 89.69 kB / 0.6013 GB, free: 8.188 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.55e-05/0.8528, allocations: 39.44 kB / 0.6013 GB, free: 8.152 MB / 410.7 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.0002144/0.8531, allocations: 152.8 kB / 0.6014 GB, free: 8.008 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001731/0.8532, allocations: 51.34 kB / 0.6015 GB, free: 7.957 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001517/0.8548, allocations: 452.4 kB / 0.6019 GB, free: 7.559 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.561e-05/0.8548, allocations: 8 kB / 0.6019 GB, free: 7.551 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.051e-05/0.8548, allocations: 7.938 kB / 0.6019 GB, free: 7.543 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.8549, allocations: 0 / 0.6019 GB, free: 7.543 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001002/0.8559, allocations: 412.6 kB / 0.6023 GB, free: 7.145 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001221/0.856, allocations: 35.97 kB / 0.6024 GB, free: 7.109 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003256/0.8564, allocations: 39.91 kB / 0.6024 GB, free: 7.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.316e-06/0.8564, allocations: 0 / 0.6024 GB, free: 7.07 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.808e-05/0.8564, allocations: 11.98 kB / 0.6024 GB, free: 7.059 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.8565, allocations: 0 / 0.6024 GB, free: 7.059 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/0.8565, allocations: 4 kB / 0.6024 GB, free: 7.055 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001097/0.8576, allocations: 0.5899 MB / 0.603 GB, free: 6.469 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002293/0.8578, allocations: 128.4 kB / 0.6031 GB, free: 6.324 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001101/0.858, allocations: 3.75 kB / 0.6031 GB, free: 6.324 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006199/0.8586, allocations: 23.97 kB / 0.6031 GB, free: 6.301 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001276/0.8587, allocations: 31.09 kB / 0.6032 GB, free: 6.273 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.532e-05/0.8588, allocations: 15.98 kB / 0.6032 GB, free: 6.258 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0008103/0.8596, allocations: 440.1 kB / 0.6036 GB, free: 5.922 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.8596, allocations: 0 / 0.6036 GB, free: 5.922 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001256/0.8609, allocations: 206.1 kB / 0.6038 GB, free: 5.734 MB / 410.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 () * 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.0008055/0.8617, allocations: 291.2 kB / 0.6041 GB, free: 5.445 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001441/0.8632, allocations: 0.6925 MB / 0.6048 GB, free: 4.727 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/0.8632, allocations: 0 / 0.6048 GB, free: 4.727 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006359/0.8639, allocations: 458.2 kB / 0.6052 GB, free: 4.223 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009664/0.8649, allocations: 117.2 kB / 0.6053 GB, free: 4.141 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002613/0.8675, allocations: 0.7631 MB / 0.6061 GB, free: 3.395 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005976/0.8682, allocations: 0.8995 MB / 0.6069 GB, free: 2.48 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000186/0.8684, allocations: 35.44 kB / 0.607 GB, free: 2.445 MB / 410.7 MB Notification: Performance of SimCode: time 1.012e-06/0.8684, allocations: 0 / 0.607 GB, free: 2.445 MB / 410.7 MB Notification: Performance of Templates: time 0.02544/0.8938, allocations: 10.26 MB / 0.617 GB, free: 8.227 MB / 426.7 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