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_flatTube.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.00181/0.00181, allocations: 111.6 kB / 20.43 MB, free: 1.473 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.00241/0.00241, allocations: 209 kB / 23.74 MB, free: 4.691 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.414/1.414, allocations: 230.6 MB / 257.5 MB, free: 8 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.2194/0.2194, allocations: 46.93 MB / 360.9 MB, free: 4.277 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_flatTube,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001948/0.001948, allocations: 67.89 kB / 0.4962 GB, free: 7.887 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2932/0.2952, allocations: 66.05 MB / 0.5607 GB, free: 4.461 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.003768/0.2989, allocations: 2.14 MB / 0.5628 GB, free: 2.301 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002178/0.3011, allocations: 1.427 MB / 0.5642 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000114/0.3012, allocations: 4 kB / 0.5642 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003172/0.3016, allocations: 87.39 kB / 0.5643 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001947/0.3018, allocations: 75.34 kB / 0.5643 GB, free: 0.707 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006186/0.3024, allocations: 207.1 kB / 0.5645 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002315/0.3026, allocations: 155 kB / 0.5647 GB, free: 360 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.74e-05/0.3026, allocations: 12.58 kB / 0.5647 GB, free: 344 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001843/0.3028, allocations: 59.61 kB / 0.5647 GB, free: 284 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001136/0.3029, allocations: 71.52 kB / 0.5648 GB, free: 212 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.679e-05/0.303, allocations: 4 kB / 0.5648 GB, free: 208 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006906/0.3037, allocations: 435.5 kB / 0.5652 GB, free: 15.77 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.291e-05/0.3037, allocations: 27.69 kB / 0.5653 GB, free: 15.75 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.585e-05/0.3038, allocations: 67.5 kB / 0.5653 GB, free: 15.68 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006147/0.3044, allocations: 446.2 kB / 0.5658 GB, free: 15.25 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.3044, allocations: 0 / 0.5658 GB, free: 15.25 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.3044, allocations: 4 kB / 0.5658 GB, free: 15.24 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.503e-06/0.3044, allocations: 0 / 0.5658 GB, free: 15.24 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0006506/0.3051, allocations: 437 kB / 0.5662 GB, free: 14.79 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.3051, allocations: 8.031 kB / 0.5662 GB, free: 14.78 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.476e-05/0.3052, allocations: 50.73 kB / 0.5662 GB, free: 14.72 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.241e-05/0.3052, allocations: 20.8 kB / 0.5662 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002003/0.3054, allocations: 158.2 kB / 0.5664 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.906e-05/0.3054, allocations: 12.38 kB / 0.5664 GB, free: 14.51 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.405e-05/0.3054, allocations: 23.94 kB / 0.5664 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00038/0.3058, allocations: 206.7 kB / 0.5666 GB, free: 14.27 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.3058, allocations: 0 / 0.5666 GB, free: 14.27 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.749e-05/0.3059, allocations: 12 kB / 0.5666 GB, free: 14.26 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.365e-06/0.3059, allocations: 4 kB / 0.5666 GB, free: 14.26 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003144/0.3062, allocations: 160.2 kB / 0.5668 GB, free: 14.1 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008784/0.3071, allocations: 0.5484 MB / 0.5673 GB, free: 13.51 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001868/0.3072, allocations: 54.56 kB / 0.5674 GB, free: 13.45 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001147/0.3074, allocations: 32.94 kB / 0.5674 GB, free: 13.41 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.886e-05/0.3074, allocations: 3.938 kB / 0.5674 GB, free: 13.41 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.587e-05/0.3074, allocations: 34.5 kB / 0.5675 GB, free: 13.36 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.182e-06/0.3074, allocations: 4 kB / 0.5675 GB, free: 13.36 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004499/0.3079, allocations: 133.5 kB / 0.5676 GB, free: 13.22 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.785e-05/0.3079, allocations: 51.41 kB / 0.5676 GB, free: 13.16 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002749/0.3082, allocations: 257.9 kB / 0.5679 GB, free: 12.9 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.812e-05/0.3082, allocations: 25.7 kB / 0.5679 GB, free: 12.87 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001297/0.3083, allocations: 171.9 kB / 0.5681 GB, free: 12.7 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.151e-05/0.3084, allocations: 19.89 kB / 0.5681 GB, free: 12.68 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.42e-05/0.3084, allocations: 45.66 kB / 0.5681 GB, free: 12.63 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001494/0.3086, allocations: 334.8 kB / 0.5684 GB, free: 12.29 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001319/0.3087, allocations: 39.92 kB / 0.5685 GB, free: 12.25 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001969/0.3089, allocations: 140.7 kB / 0.5686 GB, free: 12.07 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003282/0.3092, allocations: 180.6 kB / 0.5688 GB, free: 11.85 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.3092, allocations: 4 kB / 0.5688 GB, free: 11.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004121/0.3096, allocations: 197.2 kB / 0.569 GB, free: 11.64 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.3097, allocations: 8 kB / 0.569 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.892e-05/0.3097, allocations: 16 kB / 0.569 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.3097, allocations: 4 kB / 0.569 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00013/0.3098, allocations: 31.92 kB / 0.569 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.048e-05/0.3098, allocations: 7.984 kB / 0.5691 GB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001378/0.31, allocations: 32.19 kB / 0.5691 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.874e-05/0.31, allocations: 15.98 kB / 0.5691 GB, free: 11.53 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 2 (m_flow_IN_con_2.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 (17): * Single equations (assignments): 15 * 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.0001151/0.3101, allocations: 133.7 kB / 0.5692 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.204e-05/0.3102, allocations: 19.86 kB / 0.5692 GB, free: 11.37 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003742/0.3105, allocations: 142.9 kB / 0.5694 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.3105, allocations: 192 / 0.5694 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.3105, allocations: 4 kB / 0.5694 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.776e-06/0.3105, allocations: 0 / 0.5694 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002529/0.3108, allocations: 192.6 kB / 0.5696 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.787e-05/0.3108, allocations: 8 kB / 0.5696 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.236e-05/0.3109, allocations: 7.984 kB / 0.5696 GB, free: 10.97 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.3109, allocations: 0 / 0.5696 GB, free: 10.97 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/0.3109, allocations: 8 kB / 0.5696 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.3109, allocations: 4 kB / 0.5696 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.3109, allocations: 0 / 0.5696 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003184/0.3112, allocations: 203.3 kB / 0.5698 GB, free: 10.74 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.957e-05/0.3112, allocations: 27.78 kB / 0.5698 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.644e-05/0.3113, allocations: 0 / 0.5698 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.959e-05/0.3114, allocations: 4 kB / 0.5698 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.589e-05/0.3114, allocations: 11.98 kB / 0.5698 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.492e-06/0.3114, allocations: 3.938 kB / 0.5698 GB, free: 10.7 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001751/0.3116, allocations: 185.2 kB / 0.57 GB, free: 10.51 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3116, allocations: 0 / 0.57 GB, free: 10.51 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003749/0.312, allocations: 79.69 kB / 0.5701 GB, free: 10.43 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.0008684/0.3128, allocations: 0.8097 MB / 0.5709 GB, free: 9.594 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004347/0.3133, allocations: 164 kB / 0.571 GB, free: 9.422 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.3133, allocations: 0 / 0.571 GB, free: 9.422 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001985/0.3135, allocations: 99.7 kB / 0.5711 GB, free: 9.312 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003503/0.3138, allocations: 28.73 kB / 0.5712 GB, free: 9.285 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002984/0.3168, allocations: 2.388 MB / 0.5735 GB, free: 6.734 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003608/0.3172, allocations: 0.732 MB / 0.5742 GB, free: 5.977 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.611e-05/0.3172, allocations: 17.42 kB / 0.5742 GB, free: 5.957 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.35e-05/0.3173, allocations: 55.42 kB / 0.5743 GB, free: 5.902 MB / 414.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3173, allocations: 4 kB / 0.5743 GB, free: 5.898 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03377/0.3511, allocations: 6.955 MB / 0.5811 GB, free: 15.12 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.47/12.82, allocations: 0 / 0.5811 GB, free: 15.12 MB / 430.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_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_flatTube.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HeatExchanger/kc_flatTube/kc_flatTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.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.70724297198467]