Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC,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.|Nu.1.|Nu.2.|Nu.3.|m_flow_1.1.|m_flow_1.2.|m_flow_1.3.|m_flow_2.1.|m_flow_2.2.|m_flow_2.3.|kc.1.|kc.2.|kc.3.|Re_1.1.|Re_1.2.|Re_1.3.|Re_2.1.|Re_2.2.|Re_2.3.|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC,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.|Nu.1.|Nu.2.|Nu.3.|m_flow_1.1.|m_flow_1.2.|m_flow_1.3.|m_flow_2.1.|m_flow_2.2.|m_flow_2.3.|kc.1.|kc.2.|kc.3.|Re_1.1.|Re_1.2.|Re_1.3.|Re_2.1.|Re_2.2.|Re_2.3.|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001223/0.001223, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.468/1.468, allocations: 226.7 MB / 245.5 MB, free: 6.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009889/0.0009888, allocations: 106.4 kB / 296.7 MB, free: 6.469 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3656/0.3656, allocations: 44.83 MB / 392.7 MB, free: 34.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001185, allocations: 63.91 kB / 465.5 MB, free: 12.08 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3249/0.3261, allocations: 62.02 MB / 0.5152 GB, free: 37.89 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC): time 0.002667/0.3288, allocations: 1.941 MB / 0.5171 GB, free: 36.54 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001034/0.3299, allocations: 0.8474 MB / 0.5179 GB, free: 35.95 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.365e-05/0.3299, allocations: 0 / 0.5179 GB, free: 35.95 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002264/0.3302, allocations: 51.28 kB / 0.5179 GB, free: 35.93 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002288/0.3304, allocations: 88.62 kB / 0.518 GB, free: 35.88 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002127/0.3306, allocations: 72.66 kB / 0.5181 GB, free: 35.85 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002606/0.3309, allocations: 361.2 kB / 0.5184 GB, free: 35.72 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.796e-05/0.331, allocations: 33.05 kB / 0.5185 GB, free: 35.71 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001898/0.3312, allocations: 93.08 kB / 0.5186 GB, free: 35.67 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001514/0.3313, allocations: 130.4 kB / 0.5187 GB, free: 35.62 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.255e-05/0.3314, allocations: 5.469 kB / 0.5187 GB, free: 35.62 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002049/0.3316, allocations: 121.3 kB / 0.5188 GB, free: 35.58 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.937e-05/0.3316, allocations: 61.64 kB / 0.5189 GB, free: 35.56 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.216e-05/0.3317, allocations: 103.6 kB / 0.519 GB, free: 35.5 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002786/0.332, allocations: 297.8 kB / 0.5193 GB, free: 35.38 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.332, allocations: 4 kB / 0.5193 GB, free: 35.38 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.332, allocations: 0 / 0.5193 GB, free: 35.38 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.468e-06/0.332, allocations: 0 / 0.5193 GB, free: 35.38 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.0006762/0.3327, allocations: 0.5471 MB / 0.5198 GB, free: 34.91 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.207e-05/0.3328, allocations: 8.688 kB / 0.5198 GB, free: 34.91 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.743e-05/0.3328, allocations: 27.06 kB / 0.5198 GB, free: 34.89 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002129/0.3331, allocations: 246.4 kB / 0.5201 GB, free: 34.66 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.756e-05/0.3331, allocations: 15.56 kB / 0.5201 GB, free: 34.66 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.126e-05/0.3331, allocations: 30.05 kB / 0.5201 GB, free: 34.64 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005227/0.3336, allocations: 374.2 kB / 0.5205 GB, free: 34.51 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.3337, allocations: 3.938 kB / 0.5205 GB, free: 34.51 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.261e-05/0.3337, allocations: 10.89 kB / 0.5205 GB, free: 34.5 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.651e-05/0.3337, allocations: 27.36 kB / 0.5205 GB, free: 34.49 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005224/0.3343, allocations: 376.4 kB / 0.5209 GB, free: 34.4 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001167/0.3354, allocations: 0.8312 MB / 0.5217 GB, free: 33.94 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004205/0.3359, allocations: 272.8 kB / 0.5219 GB, free: 33.88 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001774/0.3361, allocations: 98.22 kB / 0.522 GB, free: 33.85 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.425e-05/0.3361, allocations: 10.91 kB / 0.522 GB, free: 33.84 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.902e-05/0.3361, allocations: 30.56 kB / 0.5221 GB, free: 33.8 MB / 378.7 MB Notification: Performance of pre-optimization done (n=16): time 1.813e-06/0.3361, allocations: 3.938 kB / 0.5221 GB, free: 33.8 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.000672/0.3368, allocations: 335.2 kB / 0.5224 GB, free: 33.71 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.336e-05/0.3369, allocations: 55.41 kB / 0.5224 GB, free: 33.65 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000289/0.3371, allocations: 339.7 kB / 0.5228 GB, free: 33.49 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.634e-05/0.3372, allocations: 29.64 kB / 0.5228 GB, free: 33.45 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.794e-05/0.3373, allocations: 177.2 kB / 0.523 GB, free: 33.3 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.481e-05/0.3373, allocations: 54.44 kB / 0.523 GB, free: 33.26 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.517e-05/0.3374, allocations: 58.48 kB / 0.5231 GB, free: 33.22 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.515e-05/0.3375, allocations: 345.2 kB / 0.5234 GB, free: 32.89 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001951/0.3377, allocations: 100.9 kB / 0.5235 GB, free: 32.88 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002289/0.3379, allocations: 182.3 kB / 0.5237 GB, free: 32.76 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000424/0.3383, allocations: 307.1 kB / 0.524 GB, free: 32.6 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.3384, allocations: 0 / 0.524 GB, free: 32.6 MB / 378.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005405/0.3389, allocations: 351.9 kB / 0.5243 GB, free: 32.48 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.3389, allocations: 5.531 kB / 0.5243 GB, free: 32.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.3389, allocations: 3 kB / 0.5243 GB, free: 32.48 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/0.339, allocations: 6.141 kB / 0.5243 GB, free: 32.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005506/0.3395, allocations: 122.8 kB / 0.5244 GB, free: 32.46 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001099/0.3406, allocations: 3.648 MB / 0.528 GB, free: 28.89 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001955/0.3408, allocations: 40.19 kB / 0.528 GB, free: 28.87 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.352e-05/0.3409, allocations: 19.16 kB / 0.528 GB, free: 28.86 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (28): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * 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): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002224/0.3411, allocations: 183.3 kB / 0.5282 GB, free: 28.72 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.837e-05/0.3412, allocations: 28.44 kB / 0.5282 GB, free: 28.71 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006173/0.3418, allocations: 329.6 kB / 0.5286 GB, free: 28.59 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.3418, allocations: 0 / 0.5286 GB, free: 28.59 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.3418, allocations: 4 kB / 0.5286 GB, free: 28.59 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.3418, allocations: 0 / 0.5286 GB, free: 28.59 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002779/0.3421, allocations: 298.5 kB / 0.5289 GB, free: 28.36 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.3421, allocations: 0 / 0.5289 GB, free: 28.36 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004211/0.3425, allocations: 103.3 kB / 0.5289 GB, free: 28.35 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.3426, allocations: 0 / 0.5289 GB, free: 28.35 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.826e-05/0.3426, allocations: 9.953 kB / 0.529 GB, free: 28.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001044/0.3436, allocations: 3.646 MB / 0.5325 GB, free: 24.77 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.3436, allocations: 6.844 kB / 0.5325 GB, free: 24.77 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007428/0.3444, allocations: 1.052 MB / 0.5336 GB, free: 23.96 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.076e-05/0.3445, allocations: 107.3 kB / 0.5337 GB, free: 23.85 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.645e-05/0.3445, allocations: 7.938 kB / 0.5337 GB, free: 23.84 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000159/0.3447, allocations: 9.016 kB / 0.5337 GB, free: 23.84 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.669e-05/0.3447, allocations: 15.75 kB / 0.5337 GB, free: 23.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.543e-05/0.3448, allocations: 5.656 kB / 0.5337 GB, free: 23.84 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001734/0.3449, allocations: 249.6 kB / 0.5339 GB, free: 23.72 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3449, allocations: 0 / 0.5339 GB, free: 23.72 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004468/0.3454, allocations: 82.48 kB / 0.534 GB, free: 23.7 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (16): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * 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): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002053/0.3456, allocations: 134.6 kB / 0.5341 GB, free: 23.6 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007647/0.3464, allocations: 317 kB / 0.5344 GB, free: 23.55 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3464, allocations: 0 / 0.5344 GB, free: 23.55 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005023/0.3469, allocations: 193.6 kB / 0.5346 GB, free: 23.52 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004169/0.3473, allocations: 64.09 kB / 0.5347 GB, free: 23.49 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008651/0.3482, allocations: 0.7838 MB / 0.5355 GB, free: 23.01 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001877/0.3484, allocations: 0.7999 MB / 0.5362 GB, free: 22.3 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001965/0.3486, allocations: 77.92 kB / 0.5363 GB, free: 22.29 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.529e-05/0.3487, allocations: 32.86 kB / 0.5363 GB, free: 22.27 MB / 378.7 MB Notification: Performance of SimCode: time 6.21e-07/0.3487, allocations: 0 / 0.5363 GB, free: 22.27 MB / 378.7 MB Notification: Performance of Templates: time 0.008626/0.3573, allocations: 5.256 MB / 0.5415 GB, free: 21.94 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC_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/kc_turbulent_KC.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches