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.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.001381/0.001381, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001558/0.001558, allocations: 210.6 kB / 23.73 MB, free: 4.387 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.479/1.479, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.2158/0.2158, allocations: 44.93 MB / 358.8 MB, free: 6.043 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_roundTube,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube",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.002095/0.002095, allocations: 71.89 kB / 0.4931 GB, free: 10.5 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2968/0.2989, allocations: 65.46 MB / 0.557 GB, free: 7.32 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube): time 0.003353/0.3023, allocations: 2.041 MB / 0.559 GB, free: 5.457 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002544/0.3048, allocations: 1.54 MB / 0.5605 GB, free: 3.914 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.972e-05/0.3049, allocations: 0 / 0.5605 GB, free: 3.914 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002978/0.3052, allocations: 87.41 kB / 0.5606 GB, free: 3.828 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001478/0.3054, allocations: 59.44 kB / 0.5606 GB, free: 3.77 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008759/0.3062, allocations: 370.5 kB / 0.561 GB, free: 3.41 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001933/0.3064, allocations: 147 kB / 0.5611 GB, free: 3.266 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.802e-05/0.3065, allocations: 8.594 kB / 0.5611 GB, free: 3.254 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.647e-05/0.3066, allocations: 59.66 kB / 0.5612 GB, free: 3.195 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001045/0.3067, allocations: 55.59 kB / 0.5612 GB, free: 3.141 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.797e-05/0.3067, allocations: 4 kB / 0.5612 GB, free: 3.137 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009367/0.3076, allocations: 0.5149 MB / 0.5617 GB, free: 2.621 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.985e-05/0.3077, allocations: 31.78 kB / 0.5618 GB, free: 2.59 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.372e-05/0.3077, allocations: 55.56 kB / 0.5618 GB, free: 2.535 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007041/0.3085, allocations: 0.5255 MB / 0.5623 GB, free: 2.008 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.3085, allocations: 4 kB / 0.5623 GB, free: 2.004 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3085, allocations: 0 / 0.5623 GB, free: 2.004 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.122e-06/0.3085, allocations: 0 / 0.5623 GB, free: 2.004 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0006657/0.3091, allocations: 449.3 kB / 0.5628 GB, free: 1.531 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.3092, allocations: 16.03 kB / 0.5628 GB, free: 1.516 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.048e-05/0.3092, allocations: 54.73 kB / 0.5628 GB, free: 1.453 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.924e-05/0.3093, allocations: 24.8 kB / 0.5629 GB, free: 1.43 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001964/0.3095, allocations: 161.5 kB / 0.563 GB, free: 1.25 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.917e-05/0.3095, allocations: 16.38 kB / 0.563 GB, free: 1.234 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.724e-05/0.3095, allocations: 20 kB / 0.5631 GB, free: 1.215 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004527/0.31, allocations: 263.5 kB / 0.5633 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.31, allocations: 0 / 0.5633 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.837e-05/0.31, allocations: 11.94 kB / 0.5633 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.238e-06/0.31, allocations: 4 kB / 0.5633 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003497/0.3104, allocations: 172.2 kB / 0.5635 GB, free: 0.75 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001121/0.3115, allocations: 0.8655 MB / 0.5643 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002044/0.3117, allocations: 58.55 kB / 0.5644 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000112/0.3118, allocations: 32.94 kB / 0.5644 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.682e-05/0.3118, allocations: 0 / 0.5644 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.589e-05/0.3119, allocations: 38.56 kB / 0.5645 GB, free: 15.68 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.062e-06/0.3119, allocations: 4 kB / 0.5645 GB, free: 15.67 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004623/0.3123, allocations: 137.4 kB / 0.5646 GB, free: 15.53 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.565e-05/0.3124, allocations: 51.41 kB / 0.5646 GB, free: 15.47 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002876/0.3127, allocations: 280 kB / 0.5649 GB, free: 15.19 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.002e-05/0.3127, allocations: 25.7 kB / 0.5649 GB, free: 15.16 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001368/0.3128, allocations: 179.5 kB / 0.5651 GB, free: 14.98 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.584e-05/0.3128, allocations: 27.78 kB / 0.5651 GB, free: 14.95 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.872e-05/0.3129, allocations: 49.66 kB / 0.5652 GB, free: 14.89 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001648/0.3131, allocations: 338.8 kB / 0.5655 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001443/0.3132, allocations: 44.2 kB / 0.5655 GB, free: 14.51 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002469/0.3135, allocations: 188.1 kB / 0.5657 GB, free: 14.25 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004519/0.3139, allocations: 255.4 kB / 0.566 GB, free: 13.93 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.923e-06/0.3139, allocations: 4 kB / 0.566 GB, free: 13.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007105/0.3146, allocations: 249.2 kB / 0.5662 GB, free: 13.68 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.44e-05/0.3147, allocations: 10.97 kB / 0.5662 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.413e-05/0.3147, allocations: 19.98 kB / 0.5662 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/0.3147, allocations: 12.62 kB / 0.5662 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001718/0.3149, allocations: 51.92 kB / 0.5663 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.476e-05/0.3149, allocations: 15.92 kB / 0.5663 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001661/0.3151, allocations: 39.67 kB / 0.5663 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.335e-05/0.3151, allocations: 16 kB / 0.5664 GB, free: 13.52 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 3 (m_flow_IN_con_4.N,m_flow_IN_con_4.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: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000122/0.3152, allocations: 129.8 kB / 0.5665 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.5e-05/0.3153, allocations: 23.86 kB / 0.5665 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003961/0.3157, allocations: 142.9 kB / 0.5666 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.775e-06/0.3157, allocations: 3.938 kB / 0.5667 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.3157, allocations: 0 / 0.5667 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.3157, allocations: 0 / 0.5667 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002424/0.3159, allocations: 184.7 kB / 0.5668 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.852e-05/0.3159, allocations: 15.88 kB / 0.5668 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.665e-05/0.316, allocations: 15.98 kB / 0.5669 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.316, allocations: 0 / 0.5669 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.887e-06/0.316, allocations: 0 / 0.5669 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.622e-06/0.316, allocations: 7.938 kB / 0.5669 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.316, allocations: 0 / 0.5669 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000328/0.3163, allocations: 203.4 kB / 0.5671 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.691e-05/0.3164, allocations: 19.8 kB / 0.5671 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.973e-05/0.3164, allocations: 4 kB / 0.5671 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001217/0.3165, allocations: 11.92 kB / 0.5671 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.806e-05/0.3166, allocations: 8 kB / 0.5671 GB, free: 12.69 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.147e-06/0.3166, allocations: 4 kB / 0.5671 GB, free: 12.68 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001836/0.3168, allocations: 183.1 kB / 0.5673 GB, free: 12.5 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3168, allocations: 4 kB / 0.5673 GB, free: 12.5 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004801/0.3172, allocations: 103.8 kB / 0.5674 GB, free: 12.4 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 (3): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009726/0.3182, allocations: 0.837 MB / 0.5682 GB, free: 11.54 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004886/0.3187, allocations: 191.7 kB / 0.5684 GB, free: 11.34 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.3187, allocations: 0 / 0.5684 GB, free: 11.34 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002212/0.3189, allocations: 104.1 kB / 0.5685 GB, free: 11.22 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003522/0.3193, allocations: 26.48 kB / 0.5685 GB, free: 11.2 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003183/0.3225, allocations: 2.505 MB / 0.571 GB, free: 8.48 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001236/0.3226, allocations: 125.6 kB / 0.5711 GB, free: 8.34 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.006e-05/0.3227, allocations: 25.92 kB / 0.5711 GB, free: 8.312 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.857e-05/0.3228, allocations: 63.42 kB / 0.5712 GB, free: 8.25 MB / 414.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3228, allocations: 0 / 0.5712 GB, free: 8.25 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03727/0.36, allocations: 9.317 MB / 0.5803 GB, free: 15.14 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.99/13.35, allocations: 7.438 kB / 0.5803 GB, free: 15.13 MB / 430.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201839 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_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_roundTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.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.3349881619215]