Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.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.HelicalPipe.kc_turbulent,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|n_nt.1.|n_nt.2.|n_nt.3.|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.|Nu_3.1.|Nu_3.2.|Nu_3.3.|Re|Pr.1.|Pr.2.|Pr.3.|input_mflow_1.y|input_mflow_2.y|input_mflow_0.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|n_nt.1.|n_nt.2.|n_nt.3.|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.|Nu_3.1.|Nu_3.2.|Nu_3.3.|Re|Pr.1.|Pr.2.|Pr.3.|input_mflow_1.y|input_mflow_2.y|input_mflow_0.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001301/0.001301, allocations: 117.6 kB / 17.79 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.00156/0.00156, 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.465/1.465, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2262/0.2262, allocations: 46.11 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001468/0.001468, allocations: 71.88 kB / 481.3 MB, free: 4.035 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3836/0.3851, allocations: 62.43 MB / 0.531 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent): time 0.00353/0.3887, allocations: 2.128 MB / 0.5331 GB, free: 11.94 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002044/0.3907, allocations: 1.228 MB / 0.5343 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001139/0.3909, allocations: 1.375 kB / 0.5343 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003351/0.3912, allocations: 62.72 kB / 0.5344 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002273/0.3915, allocations: 89.25 kB / 0.5344 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005223/0.392, allocations: 194.3 kB / 0.5346 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004826/0.3925, allocations: 438.7 kB / 0.535 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.25e-05/0.3926, allocations: 49.8 kB / 0.5351 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002487/0.3928, allocations: 154.1 kB / 0.5352 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002436/0.3931, allocations: 185.2 kB / 0.5354 GB, free: 10.25 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.849e-05/0.3931, allocations: 12.94 kB / 0.5354 GB, free: 10.25 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004055/0.3935, allocations: 228.7 kB / 0.5356 GB, free: 10.12 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00012/0.3937, allocations: 95.67 kB / 0.5357 GB, free: 10.05 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001681/0.3938, allocations: 167.5 kB / 0.5359 GB, free: 9.945 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006854/0.3945, allocations: 0.4919 MB / 0.5364 GB, free: 9.637 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.3946, allocations: 1 kB / 0.5364 GB, free: 9.637 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.3946, allocations: 4 kB / 0.5364 GB, free: 9.633 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.396e-06/0.3946, allocations: 0 / 0.5364 GB, free: 9.633 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001241/0.3958, allocations: 0.7149 MB / 0.5371 GB, free: 9.023 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.3959, allocations: 8.938 kB / 0.5371 GB, free: 9.023 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003888/0.3963, allocations: 81.73 kB / 0.5372 GB, free: 8.984 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003441/0.3966, allocations: 292 kB / 0.5374 GB, free: 8.715 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.114e-05/0.3967, allocations: 28.56 kB / 0.5375 GB, free: 8.703 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.615e-05/0.3967, allocations: 41.64 kB / 0.5375 GB, free: 8.688 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009349/0.3977, allocations: 0.5748 MB / 0.5381 GB, free: 8.348 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.682e-05/0.3977, allocations: 1.344 kB / 0.5381 GB, free: 8.348 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.021e-05/0.3977, allocations: 18.44 kB / 0.5381 GB, free: 8.332 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.614e-05/0.3978, allocations: 23.3 kB / 0.5381 GB, free: 8.328 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008427/0.3986, allocations: 425.8 kB / 0.5385 GB, free: 8.137 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001851/0.4005, allocations: 1.374 MB / 0.5399 GB, free: 7.102 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005362/0.401, allocations: 280.3 kB / 0.5401 GB, free: 6.938 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003224/0.4014, allocations: 136 kB / 0.5403 GB, free: 6.867 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.7e-05/0.4014, allocations: 4.906 kB / 0.5403 GB, free: 6.867 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.922e-05/0.4015, allocations: 44.28 kB / 0.5403 GB, free: 6.816 MB / 398.1 MB Notification: Performance of pre-optimization done (n=17): time 1.593e-06/0.4015, allocations: 0 / 0.5403 GB, free: 6.816 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001183/0.4027, allocations: 454.4 kB / 0.5407 GB, free: 6.617 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.092e-05/0.4027, allocations: 109.3 kB / 0.5408 GB, free: 6.488 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006572/0.4034, allocations: 0.4993 MB / 0.5413 GB, free: 6.203 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.934e-05/0.4034, allocations: 30.86 kB / 0.5414 GB, free: 6.168 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001812/0.4036, allocations: 205.2 kB / 0.5416 GB, free: 5.98 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.677e-05/0.4037, allocations: 63.3 kB / 0.5416 GB, free: 5.926 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001177/0.4038, allocations: 49.77 kB / 0.5417 GB, free: 5.895 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001645/0.404, allocations: 354.9 kB / 0.542 GB, free: 5.551 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003332/0.4044, allocations: 128.6 kB / 0.5421 GB, free: 5.5 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003495/0.4047, allocations: 174.1 kB / 0.5423 GB, free: 5.395 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006658/0.4054, allocations: 301.2 kB / 0.5426 GB, free: 5.242 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.115e-06/0.4054, allocations: 0 / 0.5426 GB, free: 5.242 MB / 398.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0008375/0.4062, allocations: 381.7 kB / 0.5429 GB, free: 5.07 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.297e-05/0.4063, allocations: 14.78 kB / 0.543 GB, free: 5.062 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.273e-05/0.4063, allocations: 33.89 kB / 0.543 GB, free: 5.051 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.931e-05/0.4064, allocations: 2.656 kB / 0.543 GB, free: 5.051 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002052/0.4066, allocations: 38.5 kB / 0.543 GB, free: 5.035 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.909e-06/0.4066, allocations: 5.125 kB / 0.543 GB, free: 5.031 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002716/0.4069, allocations: 64.5 kB / 0.5431 GB, free: 4.988 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.22e-05/0.4069, allocations: 9.25 kB / 0.5431 GB, free: 4.988 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 initialization (18): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.0001995/0.4071, allocations: 184.3 kB / 0.5433 GB, free: 4.828 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001039/0.4073, allocations: 47.66 kB / 0.5433 GB, free: 4.781 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007613/0.408, allocations: 384.6 kB / 0.5437 GB, free: 4.395 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.388e-06/0.408, allocations: 7.984 kB / 0.5437 GB, free: 4.387 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.4081, allocations: 0 / 0.5437 GB, free: 4.387 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.4081, allocations: 0 / 0.5437 GB, free: 4.387 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005245/0.4086, allocations: 365.3 kB / 0.544 GB, free: 3.98 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.9e-05/0.4086, allocations: 31.98 kB / 0.5441 GB, free: 3.949 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001352/0.4088, allocations: 23.97 kB / 0.5441 GB, free: 3.926 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.252e-06/0.4088, allocations: 7.938 kB / 0.5441 GB, free: 3.918 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.358e-05/0.4088, allocations: 8 kB / 0.5441 GB, free: 3.91 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.478e-06/0.4088, allocations: 11.98 kB / 0.5441 GB, free: 3.898 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.4088, allocations: 0 / 0.5441 GB, free: 3.898 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008072/0.4097, allocations: 0.5679 MB / 0.5447 GB, free: 3.312 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001064/0.4098, allocations: 128.7 kB / 0.5448 GB, free: 3.168 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.336e-05/0.4098, allocations: 4 kB / 0.5448 GB, free: 3.164 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002934/0.4101, allocations: 15.98 kB / 0.5448 GB, free: 3.148 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.287e-05/0.4102, allocations: 23.97 kB / 0.5448 GB, free: 3.125 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.234e-05/0.4102, allocations: 8 kB / 0.5448 GB, free: 3.117 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003686/0.4106, allocations: 379 kB / 0.5452 GB, free: 2.754 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4106, allocations: 0 / 0.5452 GB, free: 2.754 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000515/0.4111, allocations: 115.8 kB / 0.5453 GB, free: 2.641 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 (14): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.0002798/0.4114, allocations: 162.8 kB / 0.5455 GB, free: 2.473 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000822/0.4123, allocations: 0.5149 MB / 0.546 GB, free: 1.902 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.4123, allocations: 0 / 0.546 GB, free: 1.902 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004382/0.4127, allocations: 387.4 kB / 0.5463 GB, free: 1.469 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006526/0.4134, allocations: 100.4 kB / 0.5464 GB, free: 1.371 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001455/0.4149, allocations: 0.8278 MB / 0.5473 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004734/0.4153, allocations: 0.8535 MB / 0.5481 GB, free: 15.64 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001539/0.4155, allocations: 63.25 kB / 0.5481 GB, free: 15.57 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.22e-05/0.4156, allocations: 23.44 kB / 0.5482 GB, free: 15.55 MB / 414.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4156, allocations: 0 / 0.5482 GB, free: 15.55 MB / 414.1 MB Notification: Performance of Templates: time 0.01205/0.4276, allocations: 7.222 MB / 0.5552 GB, free: 8.426 MB / 414.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HelicalPipe/kc_turbulent/kc_turbulent.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches