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.001673/0.001673, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001703/0.001703, allocations: 205.9 kB / 23.72 MB, free: 4.391 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.519/1.519, allocations: 230.5 MB / 257.4 MB, free: 7.77 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.2452/0.2452, allocations: 46.94 MB / 360.8 MB, free: 3.926 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.002522/0.002522, allocations: 83.81 kB / 0.4967 GB, free: 6.992 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3161/0.3187, allocations: 66.09 MB / 0.5612 GB, free: 3.965 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC): time 0.003952/0.3226, allocations: 2.503 MB / 0.5637 GB, free: 1.445 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002356/0.325, allocations: 1.355 MB / 0.565 GB, free: 92 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001135/0.3251, allocations: 0 / 0.565 GB, free: 92 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003451/0.3254, allocations: 102 kB / 0.5651 GB, free: 15.99 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003945/0.3258, allocations: 146.8 kB / 0.5652 GB, free: 15.85 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006156/0.3264, allocations: 267.1 kB / 0.5655 GB, free: 15.59 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003133/0.3267, allocations: 282.1 kB / 0.5658 GB, free: 15.31 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.566e-05/0.3268, allocations: 16.94 kB / 0.5658 GB, free: 15.29 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001215/0.3269, allocations: 99.34 kB / 0.5659 GB, free: 15.19 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000186/0.3271, allocations: 123.2 kB / 0.566 GB, free: 15.07 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.76e-05/0.3271, allocations: 8 kB / 0.566 GB, free: 15.06 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000825/0.328, allocations: 447.4 kB / 0.5664 GB, free: 14.62 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.58e-05/0.328, allocations: 43.66 kB / 0.5665 GB, free: 14.58 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001122/0.3282, allocations: 103.2 kB / 0.5666 GB, free: 14.48 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006795/0.3288, allocations: 0.5289 MB / 0.5671 GB, free: 13.95 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.3288, allocations: 0 / 0.5671 GB, free: 13.95 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3288, allocations: 0 / 0.5671 GB, free: 13.95 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.3288, allocations: 0 / 0.5671 GB, free: 13.95 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.0008303/0.3297, allocations: 0.5674 MB / 0.5676 GB, free: 13.35 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.281e-05/0.3297, allocations: 8.031 kB / 0.5676 GB, free: 13.34 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.049e-05/0.3298, allocations: 40.7 kB / 0.5677 GB, free: 13.3 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000281/0.3301, allocations: 194 kB / 0.5679 GB, free: 13.09 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.747e-05/0.3301, allocations: 29.38 kB / 0.5679 GB, free: 13.06 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.756e-05/0.3301, allocations: 40.12 kB / 0.5679 GB, free: 13.02 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007728/0.3309, allocations: 0.584 MB / 0.5685 GB, free: 12.3 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.022e-05/0.3309, allocations: 7.938 kB / 0.5685 GB, free: 12.29 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.987e-05/0.331, allocations: 16 kB / 0.5685 GB, free: 12.28 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.255e-05/0.331, allocations: 12 kB / 0.5685 GB, free: 12.27 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005463/0.3315, allocations: 341 kB / 0.5689 GB, free: 11.93 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002886/0.3344, allocations: 3.899 MB / 0.5727 GB, free: 7.852 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002741/0.3347, allocations: 90.47 kB / 0.5727 GB, free: 7.754 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001249/0.3348, allocations: 40.95 kB / 0.5728 GB, free: 7.711 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.74e-05/0.3348, allocations: 0 / 0.5728 GB, free: 7.711 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.42e-05/0.3349, allocations: 38.5 kB / 0.5728 GB, free: 7.664 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 9.12e-07/0.3349, allocations: 3.938 kB / 0.5728 GB, free: 7.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005178/0.3354, allocations: 157.5 kB / 0.573 GB, free: 7.5 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.2e-05/0.3354, allocations: 51.41 kB / 0.573 GB, free: 7.438 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002771/0.3357, allocations: 292.2 kB / 0.5733 GB, free: 7.145 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.291e-05/0.3357, allocations: 29.7 kB / 0.5733 GB, free: 7.109 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001869/0.3359, allocations: 267.7 kB / 0.5736 GB, free: 6.844 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.82e-05/0.3359, allocations: 27.78 kB / 0.5736 GB, free: 6.816 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001037/0.336, allocations: 77.92 kB / 0.5737 GB, free: 6.73 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001523/0.3362, allocations: 330.8 kB / 0.574 GB, free: 6.398 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001723/0.3364, allocations: 56.62 kB / 0.5741 GB, free: 6.344 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003113/0.3367, allocations: 266.4 kB / 0.5743 GB, free: 5.98 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005034/0.3372, allocations: 355.8 kB / 0.5747 GB, free: 5.531 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.466e-06/0.3372, allocations: 7.938 kB / 0.5747 GB, free: 5.523 MB / 414.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005983/0.3378, allocations: 337.4 kB / 0.575 GB, free: 5.188 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.3378, allocations: 8 kB / 0.575 GB, free: 5.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/0.3378, allocations: 8 kB / 0.575 GB, free: 5.172 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.436e-05/0.3378, allocations: 11.94 kB / 0.575 GB, free: 5.16 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000461/0.3383, allocations: 108.5 kB / 0.5751 GB, free: 5.055 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008527/0.3392, allocations: 1.223 MB / 0.5763 GB, free: 3.785 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002447/0.3394, allocations: 47.67 kB / 0.5764 GB, free: 3.738 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.469e-05/0.3394, allocations: 23.98 kB / 0.5764 GB, free: 3.715 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.0001667/0.3396, allocations: 149.6 kB / 0.5765 GB, free: 3.559 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.446e-05/0.3397, allocations: 35.75 kB / 0.5766 GB, free: 3.523 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004273/0.3401, allocations: 151.6 kB / 0.5767 GB, free: 3.367 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.3401, allocations: 4 kB / 0.5767 GB, free: 3.363 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.3401, allocations: 0 / 0.5767 GB, free: 3.363 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.3401, allocations: 0 / 0.5767 GB, free: 3.363 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002918/0.3404, allocations: 213.2 kB / 0.5769 GB, free: 3.125 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.3404, allocations: 4 kB / 0.5769 GB, free: 3.121 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002782/0.3407, allocations: 59.97 kB / 0.577 GB, free: 3.062 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.3407, allocations: 3.938 kB / 0.577 GB, free: 3.059 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.331e-05/0.3407, allocations: 7.875 kB / 0.577 GB, free: 3.051 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007566/0.3414, allocations: 1.199 MB / 0.5781 GB, free: 1.805 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.079e-06/0.3414, allocations: 3.938 kB / 0.5782 GB, free: 1.801 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003743/0.3418, allocations: 231.5 kB / 0.5784 GB, free: 1.559 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.743e-05/0.3419, allocations: 19.84 kB / 0.5784 GB, free: 1.539 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.058e-05/0.3419, allocations: 4 kB / 0.5784 GB, free: 1.535 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000142/0.342, allocations: 7.984 kB / 0.5784 GB, free: 1.527 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.391e-05/0.3421, allocations: 15.86 kB / 0.5784 GB, free: 1.512 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.005e-05/0.3421, allocations: 4 kB / 0.5784 GB, free: 1.508 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001659/0.3423, allocations: 179.1 kB / 0.5786 GB, free: 1.336 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3423, allocations: 0 / 0.5786 GB, free: 1.336 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005641/0.3428, allocations: 135.6 kB / 0.5787 GB, free: 1.203 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.0003796/0.3432, allocations: 175 kB / 0.5789 GB, free: 1.023 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005891/0.3438, allocations: 203.9 kB / 0.5791 GB, free: 0.8242 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3438, allocations: 1.688 kB / 0.5791 GB, free: 0.8242 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002896/0.3441, allocations: 83.88 kB / 0.5792 GB, free: 0.7422 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003266/0.3444, allocations: 16.66 kB / 0.5792 GB, free: 0.7266 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008444/0.3453, allocations: 495.7 kB / 0.5797 GB, free: 220 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001574/0.3454, allocations: 164.8 kB / 0.5798 GB, free: 32 kB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.454e-05/0.3455, allocations: 29.94 kB / 0.5798 GB, free: 4 kB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.914e-05/0.3456, allocations: 19.38 kB / 0.5799 GB, free: 15.98 MB / 430.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3456, allocations: 0 / 0.5799 GB, free: 15.98 MB / 430.1 MB Notification: Performance of Templates: time 0.0111/0.3567, allocations: 5.809 MB / 0.5855 GB, free: 10.24 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.651215478777885]