Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001153/0.001153, allocations: 113.8 kB / 17.78 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00111/0.00111, allocations: 179.9 kB / 18.71 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.298/1.298, allocations: 222.9 MB / 242.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1975/0.1975, allocations: 44.19 MB / 336.8 MB, free: 2.641 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 67.89 kB / 470.6 MB, free: 13.12 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.361/0.3622, allocations: 60.82 MB / 0.5189 GB, free: 3.625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent): time 0.0031/0.3654, allocations: 2.117 MB / 0.521 GB, free: 2.16 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001608/0.367, allocations: 1.164 MB / 0.5221 GB, free: 1.34 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.891e-05/0.3671, allocations: 2.469 kB / 0.5221 GB, free: 1.34 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003258/0.3674, allocations: 63.27 kB / 0.5222 GB, free: 1.309 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000246/0.3677, allocations: 94.08 kB / 0.5223 GB, free: 1.254 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000499/0.3682, allocations: 168.9 kB / 0.5224 GB, free: 1.18 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004611/0.3687, allocations: 432.1 kB / 0.5229 GB, free: 1 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.562e-05/0.3688, allocations: 49.53 kB / 0.5229 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000195/0.369, allocations: 151.5 kB / 0.523 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002364/0.3692, allocations: 189.5 kB / 0.5232 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.713e-05/0.3693, allocations: 12.59 kB / 0.5232 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004063/0.3697, allocations: 219.4 kB / 0.5235 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001219/0.3698, allocations: 94.41 kB / 0.5235 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001668/0.37, allocations: 163.9 kB / 0.5237 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006669/0.3706, allocations: 489.6 kB / 0.5242 GB, free: 432 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.3707, allocations: 0 / 0.5242 GB, free: 432 kB / 382.1 MB Notification: Performance of FrontEnd: time 2.083e-06/0.3707, allocations: 5.781 kB / 0.5242 GB, free: 428 kB / 382.1 MB Notification: Performance of Transformations before backend: time 1.336e-05/0.3707, allocations: 0 / 0.5242 GB, free: 428 kB / 382.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.001262/0.372, allocations: 0.7138 MB / 0.5249 GB, free: 15.86 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.372, allocations: 9.781 kB / 0.5249 GB, free: 15.86 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.052e-05/0.3721, allocations: 48.23 kB / 0.5249 GB, free: 15.84 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003618/0.3725, allocations: 287.3 kB / 0.5252 GB, free: 15.59 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.326e-05/0.3725, allocations: 34.06 kB / 0.5252 GB, free: 15.57 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.978e-05/0.3726, allocations: 37.47 kB / 0.5253 GB, free: 15.56 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001092/0.3737, allocations: 0.5789 MB / 0.5258 GB, free: 15.34 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.64e-05/0.3737, allocations: 1.375 kB / 0.5258 GB, free: 15.34 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.917e-05/0.3737, allocations: 14.75 kB / 0.5258 GB, free: 15.33 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.315e-05/0.3738, allocations: 24.98 kB / 0.5259 GB, free: 15.32 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000924/0.3747, allocations: 429.4 kB / 0.5263 GB, free: 15.16 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002056/0.3768, allocations: 1.379 MB / 0.5276 GB, free: 14.12 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005892/0.3774, allocations: 271 kB / 0.5279 GB, free: 13.96 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003089/0.3777, allocations: 132.6 kB / 0.528 GB, free: 13.89 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.14e-05/0.3778, allocations: 9.484 kB / 0.528 GB, free: 13.89 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.729e-05/0.3778, allocations: 39.84 kB / 0.5281 GB, free: 13.84 MB / 398.1 MB Notification: Performance of pre-optimization done (n=17): time 1.533e-06/0.3778, allocations: 0 / 0.5281 GB, free: 13.84 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001207/0.379, allocations: 458.2 kB / 0.5285 GB, free: 13.64 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.587e-05/0.3791, allocations: 105 kB / 0.5286 GB, free: 13.52 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000638/0.3798, allocations: 0.5024 MB / 0.5291 GB, free: 13.23 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.907e-05/0.3798, allocations: 35.05 kB / 0.5291 GB, free: 13.19 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001782/0.38, allocations: 201.2 kB / 0.5293 GB, free: 13 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.511e-05/0.3801, allocations: 58.28 kB / 0.5294 GB, free: 12.95 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001155/0.3802, allocations: 50.39 kB / 0.5294 GB, free: 12.92 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001618/0.3804, allocations: 359 kB / 0.5298 GB, free: 12.57 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003173/0.3807, allocations: 125.4 kB / 0.5299 GB, free: 12.53 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003602/0.3811, allocations: 173.3 kB / 0.53 GB, free: 12.42 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006594/0.3817, allocations: 294.9 kB / 0.5303 GB, free: 12.27 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.3817, allocations: 1.125 kB / 0.5303 GB, free: 12.27 MB / 398.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0008396/0.3826, allocations: 400.3 kB / 0.5307 GB, free: 12.08 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.3826, allocations: 13.25 kB / 0.5307 GB, free: 12.07 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.204e-05/0.3827, allocations: 34.11 kB / 0.5308 GB, free: 12.06 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.3827, allocations: 2.219 kB / 0.5308 GB, free: 12.06 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002031/0.3829, allocations: 34.31 kB / 0.5308 GB, free: 12.05 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.3829, allocations: 2.281 kB / 0.5308 GB, free: 12.05 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000265/0.3832, allocations: 59.86 kB / 0.5308 GB, free: 12.01 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.486e-05/0.3832, allocations: 13.89 kB / 0.5309 GB, free: 12.01 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.0001894/0.3834, allocations: 183 kB / 0.531 GB, free: 11.86 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.841e-05/0.3835, allocations: 45.44 kB / 0.5311 GB, free: 11.83 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007504/0.3843, allocations: 378.5 kB / 0.5314 GB, free: 11.64 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.087e-06/0.3843, allocations: 7.172 kB / 0.5314 GB, free: 11.64 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.3843, allocations: 4 kB / 0.5314 GB, free: 11.64 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.3843, allocations: 2.562 kB / 0.5314 GB, free: 11.64 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005325/0.3849, allocations: 362.8 kB / 0.5318 GB, free: 11.33 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.639e-05/0.3849, allocations: 32.61 kB / 0.5318 GB, free: 11.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001407/0.3851, allocations: 23.78 kB / 0.5318 GB, free: 11.31 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.163e-06/0.3851, allocations: 6 kB / 0.5319 GB, free: 11.31 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.612e-05/0.3851, allocations: 9.969 kB / 0.5319 GB, free: 11.3 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.015e-06/0.3851, allocations: 1.25 kB / 0.5319 GB, free: 11.3 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.3852, allocations: 1.312 kB / 0.5319 GB, free: 11.3 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008416/0.386, allocations: 0.5758 MB / 0.5324 GB, free: 10.89 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001193/0.3861, allocations: 125 kB / 0.5325 GB, free: 10.77 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.679e-05/0.3862, allocations: 6.406 kB / 0.5326 GB, free: 10.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002688/0.3865, allocations: 21.25 kB / 0.5326 GB, free: 10.75 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.84e-05/0.3866, allocations: 19.23 kB / 0.5326 GB, free: 10.75 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.479e-05/0.3866, allocations: 12.12 kB / 0.5326 GB, free: 10.74 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004017/0.387, allocations: 378.5 kB / 0.533 GB, free: 10.53 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.387, allocations: 1.062 kB / 0.533 GB, free: 10.53 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005254/0.3875, allocations: 120.7 kB / 0.5331 GB, free: 10.5 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.0003015/0.3878, allocations: 158.2 kB / 0.5332 GB, free: 10.38 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008889/0.3887, allocations: 0.5115 MB / 0.5337 GB, free: 9.996 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3888, allocations: 0 / 0.5337 GB, free: 9.996 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004718/0.3892, allocations: 390.7 kB / 0.5341 GB, free: 9.652 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006624/0.3899, allocations: 103.7 kB / 0.5342 GB, free: 9.594 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001358/0.3913, allocations: 0.8179 MB / 0.535 GB, free: 9.129 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004069/0.3917, allocations: 0.8493 MB / 0.5358 GB, free: 8.352 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000164/0.3919, allocations: 58.09 kB / 0.5359 GB, free: 8.328 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.326e-05/0.3919, allocations: 25.06 kB / 0.5359 GB, free: 8.324 MB / 398.1 MB Notification: Performance of SimCode: time 3.7e-07/0.3919, allocations: 4 kB / 0.5359 GB, free: 8.32 MB / 398.1 MB Notification: Performance of Templates: time 0.01158/0.4035, allocations: 7.213 MB / 0.543 GB, free: 2.949 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches