Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.conf.json 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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_3.2.3_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_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001022/0.001022, allocations: 104.1 kB / 16.41 MB, free: 6.457 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001094/0.001094, allocations: 189.5 kB / 17.34 MB, free: 5.723 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.571/1.571, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2422/0.2422, allocations: 43.53 MB / 314.1 MB, free: 448 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001378/0.001378, allocations: 63.91 kB / 441.8 MB, free: 5.617 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.149/0.1504, allocations: 57.79 MB / 499.6 MB, free: 11.76 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.00386/0.1543, allocations: 2.115 MB / 0.49 GB, free: 9.625 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002087/0.1565, allocations: 1.414 MB / 0.4914 GB, free: 8.203 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.58e-05/0.1565, allocations: 4 kB / 0.4914 GB, free: 8.199 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003134/0.1569, allocations: 95.38 kB / 0.4915 GB, free: 8.105 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001632/0.157, allocations: 63.44 kB / 0.4915 GB, free: 8.043 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000515/0.1576, allocations: 219 kB / 0.4917 GB, free: 7.828 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002054/0.1578, allocations: 151 kB / 0.4919 GB, free: 7.68 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.466e-05/0.1578, allocations: 20.28 kB / 0.4919 GB, free: 7.66 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001136/0.158, allocations: 51.67 kB / 0.4919 GB, free: 7.609 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001085/0.1581, allocations: 67.52 kB / 0.492 GB, free: 7.543 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.727e-05/0.1581, allocations: 4 kB / 0.492 GB, free: 7.539 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005902/0.1587, allocations: 427.4 kB / 0.4924 GB, free: 7.121 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.228e-05/0.1588, allocations: 23.8 kB / 0.4924 GB, free: 7.098 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.015e-05/0.1589, allocations: 75.42 kB / 0.4925 GB, free: 7.023 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005845/0.1594, allocations: 434.5 kB / 0.4929 GB, free: 6.598 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.1595, allocations: 4 kB / 0.4929 GB, free: 6.594 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.1595, allocations: 0 / 0.4929 GB, free: 6.594 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.196e-06/0.1595, allocations: 0 / 0.4929 GB, free: 6.594 MB / 382.1 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.0007241/0.1602, allocations: 498.6 kB / 0.4934 GB, free: 6.059 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.1603, allocations: 15.89 kB / 0.4934 GB, free: 6.043 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.967e-05/0.1603, allocations: 20.66 kB / 0.4934 GB, free: 6.023 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002549/0.1606, allocations: 219.7 kB / 0.4936 GB, free: 5.77 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.973e-05/0.1606, allocations: 16.38 kB / 0.4937 GB, free: 5.754 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.633e-05/0.1606, allocations: 20.12 kB / 0.4937 GB, free: 5.734 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004255/0.1611, allocations: 206.7 kB / 0.4939 GB, free: 5.523 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.1611, allocations: 0 / 0.4939 GB, free: 5.523 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.688e-05/0.1611, allocations: 8 kB / 0.4939 GB, free: 5.516 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.1611, allocations: 4 kB / 0.4939 GB, free: 5.512 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000268/0.1614, allocations: 144.2 kB / 0.494 GB, free: 5.371 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00084/0.1622, allocations: 0.5753 MB / 0.4946 GB, free: 4.746 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001819/0.1624, allocations: 62.48 kB / 0.4946 GB, free: 4.676 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.847e-05/0.1626, allocations: 36.88 kB / 0.4947 GB, free: 4.637 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.003e-05/0.1626, allocations: 0 / 0.4947 GB, free: 4.637 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.603e-05/0.1626, allocations: 34.55 kB / 0.4947 GB, free: 4.594 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.1626, allocations: 4 kB / 0.4947 GB, free: 4.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004416/0.1631, allocations: 133.4 kB / 0.4948 GB, free: 4.453 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.285e-05/0.1631, allocations: 55.39 kB / 0.4949 GB, free: 4.387 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002765/0.1634, allocations: 258.6 kB / 0.4951 GB, free: 4.121 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.802e-05/0.1635, allocations: 25.7 kB / 0.4952 GB, free: 4.09 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001184/0.1636, allocations: 167.6 kB / 0.4953 GB, free: 3.922 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.636e-05/0.1636, allocations: 27.64 kB / 0.4954 GB, free: 3.895 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.133e-05/0.1637, allocations: 37.72 kB / 0.4954 GB, free: 3.852 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000176/0.1639, allocations: 338.8 kB / 0.4957 GB, free: 3.512 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001189/0.164, allocations: 35.97 kB / 0.4957 GB, free: 3.477 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002783/0.1643, allocations: 128.8 kB / 0.4959 GB, free: 3.305 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003183/0.1646, allocations: 180.7 kB / 0.496 GB, free: 3.082 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.1646, allocations: 0 / 0.496 GB, free: 3.082 MB / 382.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003929/0.165, allocations: 201.2 kB / 0.4962 GB, free: 2.879 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.1651, allocations: 11.98 kB / 0.4962 GB, free: 2.867 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.255e-05/0.1651, allocations: 12 kB / 0.4963 GB, free: 2.855 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.1651, allocations: 8.125 kB / 0.4963 GB, free: 2.848 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000126/0.1652, allocations: 31.98 kB / 0.4963 GB, free: 2.816 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.164e-05/0.1653, allocations: 7.938 kB / 0.4963 GB, free: 2.809 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001274/0.1654, allocations: 35.67 kB / 0.4963 GB, free: 2.773 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.052e-05/0.1654, allocations: 8.312 kB / 0.4963 GB, free: 2.766 MB / 382.1 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 0.0001321/0.1656, allocations: 137.7 kB / 0.4965 GB, free: 2.621 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.272e-05/0.1656, allocations: 23.72 kB / 0.4965 GB, free: 2.598 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004317/0.1661, allocations: 142.8 kB / 0.4966 GB, free: 2.449 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.1661, allocations: 0 / 0.4966 GB, free: 2.449 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.1661, allocations: 0 / 0.4966 GB, free: 2.449 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.1661, allocations: 0 / 0.4966 GB, free: 2.449 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002424/0.1663, allocations: 217.5 kB / 0.4968 GB, free: 2.188 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.946e-05/0.1664, allocations: 15.98 kB / 0.4969 GB, free: 2.172 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.416e-05/0.1664, allocations: 4 kB / 0.4969 GB, free: 2.168 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.499e-06/0.1664, allocations: 4 kB / 0.4969 GB, free: 2.164 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.1664, allocations: 0 / 0.4969 GB, free: 2.164 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.1664, allocations: 0 / 0.4969 GB, free: 2.164 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.1665, allocations: 4 kB / 0.4969 GB, free: 2.16 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003047/0.1668, allocations: 211.1 kB / 0.4971 GB, free: 1.938 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.127e-05/0.1668, allocations: 96.83 kB / 0.4972 GB, free: 1.824 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.687e-05/0.1669, allocations: 3.984 kB / 0.4972 GB, free: 1.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.124e-05/0.167, allocations: 4 kB / 0.4972 GB, free: 1.816 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.512e-05/0.167, allocations: 7.984 kB / 0.4972 GB, free: 1.809 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.458e-06/0.167, allocations: 8 kB / 0.4972 GB, free: 1.801 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001595/0.1672, allocations: 178 kB / 0.4974 GB, free: 1.629 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.674e-06/0.1672, allocations: 3.938 kB / 0.4974 GB, free: 1.625 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003986/0.1676, allocations: 79.86 kB / 0.4974 GB, free: 1.547 MB / 382.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 (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.0003282/0.1679, allocations: 171.1 kB / 0.4976 GB, free: 1.367 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005606/0.1685, allocations: 164.1 kB / 0.4978 GB, free: 1.195 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.1685, allocations: 4 kB / 0.4978 GB, free: 1.191 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001912/0.1687, allocations: 103.3 kB / 0.4979 GB, free: 1.078 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004295/0.1692, allocations: 35.53 kB / 0.4979 GB, free: 1.043 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006789/0.1699, allocations: 356.3 kB / 0.4982 GB, free: 0.668 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003675/0.1702, allocations: 0.732 MB / 0.4989 GB, free: 15.91 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.215e-05/0.1703, allocations: 17.86 kB / 0.499 GB, free: 15.89 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.203e-05/0.1703, allocations: 15.44 kB / 0.499 GB, free: 15.88 MB / 398.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1703, allocations: 4 kB / 0.499 GB, free: 15.88 MB / 398.1 MB Notification: Performance of Templates: time 0.007769/0.1781, allocations: 4.172 MB / 0.5031 GB, free: 11.71 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_flatTube/kc_flatTube.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches