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.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.001782/0.001782, allocations: 115.8 kB / 20.43 MB, free: 1.449 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.002081/0.002081, allocations: 216.6 kB / 23.74 MB, free: 4.656 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.385/1.385, allocations: 230.6 MB / 257.5 MB, free: 8.016 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.2214/0.2214, allocations: 46.94 MB / 360.9 MB, free: 4.266 MB / 286.1 MB " [Timeout remaining time 179] 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,fileNamePrefix="ModelicaTest_4_1_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_1_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003053/0.003053, allocations: 68.06 kB / 0.4962 GB, free: 7.863 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3028/0.3059, allocations: 66.03 MB / 0.5607 GB, free: 4.586 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube): time 0.003388/0.3093, allocations: 2.135 MB / 0.5628 GB, free: 2.438 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002712/0.312, allocations: 1.742 MB / 0.5645 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.61e-05/0.3121, allocations: 0 / 0.5645 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003359/0.3124, allocations: 87.38 kB / 0.5645 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001722/0.3126, allocations: 67.42 kB / 0.5646 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009522/0.3135, allocations: 366.6 kB / 0.565 GB, free: 184 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002078/0.3137, allocations: 151 kB / 0.5651 GB, free: 32 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.698e-05/0.3138, allocations: 8.594 kB / 0.5651 GB, free: 20 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001086/0.3139, allocations: 51.8 kB / 0.5652 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001134/0.314, allocations: 63.59 kB / 0.5652 GB, free: 15.9 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.731e-05/0.314, allocations: 7.938 kB / 0.5652 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001201/0.3152, allocations: 0.7917 MB / 0.566 GB, free: 15.11 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.623e-05/0.3153, allocations: 31.8 kB / 0.566 GB, free: 15.07 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.256e-05/0.3154, allocations: 75.48 kB / 0.5661 GB, free: 15 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007554/0.3161, allocations: 0.5917 MB / 0.5667 GB, free: 14.41 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.3161, allocations: 0 / 0.5667 GB, free: 14.41 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.3161, allocations: 4 kB / 0.5667 GB, free: 14.4 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.47e-06/0.3161, allocations: 0 / 0.5667 GB, free: 14.4 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0006903/0.3168, allocations: 455.9 kB / 0.5671 GB, free: 13.93 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.3169, allocations: 8.031 kB / 0.5671 GB, free: 13.92 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.489e-05/0.3169, allocations: 54.73 kB / 0.5672 GB, free: 13.86 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.709e-05/0.317, allocations: 28.8 kB / 0.5672 GB, free: 13.83 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002043/0.3172, allocations: 160.2 kB / 0.5674 GB, free: 13.65 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.454e-05/0.3172, allocations: 12.44 kB / 0.5674 GB, free: 13.64 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.817e-05/0.3172, allocations: 20 kB / 0.5674 GB, free: 13.62 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004407/0.3177, allocations: 267.5 kB / 0.5676 GB, free: 13.34 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.3177, allocations: 0 / 0.5676 GB, free: 13.34 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.553e-05/0.3177, allocations: 8 kB / 0.5677 GB, free: 13.33 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.14e-05/0.3177, allocations: 8 kB / 0.5677 GB, free: 13.32 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003218/0.318, allocations: 164.2 kB / 0.5678 GB, free: 13.16 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001052/0.3191, allocations: 0.8773 MB / 0.5687 GB, free: 12.22 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001789/0.3192, allocations: 62.48 kB / 0.5687 GB, free: 12.15 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001022/0.3193, allocations: 32.92 kB / 0.5688 GB, free: 12.12 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.77e-05/0.3194, allocations: 4 kB / 0.5688 GB, free: 12.11 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.27e-05/0.3194, allocations: 34.56 kB / 0.5688 GB, free: 12.07 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.183e-06/0.3194, allocations: 0 / 0.5688 GB, free: 12.07 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004261/0.3198, allocations: 137.4 kB / 0.5689 GB, free: 11.93 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.908e-05/0.3199, allocations: 59.34 kB / 0.569 GB, free: 11.86 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002745/0.3202, allocations: 264.1 kB / 0.5692 GB, free: 11.59 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.926e-05/0.3202, allocations: 25.7 kB / 0.5693 GB, free: 11.56 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001381/0.3203, allocations: 195.4 kB / 0.5695 GB, free: 11.37 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.187e-05/0.3203, allocations: 23.84 kB / 0.5695 GB, free: 11.34 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.864e-05/0.3204, allocations: 49.66 kB / 0.5695 GB, free: 11.29 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001484/0.3206, allocations: 330.8 kB / 0.5698 GB, free: 10.96 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000142/0.3207, allocations: 48.19 kB / 0.5699 GB, free: 10.91 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002277/0.3209, allocations: 180.1 kB / 0.5701 GB, free: 10.66 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003787/0.3213, allocations: 259.4 kB / 0.5703 GB, free: 10.34 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.3213, allocations: 4 kB / 0.5703 GB, free: 10.33 MB / 414.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004625/0.3218, allocations: 261.5 kB / 0.5706 GB, free: 10.07 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.3218, allocations: 8 kB / 0.5706 GB, free: 10.06 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.12e-05/0.3218, allocations: 12 kB / 0.5706 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.098e-05/0.3218, allocations: 11.94 kB / 0.5706 GB, free: 10.04 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001646/0.322, allocations: 52.03 kB / 0.5706 GB, free: 9.988 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.454e-05/0.322, allocations: 11.94 kB / 0.5707 GB, free: 9.977 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000154/0.3222, allocations: 51.66 kB / 0.5707 GB, free: 9.926 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.075e-05/0.3222, allocations: 12 kB / 0.5707 GB, free: 9.914 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.0001246/0.3223, allocations: 137.9 kB / 0.5708 GB, free: 9.77 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.295e-05/0.3224, allocations: 19.86 kB / 0.5709 GB, free: 9.75 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003516/0.3227, allocations: 142.9 kB / 0.571 GB, free: 9.602 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.3227, allocations: 7.938 kB / 0.571 GB, free: 9.594 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.3227, allocations: 0 / 0.571 GB, free: 9.594 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.3227, allocations: 0 / 0.571 GB, free: 9.594 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002323/0.323, allocations: 188.7 kB / 0.5712 GB, free: 9.367 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.697e-05/0.323, allocations: 8 kB / 0.5712 GB, free: 9.359 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.736e-05/0.323, allocations: 7.984 kB / 0.5712 GB, free: 9.352 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.323, allocations: 3.938 kB / 0.5712 GB, free: 9.348 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.029e-05/0.323, allocations: 4 kB / 0.5712 GB, free: 9.344 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.323, allocations: 3.938 kB / 0.5712 GB, free: 9.34 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.323, allocations: 4 kB / 0.5712 GB, free: 9.336 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002968/0.3233, allocations: 203.4 kB / 0.5714 GB, free: 9.121 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.115e-05/0.3234, allocations: 15.86 kB / 0.5714 GB, free: 9.105 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.992e-05/0.3234, allocations: 8 kB / 0.5714 GB, free: 9.098 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001074/0.3235, allocations: 11.92 kB / 0.5714 GB, free: 9.086 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.554e-05/0.3235, allocations: 4 kB / 0.5714 GB, free: 9.082 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-06/0.3235, allocations: 4 kB / 0.5715 GB, free: 9.078 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001679/0.3237, allocations: 191 kB / 0.5716 GB, free: 8.891 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3237, allocations: 0 / 0.5716 GB, free: 8.891 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004846/0.3242, allocations: 103.8 kB / 0.5717 GB, free: 8.789 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.0009471/0.3251, allocations: 0.837 MB / 0.5725 GB, free: 7.926 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004616/0.3256, allocations: 192.4 kB / 0.5727 GB, free: 7.727 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.3256, allocations: 4 kB / 0.5727 GB, free: 7.723 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002052/0.3258, allocations: 99.36 kB / 0.5728 GB, free: 7.613 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003579/0.3262, allocations: 28.91 kB / 0.5729 GB, free: 7.582 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003093/0.3293, allocations: 2.509 MB / 0.5753 GB, free: 4.859 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004371/0.3297, allocations: 0.7284 MB / 0.576 GB, free: 4.105 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.498e-05/0.3298, allocations: 29.92 kB / 0.576 GB, free: 4.074 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.999e-05/0.3299, allocations: 63.42 kB / 0.5761 GB, free: 4.012 MB / 414.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3299, allocations: 0 / 0.5761 GB, free: 4.012 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0393/0.3692, allocations: 9.22 MB / 0.5851 GB, free: 10.96 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.68/13.05, allocations: 0 / 0.5851 GB, free: 10.96 MB / 430.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_res.mat --tempDir=temp_ModelicaTest_4_1_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_1_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_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_roundTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.02236975496635]