Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001304/0.001304, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001424/0.001424, allocations: 204.4 kB / 23.72 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.408/1.408, allocations: 230.5 MB / 257.4 MB, free: 7.742 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2172/0.2172, allocations: 46.95 MB / 360.8 MB, free: 3.906 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002501/0.002501, allocations: 83.86 kB / 0.4962 GB, free: 7.496 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2996/0.3021, allocations: 66.09 MB / 0.5607 GB, free: 4.008 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.003648/0.3057, allocations: 2.09 MB / 0.5628 GB, free: 1.906 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00183/0.3075, allocations: 0.9946 MB / 0.5637 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001194/0.3077, allocations: 0 / 0.5637 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003529/0.308, allocations: 87.34 kB / 0.5638 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003507/0.3084, allocations: 99.25 kB / 0.5639 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003317/0.3087, allocations: 115.5 kB / 0.564 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000222/0.3089, allocations: 174.9 kB / 0.5642 GB, free: 452 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.891e-05/0.309, allocations: 16.58 kB / 0.5642 GB, free: 432 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001969/0.3092, allocations: 75.58 kB / 0.5643 GB, free: 356 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001427/0.3093, allocations: 91.44 kB / 0.5644 GB, free: 264 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.162e-05/0.3094, allocations: 4 kB / 0.5644 GB, free: 260 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002976/0.3097, allocations: 127.8 kB / 0.5645 GB, free: 132 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.067e-05/0.3097, allocations: 35.77 kB / 0.5645 GB, free: 96 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.48e-05/0.3098, allocations: 59.55 kB / 0.5646 GB, free: 36 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000447/0.3102, allocations: 306.5 kB / 0.5649 GB, free: 15.73 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.3102, allocations: 0 / 0.5649 GB, free: 15.73 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.3103, allocations: 0 / 0.5649 GB, free: 15.73 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.658e-06/0.3103, allocations: 0 / 0.5649 GB, free: 15.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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0006457/0.3109, allocations: 437.6 kB / 0.5653 GB, free: 15.27 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.3109, allocations: 8.031 kB / 0.5653 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.344e-05/0.311, allocations: 58.67 kB / 0.5654 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.963e-05/0.3111, allocations: 24.8 kB / 0.5654 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002254/0.3113, allocations: 166.1 kB / 0.5655 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.14e-05/0.3113, allocations: 12.81 kB / 0.5656 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.544e-05/0.3113, allocations: 27.94 kB / 0.5656 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00042/0.3118, allocations: 227.3 kB / 0.5658 GB, free: 14.72 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.3118, allocations: 0 / 0.5658 GB, free: 14.72 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.964e-05/0.3118, allocations: 7.984 kB / 0.5658 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.413e-06/0.3118, allocations: 8 kB / 0.5658 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004595/0.3123, allocations: 257.6 kB / 0.5661 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001011/0.3133, allocations: 0.5732 MB / 0.5666 GB, free: 13.84 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002808/0.3136, allocations: 90.61 kB / 0.5667 GB, free: 13.74 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001327/0.3137, allocations: 40.94 kB / 0.5668 GB, free: 13.7 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.021e-05/0.3137, allocations: 4 kB / 0.5668 GB, free: 13.7 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.071e-05/0.3138, allocations: 38.5 kB / 0.5668 GB, free: 13.65 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.463e-06/0.3138, allocations: 0 / 0.5668 GB, free: 13.65 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005365/0.3143, allocations: 165.7 kB / 0.5669 GB, free: 13.48 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.619e-05/0.3144, allocations: 55.48 kB / 0.567 GB, free: 13.41 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003066/0.3147, allocations: 284 kB / 0.5673 GB, free: 13.13 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.46e-05/0.3147, allocations: 29.7 kB / 0.5673 GB, free: 13.09 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001412/0.3148, allocations: 179.3 kB / 0.5675 GB, free: 12.91 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.392e-05/0.3149, allocations: 31.73 kB / 0.5675 GB, free: 12.88 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.133e-05/0.3149, allocations: 53.66 kB / 0.5676 GB, free: 12.82 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001914/0.3151, allocations: 338.8 kB / 0.5679 GB, free: 12.48 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000152/0.3153, allocations: 51.95 kB / 0.5679 GB, free: 12.43 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002355/0.3155, allocations: 144.8 kB / 0.5681 GB, free: 12.25 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004031/0.3159, allocations: 208.6 kB / 0.5683 GB, free: 12 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.3159, allocations: 0 / 0.5683 GB, free: 12 MB / 414.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004833/0.3164, allocations: 237.2 kB / 0.5685 GB, free: 11.76 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.3164, allocations: 11.94 kB / 0.5685 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.816e-06/0.3164, allocations: 4.438 kB / 0.5685 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.997e-05/0.3165, allocations: 8 kB / 0.5685 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003829/0.3168, allocations: 79.91 kB / 0.5686 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008898/0.3177, allocations: 1.227 MB / 0.5698 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002032/0.3179, allocations: 35.73 kB / 0.5698 GB, free: 10.35 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.89e-05/0.3179, allocations: 8 kB / 0.5698 GB, free: 10.34 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 (25): * Single equations (assignments): 23 * 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.0001446/0.3181, allocations: 141.6 kB / 0.57 GB, free: 10.19 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.408e-05/0.3181, allocations: 20.05 kB / 0.57 GB, free: 10.17 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004349/0.3186, allocations: 175.2 kB / 0.5701 GB, free: 9.992 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.3186, allocations: 0 / 0.5701 GB, free: 9.992 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.3186, allocations: 3.984 kB / 0.5702 GB, free: 9.988 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.3186, allocations: 4 kB / 0.5702 GB, free: 9.984 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006467/0.3192, allocations: 407.2 kB / 0.5705 GB, free: 9.531 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/0.3192, allocations: 8 kB / 0.5706 GB, free: 9.523 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002414/0.3195, allocations: 55.97 kB / 0.5706 GB, free: 9.469 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.3195, allocations: 3.938 kB / 0.5706 GB, free: 9.465 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.3195, allocations: 4 kB / 0.5706 GB, free: 9.461 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007924/0.3203, allocations: 1.211 MB / 0.5718 GB, free: 8.203 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.394e-06/0.3203, allocations: 8.016 kB / 0.5718 GB, free: 8.195 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000397/0.3207, allocations: 248.9 kB / 0.572 GB, free: 7.93 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.001e-05/0.3207, allocations: 31.92 kB / 0.5721 GB, free: 7.898 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.148e-05/0.3208, allocations: 3.938 kB / 0.5721 GB, free: 7.895 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001493/0.3209, allocations: 11.94 kB / 0.5721 GB, free: 7.883 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.367e-05/0.321, allocations: 11.98 kB / 0.5721 GB, free: 7.871 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.265e-05/0.321, allocations: 7.984 kB / 0.5721 GB, free: 7.863 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001876/0.3212, allocations: 187.2 kB / 0.5723 GB, free: 7.68 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3212, allocations: 0 / 0.5723 GB, free: 7.68 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003922/0.3216, allocations: 67.92 kB / 0.5723 GB, free: 7.613 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (9): * Single equations (assignments): 7 * 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.0008978/0.3225, allocations: 0.8192 MB / 0.5731 GB, free: 6.762 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000562/0.323, allocations: 168.3 kB / 0.5733 GB, free: 6.598 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.323, allocations: 192 / 0.5733 GB, free: 6.598 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002883/0.3233, allocations: 91.89 kB / 0.5734 GB, free: 6.508 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003868/0.3237, allocations: 16.98 kB / 0.5734 GB, free: 6.488 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003397/0.3271, allocations: 2.56 MB / 0.5759 GB, free: 3.75 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000119/0.3272, allocations: 121.6 kB / 0.576 GB, free: 3.613 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.792e-05/0.3273, allocations: 25.98 kB / 0.5761 GB, free: 3.59 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000137/0.3274, allocations: 59.41 kB / 0.5761 GB, free: 3.531 MB / 414.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3274, allocations: 0 / 0.5761 GB, free: 3.531 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03494/0.3624, allocations: 6.804 MB / 0.5828 GB, free: 12.89 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.36/12.73, allocations: 7.984 kB / 0.5828 GB, free: 12.88 MB / 430.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201879 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_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_flatTube_KC/kc_flatTube_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_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: 15.558618287090212]