Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC,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.|Nu.1.|Nu.2.|Nu.3.|m_flow_1.1.|m_flow_1.2.|m_flow_1.3.|m_flow_2.1.|m_flow_2.2.|m_flow_2.3.|m_flow_3.1.|m_flow_3.2.|m_flow_3.3.|kc_1.1.|kc_1.2.|kc_1.3.|kc_2.1.|kc_2.2.|kc_2.3.|kc_3.1.|kc_3.2.|kc_3.3.|Re_1.1.|Re_1.2.|Re_1.3.|Re_2.1.|Re_2.2.|Re_2.3.|Re_3.1.|Re_3.2.|Re_3.3.|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC,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.|Nu.1.|Nu.2.|Nu.3.|m_flow_1.1.|m_flow_1.2.|m_flow_1.3.|m_flow_2.1.|m_flow_2.2.|m_flow_2.3.|m_flow_3.1.|m_flow_3.2.|m_flow_3.3.|kc_1.1.|kc_1.2.|kc_1.3.|kc_2.1.|kc_2.2.|kc_2.3.|kc_3.1.|kc_3.2.|kc_3.3.|Re_1.1.|Re_1.2.|Re_1.3.|Re_2.1.|Re_2.2.|Re_2.3.|Re_3.1.|Re_3.2.|Re_3.3.|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009127/0.0009127, allocations: 201.9 kB / 15.8 MB, free: 6.332 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.245/1.245, allocations: 226.6 MB / 243.1 MB, free: 12.58 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000715/0.0007151, allocations: 100.2 kB / 295.1 MB, free: 4.438 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1839/0.1839, allocations: 44.84 MB / 392 MB, free: 11.41 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002219/0.0002219, allocations: 8 kB / 464.8 MB, free: 68.06 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07934/0.07958, allocations: 62.96 MB / 0.5154 GB, free: 5.102 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC): time 0.001664/0.08127, allocations: 1.674 MB / 0.517 GB, free: 3.406 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009957/0.08228, allocations: 0.8459 MB / 0.5178 GB, free: 2.555 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.798e-05/0.08236, allocations: 4 kB / 0.5178 GB, free: 2.551 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001928/0.08256, allocations: 47.73 kB / 0.5179 GB, free: 2.504 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002686/0.08283, allocations: 119.4 kB / 0.518 GB, free: 2.387 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000169/0.08301, allocations: 71.75 kB / 0.518 GB, free: 2.316 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002698/0.08329, allocations: 454 kB / 0.5185 GB, free: 1.871 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.64e-05/0.08335, allocations: 48.7 kB / 0.5185 GB, free: 1.824 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000155/0.08352, allocations: 147.3 kB / 0.5187 GB, free: 1.68 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001695/0.0837, allocations: 183.2 kB / 0.5188 GB, free: 1.5 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.628e-05/0.08373, allocations: 8 kB / 0.5188 GB, free: 1.492 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001938/0.08393, allocations: 139.7 kB / 0.519 GB, free: 1.355 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.113e-05/0.084, allocations: 99.52 kB / 0.5191 GB, free: 1.258 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.28e-05/0.08405, allocations: 81.45 kB / 0.5192 GB, free: 1.172 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002214/0.08427, allocations: 311.3 kB / 0.5195 GB, free: 0.8672 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.08429, allocations: 0 / 0.5195 GB, free: 0.8672 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.08429, allocations: 0 / 0.5195 GB, free: 0.8672 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.0843, allocations: 0 / 0.5195 GB, free: 0.8672 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.0006813/0.08499, allocations: 0.5889 MB / 0.52 GB, free: 236 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.741e-05/0.08502, allocations: 12.03 kB / 0.52 GB, free: 224 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.574e-05/0.08509, allocations: 43.52 kB / 0.5201 GB, free: 180 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002779/0.08537, allocations: 271.9 kB / 0.5203 GB, free: 15.87 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.899e-05/0.08541, allocations: 36.92 kB / 0.5204 GB, free: 15.84 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.912e-05/0.08546, allocations: 36 kB / 0.5204 GB, free: 15.8 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007622/0.08623, allocations: 0.5529 MB / 0.5209 GB, free: 15.24 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.08625, allocations: 0 / 0.5209 GB, free: 15.24 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.292e-05/0.08629, allocations: 15.98 kB / 0.521 GB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.686e-05/0.08635, allocations: 40.97 kB / 0.521 GB, free: 15.18 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008439/0.0872, allocations: 0.5777 MB / 0.5216 GB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001486/0.0887, allocations: 1.175 MB / 0.5227 GB, free: 13.38 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005997/0.08931, allocations: 386.9 kB / 0.5231 GB, free: 13 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002451/0.08956, allocations: 141.1 kB / 0.5232 GB, free: 12.86 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.4e-05/0.08961, allocations: 12.17 kB / 0.5232 GB, free: 12.84 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.814e-05/0.08963, allocations: 30.75 kB / 0.5233 GB, free: 12.8 MB / 362.7 MB Notification: Performance of pre-optimization done (n=22): time 1.343e-06/0.08964, allocations: 0 / 0.5233 GB, free: 12.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.0008764/0.09052, allocations: 485.7 kB / 0.5237 GB, free: 12.32 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.929e-05/0.09056, allocations: 51.41 kB / 0.5238 GB, free: 12.26 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004353/0.091, allocations: 449.6 kB / 0.5242 GB, free: 11.82 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.436e-05/0.09103, allocations: 33.7 kB / 0.5242 GB, free: 11.78 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001108/0.09115, allocations: 188.4 kB / 0.5244 GB, free: 11.59 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.365e-05/0.09122, allocations: 74.84 kB / 0.5245 GB, free: 11.52 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.757e-05/0.09124, allocations: 8 kB / 0.5245 GB, free: 11.51 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001175/0.09137, allocations: 350.7 kB / 0.5248 GB, free: 11.16 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002359/0.09161, allocations: 119.9 kB / 0.5249 GB, free: 11.04 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002189/0.09183, allocations: 131 kB / 0.5251 GB, free: 10.91 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002486/0.09209, allocations: 135.9 kB / 0.5252 GB, free: 10.78 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.0921, allocations: 0 / 0.5252 GB, free: 10.78 MB / 362.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005803/0.09269, allocations: 356.9 kB / 0.5255 GB, free: 10.43 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.09271, allocations: 4 kB / 0.5255 GB, free: 10.42 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.09272, allocations: 0 / 0.5255 GB, free: 10.42 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/0.09273, allocations: 4 kB / 0.5255 GB, free: 10.42 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006929/0.09343, allocations: 151.9 kB / 0.5257 GB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002717/0.09616, allocations: 5.52 MB / 0.5311 GB, free: 4.539 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002037/0.09638, allocations: 55.39 kB / 0.5311 GB, free: 4.484 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.353e-05/0.09641, allocations: 8.281 kB / 0.5311 GB, free: 4.477 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (22): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 9 {1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001797/0.09659, allocations: 197.6 kB / 0.5313 GB, free: 4.273 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.687e-05/0.09666, allocations: 31.62 kB / 0.5314 GB, free: 4.242 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008107/0.09747, allocations: 471.8 kB / 0.5318 GB, free: 3.777 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/0.09749, allocations: 3.984 kB / 0.5318 GB, free: 3.773 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.0975, allocations: 0 / 0.5318 GB, free: 3.773 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.09751, allocations: 4 kB / 0.5318 GB, free: 3.77 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004115/0.09792, allocations: 377.2 kB / 0.5322 GB, free: 3.352 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.09793, allocations: 0 / 0.5322 GB, free: 3.352 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006401/0.09858, allocations: 155.9 kB / 0.5323 GB, free: 3.199 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.151e-06/0.09859, allocations: 7.984 kB / 0.5323 GB, free: 3.191 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.091e-05/0.09862, allocations: 8 kB / 0.5323 GB, free: 3.184 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00266/0.1013, allocations: 5.52 MB / 0.5377 GB, free: 13.45 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1013, allocations: 288 / 0.5377 GB, free: 13.45 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006348/0.1019, allocations: 462.7 kB / 0.5382 GB, free: 12.98 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.094e-05/0.102, allocations: 112.6 kB / 0.5383 GB, free: 12.86 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.971e-05/0.1021, allocations: 12 kB / 0.5383 GB, free: 12.84 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001998/0.1023, allocations: 15.98 kB / 0.5383 GB, free: 12.83 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.214e-05/0.1024, allocations: 23.97 kB / 0.5383 GB, free: 12.8 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-05/0.1024, allocations: 11.98 kB / 0.5383 GB, free: 12.79 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003465/0.1028, allocations: 335.1 kB / 0.5387 GB, free: 12.46 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.1028, allocations: 0 / 0.5387 GB, free: 12.46 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003384/0.1031, allocations: 99.84 kB / 0.5388 GB, free: 12.37 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (22): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 9 {1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002205/0.1033, allocations: 147 kB / 0.5389 GB, free: 12.21 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001055/0.1044, allocations: 406.5 kB / 0.5393 GB, free: 11.82 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1044, allocations: 0 / 0.5393 GB, free: 11.82 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007695/0.1052, allocations: 287.7 kB / 0.5396 GB, free: 11.54 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004578/0.1057, allocations: 89.39 kB / 0.5396 GB, free: 11.45 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00118/0.1068, allocations: 0.9031 MB / 0.5405 GB, free: 10.52 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003705/0.1072, allocations: 0.8464 MB / 0.5414 GB, free: 9.641 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.774e-05/0.1073, allocations: 27.42 kB / 0.5414 GB, free: 9.613 MB / 378.7 MB Notification: Performance of SimCode: time 2.51e-07/0.1073, allocations: 11.94 kB / 0.5414 GB, free: 9.602 MB / 378.7 MB Notification: Performance of Templates: time 0.1839/0.2912, allocations: 19.15 MB / 0.5601 GB, free: 40.67 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC_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/kc_turbulent_KC.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches