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.001053/0.001053, allocations: 113.4 kB / 17.78 MB, free: 5.27 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.001108/0.001108, allocations: 188.1 kB / 18.71 MB, free: 4.344 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.27/1.27, allocations: 222.9 MB / 242.4 MB, free: 15.18 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.2041/0.2041, allocations: 44.18 MB / 336.7 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 59.89 kB / 470.6 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3717/0.373, allocations: 60.82 MB / 0.5189 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent): time 0.003529/0.3765, allocations: 2.106 MB / 0.521 GB, free: 2.156 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001869/0.3784, allocations: 1.165 MB / 0.5221 GB, free: 1.336 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001106/0.3786, allocations: 2.375 kB / 0.5221 GB, free: 1.336 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003296/0.3789, allocations: 63.25 kB / 0.5222 GB, free: 1.305 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000229/0.3792, allocations: 93.2 kB / 0.5223 GB, free: 1.25 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000546/0.3797, allocations: 164.8 kB / 0.5224 GB, free: 1.18 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005327/0.3803, allocations: 435.6 kB / 0.5228 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.3804, allocations: 50.38 kB / 0.5229 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000254/0.3807, allocations: 154.2 kB / 0.523 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002636/0.3809, allocations: 182.2 kB / 0.5232 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.113e-05/0.381, allocations: 17.34 kB / 0.5232 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004319/0.3814, allocations: 214.9 kB / 0.5234 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000141/0.3816, allocations: 90.7 kB / 0.5235 GB, free: 0.707 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001616/0.3817, allocations: 171.8 kB / 0.5237 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007459/0.3825, allocations: 491.1 kB / 0.5242 GB, free: 428 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.3825, allocations: 0.6094 kB / 0.5242 GB, free: 428 kB / 382.1 MB Notification: Performance of FrontEnd: time 3.627e-06/0.3825, allocations: 0 / 0.5242 GB, free: 428 kB / 382.1 MB Notification: Performance of Transformations before backend: time 1.143e-05/0.3825, allocations: 1.344 kB / 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.001277/0.3838, allocations: 0.6984 MB / 0.5248 GB, free: 15.88 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.682e-05/0.3839, allocations: 13.62 kB / 0.5249 GB, free: 15.88 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001174/0.384, allocations: 48.19 kB / 0.5249 GB, free: 15.85 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000471/0.3845, allocations: 291.5 kB / 0.5252 GB, free: 15.59 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.049e-05/0.3845, allocations: 28.31 kB / 0.5252 GB, free: 15.58 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.212e-05/0.3846, allocations: 37.75 kB / 0.5252 GB, free: 15.57 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001211/0.3858, allocations: 0.5762 MB / 0.5258 GB, free: 15.36 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.3859, allocations: 3.984 kB / 0.5258 GB, free: 15.35 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.094e-05/0.3859, allocations: 15.69 kB / 0.5258 GB, free: 15.34 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.84e-05/0.386, allocations: 22.08 kB / 0.5258 GB, free: 15.34 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009732/0.3869, allocations: 428.3 kB / 0.5263 GB, free: 15.19 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001995/0.3889, allocations: 1.374 MB / 0.5276 GB, free: 14.16 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005506/0.3895, allocations: 275.5 kB / 0.5279 GB, free: 14 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003297/0.3899, allocations: 136.3 kB / 0.528 GB, free: 13.93 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.085e-05/0.3899, allocations: 5.219 kB / 0.528 GB, free: 13.93 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.432e-05/0.3899, allocations: 35.75 kB / 0.528 GB, free: 13.88 MB / 398.1 MB Notification: Performance of pre-optimization done (n=17): time 2.004e-06/0.39, allocations: 0 / 0.528 GB, free: 13.88 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001259/0.3912, allocations: 466.3 kB / 0.5285 GB, free: 13.68 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.957e-05/0.3913, allocations: 112.5 kB / 0.5286 GB, free: 13.54 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006935/0.392, allocations: 0.4975 MB / 0.5291 GB, free: 13.26 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.936e-05/0.392, allocations: 27.02 kB / 0.5291 GB, free: 13.23 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001811/0.3922, allocations: 204.5 kB / 0.5293 GB, free: 13.04 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.97e-05/0.3923, allocations: 58.98 kB / 0.5293 GB, free: 12.99 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001154/0.3924, allocations: 53.34 kB / 0.5294 GB, free: 12.95 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001671/0.3926, allocations: 350.6 kB / 0.5297 GB, free: 12.61 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003439/0.3929, allocations: 129.9 kB / 0.5298 GB, free: 12.56 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000353/0.3933, allocations: 165.1 kB / 0.53 GB, free: 12.46 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006682/0.394, allocations: 304.5 kB / 0.5303 GB, free: 12.31 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.394, allocations: 4 kB / 0.5303 GB, free: 12.3 MB / 398.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000861/0.3949, allocations: 380.8 kB / 0.5307 GB, free: 12.13 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.333e-05/0.3949, allocations: 9.844 kB / 0.5307 GB, free: 12.12 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.228e-05/0.395, allocations: 33.77 kB / 0.5307 GB, free: 12.11 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.921e-05/0.395, allocations: 2.812 kB / 0.5307 GB, free: 12.11 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002111/0.3952, allocations: 36.41 kB / 0.5307 GB, free: 12.1 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.605e-06/0.3952, allocations: 0 / 0.5307 GB, free: 12.1 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002784/0.3955, allocations: 55.41 kB / 0.5308 GB, free: 12.07 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.682e-05/0.3956, allocations: 13.28 kB / 0.5308 GB, free: 12.06 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.0002047/0.3958, allocations: 187.8 kB / 0.531 GB, free: 11.91 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001052/0.3959, allocations: 40.59 kB / 0.531 GB, free: 11.88 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007667/0.3966, allocations: 392.6 kB / 0.5314 GB, free: 11.69 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.598e-06/0.3967, allocations: 3.75 kB / 0.5314 GB, free: 11.69 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.3967, allocations: 1.5 kB / 0.5314 GB, free: 11.69 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.3967, allocations: 0 / 0.5314 GB, free: 11.69 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005601/0.3973, allocations: 360.3 kB / 0.5317 GB, free: 11.39 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.216e-05/0.3973, allocations: 29.64 kB / 0.5318 GB, free: 11.38 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001477/0.3975, allocations: 27.81 kB / 0.5318 GB, free: 11.37 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.544e-06/0.3975, allocations: 5.719 kB / 0.5318 GB, free: 11.36 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.187e-05/0.3975, allocations: 11.72 kB / 0.5318 GB, free: 11.36 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/0.3975, allocations: 4 kB / 0.5318 GB, free: 11.36 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.3975, allocations: 0 / 0.5318 GB, free: 11.36 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000832/0.3984, allocations: 0.5774 MB / 0.5324 GB, free: 10.94 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001422/0.3985, allocations: 129 kB / 0.5325 GB, free: 10.81 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.195e-05/0.3986, allocations: 1.375 kB / 0.5325 GB, free: 10.81 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000288/0.3989, allocations: 18.22 kB / 0.5325 GB, free: 10.8 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.924e-05/0.399, allocations: 18.17 kB / 0.5325 GB, free: 10.8 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.966e-05/0.399, allocations: 20.89 kB / 0.5326 GB, free: 10.79 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004134/0.3994, allocations: 371 kB / 0.5329 GB, free: 10.58 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3994, allocations: 4 kB / 0.5329 GB, free: 10.58 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005617/0.4, allocations: 113.5 kB / 0.533 GB, free: 10.56 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.0003802/0.4004, allocations: 154.3 kB / 0.5332 GB, free: 10.44 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009178/0.4013, allocations: 0.5196 MB / 0.5337 GB, free: 10.05 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.4013, allocations: 0 / 0.5337 GB, free: 10.05 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000475/0.4018, allocations: 390.5 kB / 0.5341 GB, free: 9.703 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006755/0.4025, allocations: 93.66 kB / 0.5341 GB, free: 9.652 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001572/0.4041, allocations: 0.804 MB / 0.5349 GB, free: 9.203 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004101/0.4045, allocations: 0.845 MB / 0.5358 GB, free: 8.43 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.00018/0.4047, allocations: 70.8 kB / 0.5358 GB, free: 8.395 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.714e-05/0.4048, allocations: 24.5 kB / 0.5359 GB, free: 8.391 MB / 398.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4048, allocations: 0 / 0.5359 GB, free: 8.391 MB / 398.1 MB Notification: Performance of Templates: time 0.0122/0.417, allocations: 7.393 MB / 0.5431 GB, free: 2.859 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