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.001209/0.001209, allocations: 111.4 kB / 18.45 MB, free: 4.602 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.001232/0.001232, allocations: 183 kB / 19.38 MB, free: 3.684 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.287/1.287, allocations: 222.9 MB / 243.1 MB, free: 15.05 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.2007/0.2007, allocations: 44.18 MB / 337.4 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.001331, allocations: 63.91 kB / 471.2 MB, free: 13.13 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3004/0.3017, allocations: 60.82 MB / 0.5196 GB, free: 3.641 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent): time 0.002781/0.3045, allocations: 2.113 MB / 0.5217 GB, free: 2.176 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00147/0.306, allocations: 1.16 MB / 0.5228 GB, free: 1.359 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.798e-05/0.3061, allocations: 1.938 kB / 0.5228 GB, free: 1.359 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000267/0.3064, allocations: 67.97 kB / 0.5229 GB, free: 1.324 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002086/0.3066, allocations: 93.31 kB / 0.5229 GB, free: 1.27 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00045/0.3071, allocations: 167.5 kB / 0.5231 GB, free: 1.195 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004157/0.3075, allocations: 433.5 kB / 0.5235 GB, free: 1.016 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.782e-05/0.3076, allocations: 45.8 kB / 0.5236 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001894/0.3078, allocations: 159.3 kB / 0.5237 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002141/0.308, allocations: 185.7 kB / 0.5239 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.605e-05/0.308, allocations: 16.47 kB / 0.5239 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003925/0.3084, allocations: 218.7 kB / 0.5241 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001057/0.3086, allocations: 91.27 kB / 0.5242 GB, free: 0.7188 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001493/0.3087, allocations: 162.9 kB / 0.5244 GB, free: 0.625 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005796/0.3093, allocations: 491.2 kB / 0.5248 GB, free: 448 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.3093, allocations: 1.828 kB / 0.5248 GB, free: 448 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3093, allocations: 0 / 0.5248 GB, free: 448 kB / 382.1 MB Notification: Performance of Transformations before backend: time 6.793e-06/0.3093, allocations: 0 / 0.5248 GB, free: 448 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.001181/0.3105, allocations: 0.7026 MB / 0.5255 GB, free: 15.89 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.3106, allocations: 9.906 kB / 0.5255 GB, free: 15.89 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001101/0.3107, allocations: 44.44 kB / 0.5256 GB, free: 15.87 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004447/0.3111, allocations: 289 kB / 0.5258 GB, free: 15.62 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.952e-05/0.3112, allocations: 32.58 kB / 0.5259 GB, free: 15.61 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.471e-05/0.3113, allocations: 36.53 kB / 0.5259 GB, free: 15.59 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009575/0.3122, allocations: 0.5757 MB / 0.5265 GB, free: 15.38 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.3122, allocations: 0 / 0.5265 GB, free: 15.38 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.147e-05/0.3123, allocations: 16.88 kB / 0.5265 GB, free: 15.37 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.46e-05/0.3123, allocations: 20.47 kB / 0.5265 GB, free: 15.37 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007753/0.3131, allocations: 431.4 kB / 0.5269 GB, free: 15.19 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001891/0.315, allocations: 1.382 MB / 0.5283 GB, free: 14.15 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005098/0.3155, allocations: 266.2 kB / 0.5285 GB, free: 14 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003121/0.3159, allocations: 138.2 kB / 0.5286 GB, free: 13.93 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.561e-05/0.3159, allocations: 4.062 kB / 0.5287 GB, free: 13.93 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.915e-05/0.3159, allocations: 39.89 kB / 0.5287 GB, free: 13.88 MB / 398.1 MB Notification: Performance of pre-optimization done (n=17): time 1.673e-06/0.316, allocations: 0 / 0.5287 GB, free: 13.88 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001173/0.3171, allocations: 466.1 kB / 0.5291 GB, free: 13.67 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.341e-05/0.3172, allocations: 104.8 kB / 0.5292 GB, free: 13.55 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005804/0.3178, allocations: 0.4935 MB / 0.5297 GB, free: 13.27 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.83e-05/0.3178, allocations: 31.11 kB / 0.5297 GB, free: 13.23 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001583/0.318, allocations: 205.9 kB / 0.5299 GB, free: 13.04 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.398e-05/0.3181, allocations: 62.66 kB / 0.53 GB, free: 12.99 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.843e-05/0.3182, allocations: 48.95 kB / 0.53 GB, free: 12.96 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.3183, allocations: 354.7 kB / 0.5304 GB, free: 12.61 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003118/0.3186, allocations: 126.1 kB / 0.5305 GB, free: 12.57 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003128/0.3189, allocations: 173.1 kB / 0.5307 GB, free: 12.46 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006219/0.3196, allocations: 304 kB / 0.531 GB, free: 12.31 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.257e-06/0.3196, allocations: 1.375 kB / 0.531 GB, free: 12.31 MB / 398.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0007549/0.3203, allocations: 380.7 kB / 0.5313 GB, free: 12.13 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.3204, allocations: 13.44 kB / 0.5313 GB, free: 12.12 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.824e-05/0.3204, allocations: 37.05 kB / 0.5314 GB, free: 12.11 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/0.3205, allocations: 6.734 kB / 0.5314 GB, free: 12.11 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002039/0.3207, allocations: 30.25 kB / 0.5314 GB, free: 12.1 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.134e-05/0.3207, allocations: 5.547 kB / 0.5314 GB, free: 12.09 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002645/0.321, allocations: 60.19 kB / 0.5315 GB, free: 12.05 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.31e-05/0.321, allocations: 13.44 kB / 0.5315 GB, free: 12.05 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.0001958/0.3212, allocations: 192.3 kB / 0.5317 GB, free: 11.89 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001061/0.3213, allocations: 44.67 kB / 0.5317 GB, free: 11.86 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007069/0.322, allocations: 377.7 kB / 0.5321 GB, free: 11.68 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.857e-06/0.3221, allocations: 3 kB / 0.5321 GB, free: 11.68 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.3221, allocations: 1.125 kB / 0.5321 GB, free: 11.68 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.3221, allocations: 1.094 kB / 0.5321 GB, free: 11.68 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005457/0.3226, allocations: 367.5 kB / 0.5324 GB, free: 11.37 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.868e-05/0.3227, allocations: 29.09 kB / 0.5325 GB, free: 11.36 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001503/0.3228, allocations: 24.28 kB / 0.5325 GB, free: 11.36 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.3229, allocations: 5.094 kB / 0.5325 GB, free: 11.35 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.523e-05/0.3229, allocations: 14.02 kB / 0.5325 GB, free: 11.34 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.3229, allocations: 1.281 kB / 0.5325 GB, free: 11.34 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.3229, allocations: 1.094 kB / 0.5325 GB, free: 11.34 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007918/0.3237, allocations: 0.5693 MB / 0.5331 GB, free: 10.94 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001238/0.3238, allocations: 130 kB / 0.5332 GB, free: 10.81 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.149e-05/0.3239, allocations: 1.062 kB / 0.5332 GB, free: 10.81 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002787/0.3242, allocations: 22.73 kB / 0.5332 GB, free: 10.8 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.704e-05/0.3243, allocations: 21.94 kB / 0.5332 GB, free: 10.79 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.246e-05/0.3243, allocations: 12.59 kB / 0.5332 GB, free: 10.78 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003903/0.3247, allocations: 375.4 kB / 0.5336 GB, free: 10.57 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3247, allocations: 0 / 0.5336 GB, free: 10.57 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000522/0.3252, allocations: 112.9 kB / 0.5337 GB, free: 10.55 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.0002752/0.3255, allocations: 150.7 kB / 0.5338 GB, free: 10.44 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008363/0.3264, allocations: 0.5235 MB / 0.5344 GB, free: 10.04 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3264, allocations: 0 / 0.5344 GB, free: 10.04 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004459/0.3268, allocations: 386.2 kB / 0.5347 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.0006505/0.3275, allocations: 104.8 kB / 0.5348 GB, free: 9.645 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001403/0.3289, allocations: 0.8232 MB / 0.5356 GB, free: 9.168 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004032/0.3293, allocations: 0.8379 MB / 0.5364 GB, free: 8.398 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.296e-05/0.3294, allocations: 33.66 kB / 0.5365 GB, free: 8.387 MB / 398.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3294, allocations: 0 / 0.5365 GB, free: 8.387 MB / 398.1 MB Notification: Performance of Templates: time 0.009818/0.3392, allocations: 6.972 MB / 0.5433 GB, free: 3.199 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/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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches