Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.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.001398/0.001398, allocations: 80.41 kB / 22.21 MB, free: 2.289 MB / 18.57 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.001745/0.001745, allocations: 169.8 kB / 25.61 MB, free: 8.902 MB / 18.57 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 0.9613/0.9613, allocations: 177.1 MB / 206 MB, free: 4.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.171/0.171, allocations: 34.25 MB / 296.8 MB, free: 13.93 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|Nu|m_flow.[0-9,]+.|kc_1|kc_4|Re_1|Re_4|input_Nu.y",fileNamePrefix="ModelicaTest_4.1.0_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.[0-9,]+.|kc_1|kc_4|Re_1|Re_4|input_Nu.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 379.3 MB, free: 23.37 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.26e-05/2.407e-05, allocations: 3.734 kB / 379.3 MB, free: 23.37 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC): time 0.002561/0.002585, allocations: 2.663 MB / 382 MB, free: 20.69 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001441/0.004026, allocations: 1.417 MB / 383.4 MB, free: 19.26 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001307/0.004157, allocations: 4 kB / 383.4 MB, free: 19.26 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000263/0.00442, allocations: 111.1 kB / 383.5 MB, free: 19.15 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003069/0.004727, allocations: 142.8 kB / 383.7 MB, free: 19.01 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004213/0.005148, allocations: 278.9 kB / 383.9 MB, free: 18.73 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001702/0.005318, allocations: 293.8 kB / 384.2 MB, free: 18.45 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.657e-05/0.005365, allocations: 20.92 kB / 384.2 MB, free: 18.43 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.884e-05/0.005464, allocations: 127.5 kB / 384.4 MB, free: 18.3 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001103/0.005574, allocations: 95.59 kB / 384.5 MB, free: 18.21 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.764e-05/0.005592, allocations: 4 kB / 384.5 MB, free: 18.2 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005343/0.006126, allocations: 459.2 kB / 384.9 MB, free: 17.75 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.954e-05/0.006175, allocations: 43.64 kB / 385 MB, free: 17.71 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 5.862e-05/0.006234, allocations: 79.61 kB / 385 MB, free: 17.63 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004061/0.00664, allocations: 0.5293 MB / 385.6 MB, free: 17.1 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.006643, allocations: 4 kB / 385.6 MB, free: 17.1 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.006644, allocations: 0 / 385.6 MB, free: 17.1 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.208e-06/0.006649, allocations: 0 / 385.6 MB, free: 17.1 MB / 314.7 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.0004253/0.007074, allocations: 0.6634 MB / 386.2 MB, free: 16.4 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.98e-05/0.007104, allocations: 8.031 kB / 386.2 MB, free: 16.39 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.831e-05/0.007172, allocations: 72.66 kB / 386.3 MB, free: 16.32 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001324/0.007305, allocations: 203.9 kB / 386.5 MB, free: 16.09 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.587e-05/0.00732, allocations: 25.38 kB / 386.5 MB, free: 16.07 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.043e-05/0.007341, allocations: 36.38 kB / 386.6 MB, free: 16.04 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002833/0.007624, allocations: 0.609 MB / 387.2 MB, free: 15.24 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.007638, allocations: 11.88 kB / 387.2 MB, free: 15.23 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.768e-05/0.007655, allocations: 19.98 kB / 387.2 MB, free: 15.21 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.407e-06/0.007665, allocations: 8 kB / 387.2 MB, free: 15.2 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001192/0.007784, allocations: 178.9 kB / 387.4 MB, free: 15.03 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001198/0.008982, allocations: 5.705 MB / 393.1 MB, free: 9.094 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.789e-05/0.00908, allocations: 70.97 kB / 393.2 MB, free: 9.012 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.492e-05/0.009105, allocations: 15.69 kB / 393.2 MB, free: 8.992 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.577e-05/0.009121, allocations: 0 / 393.2 MB, free: 8.992 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.45e-05/0.009135, allocations: 37.39 kB / 393.2 MB, free: 8.945 MB / 314.7 MB Notification: Performance of pre-optimization done (n=7): time 9.32e-07/0.009136, allocations: 0 / 393.2 MB, free: 8.945 MB / 314.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001736/0.00931, allocations: 105.5 kB / 393.3 MB, free: 8.836 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.823e-05/0.009328, allocations: 55.41 kB / 393.4 MB, free: 8.77 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001217/0.00945, allocations: 349.9 kB / 393.7 MB, free: 8.41 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.117e-06/0.009459, allocations: 29.7 kB / 393.8 MB, free: 8.375 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.693e-05/0.009536, allocations: 334.3 kB / 394.1 MB, free: 8.043 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.407e-05/0.00955, allocations: 27.78 kB / 394.1 MB, free: 8.016 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.758e-05/0.009608, allocations: 83.59 kB / 394.2 MB, free: 7.922 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.855e-05/0.009656, allocations: 0.5118 MB / 394.7 MB, free: 7.398 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.081e-05/0.009687, allocations: 20.64 kB / 394.7 MB, free: 7.379 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.04e-05/0.009777, allocations: 327.7 kB / 395 MB, free: 6.918 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001646/0.009942, allocations: 401.5 kB / 395.4 MB, free: 6.387 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.009945, allocations: 0 / 395.4 MB, free: 6.387 MB / 314.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0002334/0.01018, allocations: 284.8 kB / 395.7 MB, free: 6.102 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.01019, allocations: 11.94 kB / 395.7 MB, free: 6.09 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.0102, allocations: 8.844 kB / 395.7 MB, free: 6.082 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.01021, allocations: 8 kB / 395.7 MB, free: 6.074 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002749/0.01049, allocations: 111.8 kB / 395.8 MB, free: 5.965 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003235/0.01081, allocations: 1.829 MB / 397.7 MB, free: 4.078 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001279/0.01094, allocations: 47.66 kB / 397.7 MB, free: 4.031 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.408e-05/0.01095, allocations: 20 kB / 397.7 MB, free: 4.012 MB / 314.7 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_2.geometry,m_flow_IN_con_3.geometry,m_flow_IN_con_1.geometry,m_flow_IN_con_4.geometry,m_flow_IN_con_4.N) * 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 7.342e-05/0.01103, allocations: 183.5 kB / 397.9 MB, free: 3.824 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.868e-05/0.01105, allocations: 23.86 kB / 397.9 MB, free: 3.801 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001535/0.01121, allocations: 119.6 kB / 398.1 MB, free: 3.68 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.01121, allocations: 0 / 398.1 MB, free: 3.68 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-06/0.01121, allocations: 3.938 kB / 398.1 MB, free: 3.676 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.01121, allocations: 0 / 398.1 MB, free: 3.676 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001382/0.01135, allocations: 181.1 kB / 398.2 MB, free: 3.473 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.01135, allocations: 8 kB / 398.2 MB, free: 3.465 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001351/0.01149, allocations: 55.91 kB / 398.3 MB, free: 3.41 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.01149, allocations: 0 / 398.3 MB, free: 3.41 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-06/0.0115, allocations: 4 kB / 398.3 MB, free: 3.406 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002603/0.01176, allocations: 1.814 MB / 400.1 MB, free: 1.535 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.01176, allocations: 0 / 400.1 MB, free: 1.535 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000106/0.01187, allocations: 235.7 kB / 400.4 MB, free: 1.285 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.907e-05/0.01189, allocations: 19.81 kB / 400.4 MB, free: 1.266 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.831e-05/0.0119, allocations: 12.11 kB / 400.4 MB, free: 1.254 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.339e-05/0.01197, allocations: 4 kB / 400.4 MB, free: 1.25 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.202e-05/0.012, allocations: 7.984 kB / 400.4 MB, free: 1.242 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.472e-06/0.01201, allocations: 8 kB / 400.4 MB, free: 1.234 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.478e-05/0.01206, allocations: 206.9 kB / 400.6 MB, free: 1.031 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01206, allocations: 0 / 400.6 MB, free: 1.031 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003733/0.01243, allocations: 131.7 kB / 400.7 MB, free: 0.9023 MB / 314.7 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.0002544/0.01269, allocations: 191.9 kB / 400.9 MB, free: 0.7031 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002309/0.01292, allocations: 171.8 kB / 401.1 MB, free: 0.5312 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.01292, allocations: 1.75 kB / 401.1 MB, free: 0.5312 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 9.196e-05/0.01301, allocations: 63.59 kB / 401.2 MB, free: 476 kB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002094/0.01322, allocations: 27.92 kB / 401.2 MB, free: 452 kB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006611/0.01388, allocations: 0.4915 MB / 401.7 MB, free: 15.92 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.48e-05/0.01393, allocations: 84.31 kB / 401.8 MB, free: 15.82 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.034e-05/0.01399, allocations: 25.88 kB / 401.8 MB, free: 15.8 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.023e-05/0.01406, allocations: 98.12 kB / 401.9 MB, free: 15.7 MB / 330.7 MB Notification: Performance of SimCode: time 8.21e-07/0.01406, allocations: 0 / 401.9 MB, free: 15.7 MB / 330.7 MB Notification: Performance of Templates: time 0.009516/0.02358, allocations: 6.37 MB / 408.2 MB, free: 9.398 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.27396072819829]