Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008481/0.0008482, allocations: 174.5 kB / 17.41 MB, free: 4.41 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.296/1.296, allocations: 225.7 MB / 243.9 MB, free: 8.473 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001009/0.001009, allocations: 96.84 kB / 295 MB, free: 9.512 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3794/0.3794, allocations: 44.32 MB / 390.5 MB, free: 38.09 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003322/0.0003322, allocations: 12 kB / 463.2 MB, free: 472 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3301/0.3304, allocations: 61.89 MB / 0.5128 GB, free: 37.75 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.00172/0.3322, allocations: 1.77 MB / 0.5145 GB, free: 36.48 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001353/0.3336, allocations: 1.466 MB / 0.5159 GB, free: 35.37 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.344e-05/0.3336, allocations: 0 / 0.5159 GB, free: 35.37 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002515/0.3339, allocations: 80 kB / 0.516 GB, free: 35.33 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001209/0.334, allocations: 65.84 kB / 0.5161 GB, free: 35.29 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003809/0.3344, allocations: 171.8 kB / 0.5162 GB, free: 35.21 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001254/0.3346, allocations: 168.5 kB / 0.5164 GB, free: 35.13 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.989e-05/0.3346, allocations: 13.16 kB / 0.5164 GB, free: 35.12 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.294e-05/0.3347, allocations: 50.7 kB / 0.5164 GB, free: 35.1 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.879e-05/0.3348, allocations: 65.8 kB / 0.5165 GB, free: 35.07 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.422e-05/0.3348, allocations: 3.031 kB / 0.5165 GB, free: 35.07 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004395/0.3353, allocations: 411.2 kB / 0.5169 GB, free: 34.93 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.939e-05/0.3353, allocations: 17.91 kB / 0.5169 GB, free: 34.91 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.245e-05/0.3354, allocations: 104.1 kB / 0.517 GB, free: 34.83 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004769/0.3359, allocations: 426 kB / 0.5174 GB, free: 34.65 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.3359, allocations: 1.219 kB / 0.5174 GB, free: 34.65 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.314e-06/0.3359, allocations: 0 / 0.5174 GB, free: 34.65 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.907e-06/0.3359, allocations: 3.938 kB / 0.5174 GB, free: 34.64 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.0005136/0.3364, allocations: 474.6 kB / 0.5179 GB, free: 34.21 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.3365, allocations: 9.438 kB / 0.5179 GB, free: 34.21 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.975e-05/0.3365, allocations: 26.41 kB / 0.5179 GB, free: 34.2 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001473/0.3367, allocations: 209.5 kB / 0.5181 GB, free: 33.98 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.78e-05/0.3367, allocations: 12.5 kB / 0.5181 GB, free: 33.97 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.609e-05/0.3367, allocations: 27.09 kB / 0.5181 GB, free: 33.96 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003344/0.3371, allocations: 204.8 kB / 0.5183 GB, free: 33.86 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.3371, allocations: 3.984 kB / 0.5183 GB, free: 33.86 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.544e-05/0.3371, allocations: 9.906 kB / 0.5184 GB, free: 33.85 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.3371, allocations: 4.156 kB / 0.5184 GB, free: 33.85 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002865/0.3374, allocations: 152.7 kB / 0.5185 GB, free: 33.8 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007711/0.3382, allocations: 0.5811 MB / 0.5191 GB, free: 33.38 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001795/0.3384, allocations: 62.02 kB / 0.5191 GB, free: 33.35 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001033/0.3385, allocations: 37.69 kB / 0.5192 GB, free: 33.34 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.114e-05/0.3385, allocations: 4 kB / 0.5192 GB, free: 33.33 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.936e-05/0.3386, allocations: 35.97 kB / 0.5192 GB, free: 33.29 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.3386, allocations: 0 / 0.5192 GB, free: 33.29 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004249/0.339, allocations: 153.6 kB / 0.5194 GB, free: 33.23 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.424e-05/0.339, allocations: 52.31 kB / 0.5194 GB, free: 33.16 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001938/0.3392, allocations: 259.3 kB / 0.5196 GB, free: 33.02 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.031e-05/0.3393, allocations: 29.7 kB / 0.5197 GB, free: 32.98 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.525e-05/0.3393, allocations: 165.9 kB / 0.5198 GB, free: 32.83 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.606e-05/0.3393, allocations: 20.59 kB / 0.5199 GB, free: 32.82 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.424e-06/0.3394, allocations: 4 kB / 0.5199 GB, free: 32.82 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.506e-05/0.3394, allocations: 340.6 kB / 0.5202 GB, free: 32.48 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001216/0.3396, allocations: 38.28 kB / 0.5202 GB, free: 32.48 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001425/0.3397, allocations: 137 kB / 0.5204 GB, free: 32.35 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002516/0.34, allocations: 194.7 kB / 0.5205 GB, free: 32.18 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.34, allocations: 2.781 kB / 0.5205 GB, free: 32.18 MB / 378.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003317/0.3403, allocations: 211.8 kB / 0.5207 GB, free: 32.09 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.3403, allocations: 5.875 kB / 0.5207 GB, free: 32.09 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.521e-05/0.3404, allocations: 14.83 kB / 0.5208 GB, free: 32.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.3404, allocations: 5.969 kB / 0.5208 GB, free: 32.09 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00012/0.3405, allocations: 30.88 kB / 0.5208 GB, free: 32.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/0.3405, allocations: 13.11 kB / 0.5208 GB, free: 32.08 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001136/0.3407, allocations: 30.31 kB / 0.5208 GB, free: 32.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.911e-05/0.3407, allocations: 12.84 kB / 0.5209 GB, free: 32.06 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 8.616e-05/0.3408, allocations: 142.3 kB / 0.521 GB, free: 31.93 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.106e-05/0.3408, allocations: 19.38 kB / 0.521 GB, free: 31.91 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003235/0.3411, allocations: 146.8 kB / 0.5211 GB, free: 31.86 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.337e-06/0.3412, allocations: 0 / 0.5211 GB, free: 31.86 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.3412, allocations: 0 / 0.5211 GB, free: 31.86 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.3412, allocations: 0 / 0.5211 GB, free: 31.86 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001761/0.3414, allocations: 224.5 kB / 0.5214 GB, free: 31.64 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.544e-05/0.3414, allocations: 12.25 kB / 0.5214 GB, free: 31.64 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.848e-05/0.3414, allocations: 11.75 kB / 0.5214 GB, free: 31.64 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.3414, allocations: 4 kB / 0.5214 GB, free: 31.63 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.3415, allocations: 2.719 kB / 0.5214 GB, free: 31.63 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.3415, allocations: 0 / 0.5214 GB, free: 31.63 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3415, allocations: 3.938 kB / 0.5214 GB, free: 31.63 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002489/0.3417, allocations: 220.7 kB / 0.5216 GB, free: 31.47 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.587e-05/0.3418, allocations: 90.14 kB / 0.5217 GB, free: 31.37 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.728e-05/0.3418, allocations: 2.625 kB / 0.5217 GB, free: 31.37 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.647e-05/0.3419, allocations: 12.83 kB / 0.5217 GB, free: 31.36 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.926e-05/0.3419, allocations: 5.938 kB / 0.5217 GB, free: 31.36 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.034e-06/0.342, allocations: 7.031 kB / 0.5217 GB, free: 31.36 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001147/0.3421, allocations: 178.2 kB / 0.5219 GB, free: 31.25 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3421, allocations: 4 kB / 0.5219 GB, free: 31.25 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003386/0.3424, allocations: 73.55 kB / 0.522 GB, free: 31.23 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.0002483/0.3427, allocations: 178 kB / 0.5221 GB, free: 31.11 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003778/0.3431, allocations: 184 kB / 0.5223 GB, free: 31.02 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3431, allocations: 0 / 0.5223 GB, free: 31.02 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001699/0.3433, allocations: 105.7 kB / 0.5224 GB, free: 30.95 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003176/0.3436, allocations: 27.7 kB / 0.5224 GB, free: 30.93 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005142/0.3441, allocations: 436.6 kB / 0.5228 GB, free: 30.66 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001414/0.3443, allocations: 0.7359 MB / 0.5236 GB, free: 29.95 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.699e-05/0.3443, allocations: 18.02 kB / 0.5236 GB, free: 29.95 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.164e-05/0.3444, allocations: 16.16 kB / 0.5236 GB, free: 29.94 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.3444, allocations: 0 / 0.5236 GB, free: 29.94 MB / 378.7 MB Notification: Performance of Templates: time 0.00618/0.3505, allocations: 3.939 MB / 0.5274 GB, free: 29.61 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/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