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.00116/0.00116, allocations: 198.5 kB / 16.1 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.324/1.324, allocations: 226.5 MB / 243.4 MB, free: 8.215 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007522/0.0007522, allocations: 107 kB / 295.5 MB, free: 6.879 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2943/0.2943, allocations: 44.81 MB / 392.3 MB, free: 35.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002355/0.0002355, allocations: 4 kB / 465.3 MB, free: 12.62 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2697/0.27, allocations: 62.96 MB / 0.5159 GB, free: 36.98 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC): time 0.00168/0.2717, allocations: 1.69 MB / 0.5176 GB, free: 35.76 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001034/0.2727, allocations: 0.8463 MB / 0.5184 GB, free: 35.16 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.311e-05/0.2728, allocations: 2.969 kB / 0.5184 GB, free: 35.16 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001956/0.273, allocations: 56.34 kB / 0.5184 GB, free: 35.13 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002666/0.2733, allocations: 105.9 kB / 0.5185 GB, free: 35.08 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000191/0.2735, allocations: 77.42 kB / 0.5186 GB, free: 35.05 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003164/0.2738, allocations: 454.6 kB / 0.519 GB, free: 34.87 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.98e-05/0.2739, allocations: 43.23 kB / 0.5191 GB, free: 34.86 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001841/0.2741, allocations: 142.1 kB / 0.5192 GB, free: 34.8 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001767/0.2743, allocations: 187.4 kB / 0.5194 GB, free: 34.73 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.77e-05/0.2743, allocations: 8.5 kB / 0.5194 GB, free: 34.73 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00022/0.2745, allocations: 144.8 kB / 0.5195 GB, free: 34.68 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.257e-05/0.2746, allocations: 90.09 kB / 0.5196 GB, free: 34.65 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001074/0.2747, allocations: 171 kB / 0.5198 GB, free: 34.54 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002545/0.275, allocations: 306.7 kB / 0.5201 GB, free: 34.44 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.275, allocations: 3.938 kB / 0.5201 GB, free: 34.44 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.275, allocations: 0 / 0.5201 GB, free: 34.44 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.275, allocations: 0 / 0.5201 GB, free: 34.44 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.0007291/0.2758, allocations: 0.5883 MB / 0.5207 GB, free: 33.95 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.284e-05/0.2758, allocations: 8.75 kB / 0.5207 GB, free: 33.95 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.348e-05/0.2759, allocations: 44.81 kB / 0.5207 GB, free: 33.93 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002424/0.2761, allocations: 274.5 kB / 0.521 GB, free: 33.68 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.094e-05/0.2761, allocations: 32.05 kB / 0.521 GB, free: 33.67 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.056e-05/0.2762, allocations: 33.62 kB / 0.521 GB, free: 33.66 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006967/0.2769, allocations: 0.5574 MB / 0.5216 GB, free: 33.48 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.2769, allocations: 0 / 0.5216 GB, free: 33.48 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.313e-05/0.277, allocations: 18.64 kB / 0.5216 GB, free: 33.46 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.502e-05/0.277, allocations: 40.48 kB / 0.5216 GB, free: 33.46 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000733/0.2777, allocations: 0.5807 MB / 0.5222 GB, free: 33.32 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001318/0.2791, allocations: 1.19 MB / 0.5234 GB, free: 32.72 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000533/0.2796, allocations: 386 kB / 0.5237 GB, free: 32.65 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002184/0.2798, allocations: 133.8 kB / 0.5239 GB, free: 32.62 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.387e-05/0.2799, allocations: 14.2 kB / 0.5239 GB, free: 32.62 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.482e-05/0.2799, allocations: 41.06 kB / 0.5239 GB, free: 32.57 MB / 378.7 MB Notification: Performance of pre-optimization done (n=22): time 1.242e-06/0.2799, allocations: 0 / 0.5239 GB, free: 32.57 MB / 378.7 MB Notification: Performance of matching and sorting (n=22): time 0.000845/0.2808, allocations: 478 kB / 0.5244 GB, free: 32.46 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.985e-05/0.2808, allocations: 54.03 kB / 0.5244 GB, free: 32.4 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003486/0.2812, allocations: 451.1 kB / 0.5249 GB, free: 32.21 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.073e-05/0.2812, allocations: 32.23 kB / 0.5249 GB, free: 32.18 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.802e-05/0.2813, allocations: 189.4 kB / 0.5251 GB, free: 32.02 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.552e-05/0.2813, allocations: 71.88 kB / 0.5251 GB, free: 31.96 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.625e-05/0.2813, allocations: 0 / 0.5251 GB, free: 31.96 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.036e-05/0.2814, allocations: 351.7 kB / 0.5255 GB, free: 31.64 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002075/0.2816, allocations: 125.4 kB / 0.5256 GB, free: 31.62 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001951/0.2818, allocations: 128.3 kB / 0.5257 GB, free: 31.6 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004233/0.2823, allocations: 268.5 kB / 0.526 GB, free: 31.56 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.2823, allocations: 3.938 kB / 0.526 GB, free: 31.55 MB / 378.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005063/0.2828, allocations: 357.4 kB / 0.5263 GB, free: 31.46 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.2828, allocations: 5.438 kB / 0.5263 GB, free: 31.46 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.2828, allocations: 0 / 0.5263 GB, free: 31.46 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.2828, allocations: 3.938 kB / 0.5263 GB, free: 31.46 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007005/0.2835, allocations: 158.4 kB / 0.5265 GB, free: 31.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001856/0.2854, allocations: 5.521 MB / 0.5319 GB, free: 26.06 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002175/0.2856, allocations: 49.12 kB / 0.5319 GB, free: 26.03 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.51e-05/0.2857, allocations: 12.62 kB / 0.5319 GB, free: 26.03 MB / 378.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.0001959/0.2859, allocations: 193.5 kB / 0.5321 GB, free: 25.89 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.542e-05/0.2859, allocations: 34 kB / 0.5321 GB, free: 25.87 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007485/0.2867, allocations: 472.1 kB / 0.5326 GB, free: 25.73 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.2867, allocations: 2.875 kB / 0.5326 GB, free: 25.73 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.2867, allocations: 0 / 0.5326 GB, free: 25.73 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.2867, allocations: 7.312 kB / 0.5326 GB, free: 25.73 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003568/0.2871, allocations: 372.6 kB / 0.533 GB, free: 25.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.2871, allocations: 0 / 0.533 GB, free: 25.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006256/0.2877, allocations: 158.5 kB / 0.5331 GB, free: 25.46 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.2877, allocations: 4 kB / 0.5331 GB, free: 25.46 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.231e-05/0.2878, allocations: 13.08 kB / 0.5331 GB, free: 25.45 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001653/0.2894, allocations: 5.52 MB / 0.5385 GB, free: 20.08 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.2894, allocations: 3.984 kB / 0.5385 GB, free: 20.07 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005492/0.29, allocations: 462.5 kB / 0.539 GB, free: 19.87 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.261e-05/0.2901, allocations: 116.2 kB / 0.5391 GB, free: 19.76 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.847e-05/0.2901, allocations: 7.141 kB / 0.5391 GB, free: 19.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001821/0.2903, allocations: 8.688 kB / 0.5391 GB, free: 19.75 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.451e-05/0.2904, allocations: 21.12 kB / 0.5391 GB, free: 19.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.357e-05/0.2904, allocations: 16.5 kB / 0.5391 GB, free: 19.74 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002628/0.2907, allocations: 332.9 kB / 0.5394 GB, free: 19.6 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2907, allocations: 0 / 0.5394 GB, free: 19.6 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003554/0.2911, allocations: 103.9 kB / 0.5395 GB, free: 19.58 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.0002071/0.2913, allocations: 135.3 kB / 0.5397 GB, free: 19.48 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001046/0.2923, allocations: 418.4 kB / 0.5401 GB, free: 19.42 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2923, allocations: 0 / 0.5401 GB, free: 19.42 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007486/0.2931, allocations: 286.4 kB / 0.5403 GB, free: 19.38 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004743/0.2936, allocations: 94.16 kB / 0.5404 GB, free: 19.34 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009945/0.2946, allocations: 0.8881 MB / 0.5413 GB, free: 18.88 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002405/0.2948, allocations: 0.8516 MB / 0.5421 GB, free: 18.16 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.947e-05/0.2949, allocations: 34.03 kB / 0.5422 GB, free: 18.16 MB / 378.7 MB Notification: Performance of SimCode: time 3.11e-07/0.2949, allocations: 0 / 0.5422 GB, free: 18.16 MB / 378.7 MB Notification: Performance of Templates: time 0.01879/0.3137, allocations: 19.15 MB / 0.5609 GB, free: 10.55 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