Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.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.StraightPipe.kc_laminar_KC,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|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.|m_flow_4.1.|m_flow_4.2.|m_flow_4.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.|kc_4.1.|kc_4.2.|kc_4.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.|Re_4.1.|Re_4.2.|Re_4.3.|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|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.|m_flow_4.1.|m_flow_4.2.|m_flow_4.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.|kc_4.1.|kc_4.2.|kc_4.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.|Re_4.1.|Re_4.2.|Re_4.3.|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000949/0.0009489, allocations: 195.2 kB / 16.78 MB, free: 4.922 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.279/1.279, allocations: 226.5 MB / 244.1 MB, free: 8.188 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007521/0.0007521, allocations: 92.45 kB / 296.1 MB, free: 6.902 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3063/0.3063, allocations: 44.81 MB / 392.9 MB, free: 35.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002339/0.0002339, allocations: 8 kB / 465.9 MB, free: 12.7 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2619/0.2621, allocations: 62.96 MB / 0.5165 GB, free: 37.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1021/0.3643, allocations: 95.46 MB / 0.6097 GB, free: 9.934 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002452/0.3646, allocations: 99.92 kB / 0.6098 GB, free: 9.836 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03061/0.3952, allocations: 12.17 MB / 0.6217 GB, free: 13.49 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.913e-06/0.3952, allocations: 0 / 0.6217 GB, free: 13.49 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.396e-05/0.3952, allocations: 8 kB / 0.6217 GB, free: 13.48 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.0009097/0.3961, allocations: 0.6122 MB / 0.6223 GB, free: 12.81 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.3962, allocations: 12.03 kB / 0.6223 GB, free: 12.8 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.984e-05/0.3963, allocations: 44.38 kB / 0.6224 GB, free: 12.76 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003718/0.3967, allocations: 291.6 kB / 0.6226 GB, free: 12.43 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.404e-05/0.3967, allocations: 45.36 kB / 0.6227 GB, free: 12.39 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.792e-05/0.3968, allocations: 40.38 kB / 0.6227 GB, free: 12.35 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009629/0.3977, allocations: 0.6489 MB / 0.6234 GB, free: 11.7 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.3978, allocations: 192 / 0.6234 GB, free: 11.7 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.451e-05/0.3978, allocations: 23.94 kB / 0.6234 GB, free: 11.68 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.261e-05/0.3979, allocations: 41.28 kB / 0.6234 GB, free: 11.64 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001058/0.3989, allocations: 0.6999 MB / 0.6241 GB, free: 10.94 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00198/0.4009, allocations: 1.352 MB / 0.6254 GB, free: 9.527 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007377/0.4017, allocations: 456.3 kB / 0.6259 GB, free: 9.074 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002872/0.402, allocations: 165.1 kB / 0.626 GB, free: 8.91 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.989e-05/0.402, allocations: 12.2 kB / 0.626 GB, free: 8.898 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.331e-05/0.4021, allocations: 34.8 kB / 0.6261 GB, free: 8.855 MB / 442.7 MB Notification: Performance of pre-optimization done (n=28): time 1.573e-06/0.4021, allocations: 3.938 kB / 0.6261 GB, free: 8.852 MB / 442.7 MB Notification: Performance of matching and sorting (n=28): time 0.001034/0.4031, allocations: 0.5416 MB / 0.6266 GB, free: 8.305 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.101e-05/0.4032, allocations: 55.41 kB / 0.6266 GB, free: 8.238 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005/0.4037, allocations: 489.4 kB / 0.6271 GB, free: 7.754 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.859e-05/0.4037, allocations: 33.7 kB / 0.6271 GB, free: 7.715 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001405/0.4038, allocations: 220.4 kB / 0.6273 GB, free: 7.492 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.545e-05/0.4039, allocations: 94.59 kB / 0.6274 GB, free: 7.398 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.488e-05/0.404, allocations: 12 kB / 0.6275 GB, free: 7.387 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.4041, allocations: 351 kB / 0.6278 GB, free: 7.035 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003074/0.4044, allocations: 160.5 kB / 0.6279 GB, free: 6.875 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003451/0.4048, allocations: 256.2 kB / 0.6282 GB, free: 6.586 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006525/0.4054, allocations: 447.5 kB / 0.6286 GB, free: 6.109 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.4055, allocations: 0 / 0.6286 GB, free: 6.109 MB / 442.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007894/0.4063, allocations: 0.4892 MB / 0.6291 GB, free: 5.613 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.4063, allocations: 6.656 kB / 0.6291 GB, free: 5.609 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.4063, allocations: 4 kB / 0.6291 GB, free: 5.605 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.4063, allocations: 4 kB / 0.6291 GB, free: 5.602 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008914/0.4072, allocations: 203.8 kB / 0.6293 GB, free: 5.402 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003484/0.4107, allocations: 7.31 MB / 0.6364 GB, free: 13.81 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002945/0.411, allocations: 51.42 kB / 0.6365 GB, free: 13.76 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.593e-05/0.4111, allocations: 20 kB / 0.6365 GB, free: 13.74 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 12 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * 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: 12 {1,1,1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002661/0.4113, allocations: 223.8 kB / 0.6367 GB, free: 13.52 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.446e-05/0.4114, allocations: 47.44 kB / 0.6368 GB, free: 13.47 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009752/0.4124, allocations: 0.5288 MB / 0.6373 GB, free: 12.93 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/0.4124, allocations: 4 kB / 0.6373 GB, free: 12.93 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.4124, allocations: 4 kB / 0.6373 GB, free: 12.93 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.4124, allocations: 0 / 0.6373 GB, free: 12.93 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004813/0.4129, allocations: 409.2 kB / 0.6377 GB, free: 12.48 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/0.4129, allocations: 4 kB / 0.6377 GB, free: 12.47 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008183/0.4138, allocations: 199.8 kB / 0.6379 GB, free: 12.28 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.4138, allocations: 112 / 0.6379 GB, free: 12.28 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.412e-05/0.4138, allocations: 23.86 kB / 0.6379 GB, free: 12.25 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003397/0.4172, allocations: 7.294 MB / 0.645 GB, free: 4.68 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.4172, allocations: 0 / 0.645 GB, free: 4.68 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000714/0.4179, allocations: 0.5118 MB / 0.6455 GB, free: 4.152 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001087/0.4181, allocations: 120.6 kB / 0.6456 GB, free: 4.016 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.458e-05/0.4181, allocations: 11.98 kB / 0.6456 GB, free: 4.004 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002055/0.4183, allocations: 15.98 kB / 0.6457 GB, free: 3.988 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.669e-05/0.4184, allocations: 27.97 kB / 0.6457 GB, free: 3.961 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.469e-05/0.4184, allocations: 8 kB / 0.6457 GB, free: 3.953 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0003578/0.4188, allocations: 355 kB / 0.646 GB, free: 3.605 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4188, allocations: 0 / 0.646 GB, free: 3.605 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0004481/0.4193, allocations: 131.8 kB / 0.6462 GB, free: 3.477 MB / 458.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 (28): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * 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: 12 {1,1,1,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.0002961/0.4196, allocations: 186.9 kB / 0.6463 GB, free: 3.285 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001396/0.421, allocations: 0.5236 MB / 0.6468 GB, free: 2.762 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.421, allocations: 0 / 0.6468 GB, free: 2.762 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001007/0.422, allocations: 351.6 kB / 0.6472 GB, free: 2.418 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005182/0.4225, allocations: 109.4 kB / 0.6473 GB, free: 2.312 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001291/0.4238, allocations: 1.008 MB / 0.6483 GB, free: 1.277 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003858/0.4242, allocations: 0.8779 MB / 0.6491 GB, free: 380 kB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.392e-05/0.4243, allocations: 39.36 kB / 0.6492 GB, free: 340 kB / 458.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4243, allocations: 0 / 0.6492 GB, free: 340 kB / 458.7 MB Notification: Performance of Templates: time 0.02575/0.4501, allocations: 27.51 MB / 0.676 GB, free: 4.852 MB / 490.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_laminar_KC/kc_laminar_KC.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches