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/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_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/Complex 4.0.0+maint.om/package.mo): time 0.001034/0.001034, allocations: 186.9 kB / 17.97 MB, free: 3.797 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.283/1.283, allocations: 222.9 MB / 241.6 MB, free: 11 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.0009833/0.0009831, allocations: 109.6 kB / 291.9 MB, free: 10.95 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.3095/0.3095, allocations: 44.13 MB / 386.1 MB, free: 37.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009644/0.0009643, allocations: 55.91 kB / 457.8 MB, free: 2.309 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2803/0.2813, allocations: 60.81 MB / 0.5064 GB, free: 38.39 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.002792/0.2841, allocations: 2.236 MB / 0.5086 GB, free: 36.84 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001294/0.2855, allocations: 1.065 MB / 0.5096 GB, free: 36.09 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.807e-05/0.2855, allocations: 6.812 kB / 0.5096 GB, free: 36.08 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002649/0.2858, allocations: 83.19 kB / 0.5097 GB, free: 36.04 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002206/0.2861, allocations: 75.52 kB / 0.5098 GB, free: 35.99 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002042/0.2863, allocations: 102.8 kB / 0.5099 GB, free: 35.95 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001705/0.2865, allocations: 185.4 kB / 0.5101 GB, free: 35.86 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.545e-05/0.2865, allocations: 18.73 kB / 0.5101 GB, free: 35.85 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001288/0.2867, allocations: 74.17 kB / 0.5102 GB, free: 35.81 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001133/0.2868, allocations: 81.81 kB / 0.5102 GB, free: 35.78 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.858e-05/0.2868, allocations: 5.125 kB / 0.5102 GB, free: 35.78 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003314/0.2871, allocations: 266 kB / 0.5105 GB, free: 35.68 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.051e-05/0.2872, allocations: 25.14 kB / 0.5105 GB, free: 35.67 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.973e-05/0.2873, allocations: 84.16 kB / 0.5106 GB, free: 35.61 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003104/0.2876, allocations: 322.9 kB / 0.5109 GB, free: 35.46 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.2876, allocations: 4 kB / 0.5109 GB, free: 35.46 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.2876, allocations: 0 / 0.5109 GB, free: 35.46 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.807e-06/0.2876, allocations: 0 / 0.5109 GB, free: 35.46 MB / 378.7 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.0004705/0.2881, allocations: 496.2 kB / 0.5114 GB, free: 35.02 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.113e-05/0.2881, allocations: 8.562 kB / 0.5114 GB, free: 35.02 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.937e-05/0.2882, allocations: 32 kB / 0.5114 GB, free: 35 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001397/0.2883, allocations: 214.4 kB / 0.5116 GB, free: 34.77 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.711e-05/0.2884, allocations: 16.53 kB / 0.5116 GB, free: 34.77 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.427e-05/0.2884, allocations: 29.08 kB / 0.5117 GB, free: 34.75 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003405/0.2887, allocations: 222.8 kB / 0.5119 GB, free: 34.66 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.2887, allocations: 0 / 0.5119 GB, free: 34.66 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.626e-05/0.2888, allocations: 10.59 kB / 0.5119 GB, free: 34.65 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.2888, allocations: 5.5 kB / 0.5119 GB, free: 34.65 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003525/0.2891, allocations: 247.6 kB / 0.5121 GB, free: 34.56 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007492/0.2899, allocations: 0.6254 MB / 0.5127 GB, free: 34.13 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002259/0.2901, allocations: 100.1 kB / 0.5128 GB, free: 34.09 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001126/0.2903, allocations: 41.98 kB / 0.5129 GB, free: 34.07 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.187e-05/0.2903, allocations: 2.781 kB / 0.5129 GB, free: 34.07 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.649e-05/0.2903, allocations: 34.56 kB / 0.5129 GB, free: 34.03 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 1.202e-06/0.2903, allocations: 0 / 0.5129 GB, free: 34.03 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005016/0.2908, allocations: 170.7 kB / 0.5131 GB, free: 33.96 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.669e-05/0.2909, allocations: 54 kB / 0.5131 GB, free: 33.9 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001945/0.2911, allocations: 266.3 kB / 0.5134 GB, free: 33.75 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.094e-05/0.2911, allocations: 25.7 kB / 0.5134 GB, free: 33.72 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.042e-05/0.2912, allocations: 176.7 kB / 0.5136 GB, free: 33.57 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.204e-05/0.2912, allocations: 34.72 kB / 0.5136 GB, free: 33.54 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.436e-05/0.2913, allocations: 42.69 kB / 0.5137 GB, free: 33.51 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.42e-05/0.2913, allocations: 343.2 kB / 0.514 GB, free: 33.18 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001318/0.2915, allocations: 45.05 kB / 0.514 GB, free: 33.17 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001619/0.2916, allocations: 147.2 kB / 0.5142 GB, free: 33.04 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003044/0.2919, allocations: 205.5 kB / 0.5144 GB, free: 32.87 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.277e-06/0.2919, allocations: 5.125 kB / 0.5144 GB, free: 32.86 MB / 378.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000434/0.2924, allocations: 238.4 kB / 0.5146 GB, free: 32.76 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.2924, allocations: 8.812 kB / 0.5146 GB, free: 32.76 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.2924, allocations: 2.656 kB / 0.5146 GB, free: 32.76 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/0.2925, allocations: 4.688 kB / 0.5146 GB, free: 32.76 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000368/0.2928, allocations: 88.42 kB / 0.5147 GB, free: 32.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004717/0.2933, allocations: 1.228 MB / 0.5159 GB, free: 31.54 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001889/0.2935, allocations: 37.97 kB / 0.5159 GB, free: 31.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.82e-05/0.2935, allocations: 8.812 kB / 0.5159 GB, free: 31.52 MB / 378.7 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 9.948e-05/0.2936, allocations: 141.9 kB / 0.5161 GB, free: 31.38 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.188e-05/0.2937, allocations: 22.97 kB / 0.5161 GB, free: 31.37 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004/0.2941, allocations: 172.2 kB / 0.5163 GB, free: 31.29 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.2941, allocations: 2.844 kB / 0.5163 GB, free: 31.29 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.2941, allocations: 0 / 0.5163 GB, free: 31.29 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.2941, allocations: 0 / 0.5163 GB, free: 31.29 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005638/0.2947, allocations: 456.4 kB / 0.5167 GB, free: 30.92 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.2947, allocations: 0 / 0.5167 GB, free: 30.92 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002349/0.295, allocations: 58.08 kB / 0.5167 GB, free: 30.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.295, allocations: 7 kB / 0.5168 GB, free: 30.91 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.295, allocations: 2.719 kB / 0.5168 GB, free: 30.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003619/0.2954, allocations: 1.209 MB / 0.5179 GB, free: 29.71 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.2954, allocations: 2.938 kB / 0.5179 GB, free: 29.71 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006184/0.296, allocations: 0.8725 MB / 0.5188 GB, free: 28.91 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.063e-05/0.2961, allocations: 102.5 kB / 0.5189 GB, free: 28.8 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.124e-05/0.2961, allocations: 1.406 kB / 0.5189 GB, free: 28.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001492/0.2962, allocations: 7 kB / 0.5189 GB, free: 28.8 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.696e-05/0.2963, allocations: 16.59 kB / 0.5189 GB, free: 28.79 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.258e-05/0.2963, allocations: 4 kB / 0.5189 GB, free: 28.79 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001487/0.2965, allocations: 186.1 kB / 0.5191 GB, free: 28.68 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2965, allocations: 1.031 kB / 0.5191 GB, free: 28.68 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004744/0.297, allocations: 65.88 kB / 0.5192 GB, free: 28.67 MB / 378.7 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.0002348/0.2972, allocations: 146.9 kB / 0.5193 GB, free: 28.56 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005228/0.2977, allocations: 167.2 kB / 0.5195 GB, free: 28.52 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.2978, allocations: 1.312 kB / 0.5195 GB, free: 28.52 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002971/0.2981, allocations: 89.23 kB / 0.5195 GB, free: 28.51 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004595/0.2985, allocations: 19.5 kB / 0.5196 GB, free: 28.5 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007923/0.2993, allocations: 0.5667 MB / 0.5201 GB, free: 28.07 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001561/0.2995, allocations: 0.7385 MB / 0.5208 GB, free: 27.36 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.892e-05/0.2996, allocations: 20 kB / 0.5209 GB, free: 27.36 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.261e-05/0.2996, allocations: 18.72 kB / 0.5209 GB, free: 27.35 MB / 378.7 MB Notification: Performance of SimCode: time 6.72e-07/0.2997, allocations: 4 kB / 0.5209 GB, free: 27.34 MB / 378.7 MB Notification: Performance of Templates: time 0.006022/0.3057, allocations: 3.4 MB / 0.5242 GB, free: 27.14 MB / 378.7 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@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_flatTube_KC/kc_flatTube_KC.csv","../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