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_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.001326/0.001326, allocations: 107.1 kB / 20.44 MB, free: 1.355 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.001368/0.001368, allocations: 212.7 kB / 23.73 MB, free: 4.531 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.441/1.441, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.2224/0.2224, allocations: 46.95 MB / 360.9 MB, free: 4.043 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: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_KC",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001883/0.001883, allocations: 63.89 kB / 0.4961 GB, free: 7.684 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3028/0.3047, allocations: 66.05 MB / 0.5606 GB, free: 4.211 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC): time 0.00402/0.3087, allocations: 2.508 MB / 0.5631 GB, free: 1.688 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002258/0.3109, allocations: 1.344 MB / 0.5644 GB, free: 348 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000113/0.3111, allocations: 0 / 0.5644 GB, free: 348 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003187/0.3114, allocations: 107.2 kB / 0.5645 GB, free: 240 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003655/0.3117, allocations: 138.8 kB / 0.5646 GB, free: 100 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005756/0.3123, allocations: 263.1 kB / 0.5649 GB, free: 15.84 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003099/0.3126, allocations: 286 kB / 0.5652 GB, free: 15.56 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.772e-05/0.3127, allocations: 12.94 kB / 0.5652 GB, free: 15.54 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001212/0.3128, allocations: 95.41 kB / 0.5653 GB, free: 15.45 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001963/0.313, allocations: 135.1 kB / 0.5654 GB, free: 15.32 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.598e-05/0.313, allocations: 11.94 kB / 0.5654 GB, free: 15.3 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008182/0.3139, allocations: 479.4 kB / 0.5659 GB, free: 14.84 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.023e-05/0.3139, allocations: 39.72 kB / 0.5659 GB, free: 14.8 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001173/0.3141, allocations: 107.2 kB / 0.566 GB, free: 14.69 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006711/0.3147, allocations: 0.525 MB / 0.5665 GB, free: 14.16 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.3147, allocations: 0 / 0.5665 GB, free: 14.16 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.3147, allocations: 0 / 0.5665 GB, free: 14.16 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.304e-06/0.3147, allocations: 3.938 kB / 0.5665 GB, free: 14.16 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.0008221/0.3156, allocations: 0.5636 MB / 0.5671 GB, free: 13.56 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.3156, allocations: 12.03 kB / 0.5671 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001004/0.3157, allocations: 78.7 kB / 0.5672 GB, free: 13.46 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.471e-05/0.3158, allocations: 40.7 kB / 0.5672 GB, free: 13.43 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002722/0.316, allocations: 198.1 kB / 0.5674 GB, free: 13.21 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.046e-05/0.3161, allocations: 25.38 kB / 0.5674 GB, free: 13.18 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.622e-05/0.3161, allocations: 43.92 kB / 0.5675 GB, free: 13.14 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007675/0.3169, allocations: 0.5763 MB / 0.568 GB, free: 12.43 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.912e-05/0.3169, allocations: 7.938 kB / 0.568 GB, free: 12.42 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.196e-05/0.317, allocations: 23.94 kB / 0.568 GB, free: 12.4 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.569e-05/0.317, allocations: 12 kB / 0.5681 GB, free: 12.39 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005322/0.3175, allocations: 341 kB / 0.5684 GB, free: 12.05 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002679/0.3202, allocations: 3.992 MB / 0.5723 GB, free: 7.867 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002786/0.3205, allocations: 86.53 kB / 0.5724 GB, free: 7.773 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001203/0.3206, allocations: 32.97 kB / 0.5724 GB, free: 7.738 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.697e-05/0.3206, allocations: 4 kB / 0.5724 GB, free: 7.734 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.845e-05/0.3206, allocations: 30.56 kB / 0.5724 GB, free: 7.695 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.243e-06/0.3206, allocations: 0 / 0.5724 GB, free: 7.695 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005303/0.3212, allocations: 181.3 kB / 0.5726 GB, free: 7.512 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.025e-05/0.3212, allocations: 51.41 kB / 0.5727 GB, free: 7.449 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004183/0.3216, allocations: 421.7 kB / 0.5731 GB, free: 7.031 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.054e-05/0.3216, allocations: 29.7 kB / 0.5731 GB, free: 6.996 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001814/0.3218, allocations: 255.6 kB / 0.5733 GB, free: 6.742 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.19e-05/0.3219, allocations: 35.77 kB / 0.5734 GB, free: 6.707 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.86e-05/0.322, allocations: 69.94 kB / 0.5734 GB, free: 6.629 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001621/0.3221, allocations: 354.7 kB / 0.5738 GB, free: 6.273 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001581/0.3223, allocations: 52.61 kB / 0.5738 GB, free: 6.223 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003127/0.3226, allocations: 266.4 kB / 0.5741 GB, free: 5.859 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004946/0.3231, allocations: 351.9 kB / 0.5744 GB, free: 5.414 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.3231, allocations: 4 kB / 0.5744 GB, free: 5.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006189/0.3237, allocations: 353.5 kB / 0.5747 GB, free: 5.059 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/0.3237, allocations: 8 kB / 0.5748 GB, free: 5.051 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/0.3237, allocations: 8 kB / 0.5748 GB, free: 5.043 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.972e-05/0.3238, allocations: 8 kB / 0.5748 GB, free: 5.035 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004762/0.3242, allocations: 115.8 kB / 0.5749 GB, free: 4.922 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008083/0.325, allocations: 1.215 MB / 0.5761 GB, free: 3.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002867/0.3253, allocations: 63.81 kB / 0.5761 GB, free: 3.598 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.192e-05/0.3254, allocations: 24 kB / 0.5761 GB, free: 3.574 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.0001653/0.3255, allocations: 153.6 kB / 0.5763 GB, free: 3.414 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.355e-05/0.3256, allocations: 43.66 kB / 0.5763 GB, free: 3.371 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000449/0.326, allocations: 180.8 kB / 0.5765 GB, free: 3.191 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.326, allocations: 0 / 0.5765 GB, free: 3.191 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.326, allocations: 0 / 0.5765 GB, free: 3.191 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.3261, allocations: 0 / 0.5765 GB, free: 3.191 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003016/0.3264, allocations: 232.5 kB / 0.5767 GB, free: 2.922 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.3264, allocations: 7.938 kB / 0.5767 GB, free: 2.914 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002904/0.3266, allocations: 51.98 kB / 0.5768 GB, free: 2.863 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.601e-06/0.3267, allocations: 3.984 kB / 0.5768 GB, free: 2.859 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.166e-05/0.3267, allocations: 4 kB / 0.5768 GB, free: 2.855 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007304/0.3274, allocations: 1.211 MB / 0.578 GB, free: 1.598 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.3274, allocations: 4.031 kB / 0.578 GB, free: 1.594 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003716/0.3278, allocations: 231.2 kB / 0.5782 GB, free: 1.352 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.081e-05/0.3278, allocations: 31.75 kB / 0.5782 GB, free: 1.32 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.819e-05/0.3279, allocations: 7.938 kB / 0.5782 GB, free: 1.312 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001701/0.328, allocations: 7.938 kB / 0.5782 GB, free: 1.305 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.408e-05/0.3281, allocations: 12.17 kB / 0.5783 GB, free: 1.293 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.114e-05/0.3281, allocations: 4 kB / 0.5783 GB, free: 1.289 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002852/0.3284, allocations: 275.1 kB / 0.5785 GB, free: 1.023 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3284, allocations: 0 / 0.5785 GB, free: 1.023 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005384/0.3289, allocations: 119.9 kB / 0.5786 GB, free: 0.9062 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.0009655/0.3299, allocations: 0.8546 MB / 0.5795 GB, free: 24 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005776/0.3305, allocations: 205 kB / 0.5797 GB, free: 15.82 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3305, allocations: 0 / 0.5797 GB, free: 15.82 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002924/0.3308, allocations: 79.89 kB / 0.5797 GB, free: 15.75 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004182/0.3312, allocations: 38.58 kB / 0.5798 GB, free: 15.71 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004212/0.3354, allocations: 3.409 MB / 0.5831 GB, free: 12.02 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001482/0.3355, allocations: 161.2 kB / 0.5833 GB, free: 11.85 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000113/0.3357, allocations: 38.95 kB / 0.5833 GB, free: 11.81 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001354/0.3358, allocations: 99.41 kB / 0.5834 GB, free: 11.71 MB / 430.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3358, allocations: 0 / 0.5834 GB, free: 11.71 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03948/0.3753, allocations: 10.9 MB / 0.594 GB, free: 1.035 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.33/12.71, allocations: 4.984 kB / 0.594 GB, free: 1.031 MB / 430.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_KC_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201879 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_KC.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.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.1.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_roundTube_KC/kc_roundTube_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 15.673661017994164]