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_roundTube.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_roundTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Re|m_flow.1.|m_flow.4.|Nu.1.|Nu.4.|input_Re.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Re|m_flow.1.|m_flow.4.|Nu.1.|Nu.4.|input_Re.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001126/0.001126, allocations: 105.5 kB / 17.77 MB, free: 5.316 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.00117/0.00117, allocations: 188 kB / 18.71 MB, free: 4.387 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.427/1.427, allocations: 222.9 MB / 242.4 MB, free: 15.18 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.2222/0.2222, allocations: 44.19 MB / 336.7 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001439/0.001439, allocations: 63.91 kB / 470.6 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4044/0.4058, allocations: 60.82 MB / 0.5189 GB, free: 3.621 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube): time 0.004085/0.41, allocations: 2.103 MB / 0.521 GB, free: 2.148 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002681/0.4127, allocations: 1.661 MB / 0.5226 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001531/0.4129, allocations: 1.812 kB / 0.5226 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000461/0.4133, allocations: 96.08 kB / 0.5227 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001996/0.4136, allocations: 63.97 kB / 0.5227 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001214/0.4148, allocations: 348 kB / 0.5231 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002174/0.415, allocations: 141.4 kB / 0.5232 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.162e-05/0.4151, allocations: 18.83 kB / 0.5232 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.754e-05/0.4152, allocations: 51.39 kB / 0.5233 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001155/0.4153, allocations: 61.86 kB / 0.5233 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.121e-05/0.4154, allocations: 4.344 kB / 0.5233 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001392/0.4168, allocations: 0.7649 MB / 0.5241 GB, free: 376 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.984e-05/0.4169, allocations: 28.5 kB / 0.5241 GB, free: 360 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.504e-05/0.4169, allocations: 75.84 kB / 0.5242 GB, free: 312 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008546/0.4178, allocations: 0.5649 MB / 0.5247 GB, free: 72 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.4178, allocations: 0 / 0.5247 GB, free: 72 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4178, allocations: 0 / 0.5247 GB, free: 72 kB / 382.1 MB Notification: Performance of Transformations before backend: time 5.651e-06/0.4178, allocations: 0 / 0.5247 GB, free: 72 kB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0007016/0.4185, allocations: 0.5091 MB / 0.5252 GB, free: 15.59 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.4186, allocations: 15.56 kB / 0.5253 GB, free: 15.58 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.979e-05/0.4186, allocations: 21.94 kB / 0.5253 GB, free: 15.57 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000269/0.4189, allocations: 211.6 kB / 0.5255 GB, free: 15.34 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.029e-05/0.419, allocations: 15.25 kB / 0.5255 GB, free: 15.33 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.257e-05/0.419, allocations: 20.38 kB / 0.5255 GB, free: 15.32 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004169/0.4194, allocations: 266.4 kB / 0.5258 GB, free: 15.14 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.4194, allocations: 1.375 kB / 0.5258 GB, free: 15.14 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.226e-05/0.4195, allocations: 5.375 kB / 0.5258 GB, free: 15.14 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.514e-05/0.4195, allocations: 5.5 kB / 0.5258 GB, free: 15.14 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003054/0.4198, allocations: 163.9 kB / 0.5259 GB, free: 15.05 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001112/0.4209, allocations: 0.9086 MB / 0.5268 GB, free: 14.21 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001887/0.4211, allocations: 57.83 kB / 0.5269 GB, free: 14.17 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000107/0.4212, allocations: 33.48 kB / 0.5269 GB, free: 14.15 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.27e-05/0.4213, allocations: 5.094 kB / 0.5269 GB, free: 14.15 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.253e-05/0.4213, allocations: 31.66 kB / 0.5269 GB, free: 14.11 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.453e-06/0.4213, allocations: 3.938 kB / 0.5269 GB, free: 14.11 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004753/0.4218, allocations: 135.3 kB / 0.5271 GB, free: 14.03 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.104e-05/0.4219, allocations: 55.34 kB / 0.5271 GB, free: 13.96 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002717/0.4221, allocations: 266.8 kB / 0.5274 GB, free: 13.78 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.504e-05/0.4222, allocations: 29.7 kB / 0.5274 GB, free: 13.75 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001269/0.4223, allocations: 180.8 kB / 0.5276 GB, free: 13.58 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.225e-05/0.4223, allocations: 18.95 kB / 0.5276 GB, free: 13.56 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.56e-05/0.4224, allocations: 57.8 kB / 0.5277 GB, free: 13.52 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001338/0.4226, allocations: 332.4 kB / 0.528 GB, free: 13.19 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001343/0.4227, allocations: 43.14 kB / 0.528 GB, free: 13.17 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002606/0.423, allocations: 193.4 kB / 0.5282 GB, free: 12.95 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003863/0.4234, allocations: 254.6 kB / 0.5284 GB, free: 12.7 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.4234, allocations: 1.5 kB / 0.5284 GB, free: 12.7 MB / 398.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005491/0.4239, allocations: 256.7 kB / 0.5287 GB, free: 12.56 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/0.424, allocations: 6.875 kB / 0.5287 GB, free: 12.56 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.458e-05/0.424, allocations: 16.31 kB / 0.5287 GB, free: 12.55 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.266e-05/0.424, allocations: 10.86 kB / 0.5287 GB, free: 12.55 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001694/0.4242, allocations: 46.23 kB / 0.5288 GB, free: 12.54 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.672e-05/0.4242, allocations: 6.875 kB / 0.5288 GB, free: 12.54 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001877/0.4244, allocations: 50.98 kB / 0.5288 GB, free: 12.5 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.689e-05/0.4245, allocations: 25.3 kB / 0.5288 GB, free: 12.49 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 3 (m_flow_IN_con_4.N,m_flow_IN_con_4.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: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001477/0.4246, allocations: 136.7 kB / 0.529 GB, free: 12.36 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.909e-05/0.4247, allocations: 17.16 kB / 0.529 GB, free: 12.35 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004397/0.4251, allocations: 143.7 kB / 0.5291 GB, free: 12.26 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.4251, allocations: 3.938 kB / 0.5291 GB, free: 12.25 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.4252, allocations: 1.312 kB / 0.5291 GB, free: 12.25 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.4252, allocations: 0 / 0.5291 GB, free: 12.25 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002925/0.4255, allocations: 217.5 kB / 0.5293 GB, free: 12.02 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.129e-05/0.4255, allocations: 7.781 kB / 0.5293 GB, free: 12.02 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.124e-05/0.4255, allocations: 9.5 kB / 0.5294 GB, free: 12.02 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.532e-06/0.4256, allocations: 3.984 kB / 0.5294 GB, free: 12.02 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.4256, allocations: 6.406 kB / 0.5294 GB, free: 12.01 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.668e-06/0.4256, allocations: 3.938 kB / 0.5294 GB, free: 12.01 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.4256, allocations: 5.281 kB / 0.5294 GB, free: 12 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003432/0.4259, allocations: 198.9 kB / 0.5296 GB, free: 11.84 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.44e-05/0.426, allocations: 98.19 kB / 0.5297 GB, free: 11.73 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.631e-05/0.4261, allocations: 0 / 0.5297 GB, free: 11.73 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001/0.4262, allocations: 12.16 kB / 0.5297 GB, free: 11.72 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.824e-05/0.4262, allocations: 7.891 kB / 0.5297 GB, free: 11.72 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.636e-06/0.4262, allocations: 1.281 kB / 0.5297 GB, free: 11.72 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001948/0.4265, allocations: 189.5 kB / 0.5299 GB, free: 11.59 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4265, allocations: 0 / 0.5299 GB, free: 11.59 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0007386/0.4272, allocations: 100.5 kB / 0.53 GB, free: 11.57 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000566/0.4278, allocations: 186.8 kB / 0.5301 GB, free: 11.44 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005437/0.4283, allocations: 201 kB / 0.5303 GB, free: 11.31 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.4283, allocations: 0 / 0.5303 GB, free: 11.31 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002209/0.4286, allocations: 98.97 kB / 0.5304 GB, free: 11.23 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003788/0.429, allocations: 17.98 kB / 0.5304 GB, free: 11.22 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006741/0.4296, allocations: 365.5 kB / 0.5308 GB, free: 10.98 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002903/0.4299, allocations: 0.7371 MB / 0.5315 GB, free: 10.25 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.769e-05/0.43, allocations: 26.08 kB / 0.5315 GB, free: 10.23 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.905e-05/0.4301, allocations: 15.41 kB / 0.5315 GB, free: 10.23 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4301, allocations: 0 / 0.5315 GB, free: 10.23 MB / 398.1 MB Notification: Performance of Templates: time 0.01273/0.4428, allocations: 6.276 MB / 0.5377 GB, free: 7.109 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_roundTube/kc_roundTube.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches