Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00106/0.00106, allocations: 193.6 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.249/1.249, allocations: 225.6 MB / 234.8 MB, free: 3.262 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008079/0.0008077, allocations: 96.58 kB / 286.7 MB, free: 5.246 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1781/0.1781, allocations: 45.14 MB / 383.8 MB, free: 280 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.067e-05/2.063e-05, allocations: 0 / 453.2 MB, free: 75.81 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1102, allocations: 63.26 MB / 0.5044 GB, free: 12.61 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3608/0.4711, allocations: 100.4 MB / 0.6024 GB, free: 2.262 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002161/0.4714, allocations: 95.75 kB / 0.6025 GB, free: 2.207 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03162/0.503, allocations: 11.45 MB / 0.6137 GB, free: 8.859 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.503, allocations: 0 / 0.6137 GB, free: 8.859 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.302e-05/0.5031, allocations: 4 kB / 0.6137 GB, free: 8.855 MB / 410.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.0006576/0.5037, allocations: 0.5789 MB / 0.6143 GB, free: 8.258 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.5038, allocations: 8.031 kB / 0.6143 GB, free: 8.25 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.645e-05/0.5038, allocations: 39.53 kB / 0.6143 GB, free: 8.211 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002619/0.5041, allocations: 241.5 kB / 0.6145 GB, free: 7.941 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.732e-05/0.5041, allocations: 12 kB / 0.6145 GB, free: 7.93 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.465e-05/0.5042, allocations: 20 kB / 0.6146 GB, free: 7.91 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003019/0.5045, allocations: 225.6 kB / 0.6148 GB, free: 7.773 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005448/0.505, allocations: 0.5006 MB / 0.6153 GB, free: 7.219 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/0.5051, allocations: 7.938 kB / 0.6153 GB, free: 7.211 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.412e-05/0.5051, allocations: 4 kB / 0.6153 GB, free: 7.207 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.316e-05/0.5051, allocations: 12 kB / 0.6153 GB, free: 7.195 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002339/0.5075, allocations: 3.944 MB / 0.6191 GB, free: 3.203 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002611/0.5077, allocations: 88.56 kB / 0.6192 GB, free: 3.121 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.428e-05/0.5078, allocations: 24.42 kB / 0.6193 GB, free: 3.098 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.535e-05/0.5078, allocations: 0 / 0.6193 GB, free: 3.098 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.739e-05/0.5079, allocations: 34.62 kB / 0.6193 GB, free: 3.055 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/0.5079, allocations: 4 kB / 0.6193 GB, free: 3.051 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002407/0.5081, allocations: 101.1 kB / 0.6194 GB, free: 2.953 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.845e-05/0.5081, allocations: 51.41 kB / 0.6194 GB, free: 2.891 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002257/0.5084, allocations: 229.1 kB / 0.6197 GB, free: 2.691 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.003e-05/0.5084, allocations: 25.7 kB / 0.6197 GB, free: 2.66 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001668/0.5086, allocations: 264.2 kB / 0.6199 GB, free: 2.43 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.343e-05/0.5086, allocations: 23.95 kB / 0.62 GB, free: 2.41 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.988e-06/0.5086, allocations: 0 / 0.62 GB, free: 2.41 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.5088, allocations: 343.5 kB / 0.6203 GB, free: 2.078 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.246e-05/0.5088, allocations: 43.83 kB / 0.6203 GB, free: 2.039 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002138/0.5091, allocations: 231.5 kB / 0.6205 GB, free: 1.73 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001467/0.5092, allocations: 84.58 kB / 0.6206 GB, free: 1.66 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.133e-06/0.5092, allocations: 4 kB / 0.6206 GB, free: 1.656 MB / 410.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0003829/0.5096, allocations: 273 kB / 0.6209 GB, free: 1.406 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.5097, allocations: 8 kB / 0.6209 GB, free: 1.398 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.5097, allocations: 8 kB / 0.6209 GB, free: 1.391 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.327e-05/0.5097, allocations: 12.77 kB / 0.6209 GB, free: 1.379 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004053/0.5101, allocations: 103.9 kB / 0.621 GB, free: 1.277 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007331/0.5109, allocations: 1.225 MB / 0.6222 GB, free: 24 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002316/0.5111, allocations: 43.97 kB / 0.6223 GB, free: 15.98 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.775e-05/0.5111, allocations: 23.69 kB / 0.6223 GB, free: 15.96 MB / 426.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 () * 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.0001112/0.5113, allocations: 118.8 kB / 0.6224 GB, free: 15.84 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.018e-05/0.5113, allocations: 27.34 kB / 0.6224 GB, free: 15.81 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00028/0.5116, allocations: 133.5 kB / 0.6225 GB, free: 15.69 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.5116, allocations: 0 / 0.6225 GB, free: 15.69 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.5116, allocations: 4 kB / 0.6225 GB, free: 15.68 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.5116, allocations: 7.766 kB / 0.6226 GB, free: 15.68 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000265/0.5119, allocations: 238.9 kB / 0.6228 GB, free: 15.44 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.5119, allocations: 0 / 0.6228 GB, free: 15.44 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000246/0.5122, allocations: 56.53 kB / 0.6228 GB, free: 15.39 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.5122, allocations: 7.922 kB / 0.6228 GB, free: 15.38 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.346e-05/0.5122, allocations: 4.5 kB / 0.6228 GB, free: 15.38 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006303/0.5128, allocations: 1.2 MB / 0.624 GB, free: 14.14 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.5128, allocations: 4.062 kB / 0.624 GB, free: 14.14 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002233/0.5131, allocations: 196.9 kB / 0.6242 GB, free: 13.94 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.063e-05/0.5131, allocations: 96.83 kB / 0.6243 GB, free: 13.83 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.087e-05/0.5132, allocations: 0 / 0.6243 GB, free: 13.83 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001399/0.5133, allocations: 7.984 kB / 0.6243 GB, free: 13.82 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.113e-05/0.5134, allocations: 8.672 kB / 0.6243 GB, free: 13.81 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.072e-05/0.5134, allocations: 8.75 kB / 0.6243 GB, free: 13.8 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001465/0.5136, allocations: 162.5 kB / 0.6245 GB, free: 13.68 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5136, allocations: 0 / 0.6245 GB, free: 13.68 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006511/0.5142, allocations: 138 kB / 0.6246 GB, free: 13.55 MB / 426.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 () * 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.0004763/0.5147, allocations: 275.7 kB / 0.6249 GB, free: 13.28 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003752/0.5151, allocations: 152.3 kB / 0.625 GB, free: 13.14 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.5151, allocations: 0 / 0.625 GB, free: 13.14 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001812/0.5153, allocations: 58.39 kB / 0.6251 GB, free: 13.09 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002102/0.5155, allocations: 16.72 kB / 0.6251 GB, free: 13.09 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005347/0.5161, allocations: 283.4 kB / 0.6254 GB, free: 12.8 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000319/0.5164, allocations: 0.7828 MB / 0.6261 GB, free: 11.99 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000105/0.5165, allocations: 18.08 kB / 0.6261 GB, free: 11.97 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.9e-05/0.5165, allocations: 23.38 kB / 0.6262 GB, free: 11.95 MB / 426.7 MB Notification: Performance of SimCode: time 2.41e-07/0.5165, allocations: 0 / 0.6262 GB, free: 11.95 MB / 426.7 MB Notification: Performance of Templates: time 0.009212/0.5258, allocations: 5.084 MB / 0.6311 GB, free: 6.902 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches