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_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_roundTube_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Nu|m_flow.1.|m_flow.2.|m_flow.3.|m_flow.4.|kc_1|kc_4|Re_1|Re_4|input_Nu.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Nu|m_flow.1.|m_flow.2.|m_flow.3.|m_flow.4.|kc_1|kc_4|Re_1|Re_4|input_Nu.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001273/0.001273, 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.001337/0.001337, 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.428/1.428, 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.2265/0.2265, allocations: 44.19 MB / 336.7 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001162/0.001162, allocations: 64.09 kB / 470.6 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4525/0.4537, allocations: 60.82 MB / 0.5189 GB, free: 3.625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC): time 0.003951/0.4577, allocations: 2.68 MB / 0.5216 GB, free: 1.727 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002299/0.46, allocations: 1.425 MB / 0.5229 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002145/0.4603, allocations: 1.312 kB / 0.523 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004326/0.4607, allocations: 123.8 kB / 0.5231 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004393/0.4612, allocations: 126.4 kB / 0.5232 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006991/0.4619, allocations: 268.3 kB / 0.5234 GB, free: 492 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003253/0.4622, allocations: 275.8 kB / 0.5237 GB, free: 348 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.894e-05/0.4623, allocations: 26.91 kB / 0.5237 GB, free: 336 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001229/0.4625, allocations: 96.84 kB / 0.5238 GB, free: 288 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001943/0.4627, allocations: 121 kB / 0.5239 GB, free: 228 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.985e-05/0.4627, allocations: 7.812 kB / 0.5239 GB, free: 228 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001045/0.4637, allocations: 0.5845 MB / 0.5245 GB, free: 44 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.114e-05/0.4638, allocations: 46.28 kB / 0.5246 GB, free: 12 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001821/0.464, allocations: 138.3 kB / 0.5247 GB, free: 15.92 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008416/0.4649, allocations: 0.5364 MB / 0.5252 GB, free: 15.69 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.4649, allocations: 1.094 kB / 0.5252 GB, free: 15.69 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.4649, allocations: 0 / 0.5252 GB, free: 15.69 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.4649, allocations: 0 / 0.5252 GB, free: 15.69 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.0007659/0.4657, allocations: 0.6201 MB / 0.5258 GB, free: 15.12 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.4657, allocations: 10.03 kB / 0.5258 GB, free: 15.12 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.936e-05/0.4658, allocations: 41 kB / 0.5259 GB, free: 15.11 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000246/0.466, allocations: 249.4 kB / 0.5261 GB, free: 14.85 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.723e-05/0.4661, allocations: 28 kB / 0.5261 GB, free: 14.84 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.723e-05/0.4661, allocations: 33.81 kB / 0.5262 GB, free: 14.82 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007369/0.4669, allocations: 0.5792 MB / 0.5267 GB, free: 14.27 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.796e-05/0.4669, allocations: 6.562 kB / 0.5267 GB, free: 14.26 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.317e-05/0.4669, allocations: 14.88 kB / 0.5268 GB, free: 14.25 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.639e-05/0.467, allocations: 11 kB / 0.5268 GB, free: 14.25 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005369/0.4675, allocations: 337.9 kB / 0.5271 GB, free: 14.08 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002795/0.4703, allocations: 4.047 MB / 0.531 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002922/0.4706, allocations: 94.2 kB / 0.5311 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001452/0.4708, allocations: 37.08 kB / 0.5312 GB, free: 9.992 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.612e-05/0.4708, allocations: 5.359 kB / 0.5312 GB, free: 9.988 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.575e-05/0.4709, allocations: 36 kB / 0.5312 GB, free: 9.945 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.403e-06/0.4709, allocations: 3.938 kB / 0.5312 GB, free: 9.941 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.000589/0.4715, allocations: 163.6 kB / 0.5314 GB, free: 9.855 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.071e-05/0.4715, allocations: 51.41 kB / 0.5314 GB, free: 9.793 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004718/0.472, allocations: 412.9 kB / 0.5318 GB, free: 9.531 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.305e-05/0.472, allocations: 27.08 kB / 0.5318 GB, free: 9.5 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002103/0.4723, allocations: 249.9 kB / 0.5321 GB, free: 9.273 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.927e-05/0.4723, allocations: 31.83 kB / 0.5321 GB, free: 9.246 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001205/0.4724, allocations: 74.23 kB / 0.5322 GB, free: 9.191 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001938/0.4726, allocations: 350.7 kB / 0.5325 GB, free: 8.848 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001804/0.4728, allocations: 55.27 kB / 0.5326 GB, free: 8.828 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003314/0.4731, allocations: 260.8 kB / 0.5328 GB, free: 8.52 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005482/0.4737, allocations: 357.3 kB / 0.5332 GB, free: 8.156 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.4737, allocations: 5.469 kB / 0.5332 GB, free: 8.152 MB / 398.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006744/0.4744, allocations: 353.3 kB / 0.5335 GB, free: 7.969 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.501e-05/0.4744, allocations: 7.969 kB / 0.5335 GB, free: 7.969 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.492e-05/0.4745, allocations: 7.516 kB / 0.5335 GB, free: 7.969 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.483e-05/0.4745, allocations: 9.344 kB / 0.5335 GB, free: 7.969 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000512/0.475, allocations: 111.8 kB / 0.5336 GB, free: 7.941 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007658/0.4758, allocations: 1.22 MB / 0.5348 GB, free: 6.727 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003124/0.4761, allocations: 69.66 kB / 0.5349 GB, free: 6.68 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.385e-05/0.4762, allocations: 21.45 kB / 0.5349 GB, free: 6.676 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 5 (m_flow_IN_con_4.N,m_flow_IN_con_4.geometry,m_flow_IN_con_1.geometry,m_flow_IN_con_3.geometry,m_flow_IN_con_2.geometry) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * 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.0001638/0.4763, allocations: 149.5 kB / 0.535 GB, free: 6.539 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.938e-05/0.4764, allocations: 39.03 kB / 0.5351 GB, free: 6.516 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004842/0.4769, allocations: 179.7 kB / 0.5353 GB, free: 6.402 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.4769, allocations: 1.156 kB / 0.5353 GB, free: 6.402 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.4769, allocations: 4 kB / 0.5353 GB, free: 6.398 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.105e-06/0.4769, allocations: 0 / 0.5353 GB, free: 6.398 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003431/0.4773, allocations: 271.6 kB / 0.5355 GB, free: 6.137 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.4773, allocations: 3.938 kB / 0.5355 GB, free: 6.133 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002933/0.4776, allocations: 57 kB / 0.5356 GB, free: 6.117 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.412e-06/0.4776, allocations: 1.656 kB / 0.5356 GB, free: 6.117 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.269e-05/0.4776, allocations: 5.125 kB / 0.5356 GB, free: 6.113 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00079/0.4784, allocations: 1.208 MB / 0.5368 GB, free: 4.902 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.4784, allocations: 0 / 0.5368 GB, free: 4.902 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000378/0.4788, allocations: 236 kB / 0.537 GB, free: 4.719 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.57e-05/0.4789, allocations: 108.7 kB / 0.5371 GB, free: 4.602 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.618e-05/0.479, allocations: 9.281 kB / 0.5371 GB, free: 4.594 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00017/0.4791, allocations: 10.89 kB / 0.5371 GB, free: 4.586 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.756e-05/0.4792, allocations: 4.75 kB / 0.5371 GB, free: 4.586 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.049e-05/0.4792, allocations: 2.625 kB / 0.5371 GB, free: 4.586 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002899/0.4795, allocations: 276.1 kB / 0.5374 GB, free: 4.418 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4795, allocations: 0 / 0.5374 GB, free: 4.418 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006371/0.4802, allocations: 110.5 kB / 0.5375 GB, free: 4.402 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 (7): * Single equations (assignments): 5 * 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.0004155/0.4806, allocations: 164.4 kB / 0.5376 GB, free: 4.285 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005951/0.4812, allocations: 212.7 kB / 0.5378 GB, free: 4.203 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.4812, allocations: 1.688 kB / 0.5378 GB, free: 4.203 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002723/0.4815, allocations: 78.67 kB / 0.5379 GB, free: 4.18 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004445/0.4819, allocations: 48.55 kB / 0.538 GB, free: 4.148 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009904/0.4829, allocations: 0.4886 MB / 0.5384 GB, free: 3.816 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004099/0.4833, allocations: 0.7707 MB / 0.5392 GB, free: 3.074 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001166/0.4835, allocations: 36.59 kB / 0.5392 GB, free: 3.062 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.46e-05/0.4835, allocations: 29.48 kB / 0.5393 GB, free: 3.047 MB / 398.1 MB Notification: Performance of SimCode: time 3e-07/0.4835, allocations: 0 / 0.5393 GB, free: 3.047 MB / 398.1 MB Notification: Performance of Templates: time 0.01621/0.4998, allocations: 6.214 MB / 0.5453 GB, free: 48 kB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_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_roundTube_KC/kc_roundTube_KC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches