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.00112/0.00112, allocations: 98.7 kB / 16.26 MB, free: 5.93 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.001218/0.001219, allocations: 190.1 kB / 17.2 MB, free: 5.574 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.541/1.541, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.2196/0.2196, allocations: 43.53 MB / 313.9 MB, free: 0.5352 MB / 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.001498/0.001498, allocations: 71.3 kB / 382.7 MB, free: 56.72 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1345/0.136, allocations: 57.8 MB / 440.5 MB, free: 6.91 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC): time 0.004183/0.1402, allocations: 2.657 MB / 443.2 MB, free: 4.227 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002173/0.1424, allocations: 1.465 MB / 444.7 MB, free: 2.754 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001342/0.1426, allocations: 4 kB / 444.7 MB, free: 2.75 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003553/0.143, allocations: 123.2 kB / 444.8 MB, free: 2.629 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003494/0.1433, allocations: 134.8 kB / 444.9 MB, free: 2.496 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005221/0.1439, allocations: 259.1 kB / 445.2 MB, free: 2.242 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002299/0.1441, allocations: 274.1 kB / 445.4 MB, free: 1.973 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.019e-05/0.1442, allocations: 32.7 kB / 445.5 MB, free: 1.941 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.62e-05/0.1443, allocations: 91.42 kB / 445.6 MB, free: 1.852 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001542/0.1445, allocations: 123.2 kB / 445.7 MB, free: 1.73 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.336e-05/0.1445, allocations: 8 kB / 445.7 MB, free: 1.723 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007524/0.1452, allocations: 0.5928 MB / 446.3 MB, free: 1.129 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.96e-05/0.1453, allocations: 43.72 kB / 446.3 MB, free: 1.086 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001075/0.1454, allocations: 131 kB / 446.5 MB, free: 0.957 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006003/0.146, allocations: 0.5293 MB / 447 MB, free: 436 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.223e-06/0.1461, allocations: 0 / 447 MB, free: 436 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1461, allocations: 0 / 447 MB, free: 436 kB / 318.1 MB Notification: Performance of Transformations before backend: time 7.995e-06/0.1461, allocations: 0 / 447 MB, free: 436 kB / 318.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.0009238/0.147, allocations: 0.6238 MB / 447.6 MB, free: 15.75 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.426e-05/0.1471, allocations: 11.89 kB / 447.6 MB, free: 15.74 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.991e-05/0.1472, allocations: 40.47 kB / 447.7 MB, free: 15.7 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002976/0.1475, allocations: 267 kB / 447.9 MB, free: 15.4 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.465e-05/0.1475, allocations: 25.38 kB / 447.9 MB, free: 15.38 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.728e-05/0.1476, allocations: 40.12 kB / 448 MB, free: 15.34 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007626/0.1484, allocations: 0.5724 MB / 448.6 MB, free: 14.64 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.11e-05/0.1484, allocations: 7.938 kB / 448.6 MB, free: 14.63 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.685e-05/0.1484, allocations: 23.98 kB / 448.6 MB, free: 14.61 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.536e-05/0.1485, allocations: 12 kB / 448.6 MB, free: 14.59 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005252/0.149, allocations: 333 kB / 448.9 MB, free: 14.27 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002734/0.1517, allocations: 4.043 MB / 453 MB, free: 10.02 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002735/0.152, allocations: 98.44 kB / 453.1 MB, free: 9.914 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001219/0.1522, allocations: 32.97 kB / 453.1 MB, free: 9.879 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.309e-05/0.1522, allocations: 4 kB / 453.1 MB, free: 9.875 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.681e-05/0.1522, allocations: 38.56 kB / 453.1 MB, free: 9.828 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 2.134e-06/0.1522, allocations: 0 / 453.1 MB, free: 9.828 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005427/0.1528, allocations: 161.1 kB / 453.3 MB, free: 9.664 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.756e-05/0.1528, allocations: 59.34 kB / 453.4 MB, free: 9.594 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004248/0.1533, allocations: 405.8 kB / 453.7 MB, free: 9.191 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.2e-05/0.1533, allocations: 33.7 kB / 453.8 MB, free: 9.152 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001781/0.1535, allocations: 247 kB / 454 MB, free: 8.906 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.195e-05/0.1535, allocations: 31.64 kB / 454.1 MB, free: 8.875 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001012/0.1536, allocations: 65.94 kB / 454.1 MB, free: 8.805 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001742/0.1538, allocations: 350.7 kB / 454.5 MB, free: 8.453 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000162/0.154, allocations: 56.61 kB / 454.5 MB, free: 8.398 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003315/0.1543, allocations: 274.3 kB / 454.8 MB, free: 8.031 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005154/0.1549, allocations: 347.9 kB / 455.1 MB, free: 7.59 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.1549, allocations: 3.938 kB / 455.1 MB, free: 7.586 MB / 334.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.00066/0.1555, allocations: 356.8 kB / 455.5 MB, free: 7.23 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.495e-05/0.1556, allocations: 8 kB / 455.5 MB, free: 7.223 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.422e-05/0.1556, allocations: 8 kB / 455.5 MB, free: 7.215 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.101e-05/0.1556, allocations: 12 kB / 455.5 MB, free: 7.203 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005453/0.1562, allocations: 115.8 kB / 455.6 MB, free: 7.09 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001019/0.1572, allocations: 1.223 MB / 456.8 MB, free: 5.82 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003131/0.1575, allocations: 59.36 kB / 456.9 MB, free: 5.762 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.169e-05/0.1576, allocations: 24 kB / 456.9 MB, free: 5.738 MB / 334.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.0001981/0.1578, allocations: 157.8 kB / 457.1 MB, free: 5.574 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.941e-05/0.1579, allocations: 39.47 kB / 457.1 MB, free: 5.535 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004761/0.1583, allocations: 172.9 kB / 457.3 MB, free: 5.355 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.1584, allocations: 0 / 457.3 MB, free: 5.355 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.645e-06/0.1584, allocations: 4 kB / 457.3 MB, free: 5.352 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.1584, allocations: 0 / 457.3 MB, free: 5.352 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003216/0.1587, allocations: 269.5 kB / 457.5 MB, free: 5.039 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.1587, allocations: 3.938 kB / 457.6 MB, free: 5.035 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000269/0.159, allocations: 47.98 kB / 457.6 MB, free: 4.988 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.384e-06/0.159, allocations: 7.984 kB / 457.6 MB, free: 4.98 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.342e-05/0.159, allocations: 0 / 457.6 MB, free: 4.98 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007602/0.1598, allocations: 1.211 MB / 458.8 MB, free: 3.723 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1598, allocations: 0 / 458.8 MB, free: 3.723 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003767/0.1602, allocations: 239.2 kB / 459.1 MB, free: 3.473 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.349e-05/0.1603, allocations: 108.7 kB / 459.2 MB, free: 3.348 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.917e-05/0.1604, allocations: 7.938 kB / 459.2 MB, free: 3.34 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001586/0.1605, allocations: 4 kB / 459.2 MB, free: 3.336 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.225e-05/0.1606, allocations: 7.984 kB / 459.2 MB, free: 3.328 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.989e-06/0.1606, allocations: 4 kB / 459.2 MB, free: 3.324 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000275/0.1609, allocations: 275.1 kB / 459.4 MB, free: 3.055 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1609, allocations: 0 / 459.4 MB, free: 3.055 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005563/0.1614, allocations: 111.8 kB / 459.6 MB, free: 2.945 MB / 334.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.0004079/0.1619, allocations: 181.7 kB / 459.7 MB, free: 2.758 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00062/0.1625, allocations: 209.3 kB / 459.9 MB, free: 2.555 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.1625, allocations: 0 / 459.9 MB, free: 2.555 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002834/0.1628, allocations: 76.22 kB / 460 MB, free: 2.48 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004585/0.1633, allocations: 41.83 kB / 460.1 MB, free: 2.441 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009769/0.1642, allocations: 0.4984 MB / 460.6 MB, free: 1.918 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003817/0.1646, allocations: 0.7678 MB / 461.3 MB, free: 1.125 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001286/0.1648, allocations: 38.95 kB / 461.4 MB, free: 1.086 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.722e-05/0.1648, allocations: 27.44 kB / 461.4 MB, free: 1.059 MB / 334.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1648, allocations: 0 / 461.4 MB, free: 1.059 MB / 334.1 MB Notification: Performance of Templates: time 0.01264/0.1775, allocations: 6.152 MB / 467.5 MB, free: 10.95 MB / 350.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