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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001708/0.001708, allocations: 112.5 kB / 21.19 MB, free: 0.7578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002089/0.002089, allocations: 209.8 kB / 24.49 MB, free: 4.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.445/1.445, allocations: 230.6 MB / 258.3 MB, free: 8.227 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2174/0.2174, allocations: 44.92 MB / 359.6 MB, free: 6.324 MB / 286.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,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=5003,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") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002233/0.002233, allocations: 67.88 kB / 0.4944 GB, free: 10.19 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2876/0.2898, allocations: 65.48 MB / 0.5583 GB, free: 7.715 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC): time 0.004082/0.2939, allocations: 2.7 MB / 0.5609 GB, free: 5.008 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002489/0.2964, allocations: 1.503 MB / 0.5624 GB, free: 3.504 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001196/0.2965, allocations: 4 kB / 0.5624 GB, free: 3.5 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003361/0.2968, allocations: 117.8 kB / 0.5625 GB, free: 3.387 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000378/0.2972, allocations: 138.8 kB / 0.5627 GB, free: 3.25 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000631/0.2978, allocations: 271.1 kB / 0.5629 GB, free: 2.984 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003161/0.2982, allocations: 274.1 kB / 0.5632 GB, free: 2.715 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.267e-05/0.2982, allocations: 12.94 kB / 0.5632 GB, free: 2.699 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001286/0.2983, allocations: 103.3 kB / 0.5633 GB, free: 2.598 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001936/0.2985, allocations: 123.2 kB / 0.5634 GB, free: 2.477 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.408e-05/0.2986, allocations: 8 kB / 0.5634 GB, free: 2.469 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001057/0.2996, allocations: 0.6125 MB / 0.564 GB, free: 1.855 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.956e-05/0.2997, allocations: 43.64 kB / 0.5641 GB, free: 1.812 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001378/0.2998, allocations: 135 kB / 0.5642 GB, free: 1.68 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007673/0.3006, allocations: 0.5679 MB / 0.5647 GB, free: 1.109 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.3006, allocations: 0 / 0.5647 GB, free: 1.109 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.3006, allocations: 0 / 0.5647 GB, free: 1.109 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.454e-06/0.3006, allocations: 0 / 0.5647 GB, free: 1.109 MB / 398.1 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.000855/0.3015, allocations: 0.5596 MB / 0.5653 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.3015, allocations: 16.02 kB / 0.5653 GB, free: 0.5 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.283e-05/0.3016, allocations: 36.7 kB / 0.5653 GB, free: 476 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002739/0.3019, allocations: 202 kB / 0.5655 GB, free: 248 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.809e-05/0.3019, allocations: 29.38 kB / 0.5656 GB, free: 220 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.743e-05/0.3019, allocations: 36.12 kB / 0.5656 GB, free: 184 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008434/0.3028, allocations: 0.5802 MB / 0.5662 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.965e-05/0.3028, allocations: 7.922 kB / 0.5662 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.416e-05/0.3028, allocations: 20 kB / 0.5662 GB, free: 15.44 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.547e-05/0.3028, allocations: 12 kB / 0.5662 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005684/0.3034, allocations: 345 kB / 0.5665 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002976/0.3064, allocations: 4.023 MB / 0.5705 GB, free: 10.87 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002739/0.3067, allocations: 86.53 kB / 0.5705 GB, free: 10.78 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000133/0.3068, allocations: 36.95 kB / 0.5706 GB, free: 10.74 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.911e-05/0.3068, allocations: 4 kB / 0.5706 GB, free: 10.73 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.407e-05/0.3069, allocations: 42.5 kB / 0.5706 GB, free: 10.68 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.512e-06/0.3069, allocations: 0 / 0.5706 GB, free: 10.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005263/0.3074, allocations: 161.3 kB / 0.5708 GB, free: 10.52 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.847e-05/0.3074, allocations: 59.41 kB / 0.5708 GB, free: 10.45 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004502/0.3079, allocations: 409.8 kB / 0.5712 GB, free: 10.04 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.72e-05/0.3079, allocations: 33.7 kB / 0.5712 GB, free: 10 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002075/0.3081, allocations: 255.5 kB / 0.5715 GB, free: 9.75 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.384e-05/0.3081, allocations: 35.78 kB / 0.5715 GB, free: 9.715 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.653e-05/0.3082, allocations: 65.97 kB / 0.5716 GB, free: 9.641 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001799/0.3084, allocations: 354.7 kB / 0.5719 GB, free: 9.285 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001624/0.3086, allocations: 52.61 kB / 0.572 GB, free: 9.234 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003368/0.3089, allocations: 270.3 kB / 0.5722 GB, free: 8.867 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005243/0.3094, allocations: 348.2 kB / 0.5726 GB, free: 8.426 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/0.3095, allocations: 8 kB / 0.5726 GB, free: 8.418 MB / 414.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006577/0.3101, allocations: 356.8 kB / 0.5729 GB, free: 8.062 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.3101, allocations: 12 kB / 0.5729 GB, free: 8.051 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/0.3101, allocations: 4 kB / 0.5729 GB, free: 8.047 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.414e-05/0.3102, allocations: 12.78 kB / 0.5729 GB, free: 8.035 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000513/0.3107, allocations: 111.8 kB / 0.573 GB, free: 7.926 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008538/0.3115, allocations: 1.223 MB / 0.5742 GB, free: 6.656 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003157/0.3118, allocations: 63.5 kB / 0.5743 GB, free: 6.594 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.061e-05/0.3119, allocations: 24 kB / 0.5743 GB, free: 6.57 MB / 414.1 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.0001593/0.312, allocations: 145.9 kB / 0.5745 GB, free: 6.418 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.297e-05/0.3121, allocations: 39.7 kB / 0.5745 GB, free: 6.379 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004631/0.3126, allocations: 172.9 kB / 0.5747 GB, free: 6.207 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/0.3126, allocations: 4 kB / 0.5747 GB, free: 6.203 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.3126, allocations: 0 / 0.5747 GB, free: 6.203 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.3126, allocations: 0 / 0.5747 GB, free: 6.203 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003335/0.3129, allocations: 248.5 kB / 0.5749 GB, free: 5.918 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.3129, allocations: 3.938 kB / 0.5749 GB, free: 5.914 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000305/0.3132, allocations: 55.97 kB / 0.575 GB, free: 5.859 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.3132, allocations: 0 / 0.575 GB, free: 5.859 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.465e-05/0.3132, allocations: 4 kB / 0.575 GB, free: 5.855 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007875/0.314, allocations: 1.207 MB / 0.5761 GB, free: 4.602 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.314, allocations: 0 / 0.5761 GB, free: 4.602 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003975/0.3144, allocations: 239.4 kB / 0.5764 GB, free: 4.352 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.945e-05/0.3145, allocations: 35.69 kB / 0.5764 GB, free: 4.316 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.319e-05/0.3145, allocations: 3.938 kB / 0.5764 GB, free: 4.312 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001773/0.3147, allocations: 7.984 kB / 0.5764 GB, free: 4.305 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.19e-05/0.3148, allocations: 7.984 kB / 0.5764 GB, free: 4.297 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.306e-05/0.3148, allocations: 8 kB / 0.5764 GB, free: 4.289 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003009/0.3151, allocations: 267.2 kB / 0.5767 GB, free: 4.031 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3151, allocations: 7.938 kB / 0.5767 GB, free: 4.023 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006761/0.3158, allocations: 119.8 kB / 0.5768 GB, free: 3.906 MB / 414.1 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.0003968/0.3162, allocations: 188.6 kB / 0.577 GB, free: 3.711 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006193/0.3168, allocations: 197.6 kB / 0.5772 GB, free: 3.52 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.3168, allocations: 4 kB / 0.5772 GB, free: 3.516 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002925/0.3171, allocations: 71.91 kB / 0.5773 GB, free: 3.445 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004036/0.3175, allocations: 41.95 kB / 0.5773 GB, free: 3.406 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009972/0.3185, allocations: 0.543 MB / 0.5778 GB, free: 2.828 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004155/0.3189, allocations: 0.7639 MB / 0.5786 GB, free: 2.039 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.523e-05/0.319, allocations: 31.42 kB / 0.5786 GB, free: 2.008 MB / 414.1 MB Notification: Performance of SimCode: time 3.3e-07/0.319, allocations: 0 / 0.5786 GB, free: 2.008 MB / 414.1 MB Notification: Performance of Templates: time 0.0102/0.3292, allocations: 6.815 MB / 0.5853 GB, free: 11.21 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.makefile [Timeout 660] (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) [Timeout 480] 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.252719484036788]