Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001426/0.001426, allocations: 108.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 trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001552/0.001552, allocations: 219 kB / 23.78 MB, free: 4.324 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.638/1.638, allocations: 230.5 MB / 257.5 MB, free: 7.746 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2357/0.2357, allocations: 46.94 MB / 360.9 MB, free: 3.895 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,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_trunk_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=5003,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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00245/0.00245, allocations: 87.86 kB / 0.4968 GB, free: 6.949 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3596/0.3621, allocations: 66.09 MB / 0.5613 GB, free: 3.91 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC): time 0.004729/0.3668, allocations: 2.507 MB / 0.5638 GB, free: 1.387 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00263/0.3695, allocations: 1.346 MB / 0.5651 GB, free: 40 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000147/0.3696, allocations: 4 kB / 0.5651 GB, free: 36 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000413/0.37, allocations: 111 kB / 0.5652 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004387/0.3705, allocations: 138.9 kB / 0.5653 GB, free: 15.79 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006809/0.3711, allocations: 267.1 kB / 0.5656 GB, free: 15.53 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003244/0.3715, allocations: 274 kB / 0.5658 GB, free: 15.26 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.993e-05/0.3715, allocations: 20.92 kB / 0.5659 GB, free: 15.24 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001238/0.3717, allocations: 103.3 kB / 0.566 GB, free: 15.14 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002151/0.3719, allocations: 119.2 kB / 0.5661 GB, free: 15.02 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.638e-05/0.3719, allocations: 4 kB / 0.5661 GB, free: 15.02 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000847/0.3727, allocations: 451.4 kB / 0.5665 GB, free: 14.57 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.614e-05/0.3728, allocations: 47.64 kB / 0.5666 GB, free: 14.53 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001384/0.373, allocations: 107.2 kB / 0.5667 GB, free: 14.42 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007239/0.3737, allocations: 0.5211 MB / 0.5672 GB, free: 13.9 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/0.3737, allocations: 4 kB / 0.5672 GB, free: 13.89 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3737, allocations: 0 / 0.5672 GB, free: 13.89 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.953e-06/0.3737, allocations: 0 / 0.5672 GB, free: 13.89 MB / 414.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.0008862/0.3746, allocations: 0.5596 MB / 0.5677 GB, free: 13.3 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.629e-05/0.3746, allocations: 12.03 kB / 0.5677 GB, free: 13.29 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.001e-05/0.3747, allocations: 40.7 kB / 0.5678 GB, free: 13.25 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002875/0.375, allocations: 194 kB / 0.5679 GB, free: 13.04 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.384e-05/0.375, allocations: 33.38 kB / 0.568 GB, free: 13 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.485e-05/0.3751, allocations: 40.12 kB / 0.568 GB, free: 12.96 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007991/0.3759, allocations: 0.5842 MB / 0.5686 GB, free: 12.25 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.608e-05/0.3759, allocations: 3.938 kB / 0.5686 GB, free: 12.25 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.274e-05/0.3759, allocations: 23.94 kB / 0.5686 GB, free: 12.22 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.397e-05/0.3759, allocations: 15.94 kB / 0.5686 GB, free: 12.21 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005664/0.3765, allocations: 341.3 kB / 0.569 GB, free: 11.87 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002909/0.3794, allocations: 3.892 MB / 0.5728 GB, free: 7.797 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002858/0.3797, allocations: 94.45 kB / 0.5728 GB, free: 7.695 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001293/0.3798, allocations: 32.95 kB / 0.5729 GB, free: 7.66 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.707e-05/0.3799, allocations: 4 kB / 0.5729 GB, free: 7.656 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.089e-05/0.3799, allocations: 38.5 kB / 0.5729 GB, free: 7.609 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.593e-06/0.3799, allocations: 4 kB / 0.5729 GB, free: 7.605 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005737/0.3805, allocations: 157.5 kB / 0.5731 GB, free: 7.445 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.196e-05/0.3805, allocations: 55.41 kB / 0.5731 GB, free: 7.379 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003161/0.3808, allocations: 288.2 kB / 0.5734 GB, free: 7.09 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.409e-05/0.3809, allocations: 25.7 kB / 0.5734 GB, free: 7.059 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002104/0.3811, allocations: 271.7 kB / 0.5737 GB, free: 6.789 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.409e-05/0.3811, allocations: 31.78 kB / 0.5737 GB, free: 6.758 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001189/0.3812, allocations: 73.92 kB / 0.5738 GB, free: 6.676 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001749/0.3814, allocations: 338.8 kB / 0.5741 GB, free: 6.336 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00017/0.3816, allocations: 56.61 kB / 0.5742 GB, free: 6.281 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003501/0.3819, allocations: 258.4 kB / 0.5744 GB, free: 5.926 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000559/0.3825, allocations: 355.9 kB / 0.5747 GB, free: 5.477 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/0.3825, allocations: 3.938 kB / 0.5748 GB, free: 5.473 MB / 414.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006447/0.3831, allocations: 340.8 kB / 0.5751 GB, free: 5.133 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.138e-05/0.3832, allocations: 8.938 kB / 0.5751 GB, free: 5.125 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.208e-05/0.3832, allocations: 11.94 kB / 0.5751 GB, free: 5.113 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.349e-05/0.3832, allocations: 8 kB / 0.5751 GB, free: 5.105 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004967/0.3837, allocations: 111.9 kB / 0.5752 GB, free: 4.996 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001139/0.3848, allocations: 1.223 MB / 0.5764 GB, free: 3.727 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002919/0.3851, allocations: 47.66 kB / 0.5764 GB, free: 3.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.593e-05/0.3852, allocations: 24 kB / 0.5765 GB, free: 3.656 MB / 414.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.0002001/0.3854, allocations: 147 kB / 0.5766 GB, free: 3.504 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.772e-05/0.3854, allocations: 35.88 kB / 0.5766 GB, free: 3.469 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004626/0.3859, allocations: 163.4 kB / 0.5768 GB, free: 3.301 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.3859, allocations: 0 / 0.5768 GB, free: 3.301 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.3859, allocations: 0 / 0.5768 GB, free: 3.301 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.3859, allocations: 4 kB / 0.5768 GB, free: 3.297 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002903/0.3862, allocations: 205.2 kB / 0.577 GB, free: 3.066 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.117e-06/0.3862, allocations: 3.984 kB / 0.577 GB, free: 3.062 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002778/0.3865, allocations: 55.97 kB / 0.5771 GB, free: 3.008 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.332e-06/0.3865, allocations: 7.938 kB / 0.5771 GB, free: 3 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.356e-05/0.3865, allocations: 3.938 kB / 0.5771 GB, free: 2.996 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000822/0.3873, allocations: 1.199 MB / 0.5782 GB, free: 1.75 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.3873, allocations: 4.125 kB / 0.5782 GB, free: 1.746 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004148/0.3877, allocations: 231.2 kB / 0.5785 GB, free: 1.504 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.777e-05/0.3878, allocations: 15.86 kB / 0.5785 GB, free: 1.488 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.492e-05/0.3878, allocations: 3.984 kB / 0.5785 GB, free: 1.484 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001499/0.3879, allocations: 11.94 kB / 0.5785 GB, free: 1.473 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.063e-05/0.388, allocations: 11.92 kB / 0.5785 GB, free: 1.461 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.038e-05/0.388, allocations: 4 kB / 0.5785 GB, free: 1.457 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001776/0.3882, allocations: 179.1 kB / 0.5787 GB, free: 1.285 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3882, allocations: 0 / 0.5787 GB, free: 1.285 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006834/0.3889, allocations: 143.6 kB / 0.5788 GB, free: 1.145 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 (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.0004406/0.3893, allocations: 171 kB / 0.579 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006176/0.3899, allocations: 197.8 kB / 0.5792 GB, free: 0.7773 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.3899, allocations: 0 / 0.5792 GB, free: 0.7773 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002881/0.3902, allocations: 84.2 kB / 0.5793 GB, free: 0.6953 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003941/0.3906, allocations: 20.66 kB / 0.5793 GB, free: 0.6758 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009851/0.3916, allocations: 0.498 MB / 0.5798 GB, free: 152 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001877/0.3918, allocations: 160.9 kB / 0.5799 GB, free: 15.96 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 9.117e-05/0.3919, allocations: 29.83 kB / 0.5799 GB, free: 15.94 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.67e-05/0.3919, allocations: 16.5 kB / 0.58 GB, free: 15.92 MB / 430.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3919, allocations: 0 / 0.58 GB, free: 15.92 MB / 430.1 MB Notification: Performance of Templates: time 0.01164/0.4036, allocations: 5.448 MB / 0.5853 GB, free: 10.54 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_roundTube_KC/kc_roundTube_KC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.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.726781219244003]