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_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.001661/0.001661, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.002074/0.002074, allocations: 214.4 kB / 23.75 MB, free: 4.668 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.605/1.605, allocations: 230.6 MB / 257.5 MB, free: 8.012 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.2247/0.2247, allocations: 44.92 MB / 358.8 MB, free: 6.281 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: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC",fmuType="me",version="2.0",platforms={"static"}) [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.002189/0.002189, allocations: 63.89 kB / 0.4931 GB, free: 10.68 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3215/0.3237, allocations: 65.47 MB / 0.5571 GB, free: 7.531 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.003603/0.3273, allocations: 2.218 MB / 0.5592 GB, free: 5.535 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001741/0.3291, allocations: 1.107 MB / 0.5603 GB, free: 4.426 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.51e-05/0.3292, allocations: 8 kB / 0.5603 GB, free: 4.418 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003107/0.3295, allocations: 91.31 kB / 0.5604 GB, free: 4.328 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002771/0.3297, allocations: 91.33 kB / 0.5605 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002892/0.33, allocations: 115.5 kB / 0.5606 GB, free: 4.125 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002221/0.3303, allocations: 182.9 kB / 0.5608 GB, free: 3.945 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.172e-05/0.3303, allocations: 12.53 kB / 0.5608 GB, free: 3.93 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001756/0.3305, allocations: 83.52 kB / 0.5609 GB, free: 3.848 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001506/0.3306, allocations: 83.5 kB / 0.5609 GB, free: 3.766 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.903e-05/0.3306, allocations: 4 kB / 0.5609 GB, free: 3.762 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004176/0.3311, allocations: 267.6 kB / 0.5612 GB, free: 3.5 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.042e-05/0.3311, allocations: 23.84 kB / 0.5612 GB, free: 3.477 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9e-05/0.3312, allocations: 83.42 kB / 0.5613 GB, free: 3.395 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004397/0.3316, allocations: 338.4 kB / 0.5616 GB, free: 3.062 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3316, allocations: 0 / 0.5616 GB, free: 3.062 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.3317, allocations: 8 kB / 0.5616 GB, free: 3.055 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.091e-06/0.3317, allocations: 0 / 0.5616 GB, free: 3.055 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0005972/0.3323, allocations: 435.7 kB / 0.5621 GB, free: 2.598 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.3323, allocations: 12.03 kB / 0.5621 GB, free: 2.586 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.01e-05/0.3324, allocations: 54.72 kB / 0.5621 GB, free: 2.523 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.705e-05/0.3324, allocations: 24.8 kB / 0.5621 GB, free: 2.5 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001943/0.3326, allocations: 158.2 kB / 0.5623 GB, free: 2.32 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.087e-05/0.3326, allocations: 16.81 kB / 0.5623 GB, free: 2.305 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.214e-05/0.3326, allocations: 27.94 kB / 0.5623 GB, free: 2.277 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004237/0.3331, allocations: 235.2 kB / 0.5626 GB, free: 2.039 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.3331, allocations: 4 kB / 0.5626 GB, free: 2.035 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.618e-05/0.3331, allocations: 4 kB / 0.5626 GB, free: 2.031 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.778e-06/0.3331, allocations: 8 kB / 0.5626 GB, free: 2.023 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004598/0.3336, allocations: 257.5 kB / 0.5628 GB, free: 1.773 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009942/0.3346, allocations: 0.5966 MB / 0.5634 GB, free: 1.133 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002662/0.3348, allocations: 98.61 kB / 0.5635 GB, free: 1.027 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001293/0.335, allocations: 44.86 kB / 0.5635 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.538e-05/0.335, allocations: 3.938 kB / 0.5635 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.265e-05/0.335, allocations: 38.56 kB / 0.5636 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.233e-06/0.335, allocations: 0 / 0.5636 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005166/0.3355, allocations: 169.4 kB / 0.5637 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.457e-05/0.3356, allocations: 51.41 kB / 0.5638 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002841/0.3359, allocations: 272.1 kB / 0.564 GB, free: 432 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.072e-05/0.3359, allocations: 25.7 kB / 0.5641 GB, free: 400 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001277/0.336, allocations: 171.4 kB / 0.5642 GB, free: 224 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.573e-05/0.336, allocations: 39.72 kB / 0.5643 GB, free: 184 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.87e-05/0.3361, allocations: 53.66 kB / 0.5643 GB, free: 124 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001693/0.3363, allocations: 334.8 kB / 0.5646 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001529/0.3364, allocations: 51.97 kB / 0.5647 GB, free: 15.73 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002274/0.3367, allocations: 144.7 kB / 0.5648 GB, free: 15.55 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004068/0.3371, allocations: 220.5 kB / 0.565 GB, free: 15.29 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.3371, allocations: 0 / 0.565 GB, free: 15.29 MB / 414.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004862/0.3376, allocations: 241.2 kB / 0.5653 GB, free: 15.04 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.3376, allocations: 8 kB / 0.5653 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.3376, allocations: 0 / 0.5653 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.3376, allocations: 8 kB / 0.5653 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003863/0.338, allocations: 83.89 kB / 0.5654 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007996/0.3388, allocations: 1.223 MB / 0.5666 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001961/0.339, allocations: 39.72 kB / 0.5666 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.963e-05/0.339, allocations: 12 kB / 0.5666 GB, free: 13.62 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.0001261/0.3391, allocations: 133.9 kB / 0.5667 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.899e-05/0.3392, allocations: 23.86 kB / 0.5668 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004284/0.3396, allocations: 175.5 kB / 0.5669 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.3396, allocations: 0 / 0.5669 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.3396, allocations: 4 kB / 0.5669 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.3396, allocations: 0 / 0.5669 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006433/0.3403, allocations: 423.1 kB / 0.5673 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.3403, allocations: 0 / 0.5673 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002575/0.3405, allocations: 60 kB / 0.5674 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.578e-06/0.3405, allocations: 7.938 kB / 0.5674 GB, free: 12.74 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.164e-05/0.3405, allocations: 4.062 kB / 0.5674 GB, free: 12.74 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007744/0.3413, allocations: 1.215 MB / 0.5686 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.3413, allocations: 0 / 0.5686 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003772/0.3417, allocations: 249.2 kB / 0.5688 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.943e-05/0.3417, allocations: 23.84 kB / 0.5689 GB, free: 11.19 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.362e-05/0.3418, allocations: 8 kB / 0.5689 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001493/0.3419, allocations: 7.984 kB / 0.5689 GB, free: 11.17 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.086e-05/0.342, allocations: 15.98 kB / 0.5689 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.978e-06/0.342, allocations: 7.938 kB / 0.5689 GB, free: 11.15 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000174/0.3422, allocations: 187.1 kB / 0.5691 GB, free: 10.96 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3422, allocations: 0 / 0.5691 GB, free: 10.96 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003679/0.3425, allocations: 67.88 kB / 0.5691 GB, free: 10.9 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.0008764/0.3434, allocations: 0.8189 MB / 0.5699 GB, free: 10.05 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005294/0.3439, allocations: 163.7 kB / 0.5701 GB, free: 9.891 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3439, allocations: 0 / 0.5701 GB, free: 9.891 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002827/0.3442, allocations: 88.89 kB / 0.5702 GB, free: 9.805 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003804/0.3446, allocations: 21.17 kB / 0.5702 GB, free: 9.781 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003339/0.3479, allocations: 2.555 MB / 0.5727 GB, free: 7.047 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000368/0.3483, allocations: 0.7362 MB / 0.5734 GB, free: 6.285 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.163e-05/0.3484, allocations: 21.94 kB / 0.5734 GB, free: 6.266 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.999e-05/0.3485, allocations: 67.41 kB / 0.5735 GB, free: 6.199 MB / 414.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3485, allocations: 0 / 0.5735 GB, free: 6.199 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03274/0.3812, allocations: 6.303 MB / 0.5796 GB, free: 64 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.7/13.08, allocations: 7.797 kB / 0.5797 GB, free: 56 kB / 414.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201879 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.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.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_flatTube_KC/kc_flatTube_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 16.278176333056763]