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.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.001777/0.001777, allocations: 107.6 kB / 21.18 MB, free: 0.5273 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.002269/0.002269, allocations: 205.1 kB / 24.48 MB, free: 3.695 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.453/1.453, allocations: 230.6 MB / 258.2 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] 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.2261/0.2261, allocations: 46.96 MB / 361.6 MB, free: 4.047 MB / 286.1 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,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.1.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.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002014/0.002014, allocations: 71.83 kB / 0.4974 GB, free: 7.195 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3304/0.3324, allocations: 66.04 MB / 0.5618 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube): time 0.003592/0.336, allocations: 2.031 MB / 0.5638 GB, free: 2.145 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002817/0.3388, allocations: 1.541 MB / 0.5653 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001279/0.339, allocations: 0 / 0.5653 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000359/0.3393, allocations: 75.47 kB / 0.5654 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000183/0.3395, allocations: 59.44 kB / 0.5655 GB, free: 480 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009585/0.3405, allocations: 378 kB / 0.5658 GB, free: 108 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000232/0.3407, allocations: 147 kB / 0.566 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.711e-05/0.3408, allocations: 8.594 kB / 0.566 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.864e-05/0.3409, allocations: 63.66 kB / 0.566 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001198/0.341, allocations: 55.59 kB / 0.5661 GB, free: 15.83 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.849e-05/0.341, allocations: 4 kB / 0.5661 GB, free: 15.83 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001046/0.342, allocations: 0.5539 MB / 0.5666 GB, free: 15.27 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.511e-05/0.3421, allocations: 23.86 kB / 0.5667 GB, free: 15.25 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.047e-05/0.3422, allocations: 63.48 kB / 0.5667 GB, free: 15.19 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007581/0.3429, allocations: 0.5216 MB / 0.5672 GB, free: 14.66 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3429, allocations: 4 kB / 0.5672 GB, free: 14.66 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.343, allocations: 0 / 0.5672 GB, free: 14.66 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.021e-06/0.343, allocations: 4 kB / 0.5672 GB, free: 14.66 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.000762/0.3437, allocations: 449.4 kB / 0.5677 GB, free: 14.18 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.3438, allocations: 12.03 kB / 0.5677 GB, free: 14.17 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.482e-05/0.3438, allocations: 24.78 kB / 0.5677 GB, free: 14.15 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002081/0.344, allocations: 150.8 kB / 0.5678 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.634e-05/0.3441, allocations: 20.38 kB / 0.5679 GB, free: 13.96 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.789e-05/0.3441, allocations: 20 kB / 0.5679 GB, free: 13.94 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004724/0.3446, allocations: 271.5 kB / 0.5681 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.3446, allocations: 0 / 0.5681 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.008e-05/0.3446, allocations: 12 kB / 0.5681 GB, free: 13.64 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/0.3446, allocations: 8 kB / 0.5682 GB, free: 13.64 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003313/0.3449, allocations: 160.2 kB / 0.5683 GB, free: 13.48 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001106/0.346, allocations: 0.8192 MB / 0.5691 GB, free: 12.61 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002066/0.3462, allocations: 58.55 kB / 0.5692 GB, free: 12.54 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001249/0.3464, allocations: 32.94 kB / 0.5692 GB, free: 12.51 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.094e-05/0.3464, allocations: 4 kB / 0.5692 GB, free: 12.5 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.207e-05/0.3464, allocations: 30.56 kB / 0.5692 GB, free: 12.46 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.212e-06/0.3464, allocations: 0 / 0.5692 GB, free: 12.46 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004789/0.3469, allocations: 133.5 kB / 0.5694 GB, free: 12.33 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.996e-05/0.347, allocations: 51.41 kB / 0.5694 GB, free: 12.27 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000214/0.3472, allocations: 223.6 kB / 0.5696 GB, free: 12.04 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.063e-05/0.3472, allocations: 25.7 kB / 0.5696 GB, free: 12.01 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001365/0.3473, allocations: 191.7 kB / 0.5698 GB, free: 11.82 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.405e-05/0.3474, allocations: 31.78 kB / 0.5699 GB, free: 11.79 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.918e-05/0.3474, allocations: 53.66 kB / 0.5699 GB, free: 11.73 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001544/0.3476, allocations: 326.8 kB / 0.5702 GB, free: 11.4 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001434/0.3477, allocations: 40.2 kB / 0.5703 GB, free: 11.36 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002498/0.348, allocations: 188.1 kB / 0.5704 GB, free: 11.1 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003996/0.3484, allocations: 263.4 kB / 0.5707 GB, free: 10.77 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/0.3484, allocations: 0 / 0.5707 GB, free: 10.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005221/0.3489, allocations: 245.1 kB / 0.5709 GB, free: 10.53 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.3489, allocations: 8.688 kB / 0.5709 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.149e-05/0.349, allocations: 16 kB / 0.5709 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.226e-05/0.349, allocations: 12 kB / 0.571 GB, free: 10.49 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001723/0.3492, allocations: 47.91 kB / 0.571 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.452e-05/0.3492, allocations: 11.88 kB / 0.571 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001462/0.3493, allocations: 31.84 kB / 0.571 GB, free: 10.4 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.385e-05/0.3493, allocations: 15.98 kB / 0.5711 GB, free: 10.39 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.0001281/0.3495, allocations: 137.7 kB / 0.5712 GB, free: 10.24 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.654e-05/0.3495, allocations: 12 kB / 0.5712 GB, free: 10.23 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004648/0.35, allocations: 146.8 kB / 0.5713 GB, free: 10.08 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.35, allocations: 0 / 0.5713 GB, free: 10.08 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.136e-06/0.35, allocations: 3.938 kB / 0.5713 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.35, allocations: 4 kB / 0.5714 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002276/0.3502, allocations: 161.2 kB / 0.5715 GB, free: 9.883 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.822e-05/0.3502, allocations: 12 kB / 0.5715 GB, free: 9.871 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.551e-05/0.3503, allocations: 15.92 kB / 0.5715 GB, free: 9.855 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.3503, allocations: 0 / 0.5715 GB, free: 9.855 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.33e-05/0.3503, allocations: 4 kB / 0.5715 GB, free: 9.852 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.3503, allocations: 0 / 0.5715 GB, free: 9.852 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3503, allocations: 4 kB / 0.5715 GB, free: 9.848 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003922/0.3507, allocations: 195.4 kB / 0.5717 GB, free: 9.641 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.129e-05/0.3507, allocations: 27.72 kB / 0.5718 GB, free: 9.613 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.408e-05/0.3508, allocations: 4 kB / 0.5718 GB, free: 9.609 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.625e-05/0.3508, allocations: 4 kB / 0.5718 GB, free: 9.605 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.73e-05/0.3509, allocations: 7.984 kB / 0.5718 GB, free: 9.598 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.172e-05/0.3509, allocations: 7.938 kB / 0.5718 GB, free: 9.59 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001226/0.351, allocations: 135.2 kB / 0.5719 GB, free: 9.457 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.351, allocations: 0 / 0.5719 GB, free: 9.457 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005105/0.3515, allocations: 115.7 kB / 0.572 GB, free: 9.344 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.0004568/0.352, allocations: 196.6 kB / 0.5722 GB, free: 9.145 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004962/0.3525, allocations: 187.6 kB / 0.5724 GB, free: 8.949 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3525, allocations: 0 / 0.5724 GB, free: 8.949 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002178/0.3527, allocations: 108.2 kB / 0.5725 GB, free: 8.832 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003401/0.3531, allocations: 12 kB / 0.5725 GB, free: 8.82 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007314/0.3538, allocations: 389.8 kB / 0.5729 GB, free: 8.402 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001547/0.3539, allocations: 121.2 kB / 0.573 GB, free: 8.266 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.278e-05/0.354, allocations: 15.44 kB / 0.573 GB, free: 8.25 MB / 414.1 MB Notification: Performance of SimCode: time 4e-07/0.354, allocations: 0 / 0.573 GB, free: 8.25 MB / 414.1 MB Notification: Performance of Templates: time 0.007865/0.3618, allocations: 4.966 MB / 0.5778 GB, free: 3.281 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_roundTube/kc_roundTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 8.160949010023614]