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_flatTube_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.001266/0.001266, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.001428/0.001428, allocations: 208.7 kB / 24.49 MB, free: 4.152 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.407/1.407, allocations: 230.6 MB / 258.3 MB, free: 8.031 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.2222/0.2222, allocations: 46.95 MB / 361.6 MB, free: 4.285 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_flatTube_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|h_2|l_2|s_2|t_2|Nu|m_flow.1.|m_flow.2.|kc_1|kc_2|Re_1|Re_2|input_Nu.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|h_2|l_2|s_2|t_2|Nu|m_flow.1.|m_flow.2.|kc_1|kc_2|Re_1|Re_2|input_Nu.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001992/0.001992, allocations: 67.91 kB / 0.4974 GB, free: 7.387 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3051/0.3071, allocations: 66.04 MB / 0.5619 GB, free: 4.445 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.003402/0.3105, allocations: 2.218 MB / 0.5641 GB, free: 2.211 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001592/0.3121, allocations: 1.109 MB / 0.5652 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.267e-05/0.3121, allocations: 7.875 kB / 0.5652 GB, free: 1.094 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000289/0.3124, allocations: 83.44 kB / 0.5653 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002721/0.3127, allocations: 91.33 kB / 0.5653 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002997/0.313, allocations: 123.5 kB / 0.5655 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002057/0.3132, allocations: 178.9 kB / 0.5656 GB, free: 0.625 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.196e-05/0.3133, allocations: 12.59 kB / 0.5656 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001786/0.3134, allocations: 79.52 kB / 0.5657 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001499/0.3136, allocations: 87.5 kB / 0.5658 GB, free: 456 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.809e-05/0.3136, allocations: 8 kB / 0.5658 GB, free: 448 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004063/0.314, allocations: 263.6 kB / 0.5661 GB, free: 184 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.504e-05/0.3141, allocations: 31.78 kB / 0.5661 GB, free: 152 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.576e-05/0.3142, allocations: 79.36 kB / 0.5662 GB, free: 72 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004401/0.3146, allocations: 341.2 kB / 0.5665 GB, free: 15.74 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.3146, allocations: 0 / 0.5665 GB, free: 15.74 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.3146, allocations: 0 / 0.5665 GB, free: 15.74 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.001e-05/0.3146, allocations: 0 / 0.5665 GB, free: 15.74 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0006083/0.3152, allocations: 437.5 kB / 0.5669 GB, free: 15.28 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.995e-05/0.3153, allocations: 12.03 kB / 0.5669 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.029e-05/0.3153, allocations: 24.8 kB / 0.5669 GB, free: 15.24 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001991/0.3155, allocations: 158.2 kB / 0.5671 GB, free: 15.06 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.253e-05/0.3155, allocations: 16.81 kB / 0.5671 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.359e-05/0.3156, allocations: 24.12 kB / 0.5671 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004202/0.316, allocations: 227.3 kB / 0.5673 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.316, allocations: 0 / 0.5673 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.964e-05/0.316, allocations: 15.92 kB / 0.5674 GB, free: 14.78 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.258e-06/0.316, allocations: 11.94 kB / 0.5674 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004443/0.3165, allocations: 253.6 kB / 0.5676 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009446/0.3174, allocations: 0.5966 MB / 0.5682 GB, free: 13.88 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002613/0.3177, allocations: 94.62 kB / 0.5683 GB, free: 13.78 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001232/0.3178, allocations: 44.86 kB / 0.5683 GB, free: 13.73 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.117e-05/0.3178, allocations: 0 / 0.5683 GB, free: 13.73 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.198e-05/0.3179, allocations: 38.56 kB / 0.5684 GB, free: 13.69 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.031e-06/0.3179, allocations: 0 / 0.5684 GB, free: 13.69 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004909/0.3183, allocations: 165.7 kB / 0.5685 GB, free: 13.52 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.157e-05/0.3184, allocations: 59.5 kB / 0.5686 GB, free: 13.45 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002592/0.3186, allocations: 268.1 kB / 0.5688 GB, free: 13.18 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.022e-05/0.3187, allocations: 29.7 kB / 0.5689 GB, free: 13.14 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001338/0.3188, allocations: 179.3 kB / 0.569 GB, free: 12.96 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.945e-05/0.3188, allocations: 31.73 kB / 0.5691 GB, free: 12.93 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.078e-05/0.3189, allocations: 49.66 kB / 0.5691 GB, free: 12.88 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001506/0.3191, allocations: 338.8 kB / 0.5694 GB, free: 12.54 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001435/0.3192, allocations: 51.97 kB / 0.5695 GB, free: 12.49 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002192/0.3194, allocations: 144.7 kB / 0.5696 GB, free: 12.3 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003578/0.3198, allocations: 204.6 kB / 0.5698 GB, free: 12.05 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.3198, allocations: 8 kB / 0.5698 GB, free: 12.05 MB / 414.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004717/0.3203, allocations: 237.1 kB / 0.5701 GB, free: 11.81 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.3203, allocations: 4.438 kB / 0.5701 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.3203, allocations: 8 kB / 0.5701 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.3203, allocations: 8 kB / 0.5701 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003777/0.3207, allocations: 87.89 kB / 0.5702 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007887/0.3215, allocations: 1.211 MB / 0.5713 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00019/0.3216, allocations: 51.72 kB / 0.5714 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.698e-05/0.3217, allocations: 8 kB / 0.5714 GB, free: 10.39 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 2 (m_flow_IN_con_2.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: 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.0001255/0.3218, allocations: 133.7 kB / 0.5715 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.648e-05/0.3218, allocations: 23.86 kB / 0.5716 GB, free: 10.22 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004159/0.3223, allocations: 175.2 kB / 0.5717 GB, free: 10.04 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.3223, allocations: 0 / 0.5717 GB, free: 10.04 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.3223, allocations: 0 / 0.5717 GB, free: 10.04 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.3223, allocations: 0 / 0.5717 GB, free: 10.04 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000622/0.3229, allocations: 427.1 kB / 0.5721 GB, free: 9.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.3229, allocations: 0 / 0.5721 GB, free: 9.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002435/0.3231, allocations: 59.92 kB / 0.5722 GB, free: 9.512 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.454e-06/0.3231, allocations: 7.984 kB / 0.5722 GB, free: 9.504 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.306e-05/0.3231, allocations: 4 kB / 0.5722 GB, free: 9.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007721/0.3239, allocations: 1.215 MB / 0.5734 GB, free: 8.238 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.3239, allocations: 0 / 0.5734 GB, free: 8.238 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003651/0.3243, allocations: 249.1 kB / 0.5736 GB, free: 7.973 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.659e-05/0.3243, allocations: 24.03 kB / 0.5736 GB, free: 7.949 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.86e-05/0.3244, allocations: 4 kB / 0.5736 GB, free: 7.945 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001448/0.3245, allocations: 15.88 kB / 0.5737 GB, free: 7.93 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.398e-05/0.3245, allocations: 7.984 kB / 0.5737 GB, free: 7.922 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.22e-05/0.3246, allocations: 7.984 kB / 0.5737 GB, free: 7.914 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001653/0.3247, allocations: 183.1 kB / 0.5738 GB, free: 7.734 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3247, allocations: 0 / 0.5738 GB, free: 7.734 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003493/0.3251, allocations: 75.86 kB / 0.5739 GB, free: 7.66 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (9): * Single equations (assignments): 7 * 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.0002258/0.3253, allocations: 138.8 kB / 0.5741 GB, free: 7.52 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000518/0.3258, allocations: 175.7 kB / 0.5742 GB, free: 7.348 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.3258, allocations: 0 / 0.5742 GB, free: 7.348 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002752/0.3261, allocations: 84.89 kB / 0.5743 GB, free: 7.266 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003591/0.3265, allocations: 24.97 kB / 0.5743 GB, free: 7.238 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007819/0.3272, allocations: 433.3 kB / 0.5747 GB, free: 6.773 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003495/0.3276, allocations: 0.7245 MB / 0.5754 GB, free: 6.023 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.723e-05/0.3277, allocations: 23.44 kB / 0.5755 GB, free: 6 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3277, allocations: 0 / 0.5755 GB, free: 6 MB / 414.1 MB Notification: Performance of Templates: time 0.006719/0.3344, allocations: 4.409 MB / 0.5798 GB, free: 1.602 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_flatTube_KC/kc_flatTube_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_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: 7.840845890110359]