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.00129/0.00129, allocations: 83.84 kB / 20.68 MB, free: 1.023 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.001431/0.001431, allocations: 164.1 kB / 23.95 MB, free: 4.156 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.53/1.53, allocations: 177.2 MB / 204.3 MB, free: 9.199 MB / 190.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.2158/0.2158, allocations: 34.29 MB / 295 MB, free: 14.59 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 2.174e-06/2.174e-06, allocations: 0 / 442.7 MB, free: 5.375 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.92e-05/3.137e-05, allocations: 2.281 kB / 442.7 MB, free: 5.371 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.004943/0.004974, allocations: 2.113 MB / 444.8 MB, free: 3.246 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002441/0.007415, allocations: 0.9849 MB / 445.8 MB, free: 2.258 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001251/0.00754, allocations: 0 / 445.8 MB, free: 2.258 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004454/0.007985, allocations: 95.33 kB / 445.9 MB, free: 2.164 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004879/0.008473, allocations: 91.2 kB / 446 MB, free: 2.074 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004516/0.008925, allocations: 115.5 kB / 446.1 MB, free: 1.961 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003308/0.009255, allocations: 194.7 kB / 446.3 MB, free: 1.77 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.078e-05/0.009316, allocations: 8.594 kB / 446.3 MB, free: 1.758 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002954/0.009612, allocations: 103.5 kB / 446.4 MB, free: 1.656 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000193/0.009805, allocations: 67.73 kB / 446.5 MB, free: 1.59 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.33e-05/0.009838, allocations: 4 kB / 446.5 MB, free: 1.586 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004319/0.01027, allocations: 135.8 kB / 446.6 MB, free: 1.453 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.296e-05/0.01034, allocations: 23.8 kB / 446.6 MB, free: 1.43 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001132/0.01046, allocations: 55.78 kB / 446.7 MB, free: 1.375 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006405/0.0111, allocations: 298.7 kB / 447 MB, free: 1.082 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.0111, allocations: 4 kB / 447 MB, free: 1.078 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.0111, allocations: 4 kB / 447 MB, free: 1.074 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.01111, allocations: 0 / 447 MB, free: 1.074 MB / 366.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.0008569/0.01197, allocations: 429.6 kB / 447.4 MB, free: 0.625 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.01201, allocations: 8.031 kB / 447.4 MB, free: 0.6172 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.837e-05/0.01211, allocations: 28.75 kB / 447.5 MB, free: 0.5898 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003549/0.01246, allocations: 160.1 kB / 447.6 MB, free: 420 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.605e-05/0.0125, allocations: 16.88 kB / 447.6 MB, free: 400 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.119e-05/0.01255, allocations: 24.38 kB / 447.6 MB, free: 376 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007103/0.01326, allocations: 236.6 kB / 447.9 MB, free: 136 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.939e-05/0.01328, allocations: 7.875 kB / 447.9 MB, free: 128 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.992e-05/0.01331, allocations: 4 kB / 447.9 MB, free: 124 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.548e-05/0.01333, allocations: 4 kB / 447.9 MB, free: 120 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2511/0.2644, allocations: 263 kB / 448.2 MB, free: 19.71 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001056/0.2655, allocations: 0.5039 MB / 448.7 MB, free: 19.5 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003102/0.2658, allocations: 98.91 kB / 448.8 MB, free: 19.47 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001367/0.2659, allocations: 40.62 kB / 448.8 MB, free: 19.46 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.254e-05/0.2659, allocations: 6.25 kB / 448.8 MB, free: 19.46 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.442e-05/0.266, allocations: 37.12 kB / 448.8 MB, free: 19.41 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.833e-06/0.266, allocations: 0 / 448.8 MB, free: 19.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005756/0.2665, allocations: 168.8 kB / 449 MB, free: 19.35 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.655e-05/0.2666, allocations: 52.44 kB / 449.1 MB, free: 19.29 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001845/0.2668, allocations: 195.3 kB / 449.2 MB, free: 19.15 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.605e-05/0.2668, allocations: 25.7 kB / 449.3 MB, free: 19.12 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.663e-05/0.2669, allocations: 188.4 kB / 449.5 MB, free: 18.96 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.708e-05/0.2669, allocations: 31.11 kB / 449.5 MB, free: 18.94 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.994e-05/0.267, allocations: 48.17 kB / 449.5 MB, free: 18.91 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.375e-05/0.267, allocations: 328.6 kB / 449.8 MB, free: 18.59 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001571/0.2672, allocations: 50.95 kB / 449.9 MB, free: 18.58 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001993/0.2674, allocations: 148.4 kB / 450 MB, free: 18.45 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003498/0.2677, allocations: 209.5 kB / 450.2 MB, free: 18.29 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.2678, allocations: 1.219 kB / 450.2 MB, free: 18.29 MB / 366.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004789/0.2682, allocations: 230.7 kB / 450.5 MB, free: 18.2 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/0.2683, allocations: 10.7 kB / 450.5 MB, free: 18.19 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.298e-06/0.2683, allocations: 4.219 kB / 450.5 MB, free: 18.19 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.5e-05/0.2683, allocations: 6 kB / 450.5 MB, free: 18.19 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004477/0.2687, allocations: 88.81 kB / 450.6 MB, free: 18.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005376/0.2693, allocations: 1.214 MB / 451.8 MB, free: 16.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002/0.2695, allocations: 29.61 kB / 451.8 MB, free: 16.97 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.639e-05/0.2695, allocations: 10.17 kB / 451.8 MB, free: 16.97 MB / 366.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.0001302/0.2696, allocations: 142.2 kB / 452 MB, free: 16.84 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.708e-05/0.2697, allocations: 19.06 kB / 452 MB, free: 16.83 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004611/0.2701, allocations: 160.5 kB / 452.1 MB, free: 16.76 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.628e-06/0.2701, allocations: 4.312 kB / 452.2 MB, free: 16.76 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.738e-06/0.2701, allocations: 3.938 kB / 452.2 MB, free: 16.76 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.2701, allocations: 0.7969 kB / 452.2 MB, free: 16.76 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000584/0.2707, allocations: 384.2 kB / 452.5 MB, free: 16.47 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.135e-06/0.2707, allocations: 5.891 kB / 452.5 MB, free: 16.47 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002683/0.271, allocations: 56.3 kB / 452.6 MB, free: 16.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.301e-06/0.271, allocations: 6.391 kB / 452.6 MB, free: 16.46 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.814e-05/0.271, allocations: 7.656 kB / 452.6 MB, free: 16.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004233/0.2715, allocations: 1.206 MB / 453.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.2715, allocations: 3.938 kB / 453.8 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003627/0.2718, allocations: 239.6 kB / 454.1 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.956e-05/0.2718, allocations: 29.72 kB / 454.1 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.185e-05/0.2719, allocations: 6.391 kB / 454.1 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001425/0.272, allocations: 5.641 kB / 454.1 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.507e-05/0.2721, allocations: 18.11 kB / 454.1 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.164e-05/0.2721, allocations: 3.281 kB / 454.1 MB, free: 15.05 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001073/0.2722, allocations: 139.9 kB / 454.2 MB, free: 14.96 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2722, allocations: 0 / 454.2 MB, free: 14.96 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004532/0.2727, allocations: 72.48 kB / 454.3 MB, free: 14.95 MB / 366.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.0002977/0.273, allocations: 147.2 kB / 454.5 MB, free: 14.84 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006217/0.2736, allocations: 166.6 kB / 454.6 MB, free: 14.81 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.2736, allocations: 1.375 kB / 454.6 MB, free: 14.81 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003111/0.2739, allocations: 83.16 kB / 454.7 MB, free: 14.8 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003219/0.2742, allocations: 15.2 kB / 454.7 MB, free: 14.79 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007479/0.275, allocations: 373 kB / 455.1 MB, free: 14.54 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001165/0.2751, allocations: 127.4 kB / 455.2 MB, free: 14.46 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.174e-05/0.2751, allocations: 18.36 kB / 455.2 MB, free: 14.45 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.558e-05/0.2752, allocations: 16.22 kB / 455.2 MB, free: 14.45 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2752, allocations: 0 / 455.2 MB, free: 14.45 MB / 366.1 MB Notification: Performance of Templates: time 0.008497/0.2837, allocations: 3.16 MB / 458.4 MB, free: 14.23 MB / 366.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/jenkins/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/jenkins/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: 5.256012734025717]