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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001076/0.001075, allocations: 186.9 kB / 17.97 MB, free: 3.793 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.267/1.267, allocations: 222.9 MB / 241.6 MB, free: 10.99 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001014/0.001014, allocations: 103.2 kB / 291.9 MB, free: 10.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2995/0.2995, allocations: 44.13 MB / 386.1 MB, free: 38.03 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001769/0.001769, allocations: 59.91 kB / 457.8 MB, free: 2.289 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3521/0.3539, allocations: 60.8 MB / 0.5064 GB, free: 38.25 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC): time 0.003186/0.3572, allocations: 2.72 MB / 0.5091 GB, free: 36.35 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001734/0.3589, allocations: 1.524 MB / 0.5106 GB, free: 35.31 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.883e-05/0.359, allocations: 0 / 0.5106 GB, free: 35.31 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002806/0.3593, allocations: 109.6 kB / 0.5107 GB, free: 35.25 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002767/0.3596, allocations: 116.2 kB / 0.5108 GB, free: 35.18 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003494/0.36, allocations: 199.4 kB / 0.511 GB, free: 35.09 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002078/0.3602, allocations: 283.2 kB / 0.5112 GB, free: 34.95 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.151e-05/0.3603, allocations: 23.14 kB / 0.5113 GB, free: 34.94 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.411e-05/0.3604, allocations: 101.1 kB / 0.5114 GB, free: 34.89 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001346/0.3605, allocations: 125.4 kB / 0.5115 GB, free: 34.83 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.307e-05/0.3605, allocations: 5.625 kB / 0.5115 GB, free: 34.83 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006844/0.3612, allocations: 0.5871 MB / 0.512 GB, free: 34.64 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.308e-05/0.3613, allocations: 40.06 kB / 0.5121 GB, free: 34.62 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.937e-05/0.3614, allocations: 131.9 kB / 0.5122 GB, free: 34.54 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004613/0.3619, allocations: 0.5256 MB / 0.5127 GB, free: 34.3 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.3619, allocations: 0 / 0.5127 GB, free: 34.3 MB / 378.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.3619, allocations: 3.938 kB / 0.5127 GB, free: 34.3 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.61e-06/0.3619, allocations: 0 / 0.5127 GB, free: 34.3 MB / 378.7 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.0006127/0.3625, allocations: 0.6179 MB / 0.5133 GB, free: 33.78 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.295e-05/0.3625, allocations: 10.94 kB / 0.5133 GB, free: 33.78 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.907e-05/0.3626, allocations: 40.66 kB / 0.5134 GB, free: 33.76 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001933/0.3628, allocations: 249.5 kB / 0.5136 GB, free: 33.51 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.259e-05/0.3628, allocations: 27.75 kB / 0.5136 GB, free: 33.5 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.366e-05/0.3629, allocations: 38.84 kB / 0.5137 GB, free: 33.48 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005155/0.3634, allocations: 0.5758 MB / 0.5142 GB, free: 32.98 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.706e-05/0.3634, allocations: 7.062 kB / 0.5143 GB, free: 32.98 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.614e-05/0.3635, allocations: 18.03 kB / 0.5143 GB, free: 32.97 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.468e-05/0.3635, allocations: 11.56 kB / 0.5143 GB, free: 32.97 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004438/0.3639, allocations: 338.8 kB / 0.5146 GB, free: 32.84 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001515/0.3655, allocations: 4.048 MB / 0.5186 GB, free: 28.96 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002311/0.3657, allocations: 91.3 kB / 0.5186 GB, free: 28.93 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001111/0.3658, allocations: 41.11 kB / 0.5187 GB, free: 28.91 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.312e-05/0.3658, allocations: 4 kB / 0.5187 GB, free: 28.91 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.387e-05/0.3659, allocations: 33.5 kB / 0.5187 GB, free: 28.87 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.3659, allocations: 0 / 0.5187 GB, free: 28.87 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004588/0.3663, allocations: 165.3 kB / 0.5189 GB, free: 28.8 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.064e-05/0.3664, allocations: 58.06 kB / 0.5189 GB, free: 28.73 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003582/0.3667, allocations: 415.5 kB / 0.5193 GB, free: 28.53 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.241e-05/0.3668, allocations: 25.7 kB / 0.5194 GB, free: 28.5 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001199/0.3669, allocations: 251.4 kB / 0.5196 GB, free: 28.29 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.365e-05/0.3669, allocations: 23.28 kB / 0.5196 GB, free: 28.27 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.249e-05/0.367, allocations: 75.08 kB / 0.5197 GB, free: 28.23 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.483e-05/0.3671, allocations: 349.1 kB / 0.52 GB, free: 27.89 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001526/0.3672, allocations: 59.58 kB / 0.5201 GB, free: 27.88 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000221/0.3675, allocations: 261.6 kB / 0.5203 GB, free: 27.59 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003744/0.3678, allocations: 353.8 kB / 0.5207 GB, free: 27.25 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.3679, allocations: 6.875 kB / 0.5207 GB, free: 27.24 MB / 378.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005299/0.3684, allocations: 349.2 kB / 0.521 GB, free: 27.1 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.3684, allocations: 5.812 kB / 0.521 GB, free: 27.1 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.3684, allocations: 8.656 kB / 0.521 GB, free: 27.1 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/0.3685, allocations: 9.344 kB / 0.521 GB, free: 27.1 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004229/0.3689, allocations: 117.5 kB / 0.5211 GB, free: 27.08 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004085/0.3693, allocations: 1.214 MB / 0.5223 GB, free: 25.88 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002482/0.3696, allocations: 66.62 kB / 0.5224 GB, free: 25.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.279e-05/0.3696, allocations: 24.5 kB / 0.5224 GB, free: 25.84 MB / 378.7 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.0001094/0.3697, allocations: 151.4 kB / 0.5226 GB, free: 25.7 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.667e-05/0.3698, allocations: 40.72 kB / 0.5226 GB, free: 25.67 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003875/0.3702, allocations: 172.1 kB / 0.5228 GB, free: 25.59 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/0.3702, allocations: 6.688 kB / 0.5228 GB, free: 25.59 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.3702, allocations: 3.984 kB / 0.5228 GB, free: 25.58 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.3702, allocations: 3.328 kB / 0.5228 GB, free: 25.58 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000226/0.3704, allocations: 272.8 kB / 0.523 GB, free: 25.36 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.3704, allocations: 3.938 kB / 0.523 GB, free: 25.35 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002595/0.3707, allocations: 50.69 kB / 0.5231 GB, free: 25.35 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.3707, allocations: 0.8438 kB / 0.5231 GB, free: 25.35 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.278e-05/0.3707, allocations: 6.75 kB / 0.5231 GB, free: 25.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003636/0.3711, allocations: 1.204 MB / 0.5243 GB, free: 24.15 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.3711, allocations: 2.938 kB / 0.5243 GB, free: 24.15 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005771/0.3717, allocations: 0.8758 MB / 0.5251 GB, free: 23.36 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.343e-05/0.3718, allocations: 108.4 kB / 0.5252 GB, free: 23.25 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.845e-05/0.3718, allocations: 3.516 kB / 0.5252 GB, free: 23.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001606/0.372, allocations: 9.5 kB / 0.5252 GB, free: 23.24 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.344e-05/0.372, allocations: 13.66 kB / 0.5253 GB, free: 23.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.007e-06/0.3721, allocations: 6.781 kB / 0.5253 GB, free: 23.23 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002444/0.3723, allocations: 276 kB / 0.5255 GB, free: 23.09 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3723, allocations: 0 / 0.5255 GB, free: 23.09 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006005/0.3729, allocations: 112.2 kB / 0.5256 GB, free: 23.08 MB / 378.7 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.0003415/0.3733, allocations: 167.5 kB / 0.5258 GB, free: 22.97 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005166/0.3738, allocations: 209.3 kB / 0.526 GB, free: 22.92 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3738, allocations: 0 / 0.526 GB, free: 22.92 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002477/0.3741, allocations: 79.44 kB / 0.5261 GB, free: 22.91 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003797/0.3744, allocations: 40.08 kB / 0.5261 GB, free: 22.89 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007395/0.3752, allocations: 0.7047 MB / 0.5268 GB, free: 22.38 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001737/0.3754, allocations: 0.7719 MB / 0.5275 GB, free: 21.68 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001247/0.3755, allocations: 44.38 kB / 0.5276 GB, free: 21.66 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.422e-05/0.3756, allocations: 21.72 kB / 0.5276 GB, free: 21.65 MB / 378.7 MB Notification: Performance of SimCode: time 2.51e-07/0.3756, allocations: 0 / 0.5276 GB, free: 21.65 MB / 378.7 MB Notification: Performance of Templates: time 0.009473/0.385, allocations: 6.05 MB / 0.5335 GB, free: 21.36 MB / 378.7 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@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_roundTube_KC/kc_roundTube_KC.csv","../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