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.001329/0.001329, allocations: 113.4 kB / 17.78 MB, free: 5.266 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.001425/0.001425, allocations: 188.9 kB / 18.71 MB, free: 4.344 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.341/1.341, allocations: 222.9 MB / 242.4 MB, free: 15.04 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.2034/0.2034, allocations: 44.18 MB / 336.7 MB, free: 2.645 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001391, allocations: 67.88 kB / 470.6 MB, free: 13.1 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4135/0.4149, allocations: 60.82 MB / 0.519 GB, free: 3.605 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC): time 0.003555/0.4185, allocations: 2.67 MB / 0.5216 GB, free: 1.715 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002447/0.421, allocations: 1.426 MB / 0.523 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002897/0.4213, allocations: 1.188 kB / 0.523 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004002/0.4217, allocations: 119.7 kB / 0.5231 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004486/0.4223, allocations: 130.8 kB / 0.5232 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007618/0.423, allocations: 260.5 kB / 0.5234 GB, free: 488 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003226/0.4234, allocations: 280.1 kB / 0.5237 GB, free: 340 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.307e-05/0.4235, allocations: 25.58 kB / 0.5237 GB, free: 328 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001194/0.4236, allocations: 98.62 kB / 0.5238 GB, free: 280 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001886/0.4238, allocations: 120.9 kB / 0.5239 GB, free: 220 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.677e-05/0.4238, allocations: 6.562 kB / 0.5239 GB, free: 220 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001121/0.4249, allocations: 0.5916 MB / 0.5245 GB, free: 28 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.312e-05/0.425, allocations: 43.31 kB / 0.5246 GB, free: 0 / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001732/0.4252, allocations: 129.8 kB / 0.5247 GB, free: 15.92 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008495/0.4261, allocations: 0.537 MB / 0.5252 GB, free: 15.69 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.4261, allocations: 0.75 kB / 0.5252 GB, free: 15.69 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.4261, allocations: 0 / 0.5252 GB, free: 15.69 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.832e-06/0.4261, allocations: 1.375 kB / 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.0008529/0.427, allocations: 0.6236 MB / 0.5258 GB, free: 15.12 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.427, allocations: 9.25 kB / 0.5258 GB, free: 15.12 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.905e-05/0.4271, allocations: 39.94 kB / 0.5259 GB, free: 15.11 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000292/0.4274, allocations: 249.4 kB / 0.5261 GB, free: 14.85 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.854e-05/0.4275, allocations: 28.53 kB / 0.5261 GB, free: 14.84 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.992e-05/0.4275, allocations: 38.28 kB / 0.5262 GB, free: 14.82 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007299/0.4283, allocations: 0.5741 MB / 0.5267 GB, free: 14.27 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.714e-05/0.4283, allocations: 6.75 kB / 0.5267 GB, free: 14.26 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.435e-05/0.4283, allocations: 23.75 kB / 0.5268 GB, free: 14.25 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.641e-05/0.4284, allocations: 14.61 kB / 0.5268 GB, free: 14.24 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005182/0.4289, allocations: 331.6 kB / 0.5271 GB, free: 14.08 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002574/0.4315, allocations: 4.046 MB / 0.531 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002518/0.4317, allocations: 94.59 kB / 0.5311 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001155/0.4319, allocations: 41.58 kB / 0.5312 GB, free: 9.984 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.058e-05/0.4319, allocations: 5.312 kB / 0.5312 GB, free: 9.98 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.258e-05/0.4319, allocations: 35.94 kB / 0.5312 GB, free: 9.938 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.693e-06/0.4319, allocations: 0 / 0.5312 GB, free: 9.938 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005129/0.4325, allocations: 167.1 kB / 0.5314 GB, free: 9.848 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.678e-05/0.4325, allocations: 52.66 kB / 0.5314 GB, free: 9.785 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004162/0.4329, allocations: 415.6 kB / 0.5318 GB, free: 9.52 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.991e-05/0.433, allocations: 26.83 kB / 0.5318 GB, free: 9.488 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00017/0.4331, allocations: 249.9 kB / 0.5321 GB, free: 9.262 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.138e-05/0.4332, allocations: 28.77 kB / 0.5321 GB, free: 9.238 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001158/0.4333, allocations: 70.11 kB / 0.5322 GB, free: 9.188 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001415/0.4334, allocations: 350 kB / 0.5325 GB, free: 8.844 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001531/0.4336, allocations: 63.55 kB / 0.5326 GB, free: 8.816 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002925/0.4339, allocations: 258.2 kB / 0.5328 GB, free: 8.512 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004553/0.4344, allocations: 359.2 kB / 0.5332 GB, free: 8.145 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.4344, allocations: 2.25 kB / 0.5332 GB, free: 8.145 MB / 398.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005986/0.435, allocations: 353.3 kB / 0.5335 GB, free: 7.961 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/0.435, allocations: 7.969 kB / 0.5335 GB, free: 7.961 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/0.435, allocations: 7.656 kB / 0.5335 GB, free: 7.961 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.106e-05/0.4351, allocations: 13.41 kB / 0.5335 GB, free: 7.957 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004864/0.4355, allocations: 106.8 kB / 0.5336 GB, free: 7.934 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006446/0.4362, allocations: 1.216 MB / 0.5348 GB, free: 6.723 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003144/0.4365, allocations: 73.08 kB / 0.5349 GB, free: 6.672 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.057e-05/0.4366, allocations: 22.19 kB / 0.5349 GB, free: 6.668 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.0001467/0.4367, allocations: 149.9 kB / 0.5351 GB, free: 6.527 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.556e-05/0.4368, allocations: 35.44 kB / 0.5351 GB, free: 6.508 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004191/0.4372, allocations: 171.3 kB / 0.5352 GB, free: 6.402 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.4372, allocations: 1 kB / 0.5352 GB, free: 6.402 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.74e-06/0.4372, allocations: 0 / 0.5352 GB, free: 6.402 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.4372, allocations: 5.062 kB / 0.5353 GB, free: 6.398 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003048/0.4375, allocations: 274.3 kB / 0.5355 GB, free: 6.133 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.4376, allocations: 5.062 kB / 0.5355 GB, free: 6.129 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002896/0.4379, allocations: 52.66 kB / 0.5356 GB, free: 6.117 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.4379, allocations: 4.812 kB / 0.5356 GB, free: 6.113 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.512e-05/0.4379, allocations: 9.719 kB / 0.5356 GB, free: 6.105 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005809/0.4385, allocations: 1.2 MB / 0.5368 GB, free: 4.902 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.4385, allocations: 0 / 0.5368 GB, free: 4.902 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003325/0.4388, allocations: 235.4 kB / 0.537 GB, free: 4.719 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.659e-05/0.4389, allocations: 110 kB / 0.5371 GB, free: 4.602 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.612e-05/0.439, allocations: 5.562 kB / 0.5371 GB, free: 4.598 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001659/0.4392, allocations: 10.73 kB / 0.5371 GB, free: 4.59 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.771e-05/0.4392, allocations: 3.938 kB / 0.5371 GB, free: 4.59 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.24e-05/0.4392, allocations: 6.766 kB / 0.5371 GB, free: 4.586 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002683/0.4395, allocations: 276.7 kB / 0.5374 GB, free: 4.418 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4395, allocations: 0 / 0.5374 GB, free: 4.418 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005792/0.4401, allocations: 113.2 kB / 0.5375 GB, free: 4.398 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.0003618/0.4405, allocations: 173.7 kB / 0.5376 GB, free: 4.273 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005739/0.441, allocations: 205.7 kB / 0.5378 GB, free: 4.199 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.4411, allocations: 0 / 0.5378 GB, free: 4.199 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000269/0.4413, allocations: 78.86 kB / 0.5379 GB, free: 4.176 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003782/0.4417, allocations: 40.3 kB / 0.538 GB, free: 4.152 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008554/0.4426, allocations: 0.498 MB / 0.5384 GB, free: 3.812 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002978/0.4429, allocations: 0.771 MB / 0.5392 GB, free: 3.07 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001177/0.443, allocations: 38.16 kB / 0.5392 GB, free: 3.055 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.162e-05/0.4431, allocations: 34.77 kB / 0.5393 GB, free: 3.035 MB / 398.1 MB Notification: Performance of SimCode: time 4e-07/0.4431, allocations: 0 / 0.5393 GB, free: 3.035 MB / 398.1 MB Notification: Performance of Templates: time 0.01344/0.4565, allocations: 6.302 MB / 0.5454 GB, free: 15.97 MB / 414.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