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.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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Re|m_flow.1.|m_flow.2.|Nu.1.|Nu.2.|input_Re.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Re|m_flow.1.|m_flow.2.|Nu.1.|Nu.2.|input_Re.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001293/0.001293, allocations: 113.8 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.001485/0.001485, 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.414/1.414, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.2161/0.2161, allocations: 44.19 MB / 336.7 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 59.91 kB / 470.6 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3958/0.3971, allocations: 60.82 MB / 0.5189 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.00309/0.4002, allocations: 2.124 MB / 0.521 GB, free: 2.125 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001631/0.4019, allocations: 1.37 MB / 0.5223 GB, free: 1.148 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.679e-05/0.402, allocations: 0 / 0.5223 GB, free: 1.148 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003083/0.4023, allocations: 88.27 kB / 0.5224 GB, free: 1.102 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001507/0.4025, allocations: 60.78 kB / 0.5225 GB, free: 1.059 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005386/0.403, allocations: 214 kB / 0.5227 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001803/0.4032, allocations: 145.5 kB / 0.5228 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.426e-05/0.4033, allocations: 18 kB / 0.5228 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001195/0.4034, allocations: 57.47 kB / 0.5229 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.581e-05/0.4035, allocations: 66.45 kB / 0.523 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.781e-05/0.4035, allocations: 7.5 kB / 0.523 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006801/0.4042, allocations: 428.1 kB / 0.5234 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.384e-05/0.4043, allocations: 20.09 kB / 0.5234 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.379e-05/0.4044, allocations: 70.47 kB / 0.5235 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006139/0.405, allocations: 434.5 kB / 0.5239 GB, free: 424 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.405, allocations: 0.7031 kB / 0.5239 GB, free: 424 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.405, allocations: 0 / 0.5239 GB, free: 424 kB / 382.1 MB Notification: Performance of Transformations before backend: time 7.244e-06/0.405, allocations: 1.344 kB / 0.5239 GB, free: 424 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0006686/0.4057, allocations: 0.4994 MB / 0.5244 GB, free: 15.95 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.077e-05/0.4058, allocations: 9.875 kB / 0.5244 GB, free: 15.95 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.131e-05/0.4058, allocations: 28.12 kB / 0.5244 GB, free: 15.94 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002275/0.4061, allocations: 208.7 kB / 0.5246 GB, free: 15.71 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/0.4061, allocations: 11.31 kB / 0.5246 GB, free: 15.71 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.208e-05/0.4061, allocations: 20.69 kB / 0.5246 GB, free: 15.7 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004135/0.4066, allocations: 203.2 kB / 0.5248 GB, free: 15.6 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.4066, allocations: 0 / 0.5248 GB, free: 15.6 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.01e-05/0.4066, allocations: 6.594 kB / 0.5248 GB, free: 15.6 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.201e-05/0.4066, allocations: 9.672 kB / 0.5248 GB, free: 15.59 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003103/0.4069, allocations: 149.6 kB / 0.525 GB, free: 15.54 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009547/0.4079, allocations: 0.5751 MB / 0.5255 GB, free: 15.12 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001986/0.4081, allocations: 62.77 kB / 0.5256 GB, free: 15.09 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000116/0.4082, allocations: 35.66 kB / 0.5256 GB, free: 15.07 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.004e-05/0.4083, allocations: 5.062 kB / 0.5256 GB, free: 15.07 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.574e-05/0.4083, allocations: 35.17 kB / 0.5257 GB, free: 15.03 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.332e-06/0.4083, allocations: 1.25 kB / 0.5257 GB, free: 15.03 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005064/0.4088, allocations: 133.3 kB / 0.5258 GB, free: 14.97 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.772e-05/0.4089, allocations: 53.48 kB / 0.5259 GB, free: 14.91 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003624/0.4092, allocations: 264.1 kB / 0.5261 GB, free: 14.75 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.675e-05/0.4093, allocations: 25.7 kB / 0.5261 GB, free: 14.72 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000106/0.4094, allocations: 163.6 kB / 0.5263 GB, free: 14.58 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3e-05/0.4094, allocations: 16.97 kB / 0.5263 GB, free: 14.57 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.833e-05/0.4095, allocations: 37.47 kB / 0.5263 GB, free: 14.54 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.4096, allocations: 338.8 kB / 0.5267 GB, free: 14.21 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001326/0.4098, allocations: 37.86 kB / 0.5267 GB, free: 14.21 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001767/0.41, allocations: 129.2 kB / 0.5268 GB, free: 14.07 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003177/0.4103, allocations: 186.6 kB / 0.527 GB, free: 13.91 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.125e-06/0.4103, allocations: 1.406 kB / 0.527 GB, free: 13.91 MB / 398.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003918/0.4107, allocations: 204.2 kB / 0.5272 GB, free: 13.8 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.4107, allocations: 5.5 kB / 0.5272 GB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.734e-05/0.4108, allocations: 13.38 kB / 0.5272 GB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/0.4108, allocations: 8.25 kB / 0.5272 GB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001232/0.4109, allocations: 26.7 kB / 0.5272 GB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.506e-05/0.4109, allocations: 12.08 kB / 0.5273 GB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001376/0.4111, allocations: 39.83 kB / 0.5273 GB, free: 13.76 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.013e-05/0.4111, allocations: 8.25 kB / 0.5273 GB, free: 13.76 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 (17): * Single equations (assignments): 15 * 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.0001129/0.4112, allocations: 135.3 kB / 0.5274 GB, free: 13.62 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.447e-05/0.4113, allocations: 16.06 kB / 0.5275 GB, free: 13.62 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003843/0.4117, allocations: 140.6 kB / 0.5276 GB, free: 13.53 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.4117, allocations: 0 / 0.5276 GB, free: 13.53 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.4117, allocations: 1.375 kB / 0.5276 GB, free: 13.53 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.4117, allocations: 0 / 0.5276 GB, free: 13.53 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002584/0.412, allocations: 229.1 kB / 0.5278 GB, free: 13.29 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.571e-05/0.412, allocations: 12.25 kB / 0.5278 GB, free: 13.29 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.991e-05/0.4121, allocations: 9.438 kB / 0.5278 GB, free: 13.28 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.4121, allocations: 0 / 0.5278 GB, free: 13.28 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.608e-05/0.4121, allocations: 6.734 kB / 0.5278 GB, free: 13.28 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.4121, allocations: 0 / 0.5278 GB, free: 13.28 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.4121, allocations: 0 / 0.5278 GB, free: 13.28 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003418/0.4124, allocations: 211.3 kB / 0.528 GB, free: 13.1 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.339e-05/0.4125, allocations: 98.5 kB / 0.5281 GB, free: 12.99 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.96e-05/0.4126, allocations: 1.375 kB / 0.5281 GB, free: 12.99 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.95e-05/0.4127, allocations: 2.75 kB / 0.5281 GB, free: 12.99 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.444e-05/0.4127, allocations: 16.09 kB / 0.5281 GB, free: 12.98 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.764e-06/0.4127, allocations: 2.75 kB / 0.5281 GB, free: 12.98 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001729/0.4129, allocations: 175.6 kB / 0.5283 GB, free: 12.86 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4129, allocations: 0 / 0.5283 GB, free: 12.86 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000454/0.4134, allocations: 77.61 kB / 0.5284 GB, free: 12.84 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.0003527/0.4137, allocations: 172.7 kB / 0.5286 GB, free: 12.71 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004635/0.4142, allocations: 170.5 kB / 0.5287 GB, free: 12.6 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.4142, allocations: 1.25 kB / 0.5287 GB, free: 12.6 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000196/0.4144, allocations: 98.41 kB / 0.5288 GB, free: 12.52 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003556/0.4148, allocations: 16.89 kB / 0.5288 GB, free: 12.51 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000667/0.4155, allocations: 371.2 kB / 0.5292 GB, free: 12.26 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002751/0.4158, allocations: 0.7275 MB / 0.5299 GB, free: 11.54 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.948e-05/0.4158, allocations: 20.55 kB / 0.5299 GB, free: 11.52 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.752e-05/0.4159, allocations: 19.84 kB / 0.5299 GB, free: 11.51 MB / 398.1 MB Notification: Performance of SimCode: time 3.31e-07/0.4159, allocations: 0 / 0.5299 GB, free: 11.51 MB / 398.1 MB Notification: Performance of Templates: time 0.009095/0.425, allocations: 4.179 MB / 0.534 GB, free: 9.449 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_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_flatTube.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches