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.001182/0.001183, allocations: 182.8 kB / 18.09 MB, free: 3.633 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.275/1.275, allocations: 223.3 MB / 242.1 MB, free: 11.6 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.0007424/0.0007429, allocations: 100.7 kB / 293.3 MB, free: 10.77 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.3252/0.3252, allocations: 44.14 MB / 388.5 MB, free: 38.66 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003857/0.0003857, allocations: 8 kB / 461.1 MB, free: 1.305 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3491/0.3495, allocations: 61.89 MB / 0.5107 GB, free: 37.91 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1191/0.4686, allocations: 99.93 MB / 0.6083 GB, free: 11.12 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000253/0.4689, allocations: 107.9 kB / 0.6084 GB, free: 11.02 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03229/0.5012, allocations: 11.55 MB / 0.6197 GB, free: 15.43 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.724e-06/0.5013, allocations: 0 / 0.6197 GB, free: 15.43 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.694e-05/0.5013, allocations: 4 kB / 0.6197 GB, free: 15.43 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.0008414/0.5021, allocations: 0.5928 MB / 0.6203 GB, free: 14.79 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.5022, allocations: 12.03 kB / 0.6203 GB, free: 14.77 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.215e-05/0.5023, allocations: 36.47 kB / 0.6203 GB, free: 14.74 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002859/0.5026, allocations: 251.6 kB / 0.6206 GB, free: 14.45 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.557e-05/0.5026, allocations: 29.38 kB / 0.6206 GB, free: 14.43 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.441e-05/0.5027, allocations: 32.38 kB / 0.6206 GB, free: 14.39 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006924/0.5034, allocations: 0.5836 MB / 0.6212 GB, free: 13.68 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.083e-05/0.5034, allocations: 8.125 kB / 0.6212 GB, free: 13.67 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.56e-05/0.5034, allocations: 19.94 kB / 0.6212 GB, free: 13.65 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.418e-05/0.5035, allocations: 12 kB / 0.6213 GB, free: 13.64 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005294/0.504, allocations: 341 kB / 0.6216 GB, free: 13.3 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002566/0.5066, allocations: 4.035 MB / 0.6255 GB, free: 9.07 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003507/0.5069, allocations: 110.5 kB / 0.6256 GB, free: 8.953 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001309/0.5071, allocations: 48.89 kB / 0.6257 GB, free: 8.902 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.256e-05/0.5071, allocations: 3.938 kB / 0.6257 GB, free: 8.898 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.046e-05/0.5071, allocations: 30.56 kB / 0.6257 GB, free: 8.859 MB / 442.7 MB Notification: Performance of pre-optimization done (n=7): time 1.833e-06/0.5072, allocations: 7.938 kB / 0.6257 GB, free: 8.852 MB / 442.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005101/0.5077, allocations: 181.2 kB / 0.6259 GB, free: 8.668 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.047e-05/0.5077, allocations: 55.41 kB / 0.6259 GB, free: 8.602 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003894/0.5081, allocations: 405.7 kB / 0.6263 GB, free: 8.199 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.916e-05/0.5081, allocations: 29.7 kB / 0.6264 GB, free: 8.164 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001562/0.5083, allocations: 258.9 kB / 0.6266 GB, free: 7.906 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.509e-05/0.5083, allocations: 27.7 kB / 0.6266 GB, free: 7.879 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.267e-05/0.5083, allocations: 8 kB / 0.6266 GB, free: 7.871 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.5085, allocations: 346.8 kB / 0.627 GB, free: 7.523 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001565/0.5087, allocations: 60.61 kB / 0.627 GB, free: 7.461 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002722/0.5089, allocations: 266.5 kB / 0.6273 GB, free: 7.098 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004948/0.5095, allocations: 359.9 kB / 0.6276 GB, free: 6.645 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.501e-06/0.5095, allocations: 4 kB / 0.6276 GB, free: 6.641 MB / 442.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006139/0.5101, allocations: 361.1 kB / 0.628 GB, free: 6.281 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/0.5101, allocations: 12 kB / 0.628 GB, free: 6.27 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/0.5101, allocations: 4 kB / 0.628 GB, free: 6.266 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.08e-05/0.5102, allocations: 12 kB / 0.628 GB, free: 6.254 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003997/0.5106, allocations: 111.8 kB / 0.6281 GB, free: 6.145 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007113/0.5113, allocations: 1.219 MB / 0.6293 GB, free: 4.879 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002723/0.5116, allocations: 63.38 kB / 0.6294 GB, free: 4.816 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.556e-05/0.5116, allocations: 23.92 kB / 0.6294 GB, free: 4.793 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.0001487/0.5118, allocations: 149.8 kB / 0.6295 GB, free: 4.637 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.303e-05/0.5118, allocations: 39.53 kB / 0.6296 GB, free: 4.598 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000428/0.5123, allocations: 188.8 kB / 0.6297 GB, free: 4.402 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.5123, allocations: 0 / 0.6297 GB, free: 4.402 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.5123, allocations: 0 / 0.6297 GB, free: 4.402 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.5123, allocations: 0 / 0.6297 GB, free: 4.402 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003256/0.5126, allocations: 281.5 kB / 0.63 GB, free: 4.078 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.5126, allocations: 0 / 0.63 GB, free: 4.078 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002361/0.5129, allocations: 55.98 kB / 0.6301 GB, free: 4.023 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.5129, allocations: 4 kB / 0.6301 GB, free: 4.02 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.486e-05/0.5129, allocations: 7.922 kB / 0.6301 GB, free: 4.012 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006789/0.5136, allocations: 1.207 MB / 0.6312 GB, free: 2.758 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.5136, allocations: 0 / 0.6312 GB, free: 2.758 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003441/0.514, allocations: 239.3 kB / 0.6315 GB, free: 2.508 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.106e-05/0.5141, allocations: 104.6 kB / 0.6316 GB, free: 2.387 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.842e-05/0.5141, allocations: 4 kB / 0.6316 GB, free: 2.383 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001517/0.5143, allocations: 15.98 kB / 0.6316 GB, free: 2.367 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.681e-05/0.5143, allocations: 11.92 kB / 0.6316 GB, free: 2.355 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.04e-05/0.5143, allocations: 4 kB / 0.6316 GB, free: 2.352 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002675/0.5146, allocations: 271.1 kB / 0.6319 GB, free: 2.094 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.813e-06/0.5146, allocations: 0 / 0.6319 GB, free: 2.094 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0005719/0.5152, allocations: 131.8 kB / 0.632 GB, free: 1.965 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.0005447/0.5157, allocations: 258.9 kB / 0.6322 GB, free: 1.707 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0005519/0.5163, allocations: 213 kB / 0.6324 GB, free: 1.5 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.5163, allocations: 0 / 0.6324 GB, free: 1.5 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002703/0.5166, allocations: 84.52 kB / 0.6325 GB, free: 1.418 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000372/0.517, allocations: 41.89 kB / 0.6326 GB, free: 1.379 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009502/0.5179, allocations: 0.5689 MB / 0.6331 GB, free: 0.7852 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000385/0.5183, allocations: 0.768 MB / 0.6339 GB, free: 15.99 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001462/0.5185, allocations: 38.89 kB / 0.6339 GB, free: 15.95 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.195e-05/0.5185, allocations: 27.44 kB / 0.6339 GB, free: 15.92 MB / 458.7 MB Notification: Performance of SimCode: time 2.31e-07/0.5186, allocations: 0 / 0.6339 GB, free: 15.92 MB / 458.7 MB Notification: Performance of Templates: time 0.0134/0.532, allocations: 6.978 MB / 0.6407 GB, free: 8.996 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/jenkins1/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