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.00158/0.00158, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001508/0.001508, allocations: 218.2 kB / 23.73 MB, free: 4.164 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.48/1.48, allocations: 230.6 MB / 257.5 MB, free: 7.816 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.2185/0.2185, allocations: 46.96 MB / 360.9 MB, free: 4.055 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,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.002188/0.002188, allocations: 67.91 kB / 0.4961 GB, free: 7.711 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3083/0.3105, allocations: 66.04 MB / 0.5606 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube): time 0.003417/0.314, allocations: 2.023 MB / 0.5626 GB, free: 2.191 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002474/0.3164, allocations: 1.543 MB / 0.5641 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.129e-05/0.3165, allocations: 4 kB / 0.5641 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002941/0.3168, allocations: 83.41 kB / 0.5642 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001569/0.317, allocations: 63.42 kB / 0.5643 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008239/0.3178, allocations: 350.7 kB / 0.5646 GB, free: 156 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001843/0.318, allocations: 155 kB / 0.5647 GB, free: 0 / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.6e-05/0.318, allocations: 12.59 kB / 0.5647 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.825e-05/0.3181, allocations: 51.67 kB / 0.5648 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001054/0.3182, allocations: 67.52 kB / 0.5649 GB, free: 15.87 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.713e-05/0.3182, allocations: 4 kB / 0.5649 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008902/0.3191, allocations: 0.511 MB / 0.5654 GB, free: 15.35 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.645e-05/0.3192, allocations: 27.8 kB / 0.5654 GB, free: 15.32 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.949e-05/0.3192, allocations: 59.59 kB / 0.5654 GB, free: 15.27 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006921/0.3199, allocations: 0.5255 MB / 0.566 GB, free: 14.74 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.3199, allocations: 4 kB / 0.566 GB, free: 14.73 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3199, allocations: 0 / 0.566 GB, free: 14.73 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.007e-06/0.32, allocations: 0 / 0.566 GB, free: 14.73 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.0006539/0.3206, allocations: 457.3 kB / 0.5664 GB, free: 14.25 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.3206, allocations: 8.031 kB / 0.5664 GB, free: 14.25 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.653e-05/0.3207, allocations: 54.73 kB / 0.5665 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.47e-05/0.3208, allocations: 24.8 kB / 0.5665 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002104/0.321, allocations: 162.5 kB / 0.5666 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.783e-05/0.321, allocations: 12.44 kB / 0.5667 GB, free: 13.96 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.109e-05/0.321, allocations: 24 kB / 0.5667 GB, free: 13.94 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004439/0.3215, allocations: 267.5 kB / 0.5669 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.3215, allocations: 0 / 0.5669 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.78e-05/0.3215, allocations: 8 kB / 0.5669 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.283e-05/0.3215, allocations: 4 kB / 0.5669 GB, free: 13.65 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003272/0.3218, allocations: 160.2 kB / 0.5671 GB, free: 13.49 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001052/0.3229, allocations: 0.8616 MB / 0.5679 GB, free: 12.57 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001971/0.3231, allocations: 62.55 kB / 0.568 GB, free: 12.5 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001238/0.3232, allocations: 36.88 kB / 0.568 GB, free: 12.46 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.613e-05/0.3232, allocations: 0 / 0.568 GB, free: 12.46 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.644e-05/0.3233, allocations: 34.56 kB / 0.5681 GB, free: 12.42 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 9.82e-07/0.3233, allocations: 0 / 0.5681 GB, free: 12.42 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004469/0.3237, allocations: 137.4 kB / 0.5682 GB, free: 12.28 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.716e-05/0.3238, allocations: 55.39 kB / 0.5682 GB, free: 12.21 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002843/0.324, allocations: 280 kB / 0.5685 GB, free: 11.93 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.994e-05/0.3241, allocations: 25.7 kB / 0.5685 GB, free: 11.9 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000143/0.3242, allocations: 187.5 kB / 0.5687 GB, free: 11.71 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.45e-05/0.3242, allocations: 23.78 kB / 0.5687 GB, free: 11.69 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.532e-05/0.3243, allocations: 61.59 kB / 0.5688 GB, free: 11.62 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002227/0.3245, allocations: 326.8 kB / 0.5691 GB, free: 11.29 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001451/0.3247, allocations: 52.12 kB / 0.5692 GB, free: 11.24 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002565/0.3249, allocations: 180.2 kB / 0.5693 GB, free: 10.99 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003957/0.3253, allocations: 259.4 kB / 0.5696 GB, free: 10.67 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.3253, allocations: 4 kB / 0.5696 GB, free: 10.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004805/0.3258, allocations: 257.5 kB / 0.5698 GB, free: 10.41 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.179e-05/0.3258, allocations: 8 kB / 0.5698 GB, free: 10.4 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.942e-05/0.3259, allocations: 16 kB / 0.5699 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.27e-05/0.3259, allocations: 11.94 kB / 0.5699 GB, free: 10.37 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001592/0.326, allocations: 47.91 kB / 0.5699 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.391e-05/0.3261, allocations: 11.92 kB / 0.5699 GB, free: 10.31 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000162/0.3262, allocations: 47.66 kB / 0.57 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.251e-05/0.3262, allocations: 12 kB / 0.57 GB, free: 10.25 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.0001217/0.3264, allocations: 129.9 kB / 0.5701 GB, free: 10.12 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.242e-05/0.3264, allocations: 23.86 kB / 0.5701 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000374/0.3268, allocations: 146.9 kB / 0.5703 GB, free: 9.941 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.704e-06/0.3268, allocations: 7.938 kB / 0.5703 GB, free: 9.934 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.3268, allocations: 0 / 0.5703 GB, free: 9.934 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.3268, allocations: 0 / 0.5703 GB, free: 9.934 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000234/0.327, allocations: 180.7 kB / 0.5704 GB, free: 9.715 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.097e-05/0.327, allocations: 8 kB / 0.5705 GB, free: 9.707 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.208e-05/0.3271, allocations: 11.92 kB / 0.5705 GB, free: 9.695 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.3271, allocations: 4.188 kB / 0.5705 GB, free: 9.691 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.3271, allocations: 7.938 kB / 0.5705 GB, free: 9.684 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.3271, allocations: 3.938 kB / 0.5705 GB, free: 9.68 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.3271, allocations: 0 / 0.5705 GB, free: 9.68 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003237/0.3274, allocations: 207.4 kB / 0.5707 GB, free: 9.461 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.717e-05/0.3275, allocations: 23.84 kB / 0.5707 GB, free: 9.438 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.645e-05/0.3275, allocations: 0 / 0.5707 GB, free: 9.438 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001075/0.3276, allocations: 7.938 kB / 0.5707 GB, free: 9.43 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.817e-05/0.3277, allocations: 7.984 kB / 0.5707 GB, free: 9.422 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.686e-06/0.3277, allocations: 4.188 kB / 0.5707 GB, free: 9.418 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001708/0.3278, allocations: 183.1 kB / 0.5709 GB, free: 9.238 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3278, allocations: 0 / 0.5709 GB, free: 9.238 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004865/0.3283, allocations: 99.81 kB / 0.571 GB, free: 9.141 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.0009644/0.3293, allocations: 0.8564 MB / 0.5718 GB, free: 8.258 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004656/0.3297, allocations: 188.5 kB / 0.572 GB, free: 8.062 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3297, allocations: 0 / 0.572 GB, free: 8.062 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002143/0.33, allocations: 99.31 kB / 0.5721 GB, free: 7.953 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003528/0.3303, allocations: 26.53 kB / 0.5721 GB, free: 7.926 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003107/0.3334, allocations: 2.505 MB / 0.5746 GB, free: 5.211 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001169/0.3335, allocations: 117.6 kB / 0.5747 GB, free: 5.078 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.676e-05/0.3336, allocations: 29.88 kB / 0.5747 GB, free: 5.047 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.427e-05/0.3337, allocations: 59.42 kB / 0.5748 GB, free: 4.988 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3337, allocations: 0 / 0.5748 GB, free: 4.988 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03794/0.3717, allocations: 9.333 MB / 0.5839 GB, free: 11.86 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.71/13.09, allocations: 3.875 kB / 0.5839 GB, free: 11.86 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.144665146246552]