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_roundTube_KC.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_roundTube_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Nu|m_flow.1.|m_flow.2.|m_flow.3.|m_flow.4.|kc_1|kc_4|Re_1|Re_4|input_Nu.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Nu|m_flow.1.|m_flow.2.|m_flow.3.|m_flow.4.|kc_1|kc_4|Re_1|Re_4|input_Nu.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001265/0.001265, allocations: 108 kB / 16.41 MB, free: 6.449 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.001134/0.001134, allocations: 189.5 kB / 17.34 MB, free: 5.719 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.537/1.537, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2173/0.2173, allocations: 43.53 MB / 314.1 MB, free: 452 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.001364/0.001364, allocations: 67.91 kB / 441.8 MB, free: 5.613 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1282, allocations: 57.8 MB / 499.6 MB, free: 11.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC): time 0.00445/0.1327, allocations: 2.676 MB / 0.4905 GB, free: 9.051 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00225/0.1349, allocations: 1.465 MB / 0.492 GB, free: 7.574 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001185/0.1351, allocations: 0 / 0.492 GB, free: 7.574 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003353/0.1354, allocations: 111.2 kB / 0.4921 GB, free: 7.465 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003717/0.1358, allocations: 150.8 kB / 0.4922 GB, free: 7.316 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000518/0.1363, allocations: 251.1 kB / 0.4925 GB, free: 7.07 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002767/0.1366, allocations: 282.1 kB / 0.4927 GB, free: 6.793 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.945e-05/0.1367, allocations: 28.72 kB / 0.4928 GB, free: 6.766 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001121/0.1368, allocations: 99.34 kB / 0.4929 GB, free: 6.668 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001775/0.137, allocations: 119.2 kB / 0.493 GB, free: 6.551 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.48e-05/0.1371, allocations: 8 kB / 0.493 GB, free: 6.543 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008439/0.1379, allocations: 0.5929 MB / 0.4936 GB, free: 5.949 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.873e-05/0.138, allocations: 39.66 kB / 0.4936 GB, free: 5.91 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000127/0.1381, allocations: 135 kB / 0.4937 GB, free: 5.777 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006137/0.1387, allocations: 0.5371 MB / 0.4943 GB, free: 5.238 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1387, allocations: 0 / 0.4943 GB, free: 5.238 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1388, allocations: 0 / 0.4943 GB, free: 5.238 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.486e-06/0.1388, allocations: 0 / 0.4943 GB, free: 5.238 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.0007736/0.1395, allocations: 0.6272 MB / 0.4949 GB, free: 4.562 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.1396, allocations: 15.89 kB / 0.4949 GB, free: 4.547 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.7e-05/0.1397, allocations: 40.47 kB / 0.4949 GB, free: 4.508 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002569/0.1399, allocations: 251.4 kB / 0.4952 GB, free: 4.223 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.128e-05/0.14, allocations: 33.38 kB / 0.4952 GB, free: 4.191 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.369e-05/0.14, allocations: 36.12 kB / 0.4952 GB, free: 4.156 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007142/0.1408, allocations: 0.5765 MB / 0.4958 GB, free: 3.449 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.624e-05/0.1408, allocations: 3.938 kB / 0.4958 GB, free: 3.445 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.041e-05/0.1408, allocations: 20 kB / 0.4958 GB, free: 3.426 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.672e-05/0.1408, allocations: 12 kB / 0.4958 GB, free: 3.414 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005084/0.1414, allocations: 333 kB / 0.4961 GB, free: 3.09 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002526/0.1439, allocations: 4.047 MB / 0.5001 GB, free: 14.84 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000261/0.1442, allocations: 90.47 kB / 0.5002 GB, free: 14.74 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001187/0.1443, allocations: 36.95 kB / 0.5002 GB, free: 14.7 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.246e-05/0.1443, allocations: 4 kB / 0.5002 GB, free: 14.7 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.654e-05/0.1444, allocations: 34.56 kB / 0.5002 GB, free: 14.66 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.683e-06/0.1444, allocations: 4 kB / 0.5003 GB, free: 14.65 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005051/0.1449, allocations: 161.1 kB / 0.5004 GB, free: 14.49 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.488e-05/0.145, allocations: 59.41 kB / 0.5005 GB, free: 14.42 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004107/0.1454, allocations: 401.8 kB / 0.5008 GB, free: 14.02 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.094e-05/0.1454, allocations: 33.7 kB / 0.5009 GB, free: 13.98 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001602/0.1456, allocations: 243 kB / 0.5011 GB, free: 13.74 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.836e-05/0.1456, allocations: 35.64 kB / 0.5011 GB, free: 13.7 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001046/0.1457, allocations: 77.86 kB / 0.5012 GB, free: 13.62 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.1459, allocations: 350.7 kB / 0.5016 GB, free: 13.27 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001484/0.146, allocations: 52.61 kB / 0.5016 GB, free: 13.21 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003944/0.1464, allocations: 274.3 kB / 0.5019 GB, free: 12.85 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000457/0.1469, allocations: 348.2 kB / 0.5022 GB, free: 12.41 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/0.1469, allocations: 4 kB / 0.5022 GB, free: 12.4 MB / 398.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005906/0.1475, allocations: 357.3 kB / 0.5025 GB, free: 12.05 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/0.1475, allocations: 8 kB / 0.5025 GB, free: 12.04 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.1475, allocations: 4 kB / 0.5026 GB, free: 12.04 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.681e-05/0.1476, allocations: 12 kB / 0.5026 GB, free: 12.02 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000472/0.1481, allocations: 111.8 kB / 0.5027 GB, free: 11.91 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007639/0.1488, allocations: 1.223 MB / 0.5039 GB, free: 10.64 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002958/0.1491, allocations: 59.38 kB / 0.5039 GB, free: 10.59 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.289e-05/0.1492, allocations: 27.98 kB / 0.5039 GB, free: 10.56 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 5 (m_flow_IN_con_4.N,m_flow_IN_con_4.geometry,m_flow_IN_con_1.geometry,m_flow_IN_con_3.geometry,m_flow_IN_con_2.geometry) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * 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 0.0001726/0.1494, allocations: 157.4 kB / 0.5041 GB, free: 10.39 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.01e-05/0.1494, allocations: 39.47 kB / 0.5041 GB, free: 10.36 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004511/0.1499, allocations: 173 kB / 0.5043 GB, free: 10.18 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/0.1499, allocations: 4 kB / 0.5043 GB, free: 10.17 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.1499, allocations: 0 / 0.5043 GB, free: 10.17 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.1499, allocations: 0 / 0.5043 GB, free: 10.17 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003316/0.1503, allocations: 277.5 kB / 0.5046 GB, free: 9.852 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.1503, allocations: 3.938 kB / 0.5046 GB, free: 9.848 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002675/0.1505, allocations: 55.97 kB / 0.5046 GB, free: 9.793 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.1506, allocations: 0 / 0.5046 GB, free: 9.793 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.482e-05/0.1506, allocations: 0 / 0.5046 GB, free: 9.793 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008754/0.1515, allocations: 1.215 MB / 0.5058 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.1515, allocations: 0 / 0.5058 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003623/0.1518, allocations: 227 kB / 0.506 GB, free: 8.293 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001005/0.152, allocations: 108.7 kB / 0.5061 GB, free: 8.168 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.268e-05/0.152, allocations: 3.938 kB / 0.5061 GB, free: 8.164 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000158/0.1522, allocations: 12.08 kB / 0.5061 GB, free: 8.152 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.538e-05/0.1522, allocations: 4 kB / 0.5062 GB, free: 8.148 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.628e-05/0.1523, allocations: 11.94 kB / 0.5062 GB, free: 8.137 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002888/0.1526, allocations: 275.1 kB / 0.5064 GB, free: 7.867 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1526, allocations: 0 / 0.5064 GB, free: 7.867 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006339/0.1532, allocations: 123.8 kB / 0.5065 GB, free: 7.746 MB / 398.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 (7): * Single equations (assignments): 5 * 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.000446/0.1537, allocations: 175.1 kB / 0.5067 GB, free: 7.566 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005797/0.1542, allocations: 204.5 kB / 0.5069 GB, free: 7.367 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.1543, allocations: 0 / 0.5069 GB, free: 7.367 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002606/0.1545, allocations: 77.08 kB / 0.507 GB, free: 7.293 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004806/0.155, allocations: 42.5 kB / 0.507 GB, free: 7.254 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001091/0.1561, allocations: 0.4898 MB / 0.5075 GB, free: 6.73 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005896/0.1567, allocations: 0.7677 MB / 0.5082 GB, free: 5.934 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001131/0.1568, allocations: 42.91 kB / 0.5083 GB, free: 5.895 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.208e-05/0.1569, allocations: 27.42 kB / 0.5083 GB, free: 5.867 MB / 398.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1569, allocations: 0 / 0.5083 GB, free: 5.867 MB / 398.1 MB Notification: Performance of Templates: time 0.0121/0.169, allocations: 6.21 MB / 0.5144 GB, free: 15.67 MB / 414.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC_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_roundTube_KC/kc_roundTube_KC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches