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.0009621/0.0009622, allocations: 177 kB / 17.06 MB, free: 5.098 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.301/1.301, allocations: 223.2 MB / 241 MB, free: 10.14 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.0009038/0.0009039, allocations: 94.66 kB / 292.2 MB, free: 10.69 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.3068/0.3068, allocations: 44.22 MB / 387.5 MB, free: 38.55 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003132/0.0003132, allocations: 8 kB / 459.9 MB, free: 1.492 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3322/0.3326, allocations: 61.89 MB / 0.5096 GB, free: 37.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1267/0.4594, allocations: 99.87 MB / 0.6071 GB, free: 11.22 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002327/0.4596, allocations: 107.7 kB / 0.6072 GB, free: 11.12 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03114/0.4908, allocations: 11.56 MB / 0.6185 GB, free: 15.51 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.4908, allocations: 4 kB / 0.6185 GB, free: 15.51 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.277e-05/0.4908, allocations: 4 kB / 0.6185 GB, free: 15.5 MB / 442.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.0006388/0.4915, allocations: 0.5926 MB / 0.6191 GB, free: 14.86 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.4915, allocations: 8.031 kB / 0.6191 GB, free: 14.86 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.944e-05/0.4916, allocations: 39.53 kB / 0.6191 GB, free: 14.82 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002494/0.4919, allocations: 234.6 kB / 0.6194 GB, free: 14.55 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.762e-05/0.4919, allocations: 32.95 kB / 0.6194 GB, free: 14.52 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.847e-05/0.4919, allocations: 36 kB / 0.6194 GB, free: 14.48 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006237/0.4926, allocations: 0.5792 MB / 0.62 GB, free: 13.77 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.601e-05/0.4926, allocations: 7.938 kB / 0.62 GB, free: 13.76 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.982e-05/0.4926, allocations: 16 kB / 0.62 GB, free: 13.75 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.163e-05/0.4927, allocations: 12 kB / 0.62 GB, free: 13.73 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004816/0.4931, allocations: 341 kB / 0.6203 GB, free: 13.4 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002259/0.4954, allocations: 4.039 MB / 0.6243 GB, free: 9.16 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003233/0.4957, allocations: 114.5 kB / 0.6244 GB, free: 9.039 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.526e-05/0.4958, allocations: 4 kB / 0.6244 GB, free: 9.035 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.78e-05/0.4958, allocations: 30.56 kB / 0.6244 GB, free: 8.996 MB / 442.7 MB Notification: Performance of pre-optimization done (n=7): time 1.252e-06/0.4958, allocations: 0 / 0.6244 GB, free: 8.996 MB / 442.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004899/0.4963, allocations: 189.2 kB / 0.6246 GB, free: 8.805 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.216e-05/0.4964, allocations: 51.41 kB / 0.6247 GB, free: 8.742 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003181/0.4967, allocations: 353 kB / 0.625 GB, free: 8.387 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/0.4967, allocations: 29.7 kB / 0.625 GB, free: 8.352 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001401/0.4968, allocations: 259.1 kB / 0.6253 GB, free: 8.094 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.367e-05/0.4969, allocations: 27.7 kB / 0.6253 GB, free: 8.066 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.127e-05/0.4969, allocations: 4 kB / 0.6253 GB, free: 8.062 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001117/0.497, allocations: 346.8 kB / 0.6256 GB, free: 7.715 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001566/0.4972, allocations: 68.55 kB / 0.6257 GB, free: 7.645 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000246/0.4974, allocations: 262.5 kB / 0.6259 GB, free: 7.285 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001904/0.4976, allocations: 103.8 kB / 0.626 GB, free: 7.184 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.4976, allocations: 0 / 0.626 GB, free: 7.184 MB / 442.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005571/0.4982, allocations: 361.2 kB / 0.6264 GB, free: 6.824 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.4982, allocations: 8 kB / 0.6264 GB, free: 6.816 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/0.4982, allocations: 8 kB / 0.6264 GB, free: 6.809 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2e-05/0.4983, allocations: 12 kB / 0.6264 GB, free: 6.797 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003952/0.4987, allocations: 115.7 kB / 0.6265 GB, free: 6.684 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006233/0.4993, allocations: 1.211 MB / 0.6277 GB, free: 5.426 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002734/0.4996, allocations: 67.27 kB / 0.6278 GB, free: 5.359 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.342e-05/0.4996, allocations: 20 kB / 0.6278 GB, free: 5.34 MB / 442.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 (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001379/0.4998, allocations: 159.5 kB / 0.6279 GB, free: 5.176 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.341e-05/0.4998, allocations: 39.72 kB / 0.628 GB, free: 5.137 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004168/0.5003, allocations: 184.8 kB / 0.6282 GB, free: 4.953 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.5003, allocations: 4 kB / 0.6282 GB, free: 4.949 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.5003, allocations: 0 / 0.6282 GB, free: 4.949 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.5003, allocations: 3.984 kB / 0.6282 GB, free: 4.945 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002865/0.5006, allocations: 277.4 kB / 0.6284 GB, free: 4.625 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.5006, allocations: 0 / 0.6284 GB, free: 4.625 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002456/0.5008, allocations: 55.97 kB / 0.6285 GB, free: 4.57 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.5009, allocations: 0 / 0.6285 GB, free: 4.57 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.843e-05/0.5009, allocations: 11.98 kB / 0.6285 GB, free: 4.559 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00057/0.5015, allocations: 1.203 MB / 0.6297 GB, free: 3.309 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.5015, allocations: 480 / 0.6297 GB, free: 3.309 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003406/0.5018, allocations: 247 kB / 0.6299 GB, free: 3.051 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.462e-05/0.5019, allocations: 112.7 kB / 0.63 GB, free: 2.922 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.136e-05/0.502, allocations: 11.89 kB / 0.63 GB, free: 2.91 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001686/0.5021, allocations: 11.98 kB / 0.63 GB, free: 2.898 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.317e-05/0.5022, allocations: 4 kB / 0.63 GB, free: 2.895 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.049e-05/0.5022, allocations: 4 kB / 0.63 GB, free: 2.891 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002557/0.5025, allocations: 275.1 kB / 0.6303 GB, free: 2.625 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5025, allocations: 0 / 0.6303 GB, free: 2.625 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0006028/0.5031, allocations: 123.9 kB / 0.6304 GB, free: 2.504 MB / 442.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 (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005527/0.5036, allocations: 252.8 kB / 0.6307 GB, free: 2.254 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0005125/0.5042, allocations: 200.2 kB / 0.6309 GB, free: 2.059 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.5042, allocations: 1.375 kB / 0.6309 GB, free: 2.059 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002513/0.5044, allocations: 79.94 kB / 0.6309 GB, free: 1.98 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002738/0.5047, allocations: 25.97 kB / 0.631 GB, free: 1.953 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008857/0.5056, allocations: 0.578 MB / 0.6315 GB, free: 1.352 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000316/0.5059, allocations: 0.7758 MB / 0.6323 GB, free: 0.5469 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001822/0.5061, allocations: 38.89 kB / 0.6323 GB, free: 0.5078 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.212e-05/0.5062, allocations: 27.38 kB / 0.6323 GB, free: 492 kB / 442.7 MB Notification: Performance of SimCode: time 3.41e-07/0.5062, allocations: 0 / 0.6323 GB, free: 492 kB / 442.7 MB Notification: Performance of Templates: time 0.01124/0.5175, allocations: 6.596 MB / 0.6388 GB, free: 9.93 MB / 458.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/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