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.001864/0.001864, 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.002173/0.002173, allocations: 209.7 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.478/1.478, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.2236/0.2236, allocations: 46.96 MB / 360.9 MB, free: 4.047 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.002028/0.002028, allocations: 71.91 kB / 0.4962 GB, free: 7.684 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3321/0.3341, allocations: 66.03 MB / 0.5606 GB, free: 4.234 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC): time 0.004057/0.3382, allocations: 2.516 MB / 0.5631 GB, free: 1.699 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002343/0.3405, allocations: 1.344 MB / 0.5644 GB, free: 360 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000139/0.3407, allocations: 3.938 kB / 0.5644 GB, free: 356 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003194/0.341, allocations: 107.2 kB / 0.5645 GB, free: 248 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003806/0.3414, allocations: 138.9 kB / 0.5646 GB, free: 108 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005852/0.3419, allocations: 267.1 kB / 0.5649 GB, free: 15.84 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000299/0.3422, allocations: 274.2 kB / 0.5652 GB, free: 15.57 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.025e-05/0.3423, allocations: 16.94 kB / 0.5652 GB, free: 15.55 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001184/0.3424, allocations: 103.3 kB / 0.5653 GB, free: 15.45 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001791/0.3426, allocations: 119.2 kB / 0.5654 GB, free: 15.34 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.843e-05/0.3426, allocations: 8 kB / 0.5654 GB, free: 15.33 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008128/0.3435, allocations: 447.4 kB / 0.5658 GB, free: 14.89 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.95e-05/0.3435, allocations: 47.59 kB / 0.5659 GB, free: 14.84 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001062/0.3436, allocations: 103.3 kB / 0.566 GB, free: 14.74 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006544/0.3443, allocations: 0.5289 MB / 0.5665 GB, free: 14.21 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.3443, allocations: 4 kB / 0.5665 GB, free: 14.21 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.3443, allocations: 0 / 0.5665 GB, free: 14.21 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.3443, allocations: 0 / 0.5665 GB, free: 14.21 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.0007846/0.3451, allocations: 0.5596 MB / 0.567 GB, free: 13.61 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.009e-05/0.3451, allocations: 12.02 kB / 0.5671 GB, free: 13.6 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.573e-05/0.3452, allocations: 74.72 kB / 0.5671 GB, free: 13.52 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.948e-05/0.3453, allocations: 40.7 kB / 0.5672 GB, free: 13.48 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002659/0.3455, allocations: 198 kB / 0.5673 GB, free: 13.26 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.854e-05/0.3456, allocations: 25.38 kB / 0.5674 GB, free: 13.24 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.05e-05/0.3456, allocations: 47.81 kB / 0.5674 GB, free: 13.19 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007524/0.3464, allocations: 0.5841 MB / 0.568 GB, free: 12.48 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.836e-05/0.3464, allocations: 7.938 kB / 0.568 GB, free: 12.47 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.094e-05/0.3464, allocations: 20 kB / 0.568 GB, free: 12.45 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.671e-05/0.3464, allocations: 11.98 kB / 0.568 GB, free: 12.44 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005553/0.347, allocations: 333.1 kB / 0.5683 GB, free: 12.11 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002793/0.3498, allocations: 3.992 MB / 0.5722 GB, free: 7.926 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002709/0.3501, allocations: 86.53 kB / 0.5723 GB, free: 7.832 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001235/0.3502, allocations: 36.95 kB / 0.5724 GB, free: 7.793 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.8e-05/0.3502, allocations: 7.938 kB / 0.5724 GB, free: 7.785 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.487e-05/0.3502, allocations: 34.55 kB / 0.5724 GB, free: 7.742 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.523e-06/0.3502, allocations: 0 / 0.5724 GB, free: 7.742 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005435/0.3508, allocations: 169.4 kB / 0.5726 GB, free: 7.57 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.084e-05/0.3508, allocations: 51.41 kB / 0.5726 GB, free: 7.508 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004433/0.3513, allocations: 421.7 kB / 0.573 GB, free: 7.09 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.128e-05/0.3513, allocations: 25.7 kB / 0.573 GB, free: 7.059 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002094/0.3515, allocations: 259.5 kB / 0.5733 GB, free: 6.801 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.949e-05/0.3515, allocations: 27.78 kB / 0.5733 GB, free: 6.773 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001031/0.3516, allocations: 73.92 kB / 0.5734 GB, free: 6.691 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001658/0.3518, allocations: 350.7 kB / 0.5737 GB, free: 6.34 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001621/0.352, allocations: 56.62 kB / 0.5738 GB, free: 6.285 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003181/0.3523, allocations: 266.4 kB / 0.574 GB, free: 5.922 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005154/0.3528, allocations: 351.9 kB / 0.5744 GB, free: 5.477 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.3528, allocations: 4 kB / 0.5744 GB, free: 5.473 MB / 414.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.00063/0.3534, allocations: 356.9 kB / 0.5747 GB, free: 5.117 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/0.3534, allocations: 8 kB / 0.5747 GB, free: 5.109 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.3535, allocations: 4 kB / 0.5747 GB, free: 5.105 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.218e-05/0.3535, allocations: 12 kB / 0.5747 GB, free: 5.094 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004613/0.3539, allocations: 108.5 kB / 0.5748 GB, free: 4.988 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008261/0.3548, allocations: 1.227 MB / 0.576 GB, free: 3.715 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002902/0.3551, allocations: 59.52 kB / 0.5761 GB, free: 3.656 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.288e-05/0.3551, allocations: 24 kB / 0.5761 GB, free: 3.633 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.0001641/0.3553, allocations: 156.6 kB / 0.5763 GB, free: 3.473 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.169e-05/0.3553, allocations: 47.59 kB / 0.5763 GB, free: 3.426 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004507/0.3558, allocations: 169.1 kB / 0.5765 GB, free: 3.258 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.77e-06/0.3558, allocations: 4 kB / 0.5765 GB, free: 3.254 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.3558, allocations: 0 / 0.5765 GB, free: 3.254 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.3558, allocations: 0 / 0.5765 GB, free: 3.254 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003083/0.3561, allocations: 236.5 kB / 0.5767 GB, free: 2.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.3561, allocations: 4 kB / 0.5767 GB, free: 2.977 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002763/0.3564, allocations: 59.91 kB / 0.5768 GB, free: 2.918 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.3564, allocations: 0 / 0.5768 GB, free: 2.918 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.348e-05/0.3564, allocations: 4 kB / 0.5768 GB, free: 2.914 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007442/0.3571, allocations: 1.199 MB / 0.5779 GB, free: 1.668 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.3571, allocations: 3.938 kB / 0.5779 GB, free: 1.664 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003903/0.3575, allocations: 251.8 kB / 0.5782 GB, free: 1.402 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.084e-05/0.3576, allocations: 31.75 kB / 0.5782 GB, free: 1.371 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.59e-05/0.3576, allocations: 3.938 kB / 0.5782 GB, free: 1.367 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001627/0.3578, allocations: 4 kB / 0.5782 GB, free: 1.363 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.935e-05/0.3578, allocations: 11.98 kB / 0.5782 GB, free: 1.352 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.01e-05/0.3578, allocations: 4 kB / 0.5782 GB, free: 1.348 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002941/0.3581, allocations: 271.1 kB / 0.5785 GB, free: 1.082 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3581, allocations: 0 / 0.5785 GB, free: 1.082 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005533/0.3587, allocations: 119.9 kB / 0.5786 GB, free: 0.9648 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.0009921/0.3597, allocations: 0.8603 MB / 0.5794 GB, free: 76 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005901/0.3603, allocations: 197.4 kB / 0.5796 GB, free: 15.88 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3603, allocations: 0 / 0.5796 GB, free: 15.88 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002827/0.3606, allocations: 80.14 kB / 0.5797 GB, free: 15.8 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004059/0.361, allocations: 37.95 kB / 0.5797 GB, free: 15.77 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004373/0.3653, allocations: 3.405 MB / 0.5831 GB, free: 12.08 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001581/0.3655, allocations: 161.2 kB / 0.5832 GB, free: 11.91 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001288/0.3656, allocations: 42.89 kB / 0.5833 GB, free: 11.87 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001449/0.3658, allocations: 103.4 kB / 0.5834 GB, free: 11.77 MB / 430.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3658, allocations: 4 kB / 0.5834 GB, free: 11.76 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03917/0.4049, allocations: 10.81 MB / 0.5939 GB, free: 1.18 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.8/13.2, allocations: 15.59 kB / 0.5939 GB, free: 1.168 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: 16.208662687800825]