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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001145/0.001145, allocations: 110.4 kB / 17.78 MB, free: 5.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00111/0.00111, allocations: 187.1 kB / 18.71 MB, free: 4.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.292/1.292, allocations: 222.9 MB / 242.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1957/0.1957, allocations: 44.19 MB / 336.7 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001152/0.001152, allocations: 63.91 kB / 470.6 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3579/0.3591, allocations: 60.82 MB / 0.5189 GB, free: 3.648 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.00325/0.3623, allocations: 2.021 MB / 0.5209 GB, free: 2.25 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001741/0.3641, allocations: 1.071 MB / 0.5219 GB, free: 1.504 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.407e-05/0.3642, allocations: 1.188 kB / 0.5219 GB, free: 1.504 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002869/0.3645, allocations: 59.75 kB / 0.522 GB, free: 1.473 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000221/0.3648, allocations: 78.14 kB / 0.5221 GB, free: 1.426 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005347/0.3653, allocations: 158 kB / 0.5222 GB, free: 1.359 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000383/0.3657, allocations: 323.9 kB / 0.5225 GB, free: 1.223 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.337e-05/0.3658, allocations: 38.59 kB / 0.5226 GB, free: 1.203 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001771/0.366, allocations: 116.7 kB / 0.5227 GB, free: 1.152 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002044/0.3662, allocations: 137.8 kB / 0.5228 GB, free: 1.094 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.156e-05/0.3662, allocations: 9.969 kB / 0.5228 GB, free: 1.094 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003695/0.3666, allocations: 199.1 kB / 0.523 GB, free: 1.027 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.018e-05/0.3667, allocations: 73.14 kB / 0.5231 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001163/0.3668, allocations: 127 kB / 0.5232 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005313/0.3674, allocations: 386.4 kB / 0.5236 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.3674, allocations: 1.766 kB / 0.5236 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3674, allocations: 0 / 0.5236 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.735e-06/0.3674, allocations: 0 / 0.5236 GB, free: 0.7734 MB / 382.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.001005/0.3684, allocations: 0.6287 MB / 0.5242 GB, free: 276 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.3685, allocations: 9.656 kB / 0.5242 GB, free: 276 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.557e-05/0.3685, allocations: 32.03 kB / 0.5242 GB, free: 260 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002936/0.3688, allocations: 256 kB / 0.5245 GB, free: 16 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.151e-05/0.3689, allocations: 19.12 kB / 0.5245 GB, free: 8 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.339e-05/0.3689, allocations: 25.25 kB / 0.5245 GB, free: 0 / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008458/0.3698, allocations: 436.9 kB / 0.5249 GB, free: 15.83 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.3698, allocations: 7 kB / 0.5249 GB, free: 15.82 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.875e-05/0.3698, allocations: 8 kB / 0.5249 GB, free: 15.82 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.732e-05/0.3699, allocations: 17.28 kB / 0.525 GB, free: 15.82 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007288/0.3706, allocations: 325.8 kB / 0.5253 GB, free: 15.74 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001641/0.3723, allocations: 1.093 MB / 0.5263 GB, free: 14.96 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005179/0.3728, allocations: 250.4 kB / 0.5266 GB, free: 14.8 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002822/0.3731, allocations: 106.5 kB / 0.5267 GB, free: 14.74 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.064e-05/0.3731, allocations: 11.64 kB / 0.5267 GB, free: 14.73 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.584e-05/0.3732, allocations: 36.88 kB / 0.5267 GB, free: 14.69 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 2.094e-06/0.3732, allocations: 0 / 0.5267 GB, free: 14.69 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.001116/0.3743, allocations: 350.8 kB / 0.5271 GB, free: 14.53 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.5e-05/0.3744, allocations: 115.8 kB / 0.5272 GB, free: 14.39 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000426/0.3748, allocations: 405.5 kB / 0.5276 GB, free: 14.15 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.878e-05/0.3749, allocations: 25.7 kB / 0.5276 GB, free: 14.12 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001473/0.375, allocations: 193.2 kB / 0.5278 GB, free: 13.94 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.944e-05/0.3751, allocations: 54.34 kB / 0.5278 GB, free: 13.89 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00013/0.3752, allocations: 61.8 kB / 0.5279 GB, free: 13.85 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.3754, allocations: 343.8 kB / 0.5282 GB, free: 13.51 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003086/0.3757, allocations: 118.4 kB / 0.5283 GB, free: 13.46 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003751/0.3761, allocations: 236.8 kB / 0.5285 GB, free: 13.26 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000718/0.3768, allocations: 368.6 kB / 0.5289 GB, free: 12.99 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.3768, allocations: 1.844 kB / 0.5289 GB, free: 12.99 MB / 398.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008931/0.3777, allocations: 399.3 kB / 0.5293 GB, free: 12.8 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.425e-05/0.3777, allocations: 6.906 kB / 0.5293 GB, free: 12.8 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.439e-05/0.3778, allocations: 25.98 kB / 0.5293 GB, free: 12.79 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.296e-05/0.3778, allocations: 9.016 kB / 0.5293 GB, free: 12.79 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002507/0.3781, allocations: 45.06 kB / 0.5294 GB, free: 12.77 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.62e-05/0.3781, allocations: 13.67 kB / 0.5294 GB, free: 12.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003081/0.3784, allocations: 61.11 kB / 0.5294 GB, free: 12.73 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.227e-05/0.3785, allocations: 17.19 kB / 0.5294 GB, free: 12.72 MB / 398.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.0002155/0.3787, allocations: 174.1 kB / 0.5296 GB, free: 12.58 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.691e-05/0.3788, allocations: 28.62 kB / 0.5296 GB, free: 12.56 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007221/0.3795, allocations: 291.3 kB / 0.5299 GB, free: 12.4 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.458e-06/0.3795, allocations: 3.062 kB / 0.5299 GB, free: 12.4 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.017e-05/0.3796, allocations: 9.047 kB / 0.5299 GB, free: 12.39 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.3796, allocations: 1 kB / 0.5299 GB, free: 12.39 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005164/0.3801, allocations: 297.7 kB / 0.5302 GB, free: 12.12 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.304e-05/0.3801, allocations: 22.89 kB / 0.5302 GB, free: 12.12 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001508/0.3803, allocations: 24.06 kB / 0.5303 GB, free: 12.11 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.079e-06/0.3803, allocations: 5.031 kB / 0.5303 GB, free: 12.11 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.447e-05/0.3803, allocations: 4.312 kB / 0.5303 GB, free: 12.11 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.3804, allocations: 5.25 kB / 0.5303 GB, free: 12.1 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.429e-06/0.3804, allocations: 5.094 kB / 0.5303 GB, free: 12.1 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008499/0.3812, allocations: 0.4978 MB / 0.5308 GB, free: 11.72 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001212/0.3813, allocations: 112.7 kB / 0.5309 GB, free: 11.6 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.804e-05/0.3814, allocations: 5.094 kB / 0.5309 GB, free: 11.6 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002615/0.3817, allocations: 18.84 kB / 0.5309 GB, free: 11.59 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.16e-05/0.3818, allocations: 19.39 kB / 0.5309 GB, free: 11.58 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.38e-05/0.3818, allocations: 11.06 kB / 0.5309 GB, free: 11.57 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003388/0.3821, allocations: 291.4 kB / 0.5312 GB, free: 11.39 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3821, allocations: 0 / 0.5312 GB, free: 11.39 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005937/0.3827, allocations: 94.62 kB / 0.5313 GB, free: 11.38 MB / 398.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.0003243/0.3831, allocations: 162.6 kB / 0.5314 GB, free: 11.25 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000791/0.3839, allocations: 428.7 kB / 0.5319 GB, free: 10.96 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.3839, allocations: 0 / 0.5319 GB, free: 10.96 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003977/0.3843, allocations: 277.9 kB / 0.5321 GB, free: 10.72 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006071/0.3849, allocations: 78.03 kB / 0.5322 GB, free: 10.68 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001201/0.3861, allocations: 0.5984 MB / 0.5328 GB, free: 10.31 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004403/0.3866, allocations: 0.798 MB / 0.5336 GB, free: 9.562 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001866/0.3868, allocations: 67.62 kB / 0.5336 GB, free: 9.535 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.239e-05/0.3868, allocations: 25.56 kB / 0.5336 GB, free: 9.523 MB / 398.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3868, allocations: 0 / 0.5336 GB, free: 9.523 MB / 398.1 MB Notification: Performance of Templates: time 0.01208/0.3989, allocations: 5.843 MB / 0.5394 GB, free: 6.621 MB / 398.1 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_turbulent/kc_turbulent.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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