Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.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,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_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001325/0.001325, 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.39/1.39, 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.0009956/0.0009957, allocations: 109.7 kB / 296.7 MB, free: 6.484 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3704/0.3704, allocations: 44.83 MB / 392.7 MB, free: 34.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001096/0.001096, allocations: 67.89 kB / 465.5 MB, free: 12.07 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3427/0.3438, allocations: 62.01 MB / 0.5152 GB, free: 37.89 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.003045/0.3469, allocations: 2.087 MB / 0.5172 GB, free: 36.44 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001617/0.3485, allocations: 1.14 MB / 0.5183 GB, free: 35.64 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.611e-05/0.3486, allocations: 2.906 kB / 0.5183 GB, free: 35.64 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002528/0.3489, allocations: 44.42 kB / 0.5184 GB, free: 35.62 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001673/0.3491, allocations: 81.59 kB / 0.5184 GB, free: 35.58 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004007/0.3495, allocations: 139.9 kB / 0.5186 GB, free: 35.52 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003194/0.3498, allocations: 428.3 kB / 0.519 GB, free: 35.36 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.176e-05/0.3499, allocations: 27.8 kB / 0.519 GB, free: 35.35 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001829/0.3501, allocations: 116.4 kB / 0.5191 GB, free: 35.3 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001563/0.3502, allocations: 141.8 kB / 0.5193 GB, free: 35.25 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.071e-05/0.3503, allocations: 5.781 kB / 0.5193 GB, free: 35.25 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003135/0.3506, allocations: 209.7 kB / 0.5195 GB, free: 35.18 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.622e-05/0.3507, allocations: 67.72 kB / 0.5195 GB, free: 35.15 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 9.421e-05/0.3508, allocations: 120.3 kB / 0.5196 GB, free: 35.08 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003569/0.3511, allocations: 395 kB / 0.52 GB, free: 34.92 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.3511, allocations: 2.656 kB / 0.52 GB, free: 34.92 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.3511, allocations: 0 / 0.52 GB, free: 34.92 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.628e-06/0.3512, allocations: 3.938 kB / 0.52 GB, free: 34.92 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.0009413/0.3521, allocations: 0.6246 MB / 0.5206 GB, free: 34.41 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.3521, allocations: 11.88 kB / 0.5206 GB, free: 34.41 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000341/0.3525, allocations: 64.44 kB / 0.5207 GB, free: 34.4 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002545/0.3528, allocations: 255.3 kB / 0.521 GB, free: 34.16 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.095e-05/0.3528, allocations: 25.06 kB / 0.521 GB, free: 34.14 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.64e-05/0.3528, allocations: 26.91 kB / 0.521 GB, free: 34.14 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005798/0.3534, allocations: 433.4 kB / 0.5214 GB, free: 33.97 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.3534, allocations: 0 / 0.5214 GB, free: 33.97 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.437e-05/0.3535, allocations: 14.8 kB / 0.5214 GB, free: 33.96 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.763e-05/0.3535, allocations: 18.2 kB / 0.5214 GB, free: 33.96 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005918/0.3541, allocations: 324 kB / 0.5218 GB, free: 33.88 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001189/0.3553, allocations: 1.095 MB / 0.5228 GB, free: 33.16 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004341/0.3557, allocations: 240.8 kB / 0.5231 GB, free: 33.06 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002481/0.356, allocations: 110.8 kB / 0.5232 GB, free: 33.02 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.046e-05/0.356, allocations: 10.02 kB / 0.5232 GB, free: 33.02 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.999e-05/0.3561, allocations: 37.12 kB / 0.5232 GB, free: 32.97 MB / 378.7 MB Notification: Performance of pre-optimization done (n=14): time 1.744e-06/0.3561, allocations: 0 / 0.5232 GB, free: 32.97 MB / 378.7 MB Notification: Performance of matching and sorting (n=14): time 0.0009186/0.357, allocations: 358.7 kB / 0.5235 GB, free: 32.88 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.228e-05/0.357, allocations: 108.9 kB / 0.5237 GB, free: 32.75 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003353/0.3574, allocations: 404.2 kB / 0.524 GB, free: 32.56 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.669e-05/0.3574, allocations: 29.95 kB / 0.5241 GB, free: 32.52 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.554e-05/0.3575, allocations: 194.7 kB / 0.5243 GB, free: 32.36 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.355e-05/0.3576, allocations: 51.5 kB / 0.5243 GB, free: 32.32 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.472e-05/0.3576, allocations: 59.12 kB / 0.5244 GB, free: 32.29 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.017e-05/0.3577, allocations: 345.2 kB / 0.5247 GB, free: 31.96 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002666/0.358, allocations: 113.3 kB / 0.5248 GB, free: 31.95 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003031/0.3583, allocations: 242.8 kB / 0.525 GB, free: 31.77 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005971/0.3589, allocations: 367.7 kB / 0.5254 GB, free: 31.56 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.3589, allocations: 3.125 kB / 0.5254 GB, free: 31.56 MB / 378.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008239/0.3598, allocations: 392.3 kB / 0.5258 GB, free: 31.44 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/0.3598, allocations: 7.938 kB / 0.5258 GB, free: 31.44 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.186e-05/0.3598, allocations: 27.31 kB / 0.5258 GB, free: 31.43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.267e-05/0.3599, allocations: 5.688 kB / 0.5258 GB, free: 31.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002262/0.3601, allocations: 50.39 kB / 0.5258 GB, free: 31.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.312e-05/0.3601, allocations: 9.75 kB / 0.5259 GB, free: 31.42 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000259/0.3604, allocations: 58.8 kB / 0.5259 GB, free: 31.39 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.679e-05/0.3604, allocations: 21.62 kB / 0.5259 GB, free: 31.39 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.000193/0.3606, allocations: 178 kB / 0.5261 GB, free: 31.25 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.453e-05/0.3607, allocations: 34.12 kB / 0.5261 GB, free: 31.23 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005638/0.3613, allocations: 280.8 kB / 0.5264 GB, free: 31.13 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.796e-06/0.3613, allocations: 2.5 kB / 0.5264 GB, free: 31.13 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.3613, allocations: 6.438 kB / 0.5264 GB, free: 31.13 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.3613, allocations: 4 kB / 0.5264 GB, free: 31.12 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003788/0.3617, allocations: 302.4 kB / 0.5267 GB, free: 30.9 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.039e-05/0.3618, allocations: 18.22 kB / 0.5267 GB, free: 30.89 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001381/0.3619, allocations: 27.72 kB / 0.5267 GB, free: 30.89 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.3619, allocations: 6.75 kB / 0.5267 GB, free: 30.89 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.983e-05/0.3619, allocations: 9.688 kB / 0.5268 GB, free: 30.88 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.684e-06/0.3619, allocations: 0 / 0.5268 GB, free: 30.88 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.3619, allocations: 3.938 kB / 0.5268 GB, free: 30.88 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001039/0.363, allocations: 1.226 MB / 0.528 GB, free: 29.91 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.378e-05/0.3631, allocations: 118.4 kB / 0.5281 GB, free: 29.79 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.456e-05/0.3631, allocations: 2.75 kB / 0.5281 GB, free: 29.79 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002548/0.3634, allocations: 20.81 kB / 0.5281 GB, free: 29.79 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.678e-05/0.3635, allocations: 18.72 kB / 0.5281 GB, free: 29.79 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.612e-05/0.3635, allocations: 5.344 kB / 0.5281 GB, free: 29.79 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000229/0.3637, allocations: 291.8 kB / 0.5284 GB, free: 29.65 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3637, allocations: 0 / 0.5284 GB, free: 29.65 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005872/0.3643, allocations: 93.97 kB / 0.5285 GB, free: 29.64 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.0002763/0.3646, allocations: 157.8 kB / 0.5286 GB, free: 29.53 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007004/0.3653, allocations: 426.5 kB / 0.529 GB, free: 29.29 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3653, allocations: 2.938 kB / 0.529 GB, free: 29.29 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003395/0.3657, allocations: 271 kB / 0.5293 GB, free: 29.09 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005908/0.3663, allocations: 73.25 kB / 0.5294 GB, free: 29.06 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001112/0.3674, allocations: 0.8335 MB / 0.5302 GB, free: 28.54 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002519/0.3677, allocations: 0.7961 MB / 0.531 GB, free: 27.84 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001797/0.3679, allocations: 72.22 kB / 0.531 GB, free: 27.82 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.501e-05/0.3679, allocations: 18.47 kB / 0.5311 GB, free: 27.81 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.3679, allocations: 0 / 0.5311 GB, free: 27.81 MB / 378.7 MB Notification: Performance of Templates: time 0.01107/0.379, allocations: 5.547 MB / 0.5365 GB, free: 27.4 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches