Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001658/0.001658, allocations: 113.1 kB / 21.85 MB, free: 80 kB / 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.001792/0.001792, allocations: 212.4 kB / 25.13 MB, free: 3.605 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.447/1.447, allocations: 230.4 MB / 258.7 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2224/0.2224, allocations: 46.93 MB / 362 MB, free: 4.234 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-beta.om/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: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|h_2|l_2|s_2|t_2|Nu|m_flow.1.|m_flow.2.|kc_1|kc_2|Re_1|Re_2|input_Nu.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|h_2|l_2|s_2|t_2|Nu|m_flow.1.|m_flow.2.|kc_1|kc_2|Re_1|Re_2|input_Nu.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002296/0.002296, allocations: 75.88 kB / 0.4978 GB, free: 7.363 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3079/0.3102, allocations: 66.1 MB / 0.5624 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.003548/0.3137, allocations: 2.194 MB / 0.5645 GB, free: 2.051 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001635/0.3154, allocations: 1.108 MB / 0.5656 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.26e-05/0.3155, allocations: 0 / 0.5656 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002862/0.3157, allocations: 87.38 kB / 0.5657 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000283/0.316, allocations: 95.33 kB / 0.5658 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002971/0.3163, allocations: 119.2 kB / 0.5659 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000216/0.3165, allocations: 182.8 kB / 0.5661 GB, free: 480 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.085e-05/0.3166, allocations: 12.59 kB / 0.5661 GB, free: 464 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001758/0.3168, allocations: 83.45 kB / 0.5662 GB, free: 380 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001436/0.3169, allocations: 87.5 kB / 0.5662 GB, free: 292 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.188e-05/0.3169, allocations: 8 kB / 0.5662 GB, free: 284 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000266/0.3172, allocations: 135.8 kB / 0.5664 GB, free: 148 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.445e-05/0.3173, allocations: 35.77 kB / 0.5664 GB, free: 112 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.032e-05/0.3174, allocations: 83.36 kB / 0.5665 GB, free: 28 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004305/0.3178, allocations: 294.6 kB / 0.5668 GB, free: 15.74 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.3178, allocations: 4 kB / 0.5668 GB, free: 15.73 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.3178, allocations: 0 / 0.5668 GB, free: 15.73 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.252e-05/0.3178, allocations: 0 / 0.5668 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.0006415/0.3185, allocations: 437.5 kB / 0.5672 GB, free: 15.27 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.292e-05/0.3185, allocations: 12.03 kB / 0.5672 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.445e-05/0.3185, allocations: 28.8 kB / 0.5672 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002031/0.3187, allocations: 162.1 kB / 0.5674 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.039e-05/0.3188, allocations: 12.81 kB / 0.5674 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.369e-05/0.3188, allocations: 28.12 kB / 0.5674 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004151/0.3192, allocations: 231.2 kB / 0.5676 GB, free: 14.78 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.3192, allocations: 0 / 0.5676 GB, free: 14.78 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.943e-05/0.3193, allocations: 8 kB / 0.5676 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.039e-05/0.3193, allocations: 7.984 kB / 0.5677 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004344/0.3197, allocations: 265.5 kB / 0.5679 GB, free: 14.51 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009899/0.3207, allocations: 0.5888 MB / 0.5685 GB, free: 13.88 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002813/0.321, allocations: 94.5 kB / 0.5686 GB, free: 13.77 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001267/0.3211, allocations: 44.98 kB / 0.5686 GB, free: 13.73 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.821e-05/0.3211, allocations: 4 kB / 0.5686 GB, free: 13.72 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.627e-05/0.3211, allocations: 30.56 kB / 0.5687 GB, free: 13.68 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.343e-06/0.3211, allocations: 0 / 0.5687 GB, free: 13.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005336/0.3217, allocations: 169.4 kB / 0.5688 GB, free: 13.51 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.943e-05/0.3217, allocations: 55.41 kB / 0.5689 GB, free: 13.45 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000275/0.322, allocations: 264.6 kB / 0.5691 GB, free: 13.18 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.29e-05/0.322, allocations: 29.7 kB / 0.5691 GB, free: 13.14 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001277/0.3221, allocations: 183.3 kB / 0.5693 GB, free: 12.96 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.477e-05/0.3222, allocations: 35.73 kB / 0.5694 GB, free: 12.93 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.842e-05/0.3223, allocations: 49.59 kB / 0.5694 GB, free: 12.87 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001458/0.3224, allocations: 338.8 kB / 0.5697 GB, free: 12.53 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001501/0.3226, allocations: 51.95 kB / 0.5698 GB, free: 12.48 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002329/0.3228, allocations: 145.6 kB / 0.5699 GB, free: 12.29 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003774/0.3232, allocations: 208.6 kB / 0.5701 GB, free: 12.04 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.3232, allocations: 4 kB / 0.5701 GB, free: 12.04 MB / 414.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000475/0.3236, allocations: 237.1 kB / 0.5703 GB, free: 11.8 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.3237, allocations: 10.78 kB / 0.5704 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.836e-06/0.3237, allocations: 8 kB / 0.5704 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.3237, allocations: 4 kB / 0.5704 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003896/0.3241, allocations: 79.91 kB / 0.5704 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008113/0.3249, allocations: 1.223 MB / 0.5716 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001938/0.3251, allocations: 47.84 kB / 0.5717 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.921e-05/0.3251, allocations: 8 kB / 0.5717 GB, free: 10.38 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.000137/0.3252, allocations: 137.7 kB / 0.5718 GB, free: 10.23 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.365e-05/0.3253, allocations: 19.86 kB / 0.5718 GB, free: 10.21 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004327/0.3257, allocations: 179.2 kB / 0.572 GB, free: 10.03 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.3257, allocations: 0 / 0.572 GB, free: 10.03 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.3257, allocations: 0 / 0.572 GB, free: 10.03 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.3257, allocations: 0 / 0.572 GB, free: 10.03 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006382/0.3264, allocations: 431 kB / 0.5724 GB, free: 9.555 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.3264, allocations: 0 / 0.5724 GB, free: 9.555 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002638/0.3266, allocations: 51.98 kB / 0.5725 GB, free: 9.504 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.63e-06/0.3266, allocations: 4 kB / 0.5725 GB, free: 9.5 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.5e-05/0.3267, allocations: 7.984 kB / 0.5725 GB, free: 9.492 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007394/0.3274, allocations: 1.219 MB / 0.5737 GB, free: 8.227 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.3274, allocations: 0 / 0.5737 GB, free: 8.227 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003756/0.3278, allocations: 249 kB / 0.5739 GB, free: 7.961 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.073e-05/0.3278, allocations: 23.94 kB / 0.5739 GB, free: 7.938 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.019e-05/0.3278, allocations: 4 kB / 0.5739 GB, free: 7.934 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001457/0.328, allocations: 4 kB / 0.5739 GB, free: 7.93 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.936e-05/0.328, allocations: 15.92 kB / 0.574 GB, free: 7.914 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.413e-05/0.3281, allocations: 4.188 kB / 0.574 GB, free: 7.91 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001753/0.3282, allocations: 187.1 kB / 0.5741 GB, free: 7.727 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3282, allocations: 3.938 kB / 0.5741 GB, free: 7.723 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003808/0.3286, allocations: 71.86 kB / 0.5742 GB, free: 7.652 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.0002552/0.3289, allocations: 135.2 kB / 0.5743 GB, free: 7.512 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005527/0.3294, allocations: 171.6 kB / 0.5745 GB, free: 7.344 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3294, allocations: 0 / 0.5745 GB, free: 7.344 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002911/0.3297, allocations: 88.89 kB / 0.5746 GB, free: 7.258 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003748/0.3301, allocations: 24.97 kB / 0.5746 GB, free: 7.23 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000814/0.3309, allocations: 399.4 kB / 0.575 GB, free: 6.805 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003425/0.3312, allocations: 0.7323 MB / 0.5757 GB, free: 6.043 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.357e-05/0.3313, allocations: 21.94 kB / 0.5757 GB, free: 6.023 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.648e-05/0.3314, allocations: 23.38 kB / 0.5757 GB, free: 6 MB / 414.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3314, allocations: 0 / 0.5757 GB, free: 6 MB / 414.1 MB Notification: Performance of Templates: time 0.007901/0.3393, allocations: 3.691 MB / 0.5794 GB, free: 2.355 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_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_4.1.0-beta.om_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: 5.032653436996043]