Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_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_overall_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_overall_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_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_overall_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009663/0.0009664, allocations: 188 kB / 16.09 MB, free: 5.586 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.469/1.469, allocations: 226.5 MB / 243.4 MB, free: 6.449 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007071/0.0007071, allocations: 104 kB / 295.5 MB, free: 6.66 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3058/0.3058, allocations: 44.82 MB / 392.3 MB, free: 35.63 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002484/0.0002484, allocations: 8 kB / 465.3 MB, free: 12.62 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2858/0.2861, allocations: 62.95 MB / 0.5159 GB, free: 37.3 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC): time 0.001674/0.2878, allocations: 1.673 MB / 0.5175 GB, free: 36.1 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001766/0.2896, allocations: 1.71 MB / 0.5192 GB, free: 34.89 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.523e-05/0.2897, allocations: 0 / 0.5192 GB, free: 34.89 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002008/0.2899, allocations: 53.23 kB / 0.5193 GB, free: 34.87 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002706/0.2902, allocations: 107.4 kB / 0.5194 GB, free: 34.82 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005757/0.2908, allocations: 300.3 kB / 0.5196 GB, free: 34.69 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003174/0.2911, allocations: 450.8 kB / 0.5201 GB, free: 34.51 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.188e-05/0.2912, allocations: 43.42 kB / 0.5201 GB, free: 34.5 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001841/0.2913, allocations: 143.7 kB / 0.5202 GB, free: 34.44 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001764/0.2915, allocations: 185.1 kB / 0.5204 GB, free: 34.37 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.689e-05/0.2916, allocations: 8.969 kB / 0.5204 GB, free: 34.37 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006241/0.2922, allocations: 0.5229 MB / 0.5209 GB, free: 34.2 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.471e-05/0.2923, allocations: 92.59 kB / 0.521 GB, free: 34.16 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001179/0.2924, allocations: 177.9 kB / 0.5212 GB, free: 34.05 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003807/0.2928, allocations: 426.6 kB / 0.5216 GB, free: 33.92 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.2928, allocations: 0 / 0.5216 GB, free: 33.92 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.2928, allocations: 0 / 0.5216 GB, free: 33.92 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.2928, allocations: 2.969 kB / 0.5216 GB, free: 33.92 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.0007731/0.2936, allocations: 0.6161 MB / 0.5222 GB, free: 33.41 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.287e-05/0.2936, allocations: 10.91 kB / 0.5222 GB, free: 33.41 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.158e-05/0.2937, allocations: 37.47 kB / 0.5223 GB, free: 33.39 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002449/0.294, allocations: 280.9 kB / 0.5225 GB, free: 33.14 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.229e-05/0.294, allocations: 31.89 kB / 0.5226 GB, free: 33.13 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.224e-05/0.294, allocations: 34.38 kB / 0.5226 GB, free: 33.12 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006956/0.2947, allocations: 0.5549 MB / 0.5231 GB, free: 32.93 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.2948, allocations: 4 kB / 0.5231 GB, free: 32.93 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.226e-05/0.2948, allocations: 18.86 kB / 0.5232 GB, free: 32.91 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.002e-05/0.2949, allocations: 45.17 kB / 0.5232 GB, free: 32.91 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007533/0.2956, allocations: 0.5801 MB / 0.5238 GB, free: 32.77 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001334/0.297, allocations: 1.167 MB / 0.5249 GB, free: 32.2 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005403/0.2975, allocations: 386.5 kB / 0.5253 GB, free: 32.12 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002192/0.2978, allocations: 137 kB / 0.5254 GB, free: 32.1 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.838e-05/0.2978, allocations: 17.73 kB / 0.5254 GB, free: 32.09 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.813e-05/0.2978, allocations: 37.06 kB / 0.5255 GB, free: 32.04 MB / 378.7 MB Notification: Performance of pre-optimization done (n=22): time 1.863e-06/0.2978, allocations: 0 / 0.5255 GB, free: 32.04 MB / 378.7 MB Notification: Performance of matching and sorting (n=22): time 0.000821/0.2987, allocations: 473.6 kB / 0.5259 GB, free: 31.94 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.097e-05/0.2987, allocations: 58.19 kB / 0.526 GB, free: 31.88 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003475/0.299, allocations: 451.4 kB / 0.5264 GB, free: 31.69 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.959e-05/0.2991, allocations: 29.7 kB / 0.5264 GB, free: 31.65 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.141e-05/0.2992, allocations: 193.4 kB / 0.5266 GB, free: 31.49 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.797e-05/0.2992, allocations: 69.62 kB / 0.5267 GB, free: 31.44 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.734e-05/0.2992, allocations: 4 kB / 0.5267 GB, free: 31.43 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.567e-05/0.2993, allocations: 352 kB / 0.527 GB, free: 31.11 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002116/0.2995, allocations: 130 kB / 0.5271 GB, free: 31.08 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001984/0.2997, allocations: 124.6 kB / 0.5273 GB, free: 31.07 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004428/0.3002, allocations: 279.6 kB / 0.5275 GB, free: 31.02 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.3002, allocations: 0 / 0.5275 GB, free: 31.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005304/0.3007, allocations: 353.1 kB / 0.5279 GB, free: 30.93 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.3008, allocations: 5.469 kB / 0.5279 GB, free: 30.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.3008, allocations: 0 / 0.5279 GB, free: 30.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.3008, allocations: 7.938 kB / 0.5279 GB, free: 30.92 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007264/0.3015, allocations: 160.1 kB / 0.528 GB, free: 30.89 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001657/0.3032, allocations: 5.514 MB / 0.5334 GB, free: 25.53 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000221/0.3034, allocations: 48.28 kB / 0.5335 GB, free: 25.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.51e-05/0.3035, allocations: 13.19 kB / 0.5335 GB, free: 25.5 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.000174/0.3036, allocations: 198.6 kB / 0.5337 GB, free: 25.36 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.113e-05/0.3037, allocations: 34.47 kB / 0.5337 GB, free: 25.34 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007508/0.3044, allocations: 465.5 kB / 0.5341 GB, free: 25.2 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.3045, allocations: 6.812 kB / 0.5341 GB, free: 25.19 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.3045, allocations: 0 / 0.5341 GB, free: 25.19 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.3045, allocations: 6.375 kB / 0.5341 GB, free: 25.19 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003536/0.3048, allocations: 373.6 kB / 0.5345 GB, free: 24.95 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.3049, allocations: 7.938 kB / 0.5345 GB, free: 24.94 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006595/0.3055, allocations: 153.4 kB / 0.5347 GB, free: 24.92 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.3055, allocations: 2.719 kB / 0.5347 GB, free: 24.92 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.224e-05/0.3056, allocations: 10.38 kB / 0.5347 GB, free: 24.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001592/0.3072, allocations: 5.521 MB / 0.5401 GB, free: 19.54 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.3072, allocations: 0 / 0.5401 GB, free: 19.54 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005648/0.3077, allocations: 464.6 kB / 0.5405 GB, free: 19.34 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.819e-05/0.3078, allocations: 112.3 kB / 0.5406 GB, free: 19.23 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.782e-05/0.3079, allocations: 4 kB / 0.5406 GB, free: 19.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001926/0.3081, allocations: 16.19 kB / 0.5406 GB, free: 19.22 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.302e-05/0.3082, allocations: 18.12 kB / 0.5406 GB, free: 19.22 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.403e-05/0.3082, allocations: 15.02 kB / 0.5407 GB, free: 19.21 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002692/0.3085, allocations: 334.1 kB / 0.541 GB, free: 19.07 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3085, allocations: 3.938 kB / 0.541 GB, free: 19.06 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004374/0.3089, allocations: 150.4 kB / 0.5411 GB, free: 19.03 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.0003195/0.3092, allocations: 220.1 kB / 0.5413 GB, free: 18.89 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00109/0.3103, allocations: 411.4 kB / 0.5417 GB, free: 18.84 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3103, allocations: 0 / 0.5417 GB, free: 18.84 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007685/0.3111, allocations: 288.4 kB / 0.542 GB, free: 18.79 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004711/0.3116, allocations: 83.77 kB / 0.5421 GB, free: 18.76 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001005/0.3126, allocations: 0.8936 MB / 0.543 GB, free: 18.3 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002025/0.3128, allocations: 0.848 MB / 0.5438 GB, free: 17.59 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.094e-05/0.3129, allocations: 35.72 kB / 0.5438 GB, free: 17.58 MB / 378.7 MB Notification: Performance of SimCode: time 3.31e-07/0.3129, allocations: 0 / 0.5438 GB, free: 17.58 MB / 378.7 MB Notification: Performance of Templates: time 0.02062/0.3336, allocations: 19.88 MB / 0.5632 GB, free: 8.188 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_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_overall_KC/kc_overall_KC.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches