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.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,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_trunk_cpp_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_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001349/0.001349, allocations: 195.9 kB / 16.1 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.282/1.282, allocations: 226.5 MB / 243.4 MB, free: 6.5 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007857/0.0007859, allocations: 104.5 kB / 295.5 MB, free: 6.664 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3416/0.3416, allocations: 44.82 MB / 392.3 MB, free: 35.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002818/0.0002819, allocations: 8 kB / 465.3 MB, free: 12.62 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.278/0.2783, allocations: 62.95 MB / 0.5159 GB, free: 37.32 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent): time 0.001774/0.2801, allocations: 1.772 MB / 0.5176 GB, free: 36.05 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001263/0.2814, allocations: 1.097 MB / 0.5187 GB, free: 35.27 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.915e-05/0.2815, allocations: 0 / 0.5187 GB, free: 35.27 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002183/0.2817, allocations: 56.5 kB / 0.5188 GB, free: 35.24 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000164/0.2819, allocations: 81.44 kB / 0.5188 GB, free: 35.19 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003589/0.2822, allocations: 147.6 kB / 0.519 GB, free: 35.12 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003379/0.2826, allocations: 471.4 kB / 0.5194 GB, free: 34.94 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.754e-05/0.2827, allocations: 45.2 kB / 0.5195 GB, free: 34.92 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001805/0.2828, allocations: 152.7 kB / 0.5196 GB, free: 34.86 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001714/0.283, allocations: 185.3 kB / 0.5198 GB, free: 34.79 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.054e-05/0.2831, allocations: 11.41 kB / 0.5198 GB, free: 34.79 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002953/0.2834, allocations: 216.6 kB / 0.52 GB, free: 34.71 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.093e-05/0.2834, allocations: 83.89 kB / 0.5201 GB, free: 34.68 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000118/0.2836, allocations: 181.7 kB / 0.5203 GB, free: 34.56 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002847/0.2839, allocations: 346.4 kB / 0.5206 GB, free: 34.46 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.2839, allocations: 6.531 kB / 0.5206 GB, free: 34.46 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2839, allocations: 0 / 0.5206 GB, free: 34.46 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.2839, allocations: 0 / 0.5206 GB, free: 34.46 MB / 378.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.0008351/0.2847, allocations: 0.6444 MB / 0.5212 GB, free: 33.95 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.197e-05/0.2848, allocations: 12.27 kB / 0.5212 GB, free: 33.95 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003371/0.2851, allocations: 80.3 kB / 0.5213 GB, free: 33.93 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002505/0.2854, allocations: 287 kB / 0.5216 GB, free: 33.68 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.243e-05/0.2854, allocations: 32.03 kB / 0.5216 GB, free: 33.66 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.987e-05/0.2855, allocations: 40.06 kB / 0.5217 GB, free: 33.64 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007369/0.2862, allocations: 0.5871 MB / 0.5222 GB, free: 33.43 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.2862, allocations: 0 / 0.5222 GB, free: 33.43 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.194e-05/0.2863, allocations: 14.81 kB / 0.5222 GB, free: 33.41 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.934e-05/0.2863, allocations: 20.97 kB / 0.5223 GB, free: 33.41 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006847/0.287, allocations: 456.4 kB / 0.5227 GB, free: 33.31 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001387/0.2884, allocations: 1.375 MB / 0.524 GB, free: 32.49 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004367/0.2888, allocations: 281.8 kB / 0.5243 GB, free: 32.39 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00027/0.2891, allocations: 149.7 kB / 0.5245 GB, free: 32.35 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.757e-05/0.2892, allocations: 9.906 kB / 0.5245 GB, free: 32.34 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.875e-05/0.2892, allocations: 37.94 kB / 0.5245 GB, free: 32.3 MB / 378.7 MB Notification: Performance of pre-optimization done (n=17): time 1.623e-06/0.2892, allocations: 0 / 0.5245 GB, free: 32.3 MB / 378.7 MB Notification: Performance of matching and sorting (n=17): time 0.001034/0.2903, allocations: 0.4919 MB / 0.525 GB, free: 32.18 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.055e-05/0.2903, allocations: 105.3 kB / 0.5251 GB, free: 32.05 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004179/0.2907, allocations: 0.4996 MB / 0.5256 GB, free: 31.85 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.955e-05/0.2907, allocations: 32.2 kB / 0.5256 GB, free: 31.81 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.837e-05/0.2908, allocations: 207.2 kB / 0.5258 GB, free: 31.64 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.54e-05/0.2909, allocations: 52.31 kB / 0.5258 GB, free: 31.6 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.735e-05/0.2909, allocations: 0 / 0.5258 GB, free: 31.6 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.045e-05/0.291, allocations: 355 kB / 0.5262 GB, free: 31.27 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002722/0.2913, allocations: 135.7 kB / 0.5263 GB, free: 31.25 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002784/0.2916, allocations: 187 kB / 0.5265 GB, free: 31.19 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005514/0.2921, allocations: 333.1 kB / 0.5268 GB, free: 31.09 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.2921, allocations: 0 / 0.5268 GB, free: 31.09 MB / 378.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006758/0.2928, allocations: 402.4 kB / 0.5272 GB, free: 30.99 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.2928, allocations: 14.03 kB / 0.5272 GB, free: 30.98 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.203e-05/0.2929, allocations: 35.98 kB / 0.5272 GB, free: 30.97 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.2929, allocations: 2.875 kB / 0.5272 GB, free: 30.97 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001878/0.2931, allocations: 39.25 kB / 0.5273 GB, free: 30.97 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.2931, allocations: 0 / 0.5273 GB, free: 30.97 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002212/0.2933, allocations: 70.44 kB / 0.5273 GB, free: 30.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.655e-05/0.2934, allocations: 8.594 kB / 0.5274 GB, free: 30.93 MB / 378.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.0001531/0.2935, allocations: 189.3 kB / 0.5275 GB, free: 30.8 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.336e-05/0.2936, allocations: 41.06 kB / 0.5276 GB, free: 30.77 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000635/0.2943, allocations: 389.5 kB / 0.5279 GB, free: 30.66 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/0.2943, allocations: 6.094 kB / 0.528 GB, free: 30.66 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.2943, allocations: 3.984 kB / 0.528 GB, free: 30.65 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.2943, allocations: 6.906 kB / 0.528 GB, free: 30.65 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004148/0.2947, allocations: 363.9 kB / 0.5283 GB, free: 30.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.435e-05/0.2948, allocations: 32.41 kB / 0.5283 GB, free: 30.4 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001376/0.2949, allocations: 35.56 kB / 0.5284 GB, free: 30.39 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.095e-06/0.2949, allocations: 3.938 kB / 0.5284 GB, free: 30.39 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.322e-05/0.295, allocations: 11.45 kB / 0.5284 GB, free: 30.39 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.614e-06/0.295, allocations: 0 / 0.5284 GB, free: 30.39 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.295, allocations: 2.969 kB / 0.5284 GB, free: 30.39 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006655/0.2957, allocations: 0.5961 MB / 0.529 GB, free: 30.04 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.682e-05/0.2957, allocations: 125.6 kB / 0.5291 GB, free: 29.92 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.075e-05/0.2958, allocations: 10.09 kB / 0.5291 GB, free: 29.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002569/0.2961, allocations: 23.41 kB / 0.5291 GB, free: 29.91 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.003e-05/0.2961, allocations: 23.3 kB / 0.5291 GB, free: 29.9 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.1e-05/0.2962, allocations: 8.094 kB / 0.5292 GB, free: 29.9 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003035/0.2965, allocations: 374.5 kB / 0.5295 GB, free: 29.75 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2965, allocations: 0 / 0.5295 GB, free: 29.75 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004412/0.2969, allocations: 113.8 kB / 0.5296 GB, free: 29.73 MB / 378.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.0002335/0.2972, allocations: 150 kB / 0.5298 GB, free: 29.62 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006883/0.2979, allocations: 0.5407 MB / 0.5303 GB, free: 29.3 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.2979, allocations: 0 / 0.5303 GB, free: 29.3 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003442/0.2982, allocations: 396.8 kB / 0.5307 GB, free: 28.99 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000637/0.2989, allocations: 101.4 kB / 0.5308 GB, free: 28.95 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001152/0.3, allocations: 0.9158 MB / 0.5317 GB, free: 28.49 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000223/0.3003, allocations: 0.8452 MB / 0.5325 GB, free: 27.78 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.034e-05/0.3003, allocations: 28.12 kB / 0.5325 GB, free: 27.77 MB / 378.7 MB Notification: Performance of SimCode: time 5.51e-07/0.3004, allocations: 2.562 kB / 0.5325 GB, free: 27.77 MB / 378.7 MB Notification: Performance of Templates: time 0.0103/0.3107, allocations: 6.883 MB / 0.5392 GB, free: 27.22 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_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","../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches