Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.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.StraightPipe.kc_turbulent_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.|kc.1.|kc.2.|kc.3.|Re_1.1.|Re_1.2.|Re_1.3.|Re_2.1.|Re_2.2.|Re_2.3.|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_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.|kc.1.|kc.2.|kc.3.|Re_1.1.|Re_1.2.|Re_1.3.|Re_2.1.|Re_2.2.|Re_2.3.|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001523/0.001523, allocations: 199.5 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.332/1.332, allocations: 225.6 MB / 234.8 MB, free: 3.258 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007829/0.000783, allocations: 102.5 kB / 286.7 MB, free: 5.254 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.183/0.183, allocations: 45.16 MB / 383.8 MB, free: 288 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.867e-05/1.869e-05, allocations: 7.938 kB / 453.2 MB, free: 75.8 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.104, allocations: 63.25 MB / 0.5044 GB, free: 12.62 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3636/0.4676, allocations: 92.14 MB / 0.5944 GB, free: 10.49 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000244/0.4679, allocations: 94.38 kB / 0.5945 GB, free: 10.44 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03087/0.4987, allocations: 12.11 MB / 0.6063 GB, free: 372 kB / 394.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.4988, allocations: 0 / 0.6063 GB, free: 372 kB / 394.7 MB Notification: Performance of Transformations before backend: time 1.274e-05/0.4988, allocations: 4 kB / 0.6063 GB, free: 368 kB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.000601/0.4994, allocations: 0.4895 MB / 0.6068 GB, free: 15.84 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.4995, allocations: 12.02 kB / 0.6068 GB, free: 15.83 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.706e-05/0.4995, allocations: 35.62 kB / 0.6068 GB, free: 15.8 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002343/0.4998, allocations: 234 kB / 0.607 GB, free: 15.54 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.446e-05/0.4998, allocations: 16 kB / 0.607 GB, free: 15.52 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.099e-05/0.4998, allocations: 12 kB / 0.6071 GB, free: 15.51 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003874/0.5002, allocations: 322.6 kB / 0.6074 GB, free: 15.28 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004129/0.5006, allocations: 309 kB / 0.6077 GB, free: 15.04 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.5007, allocations: 0 / 0.6077 GB, free: 15.04 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.207e-05/0.5007, allocations: 0 / 0.6077 GB, free: 15.04 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.117e-05/0.5007, allocations: 20.77 kB / 0.6077 GB, free: 15.02 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001032/0.5018, allocations: 0.7523 MB / 0.6084 GB, free: 14.31 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002969/0.5021, allocations: 233.6 kB / 0.6086 GB, free: 14.1 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001066/0.5022, allocations: 78.03 kB / 0.6087 GB, free: 14.03 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.106e-05/0.5022, allocations: 15.94 kB / 0.6087 GB, free: 14.01 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.865e-05/0.5023, allocations: 34.69 kB / 0.6088 GB, free: 13.97 MB / 410.7 MB Notification: Performance of pre-optimization done (n=16): time 1.222e-06/0.5023, allocations: 0 / 0.6088 GB, free: 13.97 MB / 410.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003448/0.5026, allocations: 198.8 kB / 0.609 GB, free: 13.79 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.493e-05/0.5027, allocations: 55.41 kB / 0.609 GB, free: 13.72 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001255/0.5028, allocations: 173 kB / 0.6092 GB, free: 13.57 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.5028, allocations: 25.7 kB / 0.6092 GB, free: 13.54 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.121e-05/0.5029, allocations: 178.2 kB / 0.6094 GB, free: 13.38 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.476e-05/0.503, allocations: 57.52 kB / 0.6094 GB, free: 13.32 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.188e-05/0.503, allocations: 0 / 0.6094 GB, free: 13.32 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.891e-05/0.5031, allocations: 328.8 kB / 0.6097 GB, free: 13 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001087/0.5032, allocations: 87.28 kB / 0.6098 GB, free: 12.92 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000152/0.5033, allocations: 164 kB / 0.61 GB, free: 12.74 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001456/0.5035, allocations: 111.3 kB / 0.6101 GB, free: 12.64 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.5035, allocations: 4 kB / 0.6101 GB, free: 12.64 MB / 410.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003741/0.5039, allocations: 278.8 kB / 0.6103 GB, free: 12.39 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.5039, allocations: 4 kB / 0.6104 GB, free: 12.39 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.5039, allocations: 7.953 kB / 0.6104 GB, free: 12.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.5039, allocations: 8.375 kB / 0.6104 GB, free: 12.37 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005595/0.5045, allocations: 119 kB / 0.6105 GB, free: 12.26 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001652/0.5062, allocations: 3.669 MB / 0.6141 GB, free: 8.484 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001586/0.5063, allocations: 22.28 kB / 0.6141 GB, free: 8.465 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.547e-05/0.5064, allocations: 11.98 kB / 0.6141 GB, free: 8.453 MB / 410.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: 6 (m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[1].roughness,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[1].roughness) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001111/0.5065, allocations: 120.8 kB / 0.6142 GB, free: 8.332 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.821e-05/0.5065, allocations: 15.81 kB / 0.6142 GB, free: 8.316 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005089/0.507, allocations: 280.1 kB / 0.6145 GB, free: 8.062 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.5071, allocations: 4 kB / 0.6145 GB, free: 8.059 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.5071, allocations: 0 / 0.6145 GB, free: 8.059 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.5071, allocations: 0 / 0.6145 GB, free: 8.059 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002592/0.5073, allocations: 257.2 kB / 0.6147 GB, free: 7.793 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.5073, allocations: 0 / 0.6147 GB, free: 7.793 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000457/0.5078, allocations: 107.2 kB / 0.6148 GB, free: 7.691 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.5078, allocations: 0 / 0.6148 GB, free: 7.691 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.863e-05/0.5079, allocations: 11.98 kB / 0.6149 GB, free: 7.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00164/0.5095, allocations: 3.66 MB / 0.6184 GB, free: 3.918 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.5095, allocations: 4.094 kB / 0.6184 GB, free: 3.914 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003029/0.5098, allocations: 302.6 kB / 0.6187 GB, free: 3.625 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.825e-05/0.5099, allocations: 88.92 kB / 0.6188 GB, free: 3.52 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.04e-05/0.5099, allocations: 7.984 kB / 0.6188 GB, free: 3.512 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001397/0.5101, allocations: 8 kB / 0.6188 GB, free: 3.504 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.105e-05/0.5101, allocations: 19.92 kB / 0.6188 GB, free: 3.484 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.53e-05/0.5101, allocations: 13.25 kB / 0.6189 GB, free: 3.473 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.625e-05/0.5102, allocations: 125 kB / 0.619 GB, free: 3.363 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5102, allocations: 0 / 0.619 GB, free: 3.363 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003729/0.5106, allocations: 90.11 kB / 0.6191 GB, free: 3.277 MB / 410.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002464/0.5109, allocations: 160.9 kB / 0.6192 GB, free: 3.113 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000651/0.5115, allocations: 246.9 kB / 0.6194 GB, free: 2.895 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.5115, allocations: 0 / 0.6194 GB, free: 2.895 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000433/0.512, allocations: 143 kB / 0.6196 GB, free: 2.766 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002146/0.5122, allocations: 33.38 kB / 0.6196 GB, free: 2.738 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006153/0.5128, allocations: 357.4 kB / 0.62 GB, free: 2.383 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000316/0.5132, allocations: 0.7967 MB / 0.6207 GB, free: 1.566 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001471/0.5133, allocations: 61.77 kB / 0.6208 GB, free: 1.508 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.793e-05/0.5134, allocations: 20.06 kB / 0.6208 GB, free: 1.488 MB / 410.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5134, allocations: 0 / 0.6208 GB, free: 1.488 MB / 410.7 MB Notification: Performance of Templates: time 0.005903/0.5193, allocations: 3.201 MB / 0.6239 GB, free: 14.34 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.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/StraightPipe/kc_turbulent_KC/kc_turbulent_KC.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches