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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001012/0.001012, allocations: 178.9 kB / 18.09 MB, free: 3.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.276/1.276, allocations: 223.3 MB / 242.1 MB, free: 11.7 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007353/0.0007355, allocations: 99.08 kB / 293.3 MB, free: 10.78 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3017/0.3017, allocations: 44.15 MB / 388.5 MB, free: 38.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003291/0.0003292, allocations: 8 kB / 461.1 MB, free: 1.305 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2799/0.2802, allocations: 61.87 MB / 0.5107 GB, free: 38.2 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1061/0.3863, allocations: 94.07 MB / 0.6026 GB, free: 1 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002434/0.3866, allocations: 99.92 kB / 0.6027 GB, free: 0.9062 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02804/0.4147, allocations: 10.98 MB / 0.6134 GB, free: 5.758 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.4147, allocations: 0 / 0.6134 GB, free: 5.758 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.476e-05/0.4147, allocations: 8 kB / 0.6134 GB, free: 5.75 MB / 426.7 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.0009726/0.4157, allocations: 0.6395 MB / 0.6141 GB, free: 5.059 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.4158, allocations: 8.031 kB / 0.6141 GB, free: 5.051 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001183/0.4159, allocations: 40.47 kB / 0.6141 GB, free: 5.012 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004003/0.4163, allocations: 289.4 kB / 0.6144 GB, free: 4.691 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.298e-05/0.4164, allocations: 33.31 kB / 0.6144 GB, free: 4.66 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.565e-05/0.4164, allocations: 36.38 kB / 0.6145 GB, free: 4.625 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009374/0.4174, allocations: 0.59 MB / 0.615 GB, free: 4.016 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.4174, allocations: 192 / 0.615 GB, free: 4.016 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.327e-05/0.4174, allocations: 19.94 kB / 0.615 GB, free: 3.996 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.406e-05/0.4175, allocations: 28.98 kB / 0.6151 GB, free: 3.969 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008192/0.4183, allocations: 447.6 kB / 0.6155 GB, free: 3.531 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001818/0.4201, allocations: 1.387 MB / 0.6169 GB, free: 2.078 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005141/0.4207, allocations: 283.6 kB / 0.6171 GB, free: 1.773 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003159/0.421, allocations: 152.7 kB / 0.6173 GB, free: 1.617 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.48e-05/0.421, allocations: 4 kB / 0.6173 GB, free: 1.613 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.111e-05/0.4211, allocations: 34.56 kB / 0.6173 GB, free: 1.57 MB / 426.7 MB Notification: Performance of pre-optimization done (n=17): time 1.643e-06/0.4211, allocations: 0 / 0.6173 GB, free: 1.57 MB / 426.7 MB Notification: Performance of matching and sorting (n=17): time 0.001115/0.4222, allocations: 497 kB / 0.6178 GB, free: 1.078 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.827e-05/0.4223, allocations: 114.7 kB / 0.6179 GB, free: 0.9414 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005146/0.4228, allocations: 0.494 MB / 0.6184 GB, free: 452 kB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.46e-05/0.4228, allocations: 33.7 kB / 0.6184 GB, free: 412 kB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001334/0.423, allocations: 204.1 kB / 0.6186 GB, free: 204 kB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.625e-05/0.423, allocations: 59.19 kB / 0.6187 GB, free: 144 kB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.34e-05/0.423, allocations: 0 / 0.6187 GB, free: 144 kB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001623/0.4232, allocations: 354.8 kB / 0.619 GB, free: 15.79 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003079/0.4235, allocations: 135.9 kB / 0.6191 GB, free: 15.65 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000323/0.4239, allocations: 185 kB / 0.6193 GB, free: 15.45 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006525/0.4245, allocations: 335.4 kB / 0.6196 GB, free: 15.11 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.4245, allocations: 4 kB / 0.6196 GB, free: 15.11 MB / 442.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000795/0.4253, allocations: 396.8 kB / 0.62 GB, free: 14.71 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.552e-05/0.4254, allocations: 8 kB / 0.62 GB, free: 14.7 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.086e-05/0.4254, allocations: 28 kB / 0.62 GB, free: 14.68 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.971e-05/0.4255, allocations: 7.938 kB / 0.62 GB, free: 14.67 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002197/0.4257, allocations: 44.11 kB / 0.6201 GB, free: 14.62 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/0.4257, allocations: 0 / 0.6201 GB, free: 14.62 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002941/0.426, allocations: 75.34 kB / 0.6202 GB, free: 14.55 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.182e-05/0.4261, allocations: 8 kB / 0.6202 GB, free: 14.54 MB / 442.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002281/0.4263, allocations: 189.7 kB / 0.6203 GB, free: 14.35 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.953e-05/0.4264, allocations: 35.53 kB / 0.6204 GB, free: 14.31 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007264/0.4271, allocations: 396.4 kB / 0.6208 GB, free: 13.91 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/0.4271, allocations: 8 kB / 0.6208 GB, free: 13.91 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.4272, allocations: 4 kB / 0.6208 GB, free: 13.9 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.4272, allocations: 0 / 0.6208 GB, free: 13.9 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005318/0.4277, allocations: 361.3 kB / 0.6211 GB, free: 13.5 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-05/0.4278, allocations: 39.97 kB / 0.6212 GB, free: 13.46 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001484/0.4279, allocations: 27.97 kB / 0.6212 GB, free: 13.43 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.4279, allocations: 0 / 0.6212 GB, free: 13.43 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.32e-05/0.428, allocations: 15.94 kB / 0.6212 GB, free: 13.42 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.428, allocations: 0 / 0.6212 GB, free: 13.42 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.428, allocations: 4 kB / 0.6212 GB, free: 13.41 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008413/0.4288, allocations: 0.6035 MB / 0.6218 GB, free: 12.79 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001037/0.4289, allocations: 124.5 kB / 0.6219 GB, free: 12.65 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.982e-05/0.429, allocations: 4 kB / 0.6219 GB, free: 12.65 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002766/0.4293, allocations: 27.97 kB / 0.6219 GB, free: 12.62 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.904e-05/0.4294, allocations: 15.98 kB / 0.622 GB, free: 12.61 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.456e-05/0.4294, allocations: 15.98 kB / 0.622 GB, free: 12.59 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003748/0.4298, allocations: 371 kB / 0.6223 GB, free: 12.23 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4298, allocations: 0 / 0.6223 GB, free: 12.23 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0005163/0.4303, allocations: 127.8 kB / 0.6224 GB, free: 12.1 MB / 442.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003601/0.4307, allocations: 193.2 kB / 0.6226 GB, free: 11.91 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0008181/0.4315, allocations: 0.5341 MB / 0.6231 GB, free: 11.32 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.4315, allocations: 320 / 0.6231 GB, free: 11.32 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000435/0.432, allocations: 403.7 kB / 0.6235 GB, free: 10.87 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006903/0.4327, allocations: 98.31 kB / 0.6236 GB, free: 10.77 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001413/0.4341, allocations: 0.8914 MB / 0.6245 GB, free: 9.844 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004446/0.4345, allocations: 0.8422 MB / 0.6253 GB, free: 8.977 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001988/0.4347, allocations: 59.25 kB / 0.6254 GB, free: 8.922 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.988e-05/0.4348, allocations: 27.42 kB / 0.6254 GB, free: 8.895 MB / 442.7 MB Notification: Performance of SimCode: time 2.21e-07/0.4348, allocations: 4 kB / 0.6254 GB, free: 8.891 MB / 442.7 MB Notification: Performance of Templates: time 0.01192/0.4467, allocations: 7.135 MB / 0.6324 GB, free: 1.863 MB / 442.7 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","../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