Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001878/0.001878, allocations: 112.3 kB / 20.48 MB, free: 1.121 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00228/0.00228, allocations: 209.7 kB / 23.78 MB, free: 4.328 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.578/1.578, allocations: 230.6 MB / 257.6 MB, free: 7.742 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2276/0.2276, allocations: 44.93 MB / 358.9 MB, free: 5.984 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|Re|m_flow.1.|m_flow.4.|Nu.1.|Nu.4.|input_Re.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|Re|m_flow.1.|m_flow.4.|Nu.1.|Nu.4.|input_Re.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002125/0.002125, allocations: 75.88 kB / 0.4937 GB, free: 9.914 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3555/0.3576, allocations: 65.47 MB / 0.5576 GB, free: 7.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube): time 0.003663/0.3613, allocations: 2.038 MB / 0.5596 GB, free: 5.215 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002841/0.3642, allocations: 1.545 MB / 0.5611 GB, free: 3.668 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001005/0.3643, allocations: 4 kB / 0.5611 GB, free: 3.664 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003242/0.3646, allocations: 75.47 kB / 0.5612 GB, free: 3.59 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000162/0.3647, allocations: 63.42 kB / 0.5612 GB, free: 3.527 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009559/0.3657, allocations: 362.6 kB / 0.5616 GB, free: 3.172 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001982/0.3659, allocations: 147 kB / 0.5617 GB, free: 3.027 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.652e-05/0.3659, allocations: 15.27 kB / 0.5617 GB, free: 3.012 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.371e-05/0.366, allocations: 55.72 kB / 0.5618 GB, free: 2.957 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001167/0.3661, allocations: 63.53 kB / 0.5618 GB, free: 2.895 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.919e-05/0.3662, allocations: 4 kB / 0.5618 GB, free: 2.891 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009362/0.3671, allocations: 0.511 MB / 0.5623 GB, free: 2.379 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.495e-05/0.3672, allocations: 31.78 kB / 0.5624 GB, free: 2.348 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.146e-05/0.3673, allocations: 55.56 kB / 0.5624 GB, free: 2.293 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007665/0.368, allocations: 0.5216 MB / 0.5629 GB, free: 1.77 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.368, allocations: 0 / 0.5629 GB, free: 1.77 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.368, allocations: 0 / 0.5629 GB, free: 1.77 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.368, allocations: 4 kB / 0.5629 GB, free: 1.766 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0007168/0.3687, allocations: 457.4 kB / 0.5634 GB, free: 1.289 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.3688, allocations: 11.98 kB / 0.5634 GB, free: 1.277 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.505e-05/0.3688, allocations: 24.8 kB / 0.5634 GB, free: 1.254 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000202/0.369, allocations: 157.9 kB / 0.5636 GB, free: 1.078 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.914e-05/0.3691, allocations: 24.44 kB / 0.5636 GB, free: 1.055 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.942e-05/0.3691, allocations: 16 kB / 0.5636 GB, free: 1.039 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005054/0.3696, allocations: 268.3 kB / 0.5639 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.3696, allocations: 0 / 0.5639 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.128e-05/0.3696, allocations: 16 kB / 0.5639 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.327e-05/0.3697, allocations: 4 kB / 0.5639 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000333/0.37, allocations: 160.2 kB / 0.564 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001045/0.371, allocations: 0.8156 MB / 0.5648 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002173/0.3712, allocations: 62.48 kB / 0.5649 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000115/0.3714, allocations: 32.94 kB / 0.5649 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.354e-05/0.3714, allocations: 4 kB / 0.5649 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.32e-05/0.3714, allocations: 34.5 kB / 0.5649 GB, free: 15.56 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.343e-06/0.3714, allocations: 0 / 0.5649 GB, free: 15.56 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004785/0.3719, allocations: 133.5 kB / 0.5651 GB, free: 15.43 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.705e-05/0.372, allocations: 55.34 kB / 0.5651 GB, free: 15.36 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002101/0.3722, allocations: 216.1 kB / 0.5653 GB, free: 15.14 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.983e-05/0.3722, allocations: 29.7 kB / 0.5654 GB, free: 15.11 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001373/0.3723, allocations: 195.7 kB / 0.5655 GB, free: 14.91 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.001e-05/0.3724, allocations: 27.78 kB / 0.5656 GB, free: 14.88 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.686e-05/0.3724, allocations: 49.66 kB / 0.5656 GB, free: 14.83 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001544/0.3726, allocations: 326.8 kB / 0.5659 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001447/0.3727, allocations: 48.19 kB / 0.566 GB, free: 14.45 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002488/0.373, allocations: 180.2 kB / 0.5662 GB, free: 14.2 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004263/0.3734, allocations: 255.4 kB / 0.5664 GB, free: 13.88 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.3734, allocations: 4 kB / 0.5664 GB, free: 13.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004933/0.3739, allocations: 253 kB / 0.5666 GB, free: 13.62 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.3e-05/0.3739, allocations: 11.5 kB / 0.5667 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.022e-05/0.374, allocations: 16 kB / 0.5667 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.301e-05/0.374, allocations: 8 kB / 0.5667 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001792/0.3742, allocations: 47.91 kB / 0.5667 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.817e-05/0.3742, allocations: 15.88 kB / 0.5667 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001509/0.3743, allocations: 31.83 kB / 0.5668 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.089e-05/0.3744, allocations: 15.94 kB / 0.5668 GB, free: 13.48 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 3 (m_flow_IN_con_4.N,m_flow_IN_con_4.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 (25): * Single equations (assignments): 23 * 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.0001371/0.3745, allocations: 133.7 kB / 0.5669 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.109e-05/0.3745, allocations: 15.91 kB / 0.5669 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000404/0.3749, allocations: 142.8 kB / 0.5671 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.3749, allocations: 0 / 0.5671 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.3749, allocations: 3.938 kB / 0.5671 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.375, allocations: 0 / 0.5671 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002275/0.3752, allocations: 165.3 kB / 0.5672 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-05/0.3752, allocations: 8 kB / 0.5672 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.27e-05/0.3753, allocations: 7.984 kB / 0.5672 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.3753, allocations: 0 / 0.5672 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.094e-05/0.3753, allocations: 8 kB / 0.5672 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.3753, allocations: 0 / 0.5672 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3753, allocations: 0 / 0.5672 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003558/0.3756, allocations: 203.3 kB / 0.5674 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.746e-05/0.3756, allocations: 19.8 kB / 0.5675 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.489e-05/0.3757, allocations: 4 kB / 0.5675 GB, free: 12.72 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.362e-05/0.3758, allocations: 7.984 kB / 0.5675 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.079e-05/0.3758, allocations: 4 kB / 0.5675 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.176e-06/0.3758, allocations: 7.875 kB / 0.5675 GB, free: 12.7 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001215/0.3759, allocations: 147.5 kB / 0.5676 GB, free: 12.56 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3759, allocations: 0 / 0.5676 GB, free: 12.56 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005433/0.3765, allocations: 115.7 kB / 0.5677 GB, free: 12.45 MB / 414.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.0004466/0.3769, allocations: 195 kB / 0.5679 GB, free: 12.25 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005027/0.3774, allocations: 191.5 kB / 0.5681 GB, free: 12.05 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3774, allocations: 0 / 0.5681 GB, free: 12.05 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002094/0.3777, allocations: 100.3 kB / 0.5682 GB, free: 11.94 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000348/0.378, allocations: 25.5 kB / 0.5682 GB, free: 11.91 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007551/0.3788, allocations: 360.1 kB / 0.5686 GB, free: 11.53 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00012/0.3789, allocations: 117.2 kB / 0.5687 GB, free: 11.4 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.617e-05/0.379, allocations: 25.41 kB / 0.5687 GB, free: 11.38 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.98e-05/0.379, allocations: 16.5 kB / 0.5687 GB, free: 11.36 MB / 414.1 MB Notification: Performance of SimCode: time 3.81e-07/0.379, allocations: 0 / 0.5687 GB, free: 11.36 MB / 414.1 MB Notification: Performance of Templates: time 0.01199/0.391, allocations: 5.709 MB / 0.5743 GB, free: 5.707 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_roundTube/kc_roundTube.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.697564895264804]