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/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.00164/0.00164, allocations: 117.6 kB / 17.78 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002079/0.002079, allocations: 199.9 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.46/1.46, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2385/0.2385, allocations: 46.12 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001914/0.001914, allocations: 75.86 kB / 481.3 MB, free: 4.043 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4031/0.405, allocations: 62.43 MB / 0.531 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.003281/0.4084, allocations: 2.018 MB / 0.533 GB, free: 12.04 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001725/0.4101, allocations: 1.157 MB / 0.5341 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.707e-05/0.4102, allocations: 1.375 kB / 0.5341 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000245/0.4105, allocations: 61.36 kB / 0.5342 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001758/0.4107, allocations: 70.64 kB / 0.5343 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005089/0.4112, allocations: 188.5 kB / 0.5344 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003688/0.4116, allocations: 321.7 kB / 0.5347 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.603e-05/0.4116, allocations: 38.22 kB / 0.5348 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002077/0.4118, allocations: 126.1 kB / 0.5349 GB, free: 10.63 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001997/0.4121, allocations: 137.8 kB / 0.535 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.49e-05/0.4121, allocations: 10.09 kB / 0.535 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003768/0.4125, allocations: 211.2 kB / 0.5352 GB, free: 10.44 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.401e-05/0.4126, allocations: 69.67 kB / 0.5353 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001223/0.4127, allocations: 129.8 kB / 0.5354 GB, free: 10.3 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005657/0.4133, allocations: 406.8 kB / 0.5358 GB, free: 10.05 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.4133, allocations: 0 / 0.5358 GB, free: 10.05 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.4133, allocations: 1.062 kB / 0.5358 GB, free: 10.05 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.4133, allocations: 0 / 0.5358 GB, free: 10.05 MB / 398.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.001008/0.4143, allocations: 0.6324 MB / 0.5364 GB, free: 9.488 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.4144, allocations: 9.188 kB / 0.5364 GB, free: 9.488 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000368/0.4147, allocations: 72.94 kB / 0.5365 GB, free: 9.453 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002746/0.415, allocations: 263.9 kB / 0.5368 GB, free: 9.195 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.175e-05/0.4151, allocations: 19.06 kB / 0.5368 GB, free: 9.188 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.767e-05/0.4151, allocations: 25.59 kB / 0.5368 GB, free: 9.18 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006969/0.4158, allocations: 435.6 kB / 0.5372 GB, free: 8.918 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/0.4158, allocations: 3.938 kB / 0.5372 GB, free: 8.914 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.801e-05/0.4159, allocations: 11.47 kB / 0.5372 GB, free: 8.906 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.813e-05/0.4159, allocations: 18.02 kB / 0.5373 GB, free: 8.902 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000682/0.4166, allocations: 325.9 kB / 0.5376 GB, free: 8.758 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001361/0.418, allocations: 1.101 MB / 0.5386 GB, free: 7.871 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000481/0.4185, allocations: 251.2 kB / 0.5389 GB, free: 7.715 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002635/0.4187, allocations: 106.5 kB / 0.539 GB, free: 7.656 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.822e-05/0.4188, allocations: 7.219 kB / 0.539 GB, free: 7.652 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.043e-05/0.4188, allocations: 39.73 kB / 0.539 GB, free: 7.605 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.383e-06/0.4188, allocations: 0 / 0.539 GB, free: 7.605 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009434/0.4198, allocations: 352 kB / 0.5394 GB, free: 7.445 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.14e-05/0.4199, allocations: 112.8 kB / 0.5395 GB, free: 7.312 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004328/0.4203, allocations: 405.6 kB / 0.5399 GB, free: 7.066 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.201e-05/0.4203, allocations: 29.7 kB / 0.5399 GB, free: 7.031 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001289/0.4205, allocations: 194.9 kB / 0.5401 GB, free: 6.852 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.31e-05/0.4205, allocations: 53.38 kB / 0.5401 GB, free: 6.805 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001096/0.4206, allocations: 66.09 kB / 0.5402 GB, free: 6.758 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001325/0.4208, allocations: 347.7 kB / 0.5405 GB, free: 6.418 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003016/0.4211, allocations: 114.1 kB / 0.5406 GB, free: 6.375 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003597/0.4214, allocations: 240 kB / 0.5409 GB, free: 6.164 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006397/0.4221, allocations: 365.7 kB / 0.5412 GB, free: 5.898 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/0.4221, allocations: 6.344 kB / 0.5412 GB, free: 5.895 MB / 398.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008491/0.423, allocations: 402.2 kB / 0.5416 GB, free: 5.699 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.423, allocations: 9.844 kB / 0.5416 GB, free: 5.699 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.506e-05/0.423, allocations: 26.11 kB / 0.5416 GB, free: 5.691 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.4231, allocations: 5.438 kB / 0.5416 GB, free: 5.691 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002237/0.4233, allocations: 44.38 kB / 0.5417 GB, free: 5.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.337e-05/0.4233, allocations: 13.86 kB / 0.5417 GB, free: 5.672 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002731/0.4236, allocations: 60.83 kB / 0.5417 GB, free: 5.633 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.101e-05/0.4236, allocations: 16.94 kB / 0.5418 GB, free: 5.629 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.0001667/0.4238, allocations: 178 kB / 0.5419 GB, free: 5.48 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.665e-05/0.4239, allocations: 29.72 kB / 0.542 GB, free: 5.465 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006102/0.4245, allocations: 291.1 kB / 0.5422 GB, free: 5.305 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.153e-06/0.4245, allocations: 3.312 kB / 0.5422 GB, free: 5.305 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.4245, allocations: 5.031 kB / 0.5422 GB, free: 5.301 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.4245, allocations: 5.078 kB / 0.5423 GB, free: 5.297 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004313/0.425, allocations: 290.5 kB / 0.5425 GB, free: 5.035 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.442e-05/0.425, allocations: 22.11 kB / 0.5426 GB, free: 5.027 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001405/0.4252, allocations: 24.19 kB / 0.5426 GB, free: 5.02 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.4252, allocations: 0.9688 kB / 0.5426 GB, free: 5.02 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.311e-05/0.4252, allocations: 8.594 kB / 0.5426 GB, free: 5.016 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.4252, allocations: 5.25 kB / 0.5426 GB, free: 5.012 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.4252, allocations: 5.375 kB / 0.5426 GB, free: 5.008 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006807/0.4259, allocations: 0.5088 MB / 0.5431 GB, free: 4.617 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.737e-05/0.426, allocations: 117 kB / 0.5432 GB, free: 4.496 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.63e-05/0.4261, allocations: 2.281 kB / 0.5432 GB, free: 4.496 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002612/0.4263, allocations: 22.31 kB / 0.5432 GB, free: 4.484 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.416e-05/0.4264, allocations: 15.8 kB / 0.5432 GB, free: 4.477 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.984e-05/0.4264, allocations: 13.47 kB / 0.5433 GB, free: 4.469 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002877/0.4267, allocations: 288.6 kB / 0.5435 GB, free: 4.293 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4267, allocations: 0 / 0.5435 GB, free: 4.293 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005042/0.4272, allocations: 99.56 kB / 0.5436 GB, free: 4.273 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.000309/0.4275, allocations: 167.2 kB / 0.5438 GB, free: 4.141 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007807/0.4283, allocations: 429.5 kB / 0.5442 GB, free: 3.691 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.4284, allocations: 0 / 0.5442 GB, free: 3.691 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003757/0.4287, allocations: 278.1 kB / 0.5445 GB, free: 3.383 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006012/0.4293, allocations: 69.69 kB / 0.5445 GB, free: 3.316 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00106/0.4304, allocations: 0.6041 MB / 0.5451 GB, free: 2.68 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003613/0.4308, allocations: 0.7986 MB / 0.5459 GB, free: 1.855 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.00016/0.431, allocations: 66.91 kB / 0.546 GB, free: 1.793 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.816e-05/0.431, allocations: 27.44 kB / 0.546 GB, free: 1.766 MB / 398.1 MB Notification: Performance of SimCode: time 4.9e-07/0.431, allocations: 0 / 0.546 GB, free: 1.766 MB / 398.1 MB Notification: Performance of Templates: time 0.009332/0.4404, allocations: 5.772 MB / 0.5516 GB, free: 12.07 MB / 414.1 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/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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches