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_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_flatTube_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h_2|l_2|s_2|t_2|Nu|m_flow.1.|m_flow.2.|kc_1|kc_2|Re_1|Re_2|input_Nu.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h_2|l_2|s_2|t_2|Nu|m_flow.1.|m_flow.2.|kc_1|kc_2|Re_1|Re_2|input_Nu.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_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.289 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.00128/0.001279, allocations: 188.1 kB / 18.71 MB, free: 4.363 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.346/1.346, 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.2167/0.2167, allocations: 44.18 MB / 336.7 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 67.89 kB / 470.6 MB, free: 13.12 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3328/0.334, allocations: 60.82 MB / 0.5189 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.003045/0.3371, allocations: 2.172 MB / 0.5211 GB, free: 2.09 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001746/0.3389, allocations: 1.069 MB / 0.5221 GB, free: 1.324 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001508/0.3391, allocations: 1.188 kB / 0.5221 GB, free: 1.324 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004116/0.3395, allocations: 87.8 kB / 0.5222 GB, free: 1.281 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000336/0.3399, allocations: 83.22 kB / 0.5223 GB, free: 1.227 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003034/0.3402, allocations: 118.1 kB / 0.5224 GB, free: 1.18 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002354/0.3404, allocations: 178.2 kB / 0.5226 GB, free: 1.094 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.163e-05/0.3405, allocations: 14.64 kB / 0.5226 GB, free: 1.086 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000143/0.3406, allocations: 76.44 kB / 0.5226 GB, free: 1.047 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001273/0.3408, allocations: 84.19 kB / 0.5227 GB, free: 1.008 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.085e-05/0.3408, allocations: 5.375 kB / 0.5227 GB, free: 1.008 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004336/0.3412, allocations: 264.7 kB / 0.523 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.464e-05/0.3413, allocations: 30.16 kB / 0.523 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.305e-05/0.3414, allocations: 83.12 kB / 0.5231 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000481/0.3419, allocations: 331 kB / 0.5234 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.85e-06/0.3419, allocations: 0.75 kB / 0.5234 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.3419, allocations: 0 / 0.5234 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.061e-06/0.3419, allocations: 0 / 0.5234 GB, free: 0.6914 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.000559/0.3425, allocations: 0.4895 MB / 0.5239 GB, free: 244 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.3425, allocations: 12.88 kB / 0.5239 GB, free: 240 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.38e-05/0.3426, allocations: 25.11 kB / 0.5239 GB, free: 228 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001807/0.3428, allocations: 216 kB / 0.5241 GB, free: 15.99 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.936e-05/0.3428, allocations: 17.25 kB / 0.5241 GB, free: 15.98 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.93e-05/0.3428, allocations: 22.88 kB / 0.5242 GB, free: 15.98 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004113/0.3432, allocations: 226.1 kB / 0.5244 GB, free: 15.88 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.3433, allocations: 0.7969 kB / 0.5244 GB, free: 15.88 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.362e-05/0.3433, allocations: 13.39 kB / 0.5244 GB, free: 15.86 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-06/0.3433, allocations: 4.844 kB / 0.5244 GB, free: 15.86 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004574/0.3438, allocations: 250.6 kB / 0.5246 GB, free: 15.78 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009884/0.3448, allocations: 0.6225 MB / 0.5252 GB, free: 15.35 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002561/0.345, allocations: 99.23 kB / 0.5253 GB, free: 15.31 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001223/0.3452, allocations: 45.77 kB / 0.5254 GB, free: 15.29 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.368e-05/0.3452, allocations: 1.891 kB / 0.5254 GB, free: 15.29 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.379e-05/0.3452, allocations: 36.69 kB / 0.5254 GB, free: 15.25 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.192e-06/0.3452, allocations: 0 / 0.5254 GB, free: 15.25 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004868/0.3457, allocations: 171.5 kB / 0.5256 GB, free: 15.18 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.172e-05/0.3458, allocations: 55.41 kB / 0.5256 GB, free: 15.11 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002434/0.346, allocations: 267.2 kB / 0.5259 GB, free: 14.96 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.041e-05/0.346, allocations: 29.64 kB / 0.5259 GB, free: 14.93 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001064/0.3462, allocations: 169.1 kB / 0.5261 GB, free: 14.78 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.307e-05/0.3462, allocations: 36.06 kB / 0.5261 GB, free: 14.75 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.829e-05/0.3463, allocations: 44.28 kB / 0.5262 GB, free: 14.72 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.3464, allocations: 339.5 kB / 0.5265 GB, free: 14.39 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001453/0.3466, allocations: 51.98 kB / 0.5265 GB, free: 14.38 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001982/0.3468, allocations: 147.7 kB / 0.5267 GB, free: 14.24 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003487/0.3471, allocations: 210.9 kB / 0.5269 GB, free: 14.07 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.84e-06/0.3471, allocations: 1 kB / 0.5269 GB, free: 14.07 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004675/0.3476, allocations: 245.2 kB / 0.5271 GB, free: 13.95 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.172e-05/0.3477, allocations: 9.344 kB / 0.5271 GB, free: 13.95 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.3477, allocations: 4.062 kB / 0.5271 GB, free: 13.95 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.3477, allocations: 9 kB / 0.5271 GB, free: 13.95 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003864/0.3481, allocations: 79.41 kB / 0.5272 GB, free: 13.93 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007145/0.3488, allocations: 1.222 MB / 0.5284 GB, free: 12.71 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002206/0.349, allocations: 41.22 kB / 0.5284 GB, free: 12.69 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.338e-05/0.3491, allocations: 13.69 kB / 0.5284 GB, free: 12.68 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 (25): * Single equations (assignments): 23 * 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.0001406/0.3492, allocations: 134.1 kB / 0.5286 GB, free: 12.55 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.205e-05/0.3493, allocations: 21.88 kB / 0.5286 GB, free: 12.54 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004595/0.3497, allocations: 171.1 kB / 0.5288 GB, free: 12.43 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.279e-06/0.3498, allocations: 1.406 kB / 0.5288 GB, free: 12.43 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.3498, allocations: 0 / 0.5288 GB, free: 12.43 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.3498, allocations: 3.984 kB / 0.5288 GB, free: 12.43 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006732/0.3505, allocations: 450.6 kB / 0.5292 GB, free: 12.02 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/0.3505, allocations: 1.375 kB / 0.5292 GB, free: 12.02 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000256/0.3507, allocations: 55.97 kB / 0.5293 GB, free: 12.01 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.3508, allocations: 1.375 kB / 0.5293 GB, free: 12.01 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.432e-05/0.3508, allocations: 2.75 kB / 0.5293 GB, free: 12.01 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007205/0.3515, allocations: 1.219 MB / 0.5304 GB, free: 10.79 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.3515, allocations: 0 / 0.5304 GB, free: 10.79 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003933/0.3519, allocations: 246.7 kB / 0.5307 GB, free: 10.59 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.958e-05/0.352, allocations: 104 kB / 0.5308 GB, free: 10.48 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.723e-05/0.3521, allocations: 9.641 kB / 0.5308 GB, free: 10.47 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001479/0.3522, allocations: 4 kB / 0.5308 GB, free: 10.47 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.261e-05/0.3523, allocations: 12.98 kB / 0.5308 GB, free: 10.46 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.302e-05/0.3523, allocations: 3.062 kB / 0.5308 GB, free: 10.46 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001931/0.3525, allocations: 190.4 kB / 0.531 GB, free: 10.33 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3525, allocations: 0.9375 kB / 0.531 GB, free: 10.33 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004527/0.353, allocations: 63.28 kB / 0.5311 GB, free: 10.32 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (9): * Single equations (assignments): 7 * 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.0002667/0.3532, allocations: 150.5 kB / 0.5312 GB, free: 10.2 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005462/0.3538, allocations: 173.9 kB / 0.5314 GB, free: 10.14 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.3538, allocations: 0 / 0.5314 GB, free: 10.14 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002793/0.3541, allocations: 87.2 kB / 0.5314 GB, free: 10.11 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003609/0.3545, allocations: 34.25 kB / 0.5315 GB, free: 10.08 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000811/0.3553, allocations: 392.3 kB / 0.5318 GB, free: 9.805 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003374/0.3556, allocations: 0.7311 MB / 0.5326 GB, free: 9.086 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.062e-05/0.3557, allocations: 19.58 kB / 0.5326 GB, free: 9.074 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.73e-05/0.3558, allocations: 17.34 kB / 0.5326 GB, free: 9.066 MB / 398.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3558, allocations: 3.938 kB / 0.5326 GB, free: 9.062 MB / 398.1 MB Notification: Performance of Templates: time 0.007489/0.3633, allocations: 3.615 MB / 0.5361 GB, free: 7.301 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_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_flatTube_KC/kc_flatTube_KC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches