Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_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_laminar_KC,tolerance=1e-06,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_laminar_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC,tolerance=1e-06,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_laminar_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001287/0.001288, allocations: 198.7 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.259/1.259, allocations: 226.5 MB / 243.4 MB, free: 6.445 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007839/0.000784, allocations: 88.8 kB / 295.5 MB, free: 6.641 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.324/0.324, allocations: 44.82 MB / 392.3 MB, free: 35.62 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002951/0.0002951, allocations: 11.98 kB / 465.3 MB, free: 12.62 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2832/0.2835, allocations: 62.96 MB / 0.5159 GB, free: 37.32 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC): time 0.001688/0.2852, allocations: 1.695 MB / 0.5176 GB, free: 36.1 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009459/0.2862, allocations: 0.8372 MB / 0.5184 GB, free: 35.51 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.952e-05/0.2862, allocations: 0 / 0.5184 GB, free: 35.51 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001986/0.2865, allocations: 52.89 kB / 0.5184 GB, free: 35.48 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002544/0.2867, allocations: 116.5 kB / 0.5185 GB, free: 35.43 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000175/0.2869, allocations: 74.3 kB / 0.5186 GB, free: 35.4 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003081/0.2872, allocations: 448.8 kB / 0.519 GB, free: 35.22 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.399e-05/0.2873, allocations: 39.94 kB / 0.5191 GB, free: 35.21 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001779/0.2875, allocations: 146.2 kB / 0.5192 GB, free: 35.15 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001698/0.2877, allocations: 187.8 kB / 0.5194 GB, free: 35.08 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.658e-05/0.2877, allocations: 12.97 kB / 0.5194 GB, free: 35.08 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002069/0.2879, allocations: 128.5 kB / 0.5195 GB, free: 35.04 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.295e-05/0.288, allocations: 99.3 kB / 0.5196 GB, free: 35 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001082/0.2881, allocations: 168.4 kB / 0.5198 GB, free: 34.89 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002682/0.2884, allocations: 303.3 kB / 0.5201 GB, free: 34.8 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.2884, allocations: 0 / 0.5201 GB, free: 34.8 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.2884, allocations: 0 / 0.5201 GB, free: 34.8 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.06e-06/0.2884, allocations: 7.875 kB / 0.5201 GB, free: 34.79 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.0006925/0.2891, allocations: 0.5897 MB / 0.5206 GB, free: 34.3 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.205e-05/0.2891, allocations: 8.625 kB / 0.5207 GB, free: 34.3 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.039e-05/0.2892, allocations: 40.66 kB / 0.5207 GB, free: 34.28 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002354/0.2894, allocations: 282.6 kB / 0.521 GB, free: 34.03 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.139e-05/0.2895, allocations: 30.81 kB / 0.521 GB, free: 34.02 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.206e-05/0.2895, allocations: 32 kB / 0.521 GB, free: 34.01 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000661/0.2902, allocations: 0.5665 MB / 0.5216 GB, free: 33.81 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.2902, allocations: 0 / 0.5216 GB, free: 33.81 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.142e-05/0.2903, allocations: 10.78 kB / 0.5216 GB, free: 33.8 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.44e-05/0.2903, allocations: 46.52 kB / 0.5216 GB, free: 33.8 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007495/0.2911, allocations: 0.5785 MB / 0.5222 GB, free: 33.66 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001364/0.2924, allocations: 1.175 MB / 0.5233 GB, free: 33.08 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005423/0.293, allocations: 379.5 kB / 0.5237 GB, free: 33.01 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002227/0.2932, allocations: 139.4 kB / 0.5238 GB, free: 32.98 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.743e-05/0.2933, allocations: 16.83 kB / 0.5239 GB, free: 32.97 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.826e-05/0.2933, allocations: 37.89 kB / 0.5239 GB, free: 32.93 MB / 378.7 MB Notification: Performance of pre-optimization done (n=22): time 1.463e-06/0.2933, allocations: 0 / 0.5239 GB, free: 32.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=22): time 0.0008036/0.2941, allocations: 480.2 kB / 0.5244 GB, free: 32.82 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.458e-05/0.2941, allocations: 54.12 kB / 0.5244 GB, free: 32.76 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003502/0.2945, allocations: 450.9 kB / 0.5248 GB, free: 32.57 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.041e-05/0.2945, allocations: 32.55 kB / 0.5249 GB, free: 32.54 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.14e-05/0.2946, allocations: 185.3 kB / 0.525 GB, free: 32.38 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.709e-05/0.2947, allocations: 73.81 kB / 0.5251 GB, free: 32.32 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.676e-05/0.2947, allocations: 4 kB / 0.5251 GB, free: 32.32 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.952e-05/0.2947, allocations: 350.7 kB / 0.5254 GB, free: 31.99 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002126/0.295, allocations: 123.4 kB / 0.5256 GB, free: 31.98 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002006/0.2952, allocations: 121.5 kB / 0.5257 GB, free: 31.96 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004253/0.2956, allocations: 282.8 kB / 0.526 GB, free: 31.91 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.2956, allocations: 0 / 0.526 GB, free: 31.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000518/0.2961, allocations: 357.2 kB / 0.5263 GB, free: 31.82 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/0.2962, allocations: 9.281 kB / 0.5263 GB, free: 31.81 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.2962, allocations: 0 / 0.5263 GB, free: 31.81 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.2962, allocations: 3.938 kB / 0.5263 GB, free: 31.81 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007318/0.2969, allocations: 158.9 kB / 0.5265 GB, free: 31.79 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001661/0.2986, allocations: 5.517 MB / 0.5318 GB, free: 26.42 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002088/0.2988, allocations: 44.66 kB / 0.5319 GB, free: 26.39 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.529e-05/0.2989, allocations: 15.09 kB / 0.5319 GB, free: 26.39 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.0001695/0.2991, allocations: 195 kB / 0.5321 GB, free: 26.25 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.107e-05/0.2991, allocations: 35.97 kB / 0.5321 GB, free: 26.23 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000739/0.2999, allocations: 462.8 kB / 0.5326 GB, free: 26.09 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-06/0.2999, allocations: 3.031 kB / 0.5326 GB, free: 26.09 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.2999, allocations: 4 kB / 0.5326 GB, free: 26.09 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.2999, allocations: 3.188 kB / 0.5326 GB, free: 26.09 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004202/0.3003, allocations: 381.4 kB / 0.5329 GB, free: 25.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.3003, allocations: 0 / 0.5329 GB, free: 25.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006307/0.301, allocations: 159.6 kB / 0.5331 GB, free: 25.81 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.301, allocations: 2.656 kB / 0.5331 GB, free: 25.81 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.227e-05/0.301, allocations: 9.688 kB / 0.5331 GB, free: 25.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001539/0.3025, allocations: 5.516 MB / 0.5385 GB, free: 20.44 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.3026, allocations: 3.375 kB / 0.5385 GB, free: 20.44 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005482/0.3031, allocations: 471 kB / 0.5389 GB, free: 20.23 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.741e-05/0.3032, allocations: 115 kB / 0.539 GB, free: 20.11 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.642e-05/0.3032, allocations: 4 kB / 0.5391 GB, free: 20.11 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001858/0.3034, allocations: 19.72 kB / 0.5391 GB, free: 20.1 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.036e-05/0.3035, allocations: 15.48 kB / 0.5391 GB, free: 20.1 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.321e-05/0.3035, allocations: 19.89 kB / 0.5391 GB, free: 20.09 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002704/0.3038, allocations: 331.8 kB / 0.5394 GB, free: 19.95 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3038, allocations: 0 / 0.5394 GB, free: 19.95 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003572/0.3042, allocations: 104.5 kB / 0.5395 GB, free: 19.93 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.0001961/0.3044, allocations: 136.2 kB / 0.5397 GB, free: 19.82 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001026/0.3054, allocations: 411.3 kB / 0.54 GB, free: 19.77 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.155e-06/0.3054, allocations: 0 / 0.54 GB, free: 19.77 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007333/0.3062, allocations: 287.8 kB / 0.5403 GB, free: 19.73 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004585/0.3066, allocations: 81.55 kB / 0.5404 GB, free: 19.7 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009773/0.3076, allocations: 0.9037 MB / 0.5413 GB, free: 19.23 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002125/0.3078, allocations: 0.8456 MB / 0.5421 GB, free: 18.52 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.783e-05/0.3079, allocations: 39.08 kB / 0.5421 GB, free: 18.51 MB / 378.7 MB Notification: Performance of SimCode: time 3e-07/0.3079, allocations: 0 / 0.5421 GB, free: 18.51 MB / 378.7 MB Notification: Performance of Templates: time 0.01905/0.327, allocations: 19.11 MB / 0.5608 GB, free: 10.66 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_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_laminar_KC/kc_laminar_KC.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches