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_KC.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.001587/0.001587, allocations: 107.6 kB / 21.19 MB, free: 0.6484 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.001755/0.001755, allocations: 215.5 kB / 24.48 MB, free: 3.957 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.479/1.479, allocations: 230.6 MB / 258.2 MB, free: 7.785 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.2271/0.2271, allocations: 46.97 MB / 361.6 MB, free: 4.031 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: 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_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_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001971/0.001971, allocations: 67.91 kB / 0.4974 GB, free: 7.172 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3105/0.3125, allocations: 66.03 MB / 0.5619 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.003813/0.3163, allocations: 2.104 MB / 0.5639 GB, free: 2.062 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001811/0.3181, allocations: 0.9954 MB / 0.5649 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001015/0.3182, allocations: 4 kB / 0.5649 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003542/0.3186, allocations: 75.42 kB / 0.565 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003391/0.3189, allocations: 87.33 kB / 0.565 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000315/0.3192, allocations: 119.2 kB / 0.5652 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002541/0.3195, allocations: 182.9 kB / 0.5653 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.692e-05/0.3195, allocations: 16.59 kB / 0.5653 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002006/0.3197, allocations: 79.52 kB / 0.5654 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001637/0.3199, allocations: 91.44 kB / 0.5655 GB, free: 432 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.969e-05/0.3199, allocations: 4 kB / 0.5655 GB, free: 428 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002908/0.3202, allocations: 135.8 kB / 0.5656 GB, free: 292 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.388e-05/0.3203, allocations: 31.78 kB / 0.5657 GB, free: 260 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.309e-05/0.3203, allocations: 67.53 kB / 0.5657 GB, free: 192 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004575/0.3208, allocations: 298.5 kB / 0.566 GB, free: 15.89 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.3208, allocations: 0 / 0.566 GB, free: 15.89 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.3208, allocations: 0 / 0.566 GB, free: 15.89 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.192e-06/0.3208, allocations: 4 kB / 0.566 GB, free: 15.89 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.0006688/0.3215, allocations: 437.5 kB / 0.5664 GB, free: 15.43 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.3215, allocations: 12.02 kB / 0.5665 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.004e-05/0.3216, allocations: 24.8 kB / 0.5665 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002207/0.3218, allocations: 159.8 kB / 0.5666 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.096e-05/0.3218, allocations: 16.81 kB / 0.5666 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001274/0.322, allocations: 28.12 kB / 0.5667 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004495/0.3224, allocations: 231.2 kB / 0.5669 GB, free: 14.94 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.3224, allocations: 3.938 kB / 0.5669 GB, free: 14.94 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.909e-05/0.3224, allocations: 11.94 kB / 0.5669 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.129e-05/0.3225, allocations: 8 kB / 0.5669 GB, free: 14.92 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000462/0.3229, allocations: 253.6 kB / 0.5672 GB, free: 14.67 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009827/0.3239, allocations: 0.5115 MB / 0.5677 GB, free: 14.13 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002831/0.3242, allocations: 94.64 kB / 0.5677 GB, free: 14.03 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001528/0.3243, allocations: 44.84 kB / 0.5678 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.645e-05/0.3244, allocations: 4 kB / 0.5678 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.279e-05/0.3244, allocations: 34.55 kB / 0.5678 GB, free: 13.93 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.172e-06/0.3244, allocations: 0 / 0.5678 GB, free: 13.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005369/0.3249, allocations: 157.5 kB / 0.568 GB, free: 13.77 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.482e-05/0.325, allocations: 55.41 kB / 0.568 GB, free: 13.71 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002108/0.3252, allocations: 203.7 kB / 0.5682 GB, free: 13.5 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.246e-05/0.3252, allocations: 25.7 kB / 0.5682 GB, free: 13.46 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001352/0.3253, allocations: 191.8 kB / 0.5684 GB, free: 13.27 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.465e-05/0.3254, allocations: 35.67 kB / 0.5685 GB, free: 13.24 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.259e-05/0.3255, allocations: 53.66 kB / 0.5685 GB, free: 13.18 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001636/0.3256, allocations: 330.8 kB / 0.5688 GB, free: 12.85 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001558/0.3258, allocations: 47.95 kB / 0.5689 GB, free: 12.8 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002444/0.326, allocations: 144.8 kB / 0.569 GB, free: 12.61 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003949/0.3264, allocations: 204.7 kB / 0.5692 GB, free: 12.37 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.3264, allocations: 4 kB / 0.5692 GB, free: 12.36 MB / 414.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005974/0.327, allocations: 229.2 kB / 0.5694 GB, free: 12.13 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.327, allocations: 8.438 kB / 0.5694 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/0.327, allocations: 8 kB / 0.5694 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.3271, allocations: 4 kB / 0.5695 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000421/0.3275, allocations: 87.84 kB / 0.5695 GB, free: 12.03 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00118/0.3287, allocations: 1.223 MB / 0.5707 GB, free: 10.76 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001994/0.3289, allocations: 23.84 kB / 0.5708 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.152e-05/0.3289, allocations: 12 kB / 0.5708 GB, free: 10.72 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.0001458/0.329, allocations: 139.2 kB / 0.5709 GB, free: 10.58 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.332e-05/0.3291, allocations: 19.84 kB / 0.5709 GB, free: 10.56 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004623/0.3295, allocations: 163.2 kB / 0.5711 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.155e-06/0.3296, allocations: 7.984 kB / 0.5711 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.3296, allocations: 4 kB / 0.5711 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.3296, allocations: 0 / 0.5711 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006519/0.3302, allocations: 387.7 kB / 0.5715 GB, free: 9.957 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.3302, allocations: 4 kB / 0.5715 GB, free: 9.953 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002776/0.3305, allocations: 63.91 kB / 0.5715 GB, free: 9.891 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.3305, allocations: 0 / 0.5715 GB, free: 9.891 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.534e-05/0.3305, allocations: 4 kB / 0.5715 GB, free: 9.887 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008063/0.3313, allocations: 1.215 MB / 0.5727 GB, free: 8.625 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.3313, allocations: 4.031 kB / 0.5727 GB, free: 8.621 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004336/0.3318, allocations: 237.1 kB / 0.5729 GB, free: 8.367 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.641e-05/0.3318, allocations: 19.83 kB / 0.573 GB, free: 8.348 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.882e-05/0.3318, allocations: 0 / 0.573 GB, free: 8.348 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000158/0.332, allocations: 4 kB / 0.573 GB, free: 8.344 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.801e-05/0.332, allocations: 12.17 kB / 0.573 GB, free: 8.332 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.176e-05/0.3321, allocations: 11.98 kB / 0.573 GB, free: 8.32 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001182/0.3322, allocations: 136.2 kB / 0.5731 GB, free: 8.188 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3322, allocations: 0 / 0.5731 GB, free: 8.188 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005094/0.3327, allocations: 83.7 kB / 0.5732 GB, free: 8.105 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.0002955/0.333, allocations: 135.1 kB / 0.5733 GB, free: 7.961 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005697/0.3335, allocations: 168.6 kB / 0.5735 GB, free: 7.797 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.3335, allocations: 0 / 0.5735 GB, free: 7.797 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002985/0.3338, allocations: 91.89 kB / 0.5736 GB, free: 7.707 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003639/0.3342, allocations: 23.14 kB / 0.5736 GB, free: 7.688 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008442/0.3351, allocations: 424.2 kB / 0.574 GB, free: 7.238 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001401/0.3352, allocations: 121 kB / 0.5741 GB, free: 7.098 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.735e-05/0.3353, allocations: 23.44 kB / 0.5741 GB, free: 7.074 MB / 414.1 MB Notification: Performance of SimCode: time 7.92e-07/0.3353, allocations: 0 / 0.5741 GB, free: 7.074 MB / 414.1 MB Notification: Performance of Templates: time 0.006824/0.3421, allocations: 4.178 MB / 0.5782 GB, free: 2.902 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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_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: 8.079266330983955]