Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,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.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,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.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001166/0.001166, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.331/1.331, allocations: 222.9 MB / 241.6 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001114/0.001114, allocations: 98.44 kB / 291.9 MB, free: 10.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3302/0.3302, allocations: 44.13 MB / 386.1 MB, free: 38 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001035/0.001035, allocations: 51.92 kB / 457.8 MB, free: 2.293 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3247/0.3257, allocations: 60.8 MB / 0.5064 GB, free: 38.43 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.003225/0.329, allocations: 2.07 MB / 0.5084 GB, free: 37.02 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001616/0.3306, allocations: 1.076 MB / 0.5095 GB, free: 36.27 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001199/0.3308, allocations: 2.938 kB / 0.5095 GB, free: 36.27 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002659/0.3311, allocations: 52.84 kB / 0.5095 GB, free: 36.25 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001861/0.3313, allocations: 66.16 kB / 0.5096 GB, free: 36.21 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004536/0.3317, allocations: 135.7 kB / 0.5097 GB, free: 36.15 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003468/0.3321, allocations: 425.4 kB / 0.5101 GB, free: 35.99 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.148e-05/0.3322, allocations: 37.03 kB / 0.5102 GB, free: 35.97 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001753/0.3323, allocations: 112.8 kB / 0.5103 GB, free: 35.92 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001943/0.3325, allocations: 138.2 kB / 0.5104 GB, free: 35.87 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.373e-05/0.3326, allocations: 8.312 kB / 0.5104 GB, free: 35.87 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003211/0.3329, allocations: 193.3 kB / 0.5106 GB, free: 35.81 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.91e-05/0.333, allocations: 70.45 kB / 0.5107 GB, free: 35.78 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001028/0.3331, allocations: 123.5 kB / 0.5108 GB, free: 35.71 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000426/0.3335, allocations: 375.9 kB / 0.5111 GB, free: 35.56 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.3336, allocations: 2.938 kB / 0.5112 GB, free: 35.56 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.3336, allocations: 0 / 0.5112 GB, free: 35.56 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.979e-06/0.3336, allocations: 0 / 0.5112 GB, free: 35.56 MB / 378.7 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.0009482/0.3345, allocations: 0.6237 MB / 0.5118 GB, free: 35.06 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.223e-05/0.3346, allocations: 11.59 kB / 0.5118 GB, free: 35.06 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.286e-05/0.3346, allocations: 33.16 kB / 0.5118 GB, free: 35.04 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002579/0.3349, allocations: 256.5 kB / 0.512 GB, free: 34.8 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.705e-05/0.3349, allocations: 21.09 kB / 0.5121 GB, free: 34.79 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.399e-05/0.335, allocations: 26.66 kB / 0.5121 GB, free: 34.79 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006036/0.3356, allocations: 444.4 kB / 0.5125 GB, free: 34.61 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.3356, allocations: 0 / 0.5125 GB, free: 34.61 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.443e-05/0.3356, allocations: 10.97 kB / 0.5125 GB, free: 34.6 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.598e-05/0.3357, allocations: 12.22 kB / 0.5125 GB, free: 34.6 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006032/0.3363, allocations: 327.5 kB / 0.5129 GB, free: 34.53 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00127/0.3376, allocations: 1.093 MB / 0.5139 GB, free: 33.8 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004307/0.338, allocations: 250.3 kB / 0.5142 GB, free: 33.7 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002573/0.3383, allocations: 110.1 kB / 0.5143 GB, free: 33.66 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.261e-05/0.3383, allocations: 3.031 kB / 0.5143 GB, free: 33.66 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.306e-05/0.3383, allocations: 30.56 kB / 0.5143 GB, free: 33.62 MB / 378.7 MB Notification: Performance of pre-optimization done (n=14): time 1.533e-06/0.3383, allocations: 0 / 0.5143 GB, free: 33.62 MB / 378.7 MB Notification: Performance of matching and sorting (n=14): time 0.0009353/0.3393, allocations: 361.7 kB / 0.5146 GB, free: 33.52 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.363e-05/0.3393, allocations: 110.2 kB / 0.5147 GB, free: 33.39 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003943/0.3397, allocations: 412.1 kB / 0.5151 GB, free: 33.2 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.662e-05/0.3398, allocations: 30.86 kB / 0.5152 GB, free: 33.16 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.662e-05/0.3398, allocations: 186.7 kB / 0.5153 GB, free: 33 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.416e-05/0.3399, allocations: 53.83 kB / 0.5154 GB, free: 32.96 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.841e-05/0.34, allocations: 59.81 kB / 0.5155 GB, free: 32.93 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.209e-05/0.3401, allocations: 342.1 kB / 0.5158 GB, free: 32.6 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002956/0.3404, allocations: 122.4 kB / 0.5159 GB, free: 32.59 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003055/0.3407, allocations: 238.7 kB / 0.5161 GB, free: 32.41 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005978/0.3413, allocations: 364 kB / 0.5165 GB, free: 32.21 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.3413, allocations: 96 / 0.5165 GB, free: 32.21 MB / 378.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007604/0.3421, allocations: 412 kB / 0.5169 GB, free: 32.07 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.3421, allocations: 13.33 kB / 0.5169 GB, free: 32.07 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.924e-05/0.3421, allocations: 22.39 kB / 0.5169 GB, free: 32.06 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.3422, allocations: 6.094 kB / 0.5169 GB, free: 32.06 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002268/0.3424, allocations: 47.88 kB / 0.517 GB, free: 32.06 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.3424, allocations: 14.66 kB / 0.517 GB, free: 32.05 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000259/0.3427, allocations: 53.14 kB / 0.517 GB, free: 32.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.072e-05/0.3427, allocations: 23.59 kB / 0.517 GB, free: 32.02 MB / 378.7 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.0001377/0.3429, allocations: 176.2 kB / 0.5172 GB, free: 31.88 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.434e-05/0.343, allocations: 31.42 kB / 0.5172 GB, free: 31.86 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005485/0.3435, allocations: 273.7 kB / 0.5175 GB, free: 31.77 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.3435, allocations: 3.234 kB / 0.5175 GB, free: 31.77 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.772e-06/0.3435, allocations: 10.47 kB / 0.5175 GB, free: 31.76 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.3435, allocations: 4.547 kB / 0.5175 GB, free: 31.76 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003653/0.3439, allocations: 301.9 kB / 0.5178 GB, free: 31.53 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.791e-05/0.3439, allocations: 19.91 kB / 0.5178 GB, free: 31.53 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001453/0.3441, allocations: 26.89 kB / 0.5178 GB, free: 31.53 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.3441, allocations: 0 / 0.5178 GB, free: 31.53 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.096e-05/0.3441, allocations: 10.09 kB / 0.5179 GB, free: 31.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.3441, allocations: 3.938 kB / 0.5179 GB, free: 31.52 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.3442, allocations: 3.938 kB / 0.5179 GB, free: 31.52 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001084/0.3452, allocations: 1.228 MB / 0.5191 GB, free: 30.55 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.192e-05/0.3453, allocations: 111.5 kB / 0.5192 GB, free: 30.44 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.261e-05/0.3454, allocations: 6.75 kB / 0.5192 GB, free: 30.43 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002617/0.3457, allocations: 14.88 kB / 0.5192 GB, free: 30.43 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.363e-05/0.3457, allocations: 18.45 kB / 0.5192 GB, free: 30.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.698e-05/0.3458, allocations: 5.844 kB / 0.5192 GB, free: 30.43 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002377/0.346, allocations: 290.1 kB / 0.5195 GB, free: 30.3 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.01e-07/0.346, allocations: 4 kB / 0.5195 GB, free: 30.29 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005855/0.3466, allocations: 91.5 kB / 0.5196 GB, free: 30.28 MB / 378.7 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.0002613/0.3469, allocations: 159.3 kB / 0.5197 GB, free: 30.17 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006734/0.3476, allocations: 428.8 kB / 0.5201 GB, free: 29.93 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.3476, allocations: 7.094 kB / 0.5201 GB, free: 29.93 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000319/0.3479, allocations: 274.6 kB / 0.5204 GB, free: 29.72 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005721/0.3485, allocations: 69.23 kB / 0.5205 GB, free: 29.7 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001011/0.3495, allocations: 0.8248 MB / 0.5213 GB, free: 29.18 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001908/0.3497, allocations: 0.8019 MB / 0.5221 GB, free: 28.47 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001617/0.3499, allocations: 61.52 kB / 0.5221 GB, free: 28.46 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.129e-05/0.3499, allocations: 29.25 kB / 0.5222 GB, free: 28.46 MB / 378.7 MB Notification: Performance of SimCode: time 3.81e-07/0.3499, allocations: 0 / 0.5222 GB, free: 28.46 MB / 378.7 MB Notification: Performance of Templates: time 0.008478/0.3584, allocations: 5.496 MB / 0.5275 GB, free: 28.05 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_turbulent/kc_turbulent.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches