Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_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_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.0009143/0.000914, allocations: 176.7 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.399/1.399, allocations: 205.3 MB / 213.7 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007605/0.0007605, allocations: 90.16 kB / 261.7 MB, free: 1.684 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.1793/0.1793, allocations: 43.49 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.706e-05/1.678e-05, allocations: 3.984 kB / 418.3 MB, free: 28.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.1075, allocations: 58.86 MB / 477.1 MB, free: 1.613 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3696/0.4772, allocations: 98.55 MB / 0.5622 GB, free: 12.91 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000302/0.4776, allocations: 98.11 kB / 0.5623 GB, free: 12.86 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05964/0.5372, allocations: 23.94 MB / 0.5857 GB, free: 8.809 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.5373, allocations: 0 / 0.5857 GB, free: 8.809 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.616e-05/0.5373, allocations: 8 kB / 0.5857 GB, free: 8.801 MB / 394.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.001267/0.5386, allocations: 0.7394 MB / 0.5864 GB, free: 8.051 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.48e-05/0.5386, allocations: 8.031 kB / 0.5864 GB, free: 8.043 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001013/0.5387, allocations: 59.3 kB / 0.5865 GB, free: 7.984 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004309/0.5392, allocations: 300.3 kB / 0.5867 GB, free: 7.664 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.868e-05/0.5392, allocations: 16 kB / 0.5868 GB, free: 7.648 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.05e-05/0.5393, allocations: 32 kB / 0.5868 GB, free: 7.617 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006633/0.54, allocations: 458.3 kB / 0.5872 GB, free: 7.293 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008792/0.5408, allocations: 0.6474 MB / 0.5879 GB, free: 6.77 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.565e-05/0.5409, allocations: 0 / 0.5879 GB, free: 6.77 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.513e-05/0.5409, allocations: 0 / 0.5879 GB, free: 6.77 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.114e-05/0.541, allocations: 29.3 kB / 0.5879 GB, free: 6.738 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001946/0.5429, allocations: 1.525 MB / 0.5894 GB, free: 5.363 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003674/0.5433, allocations: 269.1 kB / 0.5896 GB, free: 5.102 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001626/0.5435, allocations: 122.7 kB / 0.5898 GB, free: 4.988 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.276e-05/0.5435, allocations: 4 kB / 0.5898 GB, free: 4.984 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/0.5435, allocations: 37.44 kB / 0.5898 GB, free: 4.941 MB / 394.7 MB Notification: Performance of pre-optimization done (n=20): time 1.964e-06/0.5436, allocations: 0 / 0.5898 GB, free: 4.941 MB / 394.7 MB Notification: Performance of matching and sorting (n=20): time 0.0005715/0.5441, allocations: 303.6 kB / 0.5901 GB, free: 4.66 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.026e-05/0.5442, allocations: 103.1 kB / 0.5902 GB, free: 4.535 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002756/0.5445, allocations: 307.5 kB / 0.5905 GB, free: 4.289 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.702e-05/0.5445, allocations: 25.7 kB / 0.5905 GB, free: 4.258 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001542/0.5447, allocations: 301.6 kB / 0.5908 GB, free: 3.996 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.087e-05/0.5447, allocations: 73.62 kB / 0.5909 GB, free: 3.934 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.16e-05/0.5448, allocations: 0 / 0.5909 GB, free: 3.934 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.885e-05/0.5449, allocations: 337.3 kB / 0.5912 GB, free: 3.605 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002093/0.5451, allocations: 157.1 kB / 0.5913 GB, free: 3.473 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003403/0.5454, allocations: 419.5 kB / 0.5917 GB, free: 2.973 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002918/0.5457, allocations: 232.7 kB / 0.5919 GB, free: 2.773 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.5457, allocations: 0 / 0.5919 GB, free: 2.773 MB / 394.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.00076/0.5465, allocations: 0.5458 MB / 0.5925 GB, free: 2.273 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.5465, allocations: 12.03 kB / 0.5925 GB, free: 2.262 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.154e-05/0.5466, allocations: 51.95 kB / 0.5925 GB, free: 2.211 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.469e-05/0.5467, allocations: 12 kB / 0.5926 GB, free: 2.199 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003137/0.547, allocations: 87.38 kB / 0.5926 GB, free: 2.117 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.227e-05/0.547, allocations: 19.92 kB / 0.5927 GB, free: 2.098 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000326/0.5473, allocations: 59.53 kB / 0.5927 GB, free: 2.039 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.922e-05/0.5474, allocations: 35.36 kB / 0.5927 GB, free: 2.008 MB / 394.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.0001354/0.5475, allocations: 139.8 kB / 0.5929 GB, free: 1.871 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.407e-05/0.5476, allocations: 26.91 kB / 0.5929 GB, free: 1.848 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007486/0.5484, allocations: 430.5 kB / 0.5933 GB, free: 1.449 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.876e-06/0.5484, allocations: 4 kB / 0.5933 GB, free: 1.445 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.5484, allocations: 0 / 0.5933 GB, free: 1.445 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/0.5484, allocations: 7.984 kB / 0.5933 GB, free: 1.438 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005122/0.5489, allocations: 371.1 kB / 0.5937 GB, free: 1.086 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.98e-05/0.549, allocations: 39.97 kB / 0.5937 GB, free: 1.047 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001537/0.5492, allocations: 31.97 kB / 0.5938 GB, free: 1.016 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.5492, allocations: 0 / 0.5938 GB, free: 1.016 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.518e-05/0.5492, allocations: 11.98 kB / 0.5938 GB, free: 1.004 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.5492, allocations: 0 / 0.5938 GB, free: 1.004 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.195e-06/0.5492, allocations: 4 kB / 0.5938 GB, free: 1 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005364/0.5498, allocations: 0.5648 MB / 0.5943 GB, free: 448 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.096e-05/0.5499, allocations: 96.83 kB / 0.5944 GB, free: 332 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.088e-05/0.5499, allocations: 3.984 kB / 0.5944 GB, free: 328 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002626/0.5502, allocations: 27.42 kB / 0.5944 GB, free: 304 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.412e-05/0.5503, allocations: 19.97 kB / 0.5945 GB, free: 284 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.756e-05/0.5503, allocations: 19.3 kB / 0.5945 GB, free: 268 kB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001654/0.5505, allocations: 210.9 kB / 0.5947 GB, free: 92 kB / 394.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5505, allocations: 3.938 kB / 0.5947 GB, free: 88 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008676/0.5513, allocations: 211 kB / 0.5949 GB, free: 15.89 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.0005857/0.5519, allocations: 296.7 kB / 0.5952 GB, free: 15.6 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007071/0.5527, allocations: 0.6678 MB / 0.5958 GB, free: 14.9 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.5527, allocations: 0 / 0.5958 GB, free: 14.9 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003417/0.553, allocations: 457.9 kB / 0.5963 GB, free: 14.4 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00034/0.5534, allocations: 39.42 kB / 0.5963 GB, free: 14.37 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001291/0.5547, allocations: 0.6735 MB / 0.597 GB, free: 13.71 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000431/0.5551, allocations: 0.9057 MB / 0.5978 GB, free: 12.79 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002297/0.5554, allocations: 103 kB / 0.5979 GB, free: 12.68 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.733e-05/0.5554, allocations: 23.42 kB / 0.598 GB, free: 12.66 MB / 410.7 MB Notification: Performance of SimCode: time 3.21e-07/0.5554, allocations: 0 / 0.598 GB, free: 12.66 MB / 410.7 MB Notification: Performance of Templates: time 0.01051/0.5659, allocations: 6.276 MB / 0.6041 GB, free: 6.395 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_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_overall/kc_overall.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches