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.001054/0.001054, allocations: 102.8 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009589/0.0009591, allocations: 186.5 kB / 16.92 MB, free: 6.918 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.697/1.697, allocations: 205.4 MB / 223.1 MB, free: 5.754 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3969/0.3969, allocations: 43.58 MB / 315 MB, free: 8.707 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.0005563/0.0005568, allocations: 16 kB / 384.6 MB, free: 7.633 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.1417, allocations: 58.85 MB / 443.5 MB, free: 12.67 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC): time 0.003037/0.1448, allocations: 2.358 MB / 445.8 MB, free: 10.3 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00296/0.1478, allocations: 1.551 MB / 447.4 MB, free: 8.738 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003637/0.1482, allocations: 0 / 447.4 MB, free: 8.738 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005534/0.1487, allocations: 103.5 kB / 447.5 MB, free: 8.637 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000704/0.1495, allocations: 115 kB / 447.6 MB, free: 8.523 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007097/0.1502, allocations: 207.3 kB / 447.8 MB, free: 8.32 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004177/0.1506, allocations: 274.2 kB / 448.1 MB, free: 8.051 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.503e-05/0.1507, allocations: 28.72 kB / 448.1 MB, free: 8.023 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001383/0.1509, allocations: 103.3 kB / 448.2 MB, free: 7.922 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001908/0.1511, allocations: 119.2 kB / 448.3 MB, free: 7.805 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.656e-05/0.1511, allocations: 4 kB / 448.3 MB, free: 7.801 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009986/0.1521, allocations: 0.589 MB / 448.9 MB, free: 7.211 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.813e-05/0.1522, allocations: 43.66 kB / 448.9 MB, free: 7.168 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001526/0.1523, allocations: 160.7 kB / 449.1 MB, free: 7.004 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006584/0.153, allocations: 0.5137 MB / 449.6 MB, free: 6.488 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.153, allocations: 3.938 kB / 449.6 MB, free: 6.484 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.153, allocations: 0 / 449.6 MB, free: 6.484 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.505e-06/0.1531, allocations: 0 / 449.6 MB, free: 6.484 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.0008889/0.1539, allocations: 0.5734 MB / 450.2 MB, free: 5.859 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.32e-05/0.154, allocations: 12.03 kB / 450.2 MB, free: 5.848 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.404e-05/0.1541, allocations: 36.47 kB / 450.2 MB, free: 5.812 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002803/0.1544, allocations: 259.3 kB / 450.5 MB, free: 5.52 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.526e-05/0.1544, allocations: 25.38 kB / 450.5 MB, free: 5.496 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.931e-05/0.1545, allocations: 40.12 kB / 450.5 MB, free: 5.457 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007412/0.1552, allocations: 0.5802 MB / 451.1 MB, free: 4.742 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.763e-05/0.1552, allocations: 3.938 kB / 451.1 MB, free: 4.738 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.286e-05/0.1553, allocations: 24 kB / 451.2 MB, free: 4.715 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.473e-05/0.1553, allocations: 12 kB / 451.2 MB, free: 4.703 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005422/0.1559, allocations: 341 kB / 451.5 MB, free: 4.371 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002571/0.1584, allocations: 4.055 MB / 455.6 MB, free: 116 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002728/0.1587, allocations: 94.47 kB / 455.6 MB, free: 12 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.2992/0.4579, allocations: 41.86 kB / 455.7 MB, free: 47.09 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.594e-05/0.4581, allocations: 3.188 kB / 455.7 MB, free: 47.09 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.18e-05/0.4581, allocations: 31.88 kB / 455.7 MB, free: 47.05 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 3.637e-06/0.4581, allocations: 0.5312 kB / 455.7 MB, free: 47.05 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.000686/0.4588, allocations: 180.3 kB / 455.9 MB, free: 47.02 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.244e-05/0.4588, allocations: 55.52 kB / 455.9 MB, free: 46.96 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004492/0.4593, allocations: 413.6 kB / 456.4 MB, free: 46.86 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.655e-05/0.4593, allocations: 25.7 kB / 456.4 MB, free: 46.82 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000148/0.4595, allocations: 250.3 kB / 456.6 MB, free: 46.7 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.488e-05/0.4595, allocations: 29.77 kB / 456.7 MB, free: 46.68 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.689e-05/0.4596, allocations: 37.16 kB / 456.7 MB, free: 46.67 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.945e-05/0.4597, allocations: 348.8 kB / 457 MB, free: 46.36 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001618/0.4598, allocations: 60.98 kB / 457.1 MB, free: 46.35 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002576/0.4601, allocations: 275 kB / 457.4 MB, free: 46.09 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004349/0.4605, allocations: 366.5 kB / 457.7 MB, free: 45.82 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.4606, allocations: 6.5 kB / 457.7 MB, free: 45.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005507/0.4611, allocations: 364.4 kB / 458.1 MB, free: 45.72 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.336e-05/0.4611, allocations: 11.41 kB / 458.1 MB, free: 45.72 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.4612, allocations: 10.12 kB / 458.1 MB, free: 45.71 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.284e-05/0.4612, allocations: 8.781 kB / 458.1 MB, free: 45.71 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004817/0.4617, allocations: 112.5 kB / 458.2 MB, free: 45.71 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005791/0.4623, allocations: 1.225 MB / 459.4 MB, free: 44.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003098/0.4626, allocations: 63.08 kB / 459.5 MB, free: 44.49 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.986e-05/0.4626, allocations: 21.73 kB / 459.5 MB, free: 44.49 MB / 382.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.0001431/0.4628, allocations: 150.5 kB / 459.7 MB, free: 44.36 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.857e-05/0.4628, allocations: 40.72 kB / 459.7 MB, free: 44.34 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004726/0.4633, allocations: 180.8 kB / 459.9 MB, free: 44.3 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.161e-06/0.4633, allocations: 11.52 kB / 459.9 MB, free: 44.29 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.4633, allocations: 0 / 459.9 MB, free: 44.29 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.4634, allocations: 0 / 459.9 MB, free: 44.29 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000301/0.4637, allocations: 272.6 kB / 460.2 MB, free: 44.1 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/0.4637, allocations: 3.375 kB / 460.2 MB, free: 44.1 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000258/0.4639, allocations: 52.62 kB / 460.2 MB, free: 44.1 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.055e-06/0.464, allocations: 6.562 kB / 460.2 MB, free: 44.1 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.676e-05/0.464, allocations: 3.75 kB / 460.2 MB, free: 44.1 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004293/0.4644, allocations: 1.212 MB / 461.4 MB, free: 42.91 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.4644, allocations: 4.781 kB / 461.4 MB, free: 42.91 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000319/0.4648, allocations: 244.3 kB / 461.7 MB, free: 42.76 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.298e-05/0.4648, allocations: 104.6 kB / 461.8 MB, free: 42.65 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.978e-05/0.4649, allocations: 3 kB / 461.8 MB, free: 42.65 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001595/0.465, allocations: 12.94 kB / 461.8 MB, free: 42.65 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.485e-05/0.4651, allocations: 14.25 kB / 461.8 MB, free: 42.64 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.977e-06/0.4651, allocations: 2.844 kB / 461.8 MB, free: 42.64 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002338/0.4654, allocations: 273.8 kB / 462.1 MB, free: 42.56 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4654, allocations: 0 / 462.1 MB, free: 42.56 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005645/0.4659, allocations: 113.5 kB / 462.2 MB, free: 42.55 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 (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.0004054/0.4664, allocations: 181.3 kB / 462.4 MB, free: 42.46 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005624/0.4669, allocations: 219.1 kB / 462.6 MB, free: 42.43 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.4669, allocations: 3.891 kB / 462.6 MB, free: 42.43 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002576/0.4672, allocations: 84.94 kB / 462.7 MB, free: 42.43 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004616/0.4677, allocations: 37.75 kB / 462.7 MB, free: 42.43 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009412/0.4686, allocations: 0.6123 MB / 463.3 MB, free: 42.07 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002037/0.4689, allocations: 0.7673 MB / 464.1 MB, free: 41.37 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001321/0.469, allocations: 37.39 kB / 464.1 MB, free: 41.36 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.534e-05/0.4691, allocations: 29.17 kB / 464.2 MB, free: 41.35 MB / 382.1 MB Notification: Performance of SimCode: time 2.334e-06/0.4691, allocations: 0 / 464.2 MB, free: 41.35 MB / 382.1 MB Notification: Performance of Templates: time 0.01225/0.4813, allocations: 5.921 MB / 470.1 MB, free: 41.1 MB / 382.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","../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