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.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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Re|m_flow.1.|m_flow.2.|Nu.1.|Nu.2.|input_Re.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Re|m_flow.1.|m_flow.2.|Nu.1.|Nu.2.|input_Re.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001056/0.001056, 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.248/1.248, allocations: 222.9 MB / 241.6 MB, free: 10.99 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.0009599/0.00096, allocations: 103.7 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.337/0.337, allocations: 44.13 MB / 386.1 MB, free: 37.96 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009777/0.0009777, allocations: 51.92 kB / 457.8 MB, free: 2.293 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2877/0.2887, allocations: 60.8 MB / 0.5064 GB, free: 38.39 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.002785/0.2915, allocations: 2.177 MB / 0.5085 GB, free: 36.89 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001448/0.293, allocations: 1.394 MB / 0.5099 GB, free: 35.89 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.079e-05/0.2931, allocations: 0 / 0.5099 GB, free: 35.89 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002885/0.2934, allocations: 79.45 kB / 0.51 GB, free: 35.86 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001235/0.2935, allocations: 61.8 kB / 0.51 GB, free: 35.81 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003931/0.2939, allocations: 171.4 kB / 0.5102 GB, free: 35.74 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001486/0.2941, allocations: 168.1 kB / 0.5103 GB, free: 35.66 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.622e-05/0.2942, allocations: 15.47 kB / 0.5104 GB, free: 35.65 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.966e-05/0.2943, allocations: 52.31 kB / 0.5104 GB, free: 35.63 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.876e-05/0.2943, allocations: 62.8 kB / 0.5105 GB, free: 35.6 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.54e-05/0.2944, allocations: 6.094 kB / 0.5105 GB, free: 35.6 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004599/0.2948, allocations: 434 kB / 0.5109 GB, free: 35.43 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.463e-05/0.2949, allocations: 17.91 kB / 0.5109 GB, free: 35.42 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.7e-05/0.295, allocations: 77 kB / 0.511 GB, free: 35.38 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000405/0.2954, allocations: 427.7 kB / 0.5114 GB, free: 35.18 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.2954, allocations: 0 / 0.5114 GB, free: 35.18 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.91e-07/0.2954, allocations: 0 / 0.5114 GB, free: 35.18 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.2954, allocations: 2.75 kB / 0.5114 GB, free: 35.18 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0005088/0.2959, allocations: 0.4887 MB / 0.5119 GB, free: 34.73 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.296, allocations: 11.41 kB / 0.5119 GB, free: 34.73 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.624e-05/0.296, allocations: 25.25 kB / 0.5119 GB, free: 34.72 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001368/0.2962, allocations: 208.8 kB / 0.5121 GB, free: 34.5 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/0.2962, allocations: 17.16 kB / 0.5121 GB, free: 34.49 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.871e-05/0.2962, allocations: 23.84 kB / 0.5121 GB, free: 34.48 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002846/0.2965, allocations: 202.8 kB / 0.5123 GB, free: 34.38 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.2965, allocations: 0 / 0.5123 GB, free: 34.38 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.454e-05/0.2965, allocations: 8 kB / 0.5123 GB, free: 34.37 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.2966, allocations: 5.406 kB / 0.5124 GB, free: 34.37 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002496/0.2968, allocations: 148 kB / 0.5125 GB, free: 34.32 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007173/0.2975, allocations: 0.5724 MB / 0.5131 GB, free: 33.91 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001737/0.2977, allocations: 63.56 kB / 0.5131 GB, free: 33.88 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001019/0.2978, allocations: 40.47 kB / 0.5132 GB, free: 33.86 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.606e-05/0.2979, allocations: 2.594 kB / 0.5132 GB, free: 33.86 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.547e-05/0.2979, allocations: 30.56 kB / 0.5132 GB, free: 33.82 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.293e-06/0.2979, allocations: 3.938 kB / 0.5132 GB, free: 33.81 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.000399/0.2983, allocations: 132.2 kB / 0.5133 GB, free: 33.75 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.131e-05/0.2983, allocations: 58.67 kB / 0.5134 GB, free: 33.69 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001833/0.2985, allocations: 260.9 kB / 0.5136 GB, free: 33.54 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.054e-05/0.2985, allocations: 28.45 kB / 0.5136 GB, free: 33.5 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.522e-05/0.2986, allocations: 171.8 kB / 0.5138 GB, free: 33.35 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.328e-05/0.2986, allocations: 13.45 kB / 0.5138 GB, free: 33.34 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.861e-05/0.2987, allocations: 39.56 kB / 0.5139 GB, free: 33.32 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.55e-05/0.2987, allocations: 335.3 kB / 0.5142 GB, free: 32.99 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001104/0.2989, allocations: 32.66 kB / 0.5142 GB, free: 32.99 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000135/0.299, allocations: 135.3 kB / 0.5143 GB, free: 32.85 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002487/0.2993, allocations: 186.4 kB / 0.5145 GB, free: 32.69 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.2993, allocations: 3.969 kB / 0.5145 GB, free: 32.69 MB / 378.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003288/0.2996, allocations: 199.6 kB / 0.5147 GB, free: 32.6 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.2996, allocations: 5.906 kB / 0.5147 GB, free: 32.6 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.651e-05/0.2997, allocations: 12.58 kB / 0.5147 GB, free: 32.6 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.2997, allocations: 9.438 kB / 0.5147 GB, free: 32.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001186/0.2998, allocations: 30.08 kB / 0.5148 GB, free: 32.59 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.2998, allocations: 9.625 kB / 0.5148 GB, free: 32.59 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001136/0.2999, allocations: 30.34 kB / 0.5148 GB, free: 32.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.648e-05/0.3, allocations: 12.69 kB / 0.5148 GB, free: 32.57 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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.5e-05/0.3, allocations: 133.6 kB / 0.5149 GB, free: 32.44 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.448e-05/0.3001, allocations: 20.38 kB / 0.515 GB, free: 32.43 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003205/0.3004, allocations: 141.1 kB / 0.5151 GB, free: 32.36 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.3004, allocations: 0 / 0.5151 GB, free: 32.36 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.3004, allocations: 0 / 0.5151 GB, free: 32.36 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.3004, allocations: 0 / 0.5151 GB, free: 32.36 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001681/0.3006, allocations: 224.7 kB / 0.5153 GB, free: 32.15 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.521e-05/0.3006, allocations: 16.22 kB / 0.5153 GB, free: 32.14 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.559e-05/0.3007, allocations: 5.812 kB / 0.5153 GB, free: 32.14 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.552e-06/0.3007, allocations: 0 / 0.5153 GB, free: 32.14 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.3007, allocations: 3.094 kB / 0.5153 GB, free: 32.14 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.3007, allocations: 0 / 0.5153 GB, free: 32.14 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.043e-06/0.3007, allocations: 3.656 kB / 0.5153 GB, free: 32.14 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004514/0.3012, allocations: 0.8187 MB / 0.5161 GB, free: 31.38 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.994e-05/0.3012, allocations: 89.95 kB / 0.5162 GB, free: 31.27 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.347e-05/0.3013, allocations: 3.234 kB / 0.5162 GB, free: 31.27 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.594e-05/0.3014, allocations: 7.75 kB / 0.5162 GB, free: 31.27 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.492e-05/0.3014, allocations: 14.69 kB / 0.5162 GB, free: 31.26 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.805e-06/0.3014, allocations: 2.469 kB / 0.5163 GB, free: 31.26 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001166/0.3015, allocations: 183.8 kB / 0.5164 GB, free: 31.15 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3015, allocations: 0 / 0.5164 GB, free: 31.15 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004486/0.302, allocations: 73.56 kB / 0.5165 GB, free: 31.14 MB / 378.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 (3): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00027/0.3023, allocations: 170.6 kB / 0.5167 GB, free: 31.02 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003879/0.3027, allocations: 167.9 kB / 0.5168 GB, free: 30.93 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3027, allocations: 0 / 0.5168 GB, free: 30.93 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001685/0.3029, allocations: 100.6 kB / 0.5169 GB, free: 30.86 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003083/0.3032, allocations: 26.27 kB / 0.5169 GB, free: 30.85 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005483/0.3037, allocations: 0.5112 MB / 0.5174 GB, free: 30.46 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001178/0.3039, allocations: 0.7366 MB / 0.5182 GB, free: 29.75 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.601e-05/0.3039, allocations: 16.91 kB / 0.5182 GB, free: 29.75 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.012e-05/0.3039, allocations: 17.06 kB / 0.5182 GB, free: 29.74 MB / 378.7 MB Notification: Performance of SimCode: time 5.41e-07/0.304, allocations: 0 / 0.5182 GB, free: 29.74 MB / 378.7 MB Notification: Performance of Templates: time 0.005997/0.31, allocations: 4.055 MB / 0.5222 GB, free: 29.44 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_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_flatTube.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches