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_roundTube.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_roundTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Re|m_flow.1.|m_flow.4.|Nu.1.|Nu.4.|input_Re.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Re|m_flow.1.|m_flow.4.|Nu.1.|Nu.4.|input_Re.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001342/0.001342, allocations: 175 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.404/1.404, allocations: 225.7 MB / 243.9 MB, free: 8.449 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.0008715/0.0008712, allocations: 93.88 kB / 295 MB, free: 9.488 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.3323/0.3323, allocations: 44.33 MB / 390.5 MB, free: 38.13 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003785/0.0003785, allocations: 8 kB / 463.2 MB, free: 452 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3383/0.3387, allocations: 61.91 MB / 0.5128 GB, free: 37.86 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube): time 0.001829/0.3406, allocations: 1.749 MB / 0.5145 GB, free: 36.61 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002068/0.3427, allocations: 1.985 MB / 0.5164 GB, free: 35.11 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.605e-05/0.3428, allocations: 3.031 kB / 0.5164 GB, free: 35.11 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003014/0.3431, allocations: 83.81 kB / 0.5165 GB, free: 35.07 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001207/0.3432, allocations: 58.45 kB / 0.5166 GB, free: 35.03 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006497/0.3439, allocations: 271.4 kB / 0.5168 GB, free: 34.91 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000159/0.3441, allocations: 169.9 kB / 0.517 GB, free: 34.83 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.203e-05/0.3441, allocations: 21.48 kB / 0.517 GB, free: 34.81 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.895e-05/0.3442, allocations: 48.47 kB / 0.517 GB, free: 34.79 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.756e-05/0.3443, allocations: 61.91 kB / 0.5171 GB, free: 34.76 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.696e-05/0.3443, allocations: 2.75 kB / 0.5171 GB, free: 34.76 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00105/0.3454, allocations: 0.7344 MB / 0.5178 GB, free: 34.53 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.889e-05/0.3454, allocations: 24.53 kB / 0.5178 GB, free: 34.52 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.632e-05/0.3455, allocations: 102.6 kB / 0.5179 GB, free: 34.44 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006132/0.3462, allocations: 0.554 MB / 0.5185 GB, free: 34.22 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.3462, allocations: 0 / 0.5185 GB, free: 34.22 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.3462, allocations: 0 / 0.5185 GB, free: 34.22 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.3462, allocations: 0 / 0.5185 GB, free: 34.22 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0005176/0.3467, allocations: 496.7 kB / 0.519 GB, free: 33.77 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.3468, allocations: 8.469 kB / 0.519 GB, free: 33.77 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.056e-05/0.3468, allocations: 23.56 kB / 0.519 GB, free: 33.76 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001506/0.347, allocations: 210.7 kB / 0.5192 GB, free: 33.54 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.036e-05/0.347, allocations: 15.5 kB / 0.5192 GB, free: 33.53 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.214e-05/0.347, allocations: 25.31 kB / 0.5192 GB, free: 33.52 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004229/0.3475, allocations: 269.8 kB / 0.5195 GB, free: 33.37 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.3475, allocations: 3.938 kB / 0.5195 GB, free: 33.37 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.628e-05/0.3475, allocations: 10.16 kB / 0.5195 GB, free: 33.36 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.045e-05/0.3475, allocations: 5.969 kB / 0.5195 GB, free: 33.36 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003177/0.3479, allocations: 167.6 kB / 0.5197 GB, free: 33.3 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008073/0.3487, allocations: 0.9123 MB / 0.5205 GB, free: 32.54 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000174/0.3489, allocations: 65.05 kB / 0.5206 GB, free: 32.51 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.964e-05/0.349, allocations: 36.62 kB / 0.5206 GB, free: 32.49 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.386e-05/0.349, allocations: 10.36 kB / 0.5207 GB, free: 32.49 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.83e-05/0.349, allocations: 30.56 kB / 0.5207 GB, free: 32.45 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.162e-06/0.349, allocations: 0 / 0.5207 GB, free: 32.45 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004351/0.3495, allocations: 150.3 kB / 0.5208 GB, free: 32.39 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.154e-05/0.3495, allocations: 55.34 kB / 0.5209 GB, free: 32.32 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001933/0.3497, allocations: 264.7 kB / 0.5211 GB, free: 32.17 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.869e-06/0.3497, allocations: 25.7 kB / 0.5212 GB, free: 32.14 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.732e-05/0.3498, allocations: 179.5 kB / 0.5213 GB, free: 31.98 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.628e-05/0.3499, allocations: 18.75 kB / 0.5213 GB, free: 31.97 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.928e-06/0.3499, allocations: 6.938 kB / 0.5214 GB, free: 31.96 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.77e-05/0.3499, allocations: 331.8 kB / 0.5217 GB, free: 31.64 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001223/0.3501, allocations: 47.08 kB / 0.5217 GB, free: 31.63 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001729/0.3503, allocations: 194.1 kB / 0.5219 GB, free: 31.43 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003163/0.3506, allocations: 264.1 kB / 0.5222 GB, free: 31.19 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.3506, allocations: 0 / 0.5222 GB, free: 31.19 MB / 378.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004027/0.351, allocations: 268.2 kB / 0.5224 GB, free: 31.08 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.351, allocations: 6.031 kB / 0.5224 GB, free: 31.08 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.905e-05/0.3511, allocations: 18.84 kB / 0.5224 GB, free: 31.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.3511, allocations: 5.938 kB / 0.5224 GB, free: 31.07 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001611/0.3512, allocations: 56.2 kB / 0.5225 GB, free: 31.06 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.158e-05/0.3513, allocations: 5.781 kB / 0.5225 GB, free: 31.06 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001434/0.3514, allocations: 48.41 kB / 0.5225 GB, free: 31.04 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.356e-05/0.3514, allocations: 16.31 kB / 0.5226 GB, free: 31.03 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 3 (m_flow_IN_con_4.N,m_flow_IN_con_4.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: 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 0.0001019/0.3516, allocations: 139.1 kB / 0.5227 GB, free: 30.9 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.283e-05/0.3516, allocations: 24.19 kB / 0.5227 GB, free: 30.88 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003514/0.352, allocations: 151.3 kB / 0.5229 GB, free: 30.82 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.352, allocations: 10.69 kB / 0.5229 GB, free: 30.81 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.352, allocations: 0 / 0.5229 GB, free: 30.81 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.352, allocations: 0 / 0.5229 GB, free: 30.81 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001886/0.3522, allocations: 219 kB / 0.5231 GB, free: 30.6 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.729e-05/0.3522, allocations: 12.84 kB / 0.5231 GB, free: 30.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.903e-05/0.3523, allocations: 13.25 kB / 0.5231 GB, free: 30.59 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.3523, allocations: 2.938 kB / 0.5231 GB, free: 30.59 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.327e-06/0.3523, allocations: 0 / 0.5231 GB, free: 30.59 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.3523, allocations: 6.844 kB / 0.5231 GB, free: 30.59 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3523, allocations: 0 / 0.5231 GB, free: 30.59 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002629/0.3526, allocations: 217.4 kB / 0.5233 GB, free: 30.43 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.052e-05/0.3526, allocations: 93.53 kB / 0.5234 GB, free: 30.32 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.617e-05/0.3527, allocations: 0 / 0.5234 GB, free: 30.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.924e-05/0.3528, allocations: 16.47 kB / 0.5234 GB, free: 30.32 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.187e-05/0.3528, allocations: 7.125 kB / 0.5234 GB, free: 30.32 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.993e-06/0.3528, allocations: 0 / 0.5234 GB, free: 30.32 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001124/0.3529, allocations: 183.3 kB / 0.5236 GB, free: 30.21 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.353, allocations: 4 kB / 0.5236 GB, free: 30.2 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004102/0.3534, allocations: 97.7 kB / 0.5237 GB, free: 30.19 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.0003485/0.3537, allocations: 196.7 kB / 0.5239 GB, free: 30.07 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004183/0.3541, allocations: 197.5 kB / 0.5241 GB, free: 29.98 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.3542, allocations: 0 / 0.5241 GB, free: 29.98 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001668/0.3543, allocations: 112.9 kB / 0.5242 GB, free: 29.9 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003195/0.3547, allocations: 23.8 kB / 0.5242 GB, free: 29.88 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006071/0.3553, allocations: 436.7 kB / 0.5246 GB, free: 29.61 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001892/0.3555, allocations: 0.7339 MB / 0.5253 GB, free: 28.9 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.398e-05/0.3556, allocations: 27.62 kB / 0.5254 GB, free: 28.9 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.441e-05/0.3556, allocations: 16.31 kB / 0.5254 GB, free: 28.89 MB / 378.7 MB Notification: Performance of SimCode: time 2.11e-07/0.3556, allocations: 0 / 0.5254 GB, free: 28.89 MB / 378.7 MB Notification: Performance of Templates: time 0.009043/0.3647, allocations: 5.959 MB / 0.5312 GB, free: 28.51 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_roundTube/kc_roundTube.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches