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.001476/0.001476, allocations: 117.9 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00191/0.00191, allocations: 206.8 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.404/1.404, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2087/0.2087, allocations: 46.11 MB / 345 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001404/0.001404, allocations: 75.86 kB / 482 MB, free: 4.012 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2949/0.2963, 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.00291/0.2993, allocations: 2.023 MB / 0.5337 GB, free: 12.04 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001354/0.3007, allocations: 0.9429 MB / 0.5346 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.809e-05/0.3007, allocations: 2.406 kB / 0.5346 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002434/0.301, allocations: 67.17 kB / 0.5347 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003071/0.3013, allocations: 116.3 kB / 0.5348 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002431/0.3016, allocations: 98.12 kB / 0.5349 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004064/0.302, allocations: 393.1 kB / 0.5352 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.998e-05/0.3021, allocations: 34.86 kB / 0.5353 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002283/0.3023, allocations: 159.9 kB / 0.5354 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002393/0.3026, allocations: 178.7 kB / 0.5356 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.356e-05/0.3026, allocations: 10.44 kB / 0.5356 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000289/0.3029, allocations: 155.4 kB / 0.5357 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001081/0.303, allocations: 96.09 kB / 0.5358 GB, free: 10.51 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000152/0.3032, allocations: 152.9 kB / 0.536 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004927/0.3037, allocations: 440.2 kB / 0.5364 GB, free: 10.15 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.3037, allocations: 1.188 kB / 0.5364 GB, free: 10.15 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.3037, allocations: 4 kB / 0.5364 GB, free: 10.14 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.011e-06/0.3037, allocations: 0 / 0.5364 GB, free: 10.14 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.001021/0.3047, allocations: 0.6436 MB / 0.537 GB, free: 9.582 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.3048, allocations: 8.719 kB / 0.537 GB, free: 9.582 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.421e-05/0.3049, allocations: 47.42 kB / 0.5371 GB, free: 9.555 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000325/0.3052, allocations: 283 kB / 0.5374 GB, free: 9.289 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.531e-05/0.3052, allocations: 23.59 kB / 0.5374 GB, free: 9.281 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.098e-05/0.3053, allocations: 40.11 kB / 0.5374 GB, free: 9.266 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008215/0.3061, allocations: 0.5608 MB / 0.538 GB, free: 8.953 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.3061, allocations: 0 / 0.538 GB, free: 8.953 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.581e-05/0.3062, allocations: 15.41 kB / 0.538 GB, free: 8.941 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.625e-05/0.3062, allocations: 39.28 kB / 0.538 GB, free: 8.93 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008939/0.3071, allocations: 0.5721 MB / 0.5386 GB, free: 8.668 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00166/0.3088, allocations: 1.176 MB / 0.5397 GB, free: 7.859 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006584/0.3095, allocations: 376.3 kB / 0.5401 GB, free: 7.703 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002831/0.3098, allocations: 138.8 kB / 0.5402 GB, free: 7.641 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.606e-05/0.3098, allocations: 6.594 kB / 0.5402 GB, free: 7.637 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.777e-05/0.3099, allocations: 37.06 kB / 0.5403 GB, free: 7.594 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.533e-06/0.3099, allocations: 4 kB / 0.5403 GB, free: 7.59 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.000942/0.3108, allocations: 458.9 kB / 0.5407 GB, free: 7.391 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.017e-05/0.3108, allocations: 57.67 kB / 0.5408 GB, free: 7.324 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004915/0.3113, allocations: 450.8 kB / 0.5412 GB, free: 7.066 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.898e-05/0.3114, allocations: 30.7 kB / 0.5412 GB, free: 7.031 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001754/0.3116, allocations: 188.7 kB / 0.5414 GB, free: 6.859 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.119e-05/0.3116, allocations: 83.55 kB / 0.5415 GB, free: 6.785 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001085/0.3118, allocations: 52.33 kB / 0.5415 GB, free: 6.75 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001512/0.3119, allocations: 350.5 kB / 0.5419 GB, free: 6.41 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002579/0.3122, allocations: 126.3 kB / 0.542 GB, free: 6.355 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002339/0.3124, allocations: 120 kB / 0.5421 GB, free: 6.309 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004982/0.3129, allocations: 265.2 kB / 0.5424 GB, free: 6.203 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.3129, allocations: 5.344 kB / 0.5424 GB, free: 6.199 MB / 398.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005969/0.3135, allocations: 335.6 kB / 0.5427 GB, free: 6.047 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.3136, allocations: 5.344 kB / 0.5427 GB, free: 6.047 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.3136, allocations: 1.188 kB / 0.5427 GB, free: 6.047 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.3136, allocations: 5 kB / 0.5427 GB, free: 6.043 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007575/0.3144, allocations: 154.6 kB / 0.5428 GB, free: 6 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002922/0.3173, allocations: 5.523 MB / 0.5482 GB, free: 332 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002488/0.3176, allocations: 47.45 kB / 0.5483 GB, free: 284 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.934e-05/0.3176, allocations: 11.98 kB / 0.5483 GB, free: 272 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.0002276/0.3178, allocations: 193.8 kB / 0.5485 GB, free: 68 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.454e-05/0.3179, allocations: 35.62 kB / 0.5485 GB, free: 32 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008396/0.3187, allocations: 455.5 kB / 0.5489 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.511e-06/0.3188, allocations: 0 / 0.5489 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3188, allocations: 3.938 kB / 0.5489 GB, free: 15.58 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.259e-05/0.3189, allocations: 120.7 kB / 0.5491 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.188e-05/0.3189, allocations: 0 / 0.5491 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002024/0.3191, allocations: 11.98 kB / 0.5491 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.363e-05/0.3192, allocations: 31.91 kB / 0.5491 GB, free: 15.4 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001444/0.3207, allocations: 0.6289 MB / 0.5497 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001012/0.3217, allocations: 0.712 MB / 0.5504 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002767/0.322, allocations: 135.8 kB / 0.5505 GB, free: 13.88 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003665/0.3224, allocations: 335.1 kB / 0.5509 GB, free: 13.55 MB / 414.1 MB Notification: Performance of Backend: time 9.72e-07/0.3224, allocations: 0 / 0.5509 GB, free: 13.55 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001375/0.3237, allocations: 408.7 kB / 0.5512 GB, free: 13.15 MB / 414.1 MB Notification: Performance of SimCode: time 0.001303/0.3251, allocations: 1.258 MB / 0.5525 GB, free: 11.84 MB / 414.1 MB Notification: Performance of Templates: time 0.01191/0.337, allocations: 7.994 MB / 0.5603 GB, free: 3.941 MB / 414.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