Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001574/0.001574, allocations: 167.6 kB / 8.739 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.327/1.327, allocations: 221.5 MB / 230.7 MB, free: 7.59 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008367/0.0008368, allocations: 96.98 kB / 281.6 MB, free: 5.332 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1809/0.1809, allocations: 44.16 MB / 376.5 MB, free: 3.047 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.37e-05/1.371e-05, allocations: 224 / 444.7 MB, free: 15.22 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.1035, allocations: 61.92 MB / 0.4947 GB, free: 1.234 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3687/0.4722, allocations: 99.67 MB / 0.592 GB, free: 12.8 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002805/0.4725, allocations: 91.94 kB / 0.5921 GB, free: 12.71 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06358/0.5361, allocations: 24.43 MB / 0.616 GB, free: 4.094 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.5362, allocations: 4 kB / 0.616 GB, free: 4.09 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.963e-05/0.5362, allocations: 8 kB / 0.616 GB, free: 4.082 MB / 426.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.001367/0.5376, allocations: 0.7287 MB / 0.6167 GB, free: 3.309 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.551e-05/0.5377, allocations: 19.92 kB / 0.6167 GB, free: 3.289 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001035/0.5378, allocations: 51.34 kB / 0.6168 GB, free: 3.238 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004408/0.5382, allocations: 314.2 kB / 0.6171 GB, free: 2.891 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.341e-05/0.5383, allocations: 20 kB / 0.6171 GB, free: 2.871 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.481e-05/0.5383, allocations: 32 kB / 0.6171 GB, free: 2.84 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006841/0.539, allocations: 446.3 kB / 0.6175 GB, free: 2.402 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009485/0.54, allocations: 0.65 MB / 0.6182 GB, free: 1.734 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/0.54, allocations: 4 kB / 0.6182 GB, free: 1.73 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.754e-05/0.5401, allocations: 4 kB / 0.6182 GB, free: 1.727 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.91e-05/0.5401, allocations: 25.31 kB / 0.6182 GB, free: 1.699 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002144/0.5423, allocations: 1.519 MB / 0.6197 GB, free: 132 kB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004074/0.5427, allocations: 263.6 kB / 0.6199 GB, free: 15.84 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000182/0.5429, allocations: 122.5 kB / 0.6201 GB, free: 15.71 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.334e-05/0.543, allocations: 19.88 kB / 0.6201 GB, free: 15.7 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.118e-05/0.543, allocations: 42.53 kB / 0.6201 GB, free: 15.64 MB / 442.7 MB Notification: Performance of pre-optimization done (n=20): time 2.114e-06/0.543, allocations: 0 / 0.6201 GB, free: 15.64 MB / 442.7 MB Notification: Performance of matching and sorting (n=20): time 0.0006282/0.5436, allocations: 290.5 kB / 0.6204 GB, free: 15.36 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.44e-05/0.5437, allocations: 106.8 kB / 0.6205 GB, free: 15.23 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003254/0.544, allocations: 309.1 kB / 0.6208 GB, free: 14.92 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.8e-05/0.5441, allocations: 29.64 kB / 0.6208 GB, free: 14.89 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001798/0.5443, allocations: 306.6 kB / 0.6211 GB, free: 14.58 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.137e-05/0.5443, allocations: 71 kB / 0.6212 GB, free: 14.51 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.261e-05/0.5444, allocations: 0 / 0.6212 GB, free: 14.51 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000133/0.5445, allocations: 346.8 kB / 0.6215 GB, free: 14.16 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002167/0.5447, allocations: 149 kB / 0.6217 GB, free: 14.02 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003829/0.5451, allocations: 420.2 kB / 0.6221 GB, free: 13.48 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003084/0.5454, allocations: 224.9 kB / 0.6223 GB, free: 13.26 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/0.5454, allocations: 4 kB / 0.6223 GB, free: 13.25 MB / 442.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0008378/0.5463, allocations: 0.5475 MB / 0.6228 GB, free: 12.7 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/0.5463, allocations: 9.406 kB / 0.6228 GB, free: 12.69 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.079e-05/0.5464, allocations: 48.88 kB / 0.6229 GB, free: 12.64 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.649e-05/0.5464, allocations: 12 kB / 0.6229 GB, free: 12.63 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000304/0.5467, allocations: 79.83 kB / 0.623 GB, free: 12.55 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.643e-05/0.5468, allocations: 19.92 kB / 0.623 GB, free: 12.54 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003318/0.5471, allocations: 55.66 kB / 0.623 GB, free: 12.48 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.027e-05/0.5472, allocations: 32 kB / 0.6231 GB, free: 12.45 MB / 442.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.000149/0.5473, allocations: 151.8 kB / 0.6232 GB, free: 12.29 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.434e-05/0.5474, allocations: 27.62 kB / 0.6232 GB, free: 12.27 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007577/0.5482, allocations: 427 kB / 0.6236 GB, free: 11.84 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.043e-05/0.5482, allocations: 7.984 kB / 0.6236 GB, free: 11.83 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.5482, allocations: 0 / 0.6236 GB, free: 11.83 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.5482, allocations: 0 / 0.6236 GB, free: 11.83 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005436/0.5488, allocations: 369.8 kB / 0.624 GB, free: 11.43 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.622e-05/0.5489, allocations: 43.92 kB / 0.624 GB, free: 11.39 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001552/0.549, allocations: 31.97 kB / 0.6241 GB, free: 11.36 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.675e-06/0.549, allocations: 7.984 kB / 0.6241 GB, free: 11.35 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.597e-05/0.5491, allocations: 8 kB / 0.6241 GB, free: 11.34 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.5491, allocations: 0 / 0.6241 GB, free: 11.34 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.232e-06/0.5491, allocations: 11.94 kB / 0.6241 GB, free: 11.33 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005756/0.5497, allocations: 0.5547 MB / 0.6246 GB, free: 10.75 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.235e-05/0.5498, allocations: 112.7 kB / 0.6247 GB, free: 10.62 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.008e-05/0.5498, allocations: 3.953 kB / 0.6247 GB, free: 10.62 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000267/0.5501, allocations: 19.98 kB / 0.6248 GB, free: 10.6 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.624e-05/0.5502, allocations: 23.97 kB / 0.6248 GB, free: 10.57 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.46e-05/0.5502, allocations: 19.98 kB / 0.6248 GB, free: 10.55 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001842/0.5504, allocations: 216.5 kB / 0.625 GB, free: 10.34 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5504, allocations: 0 / 0.625 GB, free: 10.34 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0009054/0.5513, allocations: 203.4 kB / 0.6252 GB, free: 10.14 MB / 442.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.000542/0.5519, allocations: 286.7 kB / 0.6255 GB, free: 9.859 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.000728/0.5526, allocations: 0.6708 MB / 0.6261 GB, free: 9.117 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.5526, allocations: 0 / 0.6261 GB, free: 9.117 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003443/0.553, allocations: 444.3 kB / 0.6266 GB, free: 8.609 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003556/0.5533, allocations: 36.72 kB / 0.6266 GB, free: 8.574 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001462/0.5548, allocations: 0.6885 MB / 0.6273 GB, free: 7.859 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004729/0.5553, allocations: 0.9087 MB / 0.6282 GB, free: 6.922 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.00023/0.5555, allocations: 99.03 kB / 0.6282 GB, free: 6.82 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.73e-05/0.5556, allocations: 23.44 kB / 0.6283 GB, free: 6.797 MB / 442.7 MB Notification: Performance of SimCode: time 2.41e-07/0.5556, allocations: 0 / 0.6283 GB, free: 6.797 MB / 442.7 MB Notification: Performance of Templates: time 0.0108/0.5664, allocations: 6.273 MB / 0.6344 GB, free: 0.5508 MB / 442.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_overall/kc_overall.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches