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.001282/0.001282, allocations: 109.6 kB / 18.45 MB, free: 4.645 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.001307/0.001307, allocations: 182.2 kB / 19.38 MB, free: 3.727 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.255/1.255, allocations: 222.9 MB / 243.1 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.1998/0.1998, allocations: 44.18 MB / 337.4 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001327/0.001327, allocations: 63.91 kB / 471.2 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2976/0.2989, allocations: 60.82 MB / 0.5196 GB, free: 3.633 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.003746/0.3027, allocations: 2.123 MB / 0.5217 GB, free: 2.145 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002161/0.3049, allocations: 1.376 MB / 0.523 GB, free: 1.16 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002015/0.3051, allocations: 1 kB / 0.523 GB, free: 1.16 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004037/0.3056, allocations: 88.3 kB / 0.5231 GB, free: 1.113 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002978/0.3059, allocations: 64.44 kB / 0.5231 GB, free: 1.066 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008231/0.3067, allocations: 209 kB / 0.5233 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002538/0.307, allocations: 143.3 kB / 0.5235 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.766e-05/0.3071, allocations: 21.56 kB / 0.5235 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001309/0.3072, allocations: 56.39 kB / 0.5236 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.903e-05/0.3073, allocations: 58.48 kB / 0.5236 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.795e-05/0.3073, allocations: 3.5 kB / 0.5236 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007053/0.308, allocations: 432.1 kB / 0.524 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.522e-05/0.3081, allocations: 25.89 kB / 0.5241 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.408e-05/0.3082, allocations: 69.34 kB / 0.5241 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005855/0.3088, allocations: 437.8 kB / 0.5245 GB, free: 436 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.3088, allocations: 1.125 kB / 0.5245 GB, free: 436 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.3088, allocations: 0 / 0.5245 GB, free: 436 kB / 382.1 MB Notification: Performance of Transformations before backend: time 7.494e-06/0.3088, allocations: 0 / 0.5245 GB, free: 436 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.0006435/0.3095, allocations: 0.4942 MB / 0.525 GB, free: 15.97 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.27e-05/0.3095, allocations: 7.844 kB / 0.525 GB, free: 15.97 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.987e-05/0.3096, allocations: 27.72 kB / 0.5251 GB, free: 15.96 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002113/0.3098, allocations: 218.4 kB / 0.5253 GB, free: 15.73 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.972e-05/0.3098, allocations: 15.88 kB / 0.5253 GB, free: 15.72 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.383e-05/0.3098, allocations: 19.16 kB / 0.5253 GB, free: 15.71 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003997/0.3103, allocations: 203.5 kB / 0.5255 GB, free: 15.61 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.3103, allocations: 0.9844 kB / 0.5255 GB, free: 15.61 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.869e-05/0.3103, allocations: 5.594 kB / 0.5255 GB, free: 15.61 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.258e-06/0.3103, allocations: 9.25 kB / 0.5255 GB, free: 15.61 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003061/0.3106, allocations: 152.4 kB / 0.5257 GB, free: 15.55 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009249/0.3116, allocations: 0.572 MB / 0.5262 GB, free: 15.14 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001956/0.3118, allocations: 66.98 kB / 0.5263 GB, free: 15.1 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001114/0.3119, allocations: 31.8 kB / 0.5263 GB, free: 15.09 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.316e-05/0.3119, allocations: 6.078 kB / 0.5263 GB, free: 15.08 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.619e-05/0.312, allocations: 30.56 kB / 0.5263 GB, free: 15.04 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.513e-06/0.312, allocations: 1.375 kB / 0.5263 GB, free: 15.04 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.000489/0.3125, allocations: 141.5 kB / 0.5265 GB, free: 14.98 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.367e-05/0.3125, allocations: 52.06 kB / 0.5265 GB, free: 14.91 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002715/0.3128, allocations: 264.1 kB / 0.5268 GB, free: 14.76 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.54e-05/0.3128, allocations: 25.7 kB / 0.5268 GB, free: 14.73 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001147/0.313, allocations: 165.7 kB / 0.527 GB, free: 14.59 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.1e-05/0.313, allocations: 16.52 kB / 0.527 GB, free: 14.57 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.666e-05/0.3131, allocations: 36.05 kB / 0.527 GB, free: 14.55 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001322/0.3132, allocations: 335 kB / 0.5273 GB, free: 14.23 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001585/0.3134, allocations: 42.05 kB / 0.5274 GB, free: 14.21 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001916/0.3136, allocations: 133.1 kB / 0.5275 GB, free: 14.08 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003405/0.3139, allocations: 182 kB / 0.5277 GB, free: 13.91 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.3139, allocations: 1.219 kB / 0.5277 GB, free: 13.91 MB / 398.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004433/0.3144, allocations: 199.7 kB / 0.5279 GB, free: 13.8 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.3144, allocations: 5.906 kB / 0.5279 GB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.024e-05/0.3144, allocations: 11.88 kB / 0.5279 GB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.046e-05/0.3145, allocations: 4.688 kB / 0.5279 GB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001407/0.3146, allocations: 38.34 kB / 0.5279 GB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/0.3146, allocations: 4.781 kB / 0.5279 GB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001547/0.3148, allocations: 35.28 kB / 0.528 GB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.511e-05/0.3148, allocations: 13.83 kB / 0.528 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.0001178/0.3149, allocations: 134.1 kB / 0.5281 GB, free: 13.63 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.197e-05/0.315, allocations: 16.22 kB / 0.5281 GB, free: 13.62 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003897/0.3154, allocations: 136.6 kB / 0.5282 GB, free: 13.54 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.3154, allocations: 1.375 kB / 0.5282 GB, free: 13.54 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.3154, allocations: 0 / 0.5282 GB, free: 13.54 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.3154, allocations: 0 / 0.5282 GB, free: 13.54 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002641/0.3157, allocations: 226.3 kB / 0.5285 GB, free: 13.3 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.009e-05/0.3157, allocations: 7.062 kB / 0.5285 GB, free: 13.3 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.805e-05/0.3158, allocations: 24.7 kB / 0.5285 GB, free: 13.28 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.3158, allocations: 1.25 kB / 0.5285 GB, free: 13.28 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.3158, allocations: 5.688 kB / 0.5285 GB, free: 13.28 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.3158, allocations: 1.438 kB / 0.5285 GB, free: 13.28 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.3158, allocations: 0 / 0.5285 GB, free: 13.28 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003209/0.3162, allocations: 203.2 kB / 0.5287 GB, free: 13.11 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.807e-05/0.3162, allocations: 98.33 kB / 0.5288 GB, free: 13 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.011e-05/0.3163, allocations: 0 / 0.5288 GB, free: 13 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/0.3164, allocations: 8.109 kB / 0.5288 GB, free: 13 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.325e-05/0.3164, allocations: 2.75 kB / 0.5288 GB, free: 13 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.877e-06/0.3165, allocations: 6.688 kB / 0.5288 GB, free: 12.99 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001707/0.3166, allocations: 183.6 kB / 0.529 GB, free: 12.86 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3166, allocations: 1.375 kB / 0.529 GB, free: 12.86 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004411/0.3171, allocations: 69.69 kB / 0.529 GB, free: 12.85 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.0004143/0.3175, allocations: 168.5 kB / 0.5292 GB, free: 12.72 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004777/0.318, allocations: 173.5 kB / 0.5294 GB, free: 12.61 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.318, allocations: 2.188 kB / 0.5294 GB, free: 12.61 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002034/0.3182, allocations: 102.7 kB / 0.5295 GB, free: 12.53 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003708/0.3186, allocations: 21.28 kB / 0.5295 GB, free: 12.51 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007576/0.3194, allocations: 385.8 kB / 0.5299 GB, free: 12.24 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003007/0.3197, allocations: 0.7355 MB / 0.5306 GB, free: 11.52 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.562e-05/0.3197, allocations: 16.28 kB / 0.5306 GB, free: 11.51 MB / 398.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3197, allocations: 0 / 0.5306 GB, free: 11.51 MB / 398.1 MB Notification: Performance of Templates: time 0.007932/0.3277, allocations: 4.438 MB / 0.5349 GB, free: 9.195 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/jenkins1/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/jenkins1/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