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_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.001754/0.001754, allocations: 99.66 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.002184/0.002184, allocations: 213.2 kB / 24.48 MB, free: 3.84 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.478/1.478, allocations: 230.6 MB / 258.2 MB, free: 7.816 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.2189/0.2189, allocations: 44.95 MB / 359.6 MB, free: 6.086 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_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_4.0.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.1.|m_flow.2.|m_flow.3.|m_flow.4.|kc_1|kc_4|Re_1|Re_4|input_Nu.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC") [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.002144/0.002144, allocations: 74.22 kB / 0.4943 GB, free: 10 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3045/0.3066, allocations: 65.46 MB / 0.5582 GB, free: 7.488 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC): time 0.004223/0.3109, allocations: 2.507 MB / 0.5607 GB, free: 4.961 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002531/0.3134, allocations: 1.35 MB / 0.562 GB, free: 3.609 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001528/0.3136, allocations: 3.938 kB / 0.562 GB, free: 3.605 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003481/0.3139, allocations: 98.92 kB / 0.5621 GB, free: 3.512 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004108/0.3143, allocations: 146.9 kB / 0.5622 GB, free: 3.367 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006323/0.3149, allocations: 267 kB / 0.5625 GB, free: 3.105 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003199/0.3153, allocations: 274.1 kB / 0.5628 GB, free: 2.836 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.109e-05/0.3153, allocations: 12.94 kB / 0.5628 GB, free: 2.82 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001223/0.3155, allocations: 111.3 kB / 0.5629 GB, free: 2.711 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001985/0.3157, allocations: 119.2 kB / 0.563 GB, free: 2.594 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.564e-05/0.3157, allocations: 8 kB / 0.563 GB, free: 2.586 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008475/0.3165, allocations: 451.4 kB / 0.5634 GB, free: 2.145 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.032e-05/0.3166, allocations: 43.66 kB / 0.5635 GB, free: 2.102 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001141/0.3167, allocations: 103.2 kB / 0.5636 GB, free: 2 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000715/0.3174, allocations: 0.5211 MB / 0.5641 GB, free: 1.477 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.3174, allocations: 3.938 kB / 0.5641 GB, free: 1.473 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.3174, allocations: 4 kB / 0.5641 GB, free: 1.469 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.743e-06/0.3175, allocations: 0 / 0.5641 GB, free: 1.469 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.0008599/0.3183, allocations: 0.5674 MB / 0.5646 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.3183, allocations: 8.031 kB / 0.5646 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.298e-05/0.3184, allocations: 40.7 kB / 0.5647 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002935/0.3187, allocations: 198 kB / 0.5649 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.224e-05/0.3187, allocations: 33.38 kB / 0.5649 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.42e-05/0.3188, allocations: 36.12 kB / 0.5649 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008032/0.3196, allocations: 0.5879 MB / 0.5655 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.89e-05/0.3196, allocations: 11.94 kB / 0.5655 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.176e-05/0.3196, allocations: 12 kB / 0.5655 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.459e-05/0.3197, allocations: 12 kB / 0.5655 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005786/0.3202, allocations: 345 kB / 0.5659 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003024/0.3233, allocations: 3.895 MB / 0.5697 GB, free: 11.37 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002846/0.3235, allocations: 94.47 kB / 0.5698 GB, free: 11.27 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001265/0.3237, allocations: 36.95 kB / 0.5698 GB, free: 11.23 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.625e-05/0.3237, allocations: 0 / 0.5698 GB, free: 11.23 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.132e-05/0.3237, allocations: 30.56 kB / 0.5698 GB, free: 11.19 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.072e-06/0.3237, allocations: 0 / 0.5698 GB, free: 11.19 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.000534/0.3243, allocations: 157.4 kB / 0.57 GB, free: 11.03 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.469e-05/0.3243, allocations: 59.41 kB / 0.57 GB, free: 10.96 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002964/0.3246, allocations: 296.2 kB / 0.5703 GB, free: 10.66 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.652e-05/0.3246, allocations: 25.7 kB / 0.5703 GB, free: 10.63 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001897/0.3248, allocations: 263.7 kB / 0.5706 GB, free: 10.37 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.361e-05/0.3249, allocations: 39.77 kB / 0.5706 GB, free: 10.33 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000103/0.325, allocations: 73.92 kB / 0.5707 GB, free: 10.25 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000178/0.3251, allocations: 330.8 kB / 0.571 GB, free: 9.914 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001676/0.3253, allocations: 56.62 kB / 0.5711 GB, free: 9.859 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003448/0.3256, allocations: 266.3 kB / 0.5713 GB, free: 9.496 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005456/0.3262, allocations: 355.9 kB / 0.5717 GB, free: 9.047 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.58e-06/0.3262, allocations: 3.938 kB / 0.5717 GB, free: 9.043 MB / 414.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006481/0.3268, allocations: 345.6 kB / 0.572 GB, free: 8.699 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.3269, allocations: 8 kB / 0.572 GB, free: 8.691 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.208e-05/0.3269, allocations: 8 kB / 0.572 GB, free: 8.684 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.105e-05/0.3269, allocations: 8 kB / 0.572 GB, free: 8.676 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004825/0.3274, allocations: 111.8 kB / 0.5721 GB, free: 8.566 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008793/0.3283, allocations: 1.223 MB / 0.5733 GB, free: 7.297 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002539/0.3285, allocations: 47.67 kB / 0.5734 GB, free: 7.25 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.509e-05/0.3285, allocations: 23.94 kB / 0.5734 GB, free: 7.227 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.0001706/0.3287, allocations: 149.7 kB / 0.5735 GB, free: 7.07 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.337e-05/0.3288, allocations: 31.75 kB / 0.5736 GB, free: 7.039 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004669/0.3292, allocations: 159.4 kB / 0.5737 GB, free: 6.875 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.3292, allocations: 0 / 0.5737 GB, free: 6.875 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.3292, allocations: 7.938 kB / 0.5737 GB, free: 6.867 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.3292, allocations: 0 / 0.5737 GB, free: 6.867 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002944/0.3295, allocations: 209.2 kB / 0.5739 GB, free: 6.633 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.3295, allocations: 0 / 0.5739 GB, free: 6.633 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002863/0.3298, allocations: 55.97 kB / 0.574 GB, free: 6.578 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.3298, allocations: 4 kB / 0.574 GB, free: 6.574 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.392e-05/0.3298, allocations: 3.938 kB / 0.574 GB, free: 6.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008131/0.3307, allocations: 1.203 MB / 0.5752 GB, free: 5.32 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/0.3307, allocations: 7.938 kB / 0.5752 GB, free: 5.312 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003826/0.331, allocations: 227.3 kB / 0.5754 GB, free: 5.074 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.905e-05/0.3311, allocations: 15.86 kB / 0.5754 GB, free: 5.059 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.339e-05/0.3311, allocations: 8.188 kB / 0.5754 GB, free: 5.051 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001511/0.3313, allocations: 7.984 kB / 0.5754 GB, free: 5.043 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.043e-05/0.3313, allocations: 11.92 kB / 0.5754 GB, free: 5.031 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.016e-05/0.3313, allocations: 4 kB / 0.5754 GB, free: 5.027 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001751/0.3315, allocations: 179.1 kB / 0.5756 GB, free: 4.855 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3315, allocations: 0 / 0.5756 GB, free: 4.855 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005697/0.3321, allocations: 135.6 kB / 0.5757 GB, free: 4.723 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.0003862/0.3325, allocations: 180.6 kB / 0.5759 GB, free: 4.539 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006272/0.3331, allocations: 208.6 kB / 0.5761 GB, free: 4.336 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3331, allocations: 0 / 0.5761 GB, free: 4.336 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002871/0.3334, allocations: 79.89 kB / 0.5762 GB, free: 4.258 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003401/0.3337, allocations: 21.47 kB / 0.5762 GB, free: 4.238 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009587/0.3347, allocations: 0.5179 MB / 0.5767 GB, free: 3.688 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001719/0.3348, allocations: 160.8 kB / 0.5769 GB, free: 3.508 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.528e-05/0.3349, allocations: 19.44 kB / 0.5769 GB, free: 3.488 MB / 414.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3349, allocations: 0 / 0.5769 GB, free: 3.488 MB / 414.1 MB Notification: Performance of Templates: time 0.009614/0.3445, allocations: 6.383 MB / 0.5831 GB, free: 13.11 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_roundTube_KC/kc_roundTube_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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: 8.09635978192091]