Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.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.00206/0.00206, allocations: 74.88 kB / 21.24 MB, free: 0.5469 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.002122/0.002122, allocations: 161.8 kB / 24.5 MB, free: 3.719 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: 177.2 MB / 204.9 MB, free: 9.031 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.2093/0.2093, allocations: 34.29 MB / 295.5 MB, free: 14.58 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.StraightPipe.kc_turbulent,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|cp.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.3.|m_flow.1.|m_flow.2.|m_flow.3.|Re_1.1.|Re_1.2.|Re_1.3.|Nu_1.1.|Nu_1.2.|Nu_1.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|Re|Pr.1.|Pr.2.|Pr.3.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|cp.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.3.|m_flow.1.|m_flow.2.|m_flow.3.|Re_1.1.|Re_1.2.|Re_1.3.|Nu_1.1.|Nu_1.2.|Nu_1.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|Re|Pr.1.|Pr.2.|Pr.3.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002343/0.002343, allocations: 63.89 kB / 443.2 MB, free: 6.645 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3113/0.3136, allocations: 66.01 MB / 0.4973 GB, free: 29.88 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.002565/0.3162, allocations: 1.977 MB / 0.4992 GB, free: 28.56 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001343/0.3175, allocations: 1.051 MB / 0.5002 GB, free: 27.88 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.359e-05/0.3176, allocations: 2.875 kB / 0.5002 GB, free: 27.88 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002242/0.3178, allocations: 57.77 kB / 0.5003 GB, free: 27.85 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001644/0.318, allocations: 85.34 kB / 0.5004 GB, free: 27.8 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004551/0.3184, allocations: 172.1 kB / 0.5005 GB, free: 27.73 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002618/0.3187, allocations: 331.4 kB / 0.5008 GB, free: 27.58 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.537e-05/0.3187, allocations: 18.48 kB / 0.5009 GB, free: 27.57 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001665/0.3189, allocations: 117.5 kB / 0.501 GB, free: 27.52 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001531/0.3191, allocations: 143.4 kB / 0.5011 GB, free: 27.46 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.776e-05/0.3191, allocations: 12.22 kB / 0.5011 GB, free: 27.46 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002586/0.3193, allocations: 147.9 kB / 0.5013 GB, free: 27.43 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.084e-05/0.3194, allocations: 71.31 kB / 0.5013 GB, free: 27.39 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 9.987e-05/0.3195, allocations: 106.6 kB / 0.5014 GB, free: 27.34 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003586/0.3199, allocations: 387.8 kB / 0.5018 GB, free: 27.2 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.3199, allocations: 4 kB / 0.5018 GB, free: 27.19 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.3199, allocations: 4 kB / 0.5018 GB, free: 27.19 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.109e-06/0.3199, allocations: 0 / 0.5018 GB, free: 27.19 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.0008557/0.3207, allocations: 0.5524 MB / 0.5023 GB, free: 26.77 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.993e-05/0.3208, allocations: 9.75 kB / 0.5024 GB, free: 26.77 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003668/0.3211, allocations: 66.78 kB / 0.5024 GB, free: 26.75 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002541/0.3214, allocations: 214.3 kB / 0.5026 GB, free: 26.57 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.015e-05/0.3214, allocations: 22.22 kB / 0.5026 GB, free: 26.57 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.448e-05/0.3214, allocations: 31.38 kB / 0.5027 GB, free: 26.55 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005896/0.322, allocations: 430.9 kB / 0.5031 GB, free: 26.38 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.3221, allocations: 0 / 0.5031 GB, free: 26.38 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.494e-05/0.3221, allocations: 11.28 kB / 0.5031 GB, free: 26.38 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.671e-05/0.3221, allocations: 19.53 kB / 0.5031 GB, free: 26.38 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000668/0.3228, allocations: 322.8 kB / 0.5034 GB, free: 26.3 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001058/0.3238, allocations: 0.9419 MB / 0.5043 GB, free: 25.68 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000411/0.3242, allocations: 235.6 kB / 0.5046 GB, free: 25.58 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002546/0.3245, allocations: 103.6 kB / 0.5047 GB, free: 25.54 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.306e-05/0.3245, allocations: 12.16 kB / 0.5047 GB, free: 25.54 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.959e-05/0.3245, allocations: 33.62 kB / 0.5047 GB, free: 25.5 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.894e-06/0.3245, allocations: 3.984 kB / 0.5047 GB, free: 25.49 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.0008965/0.3254, allocations: 348.5 kB / 0.505 GB, free: 25.4 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.427e-05/0.3255, allocations: 105.8 kB / 0.5051 GB, free: 25.28 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001884/0.3257, allocations: 269.2 kB / 0.5054 GB, free: 25.12 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.557e-05/0.3257, allocations: 25.7 kB / 0.5054 GB, free: 25.09 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.868e-05/0.3258, allocations: 208.2 kB / 0.5056 GB, free: 24.91 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.051e-05/0.3258, allocations: 57.03 kB / 0.5057 GB, free: 24.87 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.96e-05/0.3259, allocations: 64.38 kB / 0.5057 GB, free: 24.83 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.335e-05/0.3259, allocations: 332 kB / 0.5061 GB, free: 24.51 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002663/0.3262, allocations: 121 kB / 0.5062 GB, free: 24.49 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003037/0.3265, allocations: 236.5 kB / 0.5064 GB, free: 24.32 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005682/0.3271, allocations: 365 kB / 0.5067 GB, free: 24.11 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.3271, allocations: 3.156 kB / 0.5067 GB, free: 24.11 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007055/0.3278, allocations: 388.1 kB / 0.5071 GB, free: 24 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.3278, allocations: 6.312 kB / 0.5071 GB, free: 24 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.756e-05/0.3278, allocations: 26.77 kB / 0.5071 GB, free: 23.99 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/0.3278, allocations: 6.25 kB / 0.5072 GB, free: 23.99 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002207/0.3281, allocations: 50.58 kB / 0.5072 GB, free: 23.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.796e-06/0.3281, allocations: 10.56 kB / 0.5072 GB, free: 23.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002241/0.3283, allocations: 48.66 kB / 0.5073 GB, free: 23.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.777e-05/0.3283, allocations: 12.41 kB / 0.5073 GB, free: 23.96 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 6 (m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[1].roughness,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[1].roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.0001391/0.3285, allocations: 178.1 kB / 0.5074 GB, free: 23.82 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.542e-05/0.3285, allocations: 21.11 kB / 0.5075 GB, free: 23.81 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005069/0.329, allocations: 278.3 kB / 0.5077 GB, free: 23.71 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.002e-06/0.3291, allocations: 2.969 kB / 0.5077 GB, free: 23.71 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.3291, allocations: 0 / 0.5077 GB, free: 23.71 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.012e-06/0.3291, allocations: 10.38 kB / 0.5077 GB, free: 23.7 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003183/0.3294, allocations: 228.2 kB / 0.508 GB, free: 23.54 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.957e-05/0.3294, allocations: 23.53 kB / 0.508 GB, free: 23.54 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000143/0.3296, allocations: 29.11 kB / 0.508 GB, free: 23.53 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.3296, allocations: 0 / 0.508 GB, free: 23.53 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.681e-05/0.3296, allocations: 10.25 kB / 0.508 GB, free: 23.53 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.3296, allocations: 0 / 0.508 GB, free: 23.53 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3296, allocations: 4.094 kB / 0.508 GB, free: 23.52 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005751/0.3301, allocations: 0.4954 MB / 0.5085 GB, free: 23.2 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.278e-05/0.3302, allocations: 24.48 kB / 0.5085 GB, free: 23.18 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.125e-05/0.3302, allocations: 4 kB / 0.5085 GB, free: 23.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002433/0.3305, allocations: 18.62 kB / 0.5086 GB, free: 23.18 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.761e-05/0.3305, allocations: 25.61 kB / 0.5086 GB, free: 23.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.641e-05/0.3305, allocations: 13.08 kB / 0.5086 GB, free: 23.16 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001116/0.3306, allocations: 181.7 kB / 0.5088 GB, free: 23.05 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3306, allocations: 0 / 0.5088 GB, free: 23.05 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004844/0.3311, allocations: 106.6 kB / 0.5089 GB, free: 23.03 MB / 446.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 (11): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.0002064/0.3313, allocations: 152 kB / 0.509 GB, free: 22.92 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006479/0.332, allocations: 421.5 kB / 0.5094 GB, free: 22.69 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.332, allocations: 0 / 0.5094 GB, free: 22.69 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002996/0.3323, allocations: 266.6 kB / 0.5097 GB, free: 22.48 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004694/0.3328, allocations: 32.98 kB / 0.5097 GB, free: 22.48 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008317/0.3336, allocations: 0.594 MB / 0.5103 GB, free: 22.16 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001383/0.3337, allocations: 199.9 kB / 0.5105 GB, free: 22.07 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001147/0.3338, allocations: 44.91 kB / 0.5105 GB, free: 22.06 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.043e-05/0.3339, allocations: 19.75 kB / 0.5105 GB, free: 22.05 MB / 446.1 MB Notification: Performance of SimCode: time 3.5e-07/0.3339, allocations: 0 / 0.5105 GB, free: 22.05 MB / 446.1 MB Notification: Performance of Templates: time 0.008798/0.3427, allocations: 4.308 MB / 0.5147 GB, free: 21.57 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_turbulent/kc_turbulent.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.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.1675215139985085]