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.001361/0.001361, allocations: 115.7 kB / 18.45 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00153/0.00153, allocations: 217.9 kB / 19.41 MB, free: 3.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.397/1.397, allocations: 227.4 MB / 247.6 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.2154/0.2154, allocations: 46.1 MB / 345 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001614/0.001614, allocations: 75.88 kB / 482 MB, free: 4.043 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3932/0.3948, allocations: 62.43 MB / 0.5317 GB, free: 13.45 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent): time 0.003378/0.3982, allocations: 2.117 MB / 0.5338 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001908/0.4002, allocations: 1.223 MB / 0.5349 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001189/0.4003, allocations: 2.062 kB / 0.5349 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003089/0.4006, allocations: 71.19 kB / 0.535 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002444/0.4009, allocations: 94.98 kB / 0.5351 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005381/0.4014, allocations: 190.1 kB / 0.5353 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004941/0.402, allocations: 438.9 kB / 0.5357 GB, free: 10.33 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.676e-05/0.4021, allocations: 45.47 kB / 0.5357 GB, free: 10.31 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002743/0.4023, allocations: 166.5 kB / 0.5359 GB, free: 10.22 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002331/0.4026, allocations: 181.3 kB / 0.5361 GB, free: 10.11 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.756e-05/0.4026, allocations: 13.22 kB / 0.5361 GB, free: 10.11 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004075/0.403, allocations: 228.5 kB / 0.5363 GB, free: 9.98 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001161/0.4032, allocations: 91.56 kB / 0.5364 GB, free: 9.918 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001807/0.4034, allocations: 171.1 kB / 0.5366 GB, free: 9.805 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006629/0.404, allocations: 0.4941 MB / 0.537 GB, free: 9.496 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.404, allocations: 1.156 kB / 0.537 GB, free: 9.496 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.4041, allocations: 0 / 0.537 GB, free: 9.496 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.055e-06/0.4041, allocations: 0 / 0.537 GB, free: 9.496 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.001232/0.4053, allocations: 0.699 MB / 0.5377 GB, free: 8.902 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.4053, allocations: 9.719 kB / 0.5377 GB, free: 8.902 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004209/0.4058, allocations: 78.08 kB / 0.5378 GB, free: 8.867 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005276/0.4063, allocations: 295.6 kB / 0.5381 GB, free: 8.594 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.207e-05/0.4064, allocations: 28.62 kB / 0.5381 GB, free: 8.582 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.679e-05/0.4064, allocations: 37.25 kB / 0.5382 GB, free: 8.57 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009731/0.4074, allocations: 0.5783 MB / 0.5387 GB, free: 8.227 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/0.4074, allocations: 0.875 kB / 0.5387 GB, free: 8.227 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.272e-05/0.4075, allocations: 19.8 kB / 0.5387 GB, free: 8.211 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.443e-05/0.4075, allocations: 18.62 kB / 0.5388 GB, free: 8.211 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009277/0.4085, allocations: 433.4 kB / 0.5392 GB, free: 8.012 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001901/0.4104, allocations: 1.358 MB / 0.5405 GB, free: 6.992 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005443/0.4109, allocations: 283.4 kB / 0.5408 GB, free: 6.824 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000308/0.4113, allocations: 141.7 kB / 0.5409 GB, free: 6.75 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.682e-05/0.4113, allocations: 7.391 kB / 0.5409 GB, free: 6.746 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.428e-05/0.4114, allocations: 40.75 kB / 0.5409 GB, free: 6.699 MB / 398.1 MB Notification: Performance of pre-optimization done (n=17): time 2.194e-06/0.4114, allocations: 0 / 0.5409 GB, free: 6.699 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001183/0.4126, allocations: 457.2 kB / 0.5414 GB, free: 6.5 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.627e-05/0.4126, allocations: 113 kB / 0.5415 GB, free: 6.367 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005845/0.4132, allocations: 0.5033 MB / 0.542 GB, free: 6.078 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.608e-05/0.4133, allocations: 29.7 kB / 0.542 GB, free: 6.043 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001523/0.4134, allocations: 201.2 kB / 0.5422 GB, free: 5.859 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.242e-05/0.4135, allocations: 55.03 kB / 0.5423 GB, free: 5.812 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001053/0.4136, allocations: 49.55 kB / 0.5423 GB, free: 5.781 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001311/0.4137, allocations: 358.7 kB / 0.5426 GB, free: 5.434 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000319/0.4141, allocations: 126.1 kB / 0.5428 GB, free: 5.387 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003634/0.4144, allocations: 174.8 kB / 0.5429 GB, free: 5.285 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000661/0.4151, allocations: 304 kB / 0.5432 GB, free: 5.129 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.4151, allocations: 0 / 0.5432 GB, free: 5.129 MB / 398.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000863/0.416, allocations: 381.4 kB / 0.5436 GB, free: 4.953 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.402e-05/0.416, allocations: 9.156 kB / 0.5436 GB, free: 4.949 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.388e-05/0.4161, allocations: 38.08 kB / 0.5436 GB, free: 4.934 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.358e-05/0.4161, allocations: 6.188 kB / 0.5436 GB, free: 4.93 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000216/0.4163, allocations: 30.06 kB / 0.5437 GB, free: 4.922 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.4164, allocations: 2.094 kB / 0.5437 GB, free: 4.922 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003056/0.4167, allocations: 60.19 kB / 0.5437 GB, free: 4.883 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.757e-05/0.4167, allocations: 9.969 kB / 0.5437 GB, free: 4.883 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.0002265/0.417, allocations: 191.6 kB / 0.5439 GB, free: 4.711 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001017/0.4171, allocations: 47.47 kB / 0.544 GB, free: 4.664 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007281/0.4178, allocations: 373.5 kB / 0.5443 GB, free: 4.289 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.628e-06/0.4178, allocations: 4 kB / 0.5443 GB, free: 4.285 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.4178, allocations: 0 / 0.5443 GB, free: 4.285 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.4178, allocations: 0 / 0.5443 GB, free: 4.285 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000554/0.4184, allocations: 365.3 kB / 0.5447 GB, free: 3.879 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.188e-05/0.4185, allocations: 35.98 kB / 0.5447 GB, free: 3.844 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001423/0.4186, allocations: 27.91 kB / 0.5447 GB, free: 3.816 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.692e-06/0.4186, allocations: 11.94 kB / 0.5447 GB, free: 3.805 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.753e-05/0.4187, allocations: 8 kB / 0.5448 GB, free: 3.797 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.539e-06/0.4187, allocations: 7.984 kB / 0.5448 GB, free: 3.789 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.4187, allocations: 0 / 0.5448 GB, free: 3.789 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007905/0.4195, allocations: 0.5706 MB / 0.5453 GB, free: 3.203 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001113/0.4196, allocations: 128.5 kB / 0.5454 GB, free: 3.059 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.064e-05/0.4196, allocations: 4 kB / 0.5454 GB, free: 3.055 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000264/0.4199, allocations: 15.98 kB / 0.5455 GB, free: 3.039 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.524e-05/0.42, allocations: 31.89 kB / 0.5455 GB, free: 3.008 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.389e-05/0.42, allocations: 8 kB / 0.5455 GB, free: 3 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003855/0.4204, allocations: 383 kB / 0.5459 GB, free: 2.633 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4204, allocations: 0 / 0.5459 GB, free: 2.633 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005227/0.421, allocations: 107.9 kB / 0.546 GB, free: 2.527 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.0002841/0.4213, allocations: 159.1 kB / 0.5461 GB, free: 2.363 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008275/0.4221, allocations: 0.5185 MB / 0.5466 GB, free: 1.789 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.4221, allocations: 320 / 0.5466 GB, free: 1.789 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00046/0.4226, allocations: 387.1 kB / 0.547 GB, free: 1.355 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006839/0.4233, allocations: 104.5 kB / 0.5471 GB, free: 1.254 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00152/0.4248, allocations: 0.8269 MB / 0.5479 GB, free: 400 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004258/0.4253, allocations: 0.8534 MB / 0.5487 GB, free: 15.51 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.125e-05/0.4253, allocations: 27.44 kB / 0.5488 GB, free: 15.49 MB / 414.1 MB Notification: Performance of SimCode: time 6.91e-07/0.4253, allocations: 0 / 0.5488 GB, free: 15.49 MB / 414.1 MB Notification: Performance of Templates: time 0.01229/0.4376, allocations: 6.998 MB / 0.5556 GB, free: 8.531 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/jenkins1/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/jenkins1/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