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.001799/0.001799, allocations: 109.2 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.002157/0.002157, allocations: 213.4 kB / 23.74 MB, free: 4.688 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.472/1.472, allocations: 230.6 MB / 257.5 MB, free: 8.023 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.2206/0.2206, allocations: 44.91 MB / 358.8 MB, free: 6.285 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.001983/0.001983, allocations: 67.88 kB / 0.4931 GB, free: 10.69 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2999/0.3019, allocations: 65.48 MB / 0.5571 GB, free: 7.398 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube): time 0.003354/0.3053, allocations: 2.124 MB / 0.5591 GB, free: 5.504 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002594/0.3079, allocations: 1.734 MB / 0.5608 GB, free: 3.766 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.884e-05/0.3079, allocations: 0 / 0.5608 GB, free: 3.766 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002932/0.3082, allocations: 95.36 kB / 0.5609 GB, free: 3.672 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001473/0.3084, allocations: 67.38 kB / 0.561 GB, free: 3.605 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008335/0.3092, allocations: 354.7 kB / 0.5613 GB, free: 3.258 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001894/0.3094, allocations: 147 kB / 0.5615 GB, free: 3.113 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.299e-05/0.3095, allocations: 16.58 kB / 0.5615 GB, free: 3.094 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.179e-05/0.3095, allocations: 51.67 kB / 0.5615 GB, free: 3.043 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000109/0.3097, allocations: 67.53 kB / 0.5616 GB, free: 2.977 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.61e-05/0.3097, allocations: 7.938 kB / 0.5616 GB, free: 2.969 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001231/0.3109, allocations: 0.788 MB / 0.5624 GB, free: 2.18 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.652e-05/0.311, allocations: 23.8 kB / 0.5624 GB, free: 2.156 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.363e-05/0.311, allocations: 83.42 kB / 0.5625 GB, free: 2.074 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007661/0.3118, allocations: 0.5918 MB / 0.563 GB, free: 1.48 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.3118, allocations: 0 / 0.563 GB, free: 1.48 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.3118, allocations: 0 / 0.563 GB, free: 1.48 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.3118, allocations: 0 / 0.563 GB, free: 1.48 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.0006697/0.3125, allocations: 453.4 kB / 0.5635 GB, free: 1.004 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.3125, allocations: 8.031 kB / 0.5635 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.207e-05/0.3126, allocations: 66.7 kB / 0.5636 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.193e-05/0.3126, allocations: 24.8 kB / 0.5636 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001882/0.3128, allocations: 158.5 kB / 0.5637 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.674e-05/0.3128, allocations: 16.44 kB / 0.5637 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.525e-05/0.3129, allocations: 20 kB / 0.5638 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004273/0.3133, allocations: 267.5 kB / 0.564 GB, free: 412 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.3133, allocations: 7.938 kB / 0.564 GB, free: 404 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.529e-05/0.3133, allocations: 4 kB / 0.564 GB, free: 400 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/0.3133, allocations: 8 kB / 0.564 GB, free: 392 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003206/0.3136, allocations: 164.2 kB / 0.5642 GB, free: 224 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001062/0.3147, allocations: 0.8852 MB / 0.5651 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001845/0.3149, allocations: 58.48 kB / 0.5651 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001078/0.315, allocations: 28.95 kB / 0.5651 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.023e-05/0.315, allocations: 3.984 kB / 0.5651 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.098e-05/0.3151, allocations: 34.56 kB / 0.5652 GB, free: 15.12 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.273e-06/0.3151, allocations: 4 kB / 0.5652 GB, free: 15.12 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004419/0.3155, allocations: 133.4 kB / 0.5653 GB, free: 14.98 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.567e-05/0.3155, allocations: 55.41 kB / 0.5654 GB, free: 14.92 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002617/0.3158, allocations: 268.1 kB / 0.5656 GB, free: 14.65 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.929e-05/0.3158, allocations: 25.7 kB / 0.5656 GB, free: 14.62 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001327/0.316, allocations: 195.4 kB / 0.5658 GB, free: 14.42 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.699e-05/0.316, allocations: 15.86 kB / 0.5658 GB, free: 14.41 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.779e-05/0.3161, allocations: 57.66 kB / 0.5659 GB, free: 14.34 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.3162, allocations: 330.8 kB / 0.5662 GB, free: 14.01 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001434/0.3163, allocations: 44.2 kB / 0.5663 GB, free: 13.96 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002378/0.3166, allocations: 188.1 kB / 0.5664 GB, free: 13.71 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003908/0.317, allocations: 259.4 kB / 0.5667 GB, free: 13.39 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.317, allocations: 0 / 0.5667 GB, free: 13.39 MB / 414.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004836/0.3175, allocations: 265.6 kB / 0.5669 GB, free: 13.12 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.3175, allocations: 8 kB / 0.5669 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.79e-05/0.3175, allocations: 12 kB / 0.567 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.063e-05/0.3175, allocations: 11.94 kB / 0.567 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001676/0.3177, allocations: 47.84 kB / 0.567 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.455e-05/0.3177, allocations: 11.94 kB / 0.567 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001637/0.3179, allocations: 43.86 kB / 0.5671 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.052e-05/0.3179, allocations: 23.98 kB / 0.5671 GB, free: 12.96 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.0001221/0.318, allocations: 137.8 kB / 0.5672 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.399e-05/0.3181, allocations: 19.86 kB / 0.5672 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003661/0.3184, allocations: 138.9 kB / 0.5674 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.134e-06/0.3184, allocations: 3.938 kB / 0.5674 GB, free: 12.65 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.3184, allocations: 0 / 0.5674 GB, free: 12.65 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.3185, allocations: 4 kB / 0.5674 GB, free: 12.65 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003026/0.3188, allocations: 192.5 kB / 0.5676 GB, free: 12.42 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-05/0.3188, allocations: 12 kB / 0.5676 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.443e-05/0.3188, allocations: 7.984 kB / 0.5676 GB, free: 12.4 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.3188, allocations: 0 / 0.5676 GB, free: 12.4 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.3188, allocations: 4 kB / 0.5676 GB, free: 12.4 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.3188, allocations: 3.938 kB / 0.5676 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.3188, allocations: 0 / 0.5676 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003126/0.3192, allocations: 207.4 kB / 0.5678 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.357e-05/0.3192, allocations: 15.86 kB / 0.5678 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.733e-05/0.3192, allocations: 0 / 0.5678 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000109/0.3193, allocations: 11.92 kB / 0.5678 GB, free: 12.15 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.564e-05/0.3194, allocations: 12.12 kB / 0.5678 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.867e-06/0.3194, allocations: 8 kB / 0.5678 GB, free: 12.13 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001685/0.3196, allocations: 179.1 kB / 0.568 GB, free: 11.95 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3196, allocations: 0 / 0.568 GB, free: 11.95 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004991/0.32, allocations: 111.7 kB / 0.5681 GB, free: 11.84 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.0009463/0.321, allocations: 0.8331 MB / 0.5689 GB, free: 10.98 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004809/0.3215, allocations: 196.4 kB / 0.5691 GB, free: 10.78 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.3215, allocations: 0 / 0.5691 GB, free: 10.78 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002092/0.3217, allocations: 99.38 kB / 0.5692 GB, free: 10.67 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003607/0.322, allocations: 34.41 kB / 0.5692 GB, free: 10.64 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003076/0.3251, allocations: 2.512 MB / 0.5717 GB, free: 7.91 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003543/0.3255, allocations: 0.7284 MB / 0.5724 GB, free: 7.156 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.263e-05/0.3256, allocations: 25.94 kB / 0.5724 GB, free: 7.129 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.15e-05/0.3256, allocations: 59.42 kB / 0.5725 GB, free: 7.07 MB / 414.1 MB Notification: Performance of SimCode: time 4.1e-07/0.3256, allocations: 0 / 0.5725 GB, free: 7.07 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03914/0.3648, allocations: 9.226 MB / 0.5815 GB, free: 14.02 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.88/13.24, allocations: 4 kB / 0.5815 GB, free: 14.01 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.288290310883895]