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.00138/0.00138, allocations: 106 kB / 18.45 MB, free: 4.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00151/0.00151, allocations: 205.9 kB / 19.4 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.36/1.36, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2225/0.2225, allocations: 46.11 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001503/0.001503, allocations: 80.19 kB / 482 MB, free: 4.047 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3709/0.3724, allocations: 62.44 MB / 0.5317 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent): time 0.00346/0.376, allocations: 2.123 MB / 0.5338 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001972/0.378, allocations: 1.222 MB / 0.535 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001018/0.3781, allocations: 2.406 kB / 0.535 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002695/0.3784, allocations: 70.7 kB / 0.535 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002169/0.3786, allocations: 84.56 kB / 0.5351 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005391/0.3792, allocations: 194.3 kB / 0.5353 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004901/0.3797, allocations: 438 kB / 0.5357 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.472e-05/0.3798, allocations: 49.58 kB / 0.5358 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002697/0.38, allocations: 162.5 kB / 0.5359 GB, free: 10.37 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002242/0.3803, allocations: 181.4 kB / 0.5361 GB, free: 10.26 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.241e-05/0.3803, allocations: 13.44 kB / 0.5361 GB, free: 10.26 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004234/0.3807, allocations: 228 kB / 0.5363 GB, free: 10.13 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001125/0.3809, allocations: 91.41 kB / 0.5364 GB, free: 10.07 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001744/0.3811, allocations: 170.8 kB / 0.5366 GB, free: 9.957 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006349/0.3817, allocations: 498.9 kB / 0.537 GB, free: 9.656 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.3817, allocations: 0 / 0.537 GB, free: 9.656 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.3817, allocations: 1.094 kB / 0.537 GB, free: 9.656 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.877e-06/0.3817, allocations: 4 kB / 0.537 GB, free: 9.652 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.001173/0.3829, allocations: 0.6993 MB / 0.5377 GB, free: 9.059 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.383, allocations: 8.719 kB / 0.5377 GB, free: 9.059 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004149/0.3834, allocations: 74.86 kB / 0.5378 GB, free: 9.027 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003762/0.3838, allocations: 298.9 kB / 0.5381 GB, free: 8.75 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.954e-05/0.3838, allocations: 28.84 kB / 0.5381 GB, free: 8.738 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.663e-05/0.3839, allocations: 37 kB / 0.5382 GB, free: 8.727 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009857/0.3849, allocations: 0.5708 MB / 0.5387 GB, free: 8.391 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.3849, allocations: 1.156 kB / 0.5387 GB, free: 8.391 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.906e-05/0.3849, allocations: 23.84 kB / 0.5387 GB, free: 8.371 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.753e-05/0.385, allocations: 22.48 kB / 0.5388 GB, free: 8.367 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008469/0.3858, allocations: 425.8 kB / 0.5392 GB, free: 8.176 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001926/0.3878, allocations: 1.369 MB / 0.5405 GB, free: 7.145 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005633/0.3883, allocations: 275.8 kB / 0.5408 GB, free: 6.984 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003336/0.3887, allocations: 137.2 kB / 0.5409 GB, free: 6.914 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.191e-05/0.3888, allocations: 11.5 kB / 0.5409 GB, free: 6.906 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.877e-05/0.3888, allocations: 40.91 kB / 0.5409 GB, free: 6.859 MB / 398.1 MB Notification: Performance of pre-optimization done (n=17): time 1.863e-06/0.3888, allocations: 4 kB / 0.5409 GB, free: 6.855 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.00122/0.39, allocations: 450.3 kB / 0.5414 GB, free: 6.66 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.118e-05/0.3901, allocations: 105.4 kB / 0.5415 GB, free: 6.535 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006103/0.3907, allocations: 0.5069 MB / 0.542 GB, free: 6.242 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.966e-05/0.3908, allocations: 30.7 kB / 0.542 GB, free: 6.207 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00016/0.3909, allocations: 206 kB / 0.5422 GB, free: 6.02 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.216e-05/0.391, allocations: 50.02 kB / 0.5422 GB, free: 5.977 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.7e-05/0.3911, allocations: 50.08 kB / 0.5423 GB, free: 5.945 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.3912, allocations: 354.3 kB / 0.5426 GB, free: 5.602 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003413/0.3916, allocations: 130 kB / 0.5428 GB, free: 5.551 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003475/0.3919, allocations: 176.4 kB / 0.5429 GB, free: 5.441 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006643/0.3926, allocations: 298.8 kB / 0.5432 GB, free: 5.293 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.3926, allocations: 0 / 0.5432 GB, free: 5.293 MB / 398.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0008397/0.3935, allocations: 393.8 kB / 0.5436 GB, free: 5.105 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.3935, allocations: 9.5 kB / 0.5436 GB, free: 5.102 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.888e-05/0.3936, allocations: 25.88 kB / 0.5436 GB, free: 5.098 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.3936, allocations: 1.406 kB / 0.5436 GB, free: 5.098 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002188/0.3938, allocations: 43.11 kB / 0.5437 GB, free: 5.078 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.378e-06/0.3938, allocations: 5.281 kB / 0.5437 GB, free: 5.074 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002973/0.3941, allocations: 55.73 kB / 0.5437 GB, free: 5.039 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.499e-05/0.3942, allocations: 18.23 kB / 0.5437 GB, free: 5.031 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.0002308/0.3944, allocations: 185 kB / 0.5439 GB, free: 4.863 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001072/0.3945, allocations: 39.47 kB / 0.5439 GB, free: 4.824 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007847/0.3953, allocations: 384.6 kB / 0.5443 GB, free: 4.438 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.458e-06/0.3953, allocations: 4 kB / 0.5443 GB, free: 4.434 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.339e-06/0.3953, allocations: 0 / 0.5443 GB, free: 4.434 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.3953, allocations: 3.984 kB / 0.5443 GB, free: 4.43 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006343/0.396, allocations: 365.3 kB / 0.5447 GB, free: 4.023 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-05/0.3961, allocations: 31.98 kB / 0.5447 GB, free: 3.992 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000152/0.3962, allocations: 23.97 kB / 0.5447 GB, free: 3.969 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/0.3962, allocations: 3.938 kB / 0.5447 GB, free: 3.965 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.965e-05/0.3963, allocations: 12 kB / 0.5447 GB, free: 3.953 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.145e-06/0.3963, allocations: 0 / 0.5447 GB, free: 3.953 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.3963, allocations: 8 kB / 0.5447 GB, free: 3.945 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00087/0.3972, allocations: 0.5715 MB / 0.5453 GB, free: 3.355 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001517/0.3973, allocations: 128.5 kB / 0.5454 GB, free: 3.211 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.269e-05/0.3974, allocations: 8 kB / 0.5454 GB, free: 3.203 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002886/0.3977, allocations: 15.97 kB / 0.5455 GB, free: 3.188 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.463e-05/0.3978, allocations: 19.98 kB / 0.5455 GB, free: 3.168 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.354e-05/0.3978, allocations: 12 kB / 0.5455 GB, free: 3.156 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004217/0.3983, allocations: 375 kB / 0.5458 GB, free: 2.797 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3983, allocations: 0 / 0.5458 GB, free: 2.797 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005592/0.3988, allocations: 111.9 kB / 0.5459 GB, free: 2.688 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.0003562/0.3992, allocations: 159 kB / 0.5461 GB, free: 2.523 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009145/0.4001, allocations: 0.5185 MB / 0.5466 GB, free: 1.949 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.4001, allocations: 0 / 0.5466 GB, free: 1.949 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004768/0.4006, allocations: 387.4 kB / 0.547 GB, free: 1.516 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007007/0.4013, allocations: 107.6 kB / 0.5471 GB, free: 1.414 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001579/0.4029, allocations: 0.8348 MB / 0.5479 GB, free: 0.543 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005056/0.4034, allocations: 0.8457 MB / 0.5487 GB, free: 15.67 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.837e-05/0.4035, allocations: 27.42 kB / 0.5487 GB, free: 15.65 MB / 414.1 MB Notification: Performance of SimCode: time 5.01e-07/0.4036, allocations: 0 / 0.5487 GB, free: 15.65 MB / 414.1 MB Notification: Performance of Templates: time 0.01204/0.4156, allocations: 7.014 MB / 0.5556 GB, free: 8.676 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