Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.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_KC,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.|Nu.1.|Nu.2.|Nu.3.|m_flow_1.1.|m_flow_1.2.|m_flow_1.3.|m_flow_2.1.|m_flow_2.2.|m_flow_2.3.|m_flow_3.1.|m_flow_3.2.|m_flow_3.3.|kc_1.1.|kc_1.2.|kc_1.3.|kc_2.1.|kc_2.2.|kc_2.3.|kc_3.1.|kc_3.2.|kc_3.3.|Re_1.1.|Re_1.2.|Re_1.3.|Re_2.1.|Re_2.2.|Re_2.3.|Re_3.1.|Re_3.2.|Re_3.3.|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC,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.|Nu.1.|Nu.2.|Nu.3.|m_flow_1.1.|m_flow_1.2.|m_flow_1.3.|m_flow_2.1.|m_flow_2.2.|m_flow_2.3.|m_flow_3.1.|m_flow_3.2.|m_flow_3.3.|kc_1.1.|kc_1.2.|kc_1.3.|kc_2.1.|kc_2.2.|kc_2.3.|kc_3.1.|kc_3.2.|kc_3.3.|Re_1.1.|Re_1.2.|Re_1.3.|Re_2.1.|Re_2.2.|Re_2.3.|Re_3.1.|Re_3.2.|Re_3.3.|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001512/0.001512, 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.00134/0.00134, 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.442/1.442, allocations: 227.4 MB / 247.6 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.2308/0.2308, allocations: 46.11 MB / 344.9 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001361/0.001361, allocations: 83.81 kB / 482 MB, free: 4.051 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3934/0.3948, allocations: 62.43 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC): time 0.003354/0.3982, allocations: 2.021 MB / 0.5337 GB, free: 12.04 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001513/0.3997, allocations: 0.9402 MB / 0.5346 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.052e-05/0.3998, allocations: 0.9375 kB / 0.5346 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000293/0.4001, allocations: 67.2 kB / 0.5346 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003716/0.4005, allocations: 123 kB / 0.5348 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002669/0.4008, allocations: 93.2 kB / 0.5348 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000436/0.4013, allocations: 392.3 kB / 0.5352 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.995e-05/0.4014, allocations: 39.12 kB / 0.5353 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000311/0.4017, allocations: 157.2 kB / 0.5354 GB, free: 10.78 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002716/0.402, allocations: 182.3 kB / 0.5356 GB, free: 10.67 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.405e-05/0.402, allocations: 9.625 kB / 0.5356 GB, free: 10.67 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003316/0.4023, allocations: 156.5 kB / 0.5357 GB, free: 10.58 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001352/0.4025, allocations: 98.98 kB / 0.5358 GB, free: 10.52 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001861/0.4027, allocations: 156.8 kB / 0.536 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006047/0.4033, allocations: 437 kB / 0.5364 GB, free: 10.15 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.758e-06/0.4033, allocations: 0 / 0.5364 GB, free: 10.15 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.993e-06/0.4033, allocations: 1.438 kB / 0.5364 GB, free: 10.15 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.945e-06/0.4033, allocations: 4 kB / 0.5364 GB, free: 10.15 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.001087/0.4044, allocations: 0.6476 MB / 0.537 GB, free: 9.582 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.4045, allocations: 9.062 kB / 0.537 GB, free: 9.582 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001/0.4046, allocations: 39.47 kB / 0.5371 GB, free: 9.562 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003846/0.405, allocations: 280.9 kB / 0.5374 GB, free: 9.297 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.699e-05/0.405, allocations: 28.44 kB / 0.5374 GB, free: 9.285 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.909e-05/0.4051, allocations: 39.61 kB / 0.5374 GB, free: 9.27 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009161/0.406, allocations: 0.5613 MB / 0.538 GB, free: 8.957 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.406, allocations: 4 kB / 0.538 GB, free: 8.953 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.78e-05/0.4061, allocations: 10.56 kB / 0.538 GB, free: 8.945 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.764e-05/0.4062, allocations: 43.62 kB / 0.538 GB, free: 8.93 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009893/0.4072, allocations: 0.5757 MB / 0.5386 GB, free: 8.664 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001779/0.409, allocations: 1.17 MB / 0.5397 GB, free: 7.863 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006856/0.4096, allocations: 380 kB / 0.5401 GB, free: 7.703 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002662/0.4099, allocations: 133.5 kB / 0.5402 GB, free: 7.645 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.775e-05/0.41, allocations: 16.23 kB / 0.5402 GB, free: 7.633 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.264e-05/0.41, allocations: 31.84 kB / 0.5403 GB, free: 7.594 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.483e-06/0.41, allocations: 0 / 0.5403 GB, free: 7.594 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.0009888/0.411, allocations: 462.8 kB / 0.5407 GB, free: 7.391 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.212e-05/0.4111, allocations: 53.91 kB / 0.5408 GB, free: 7.328 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005201/0.4116, allocations: 454.1 kB / 0.5412 GB, free: 7.066 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.83e-05/0.4116, allocations: 30.92 kB / 0.5412 GB, free: 7.031 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001403/0.4118, allocations: 188.3 kB / 0.5414 GB, free: 6.859 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.601e-05/0.4119, allocations: 80.11 kB / 0.5415 GB, free: 6.789 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.844e-05/0.412, allocations: 51.89 kB / 0.5415 GB, free: 6.754 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001564/0.4121, allocations: 354.6 kB / 0.5419 GB, free: 6.41 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002444/0.4124, allocations: 122.9 kB / 0.542 GB, free: 6.359 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002404/0.4126, allocations: 121.3 kB / 0.5421 GB, free: 6.312 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005187/0.4132, allocations: 260.8 kB / 0.5423 GB, free: 6.211 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.4132, allocations: 1.312 kB / 0.5423 GB, free: 6.211 MB / 398.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006311/0.4138, allocations: 343.5 kB / 0.5427 GB, free: 6.051 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.765e-05/0.4139, allocations: 6.312 kB / 0.5427 GB, free: 6.051 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.4139, allocations: 3.938 kB / 0.5427 GB, free: 6.047 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.4139, allocations: 1.25 kB / 0.5427 GB, free: 6.047 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007391/0.4146, allocations: 158.3 kB / 0.5428 GB, free: 6 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002805/0.4175, allocations: 5.518 MB / 0.5482 GB, free: 356 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002485/0.4177, allocations: 51.39 kB / 0.5483 GB, free: 304 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.588e-05/0.4177, allocations: 8 kB / 0.5483 GB, free: 296 kB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (22): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 9 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 9 systems {1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002181/0.418, allocations: 197.8 kB / 0.5485 GB, free: 88 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.183e-05/0.418, allocations: 35.62 kB / 0.5485 GB, free: 52 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008262/0.4189, allocations: 455.4 kB / 0.5489 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.162e-06/0.4189, allocations: 7.984 kB / 0.5489 GB, free: 15.6 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.4189, allocations: 0 / 0.5489 GB, free: 15.6 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.4189, allocations: 0 / 0.5489 GB, free: 15.6 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004369/0.4194, allocations: 373.2 kB / 0.5493 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.4194, allocations: 0 / 0.5493 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006432/0.42, allocations: 155.9 kB / 0.5494 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.123e-06/0.42, allocations: 11.98 kB / 0.5495 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.371e-05/0.4201, allocations: 4 kB / 0.5495 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002697/0.4228, allocations: 5.509 MB / 0.5548 GB, free: 9.297 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.4228, allocations: 12.06 kB / 0.5549 GB, free: 9.285 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006277/0.4234, allocations: 438.8 kB / 0.5553 GB, free: 8.84 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001042/0.4235, allocations: 120.6 kB / 0.5554 GB, free: 8.703 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.115e-05/0.4236, allocations: 12 kB / 0.5554 GB, free: 8.691 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001932/0.4238, allocations: 11.98 kB / 0.5554 GB, free: 8.68 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.332e-05/0.4239, allocations: 23.91 kB / 0.5554 GB, free: 8.656 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.299e-05/0.4239, allocations: 12 kB / 0.5554 GB, free: 8.645 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003306/0.4242, allocations: 335.1 kB / 0.5558 GB, free: 8.32 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4242, allocations: 0 / 0.5558 GB, free: 8.32 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000416/0.4247, allocations: 103.9 kB / 0.5559 GB, free: 8.219 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (22): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 9 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 9 systems {1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002617/0.4249, allocations: 135.2 kB / 0.556 GB, free: 8.074 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001093/0.426, allocations: 399.5 kB / 0.5564 GB, free: 7.684 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.426, allocations: 0 / 0.5564 GB, free: 7.684 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007711/0.4268, allocations: 287 kB / 0.5566 GB, free: 7.406 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004835/0.4273, allocations: 89.38 kB / 0.5567 GB, free: 7.32 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001246/0.4286, allocations: 0.803 MB / 0.5575 GB, free: 6.488 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004033/0.429, allocations: 0.8542 MB / 0.5584 GB, free: 5.605 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.841e-05/0.4291, allocations: 35.41 kB / 0.5584 GB, free: 5.57 MB / 414.1 MB Notification: Performance of SimCode: time 2.91e-07/0.4291, allocations: 0 / 0.5584 GB, free: 5.57 MB / 414.1 MB Notification: Performance of Templates: time 0.02162/0.4507, allocations: 19.21 MB / 0.5771 GB, free: 2.375 MB / 430.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC_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/kc_turbulent_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches