Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.conf.json 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/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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h_2|l_2|s_2|t_2|Nu|m_flow.1.|m_flow.2.|kc_1|kc_2|Re_1|Re_2|input_Nu.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h_2|l_2|s_2|t_2|Nu|m_flow.1.|m_flow.2.|kc_1|kc_2|Re_1|Re_2|input_Nu.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001147/0.001147, allocations: 112.1 kB / 17.78 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001065/0.001065, allocations: 183.9 kB / 18.71 MB, free: 4.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.367/1.367, allocations: 222.9 MB / 242.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2339/0.2339, allocations: 44.18 MB / 336.7 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 59.91 kB / 470.6 MB, free: 13.12 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4419/0.4431, allocations: 60.81 MB / 0.5189 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.004145/0.4473, allocations: 2.187 MB / 0.5211 GB, free: 2.074 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001525/0.4489, allocations: 1.057 MB / 0.5221 GB, free: 1.32 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001099/0.449, allocations: 1.094 kB / 0.5221 GB, free: 1.32 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003565/0.4494, allocations: 99.98 kB / 0.5222 GB, free: 1.266 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003339/0.4497, allocations: 80.33 kB / 0.5223 GB, free: 1.215 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003307/0.4501, allocations: 113.5 kB / 0.5224 GB, free: 1.172 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002551/0.4503, allocations: 182.8 kB / 0.5226 GB, free: 1.082 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.398e-05/0.4504, allocations: 21.48 kB / 0.5226 GB, free: 1.066 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001512/0.4506, allocations: 73.27 kB / 0.5226 GB, free: 1.031 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001419/0.4507, allocations: 86.67 kB / 0.5227 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.117e-05/0.4508, allocations: 6.75 kB / 0.5227 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004678/0.4512, allocations: 255.9 kB / 0.523 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.12e-05/0.4513, allocations: 35.17 kB / 0.523 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001097/0.4514, allocations: 79.53 kB / 0.5231 GB, free: 0.832 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005693/0.452, allocations: 325.6 kB / 0.5234 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.452, allocations: 3.938 kB / 0.5234 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.452, allocations: 1.719 kB / 0.5234 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.773e-06/0.452, allocations: 4 kB / 0.5234 GB, free: 0.6758 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.000686/0.4527, allocations: 499.8 kB / 0.5239 GB, free: 228 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/0.4528, allocations: 10.45 kB / 0.5239 GB, free: 228 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.358e-05/0.4529, allocations: 23.78 kB / 0.5239 GB, free: 216 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000234/0.4531, allocations: 221.8 kB / 0.5241 GB, free: 15.98 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.907e-05/0.4532, allocations: 12.59 kB / 0.5241 GB, free: 15.97 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.382e-05/0.4532, allocations: 26.72 kB / 0.5242 GB, free: 15.96 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004827/0.4537, allocations: 228.7 kB / 0.5244 GB, free: 15.86 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.4537, allocations: 1.25 kB / 0.5244 GB, free: 15.86 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.619e-05/0.4537, allocations: 9.625 kB / 0.5244 GB, free: 15.85 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.126e-05/0.4538, allocations: 6.125 kB / 0.5244 GB, free: 15.85 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005/0.4543, allocations: 244.6 kB / 0.5246 GB, free: 15.77 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001153/0.4554, allocations: 0.6171 MB / 0.5252 GB, free: 15.34 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003083/0.4558, allocations: 105.6 kB / 0.5253 GB, free: 15.3 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001462/0.4559, allocations: 42 kB / 0.5254 GB, free: 15.28 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.924e-05/0.456, allocations: 10.16 kB / 0.5254 GB, free: 15.27 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.054e-05/0.456, allocations: 36.19 kB / 0.5254 GB, free: 15.23 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.833e-06/0.456, allocations: 0 / 0.5254 GB, free: 15.23 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006314/0.4566, allocations: 171.7 kB / 0.5256 GB, free: 15.16 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.272e-05/0.4567, allocations: 52.28 kB / 0.5256 GB, free: 15.1 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003481/0.4571, allocations: 266.1 kB / 0.5259 GB, free: 14.95 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.325e-05/0.4571, allocations: 26.92 kB / 0.5259 GB, free: 14.92 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001533/0.4572, allocations: 169.5 kB / 0.5261 GB, free: 14.77 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.738e-05/0.4573, allocations: 30.42 kB / 0.5261 GB, free: 14.75 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.212e-05/0.4574, allocations: 56.47 kB / 0.5262 GB, free: 14.71 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001512/0.4576, allocations: 335.7 kB / 0.5265 GB, free: 14.38 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001757/0.4577, allocations: 46.98 kB / 0.5265 GB, free: 14.38 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002769/0.458, allocations: 152.1 kB / 0.5267 GB, free: 14.23 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004345/0.4585, allocations: 211.8 kB / 0.5269 GB, free: 14.06 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.4585, allocations: 1.406 kB / 0.5269 GB, free: 14.06 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005189/0.459, allocations: 234.4 kB / 0.5271 GB, free: 13.96 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.28e-05/0.459, allocations: 5.781 kB / 0.5271 GB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/0.4591, allocations: 4 kB / 0.5271 GB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.086e-05/0.4591, allocations: 9.438 kB / 0.5271 GB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004141/0.4595, allocations: 85.28 kB / 0.5272 GB, free: 13.95 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008125/0.4603, allocations: 1.226 MB / 0.5284 GB, free: 12.72 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002064/0.4605, allocations: 33.44 kB / 0.5284 GB, free: 12.7 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.563e-05/0.4606, allocations: 13.62 kB / 0.5284 GB, free: 12.7 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 2 (m_flow_IN_con_2.geometry,m_flow_IN_con_1.geometry) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001448/0.4607, allocations: 143.2 kB / 0.5286 GB, free: 12.56 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.472e-05/0.4608, allocations: 21.53 kB / 0.5286 GB, free: 12.55 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000462/0.4612, allocations: 171.1 kB / 0.5288 GB, free: 12.44 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.4613, allocations: 1.375 kB / 0.5288 GB, free: 12.44 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.4613, allocations: 0 / 0.5288 GB, free: 12.44 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.275e-06/0.4613, allocations: 11.97 kB / 0.5288 GB, free: 12.43 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006678/0.462, allocations: 443.1 kB / 0.5292 GB, free: 12.03 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.462, allocations: 0 / 0.5292 GB, free: 12.03 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002554/0.4622, allocations: 60.34 kB / 0.5293 GB, free: 12.01 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.4622, allocations: 1.5 kB / 0.5293 GB, free: 12.01 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.31e-05/0.4623, allocations: 2.594 kB / 0.5293 GB, free: 12.01 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007476/0.463, allocations: 1.222 MB / 0.5304 GB, free: 10.79 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.463, allocations: 1.5 kB / 0.5305 GB, free: 10.79 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004195/0.4635, allocations: 246 kB / 0.5307 GB, free: 10.59 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.179e-05/0.4635, allocations: 99.73 kB / 0.5308 GB, free: 10.48 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.215e-05/0.4636, allocations: 9.453 kB / 0.5308 GB, free: 10.47 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001485/0.4637, allocations: 4.125 kB / 0.5308 GB, free: 10.47 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.857e-05/0.4638, allocations: 8.172 kB / 0.5308 GB, free: 10.47 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.343e-05/0.4638, allocations: 12.12 kB / 0.5308 GB, free: 10.46 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002026/0.4641, allocations: 187.2 kB / 0.531 GB, free: 10.33 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.593e-06/0.4641, allocations: 0 / 0.531 GB, free: 10.33 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004499/0.4645, allocations: 66.19 kB / 0.5311 GB, free: 10.32 MB / 398.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003045/0.4648, allocations: 143.6 kB / 0.5312 GB, free: 10.21 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005901/0.4654, allocations: 173.8 kB / 0.5314 GB, free: 10.14 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.4654, allocations: 192 / 0.5314 GB, free: 10.14 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002982/0.4657, allocations: 91.05 kB / 0.5314 GB, free: 10.11 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004071/0.4662, allocations: 23.06 kB / 0.5315 GB, free: 10.1 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008442/0.467, allocations: 395.5 kB / 0.5318 GB, free: 9.816 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003261/0.4674, allocations: 0.733 MB / 0.5326 GB, free: 9.094 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.153e-05/0.4674, allocations: 24.45 kB / 0.5326 GB, free: 9.078 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.119e-05/0.4675, allocations: 21.97 kB / 0.5326 GB, free: 9.066 MB / 398.1 MB Notification: Performance of SimCode: time 3.31e-07/0.4675, allocations: 0 / 0.5326 GB, free: 9.066 MB / 398.1 MB Notification: Performance of Templates: time 0.007598/0.4751, allocations: 3.535 MB / 0.5361 GB, free: 7.367 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_flatTube_KC/kc_flatTube_KC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches