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.001274/0.001274, allocations: 97.61 kB / 15.98 MB, free: 6.352 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.001299/0.001299, allocations: 198.8 kB / 16.91 MB, free: 6.191 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.563/1.563, allocations: 205.1 MB / 222.8 MB, free: 4.676 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.4126/0.4126, allocations: 43.51 MB / 313.6 MB, free: 8.52 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.001478/0.001478, allocations: 67.91 kB / 382.2 MB, free: 8.605 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1482/0.1497, allocations: 57.79 MB / 440 MB, free: 14.71 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC): time 0.004871/0.1546, allocations: 2.713 MB / 442.7 MB, free: 11.98 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002743/0.1574, allocations: 1.489 MB / 444.2 MB, free: 10.48 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000196/0.1577, allocations: 0 / 444.2 MB, free: 10.48 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004382/0.1581, allocations: 99.41 kB / 444.3 MB, free: 10.38 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004263/0.1586, allocations: 115.1 kB / 444.4 MB, free: 10.27 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005664/0.1592, allocations: 231.3 kB / 444.7 MB, free: 10.04 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002791/0.1595, allocations: 274.2 kB / 444.9 MB, free: 9.773 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.62e-05/0.1595, allocations: 32.72 kB / 445 MB, free: 9.742 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001291/0.1597, allocations: 99.28 kB / 445.1 MB, free: 9.645 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001799/0.1599, allocations: 119.2 kB / 445.2 MB, free: 9.527 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.462e-05/0.1599, allocations: 8 kB / 445.2 MB, free: 9.52 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008371/0.1607, allocations: 0.5851 MB / 445.8 MB, free: 8.934 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.583e-05/0.1608, allocations: 47.59 kB / 445.8 MB, free: 8.887 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001264/0.161, allocations: 127 kB / 445.9 MB, free: 8.762 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006121/0.1616, allocations: 0.5332 MB / 446.5 MB, free: 8.227 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.1616, allocations: 0 / 446.5 MB, free: 8.227 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.1616, allocations: 4 kB / 446.5 MB, free: 8.223 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.653e-06/0.1616, allocations: 4 kB / 446.5 MB, free: 8.219 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.0008544/0.1625, allocations: 0.62 MB / 447.1 MB, free: 7.547 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/0.1625, allocations: 11.89 kB / 447.1 MB, free: 7.535 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.183e-05/0.1626, allocations: 40.47 kB / 447.2 MB, free: 7.496 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002746/0.1629, allocations: 255.3 kB / 447.4 MB, free: 7.207 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.635e-05/0.1629, allocations: 29.38 kB / 447.4 MB, free: 7.18 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.47e-05/0.163, allocations: 40.12 kB / 447.5 MB, free: 7.141 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008562/0.1638, allocations: 0.5724 MB / 448 MB, free: 6.434 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.645e-05/0.1639, allocations: 7.938 kB / 448.1 MB, free: 6.426 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.781e-05/0.1639, allocations: 23.94 kB / 448.1 MB, free: 6.402 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.772e-05/0.1639, allocations: 12 kB / 448.1 MB, free: 6.391 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006029/0.1645, allocations: 329 kB / 448.4 MB, free: 6.07 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002904/0.1675, allocations: 4.047 MB / 452.5 MB, free: 1.82 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003041/0.1678, allocations: 90.53 kB / 452.5 MB, free: 1.723 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001319/0.1679, allocations: 40.95 kB / 452.6 MB, free: 1.68 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.504e-05/0.168, allocations: 0 / 452.6 MB, free: 1.68 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.002e-05/0.168, allocations: 34.5 kB / 452.6 MB, free: 1.637 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 9.72e-07/0.168, allocations: 0 / 452.6 MB, free: 1.637 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005676/0.1686, allocations: 173.1 kB / 452.8 MB, free: 1.461 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.45e-05/0.1686, allocations: 55.39 kB / 452.8 MB, free: 1.395 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003982/0.1691, allocations: 409.8 kB / 453.2 MB, free: 0.9844 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.103e-05/0.1691, allocations: 25.7 kB / 453.3 MB, free: 0.9531 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001788/0.1693, allocations: 255 kB / 453.5 MB, free: 0.6992 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.784e-05/0.1693, allocations: 23.66 kB / 453.5 MB, free: 0.6758 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001015/0.1694, allocations: 73.92 kB / 453.6 MB, free: 0.5977 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001733/0.1696, allocations: 350.7 kB / 454 MB, free: 252 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001529/0.1698, allocations: 64.55 kB / 454 MB, free: 188 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2571/0.4269, allocations: 260 kB / 454.3 MB, free: 49.13 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005264/0.4275, allocations: 353.3 kB / 454.6 MB, free: 48.87 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.4275, allocations: 3 kB / 454.6 MB, free: 48.87 MB / 382.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006426/0.4281, allocations: 351.9 kB / 455 MB, free: 48.84 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.434e-05/0.4282, allocations: 5.875 kB / 455 MB, free: 48.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.633e-05/0.4282, allocations: 8.062 kB / 455 MB, free: 48.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.426e-05/0.4282, allocations: 10.75 kB / 455 MB, free: 48.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004743/0.4287, allocations: 112.4 kB / 455.1 MB, free: 48.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004967/0.4292, allocations: 1.219 MB / 456.3 MB, free: 47.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002937/0.4295, allocations: 59.39 kB / 456.4 MB, free: 47.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.451e-05/0.4296, allocations: 24.78 kB / 456.4 MB, free: 47.68 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.0001555/0.4297, allocations: 154.8 kB / 456.5 MB, free: 47.56 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.937e-05/0.4298, allocations: 35.41 kB / 456.6 MB, free: 47.56 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004312/0.4302, allocations: 172.1 kB / 456.7 MB, free: 47.53 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.4302, allocations: 0.8438 kB / 456.7 MB, free: 47.53 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.4302, allocations: 0 / 456.7 MB, free: 47.53 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.4303, allocations: 1.188 kB / 456.8 MB, free: 47.53 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002563/0.4305, allocations: 284.4 kB / 457 MB, free: 47.33 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.4305, allocations: 0 / 457 MB, free: 47.33 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002558/0.4308, allocations: 58.69 kB / 457.1 MB, free: 47.33 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.4308, allocations: 0 / 457.1 MB, free: 47.33 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.29e-05/0.4308, allocations: 4.156 kB / 457.1 MB, free: 47.33 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003651/0.4312, allocations: 1.204 MB / 458.3 MB, free: 46.16 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.4312, allocations: 1.594 kB / 458.3 MB, free: 46.16 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002882/0.4315, allocations: 235.4 kB / 458.5 MB, free: 46 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.826e-05/0.4316, allocations: 113.6 kB / 458.6 MB, free: 45.89 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.521e-05/0.4316, allocations: 4.594 kB / 458.6 MB, free: 45.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001605/0.4318, allocations: 7.734 kB / 458.6 MB, free: 45.89 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.154e-05/0.4318, allocations: 8.766 kB / 458.7 MB, free: 45.89 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.718e-06/0.4319, allocations: 10.72 kB / 458.7 MB, free: 45.88 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002239/0.4321, allocations: 267.9 kB / 458.9 MB, free: 45.8 MB / 382.1 MB Notification: Performance of sort global known variables: time 2e-07/0.4321, allocations: 2.719 kB / 458.9 MB, free: 45.8 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005581/0.4327, allocations: 114.4 kB / 459 MB, free: 45.8 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.0003673/0.433, allocations: 176.5 kB / 459.2 MB, free: 45.71 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000564/0.4336, allocations: 216.8 kB / 459.4 MB, free: 45.7 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.4336, allocations: 0 / 459.4 MB, free: 45.7 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002562/0.4339, allocations: 74.28 kB / 459.5 MB, free: 45.7 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005012/0.4344, allocations: 41.33 kB / 459.5 MB, free: 45.7 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008618/0.4353, allocations: 0.5872 MB / 460.1 MB, free: 45.36 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002187/0.4355, allocations: 0.7704 MB / 460.9 MB, free: 44.66 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001194/0.4356, allocations: 38.72 kB / 460.9 MB, free: 44.65 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.505e-05/0.4357, allocations: 32 kB / 461 MB, free: 44.64 MB / 382.1 MB Notification: Performance of SimCode: time 4.41e-07/0.4357, allocations: 0 / 461 MB, free: 44.64 MB / 382.1 MB Notification: Performance of Templates: time 0.009717/0.4454, allocations: 6.083 MB / 467 MB, free: 44.41 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