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.001087/0.001087, allocations: 197.7 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.202/1.202, allocations: 227.2 MB / 245 MB, free: 5.887 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00092/0.0009199, allocations: 100.8 kB / 297.3 MB, free: 5.961 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3255/0.3255, allocations: 45.23 MB / 394.7 MB, free: 31.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000255/0.000255, allocations: 4 kB / 468.4 MB, free: 7.656 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2839/0.2842, allocations: 63.25 MB / 0.5192 GB, free: 37.48 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1079/0.3921, allocations: 92.87 MB / 0.6099 GB, free: 10.54 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002167/0.3924, allocations: 103.7 kB / 0.61 GB, free: 10.45 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03139/0.4238, allocations: 12.22 MB / 0.6219 GB, free: 14.12 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.4238, allocations: 0 / 0.6219 GB, free: 14.12 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.255e-05/0.4238, allocations: 4 kB / 0.6219 GB, free: 14.11 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.0006602/0.4245, allocations: 0.5148 MB / 0.6224 GB, free: 13.55 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.4245, allocations: 12.03 kB / 0.6225 GB, free: 13.54 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.889e-05/0.4246, allocations: 23.72 kB / 0.6225 GB, free: 13.52 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002859/0.4249, allocations: 240.8 kB / 0.6227 GB, free: 13.24 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.99e-05/0.4249, allocations: 16.56 kB / 0.6227 GB, free: 13.23 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.535e-05/0.425, allocations: 24 kB / 0.6228 GB, free: 13.2 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005606/0.4255, allocations: 381.2 kB / 0.6231 GB, free: 12.83 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.4256, allocations: 0 / 0.6231 GB, free: 12.83 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.6e-05/0.4256, allocations: 8 kB / 0.6231 GB, free: 12.82 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.753e-05/0.4256, allocations: 16.66 kB / 0.6231 GB, free: 12.8 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005688/0.4262, allocations: 386.3 kB / 0.6235 GB, free: 12.43 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001313/0.4275, allocations: 0.8502 MB / 0.6243 GB, free: 11.52 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004198/0.428, allocations: 272.3 kB / 0.6246 GB, free: 11.25 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.65e-05/0.428, allocations: 4 kB / 0.6246 GB, free: 11.25 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.485e-05/0.428, allocations: 34.62 kB / 0.6246 GB, free: 11.2 MB / 442.7 MB Notification: Performance of pre-optimization done (n=16): time 1.422e-06/0.428, allocations: 0 / 0.6246 GB, free: 11.2 MB / 442.7 MB Notification: Performance of matching and sorting (n=16): time 0.0006954/0.4287, allocations: 337.1 kB / 0.625 GB, free: 10.87 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.705e-05/0.4288, allocations: 59.77 kB / 0.625 GB, free: 10.8 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003048/0.4291, allocations: 310 kB / 0.6253 GB, free: 10.49 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.905e-05/0.4291, allocations: 25.7 kB / 0.6253 GB, free: 10.46 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000109/0.4292, allocations: 164 kB / 0.6255 GB, free: 10.3 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.551e-05/0.4293, allocations: 63.19 kB / 0.6255 GB, free: 10.23 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.462e-05/0.4293, allocations: 7.938 kB / 0.6256 GB, free: 10.23 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001214/0.4295, allocations: 342.8 kB / 0.6259 GB, free: 9.883 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002026/0.4297, allocations: 100.4 kB / 0.626 GB, free: 9.781 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002421/0.4299, allocations: 195.9 kB / 0.6262 GB, free: 9.551 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002296/0.4302, allocations: 129.9 kB / 0.6263 GB, free: 9.426 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.4302, allocations: 0 / 0.6263 GB, free: 9.426 MB / 442.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005777/0.4308, allocations: 348.8 kB / 0.6266 GB, free: 9.078 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.4308, allocations: 12.33 kB / 0.6266 GB, free: 9.066 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/0.4308, allocations: 8 kB / 0.6266 GB, free: 9.059 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.4308, allocations: 7.938 kB / 0.6267 GB, free: 9.051 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000532/0.4314, allocations: 119.8 kB / 0.6268 GB, free: 8.934 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001859/0.4332, allocations: 3.653 MB / 0.6303 GB, free: 5.141 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002074/0.4334, allocations: 39.67 kB / 0.6304 GB, free: 5.102 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.24e-05/0.4335, allocations: 8 kB / 0.6304 GB, free: 5.094 MB / 442.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 () * Number of clocked 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.0001761/0.4337, allocations: 182.6 kB / 0.6306 GB, free: 4.906 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.14e-05/0.4337, allocations: 31.58 kB / 0.6306 GB, free: 4.875 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006324/0.4344, allocations: 330.6 kB / 0.6309 GB, free: 4.539 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.4344, allocations: 4 kB / 0.6309 GB, free: 4.535 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.4344, allocations: 4 kB / 0.6309 GB, free: 4.531 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.4344, allocations: 3.984 kB / 0.6309 GB, free: 4.527 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003443/0.4347, allocations: 293.4 kB / 0.6312 GB, free: 4.191 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.4347, allocations: 3.938 kB / 0.6312 GB, free: 4.188 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004602/0.4352, allocations: 103.9 kB / 0.6313 GB, free: 4.086 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.4352, allocations: 4 kB / 0.6313 GB, free: 4.082 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.115e-05/0.4353, allocations: 7.938 kB / 0.6313 GB, free: 4.074 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001888/0.4371, allocations: 3.645 MB / 0.6349 GB, free: 296 kB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.4372, allocations: 4.312 kB / 0.6349 GB, free: 292 kB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005287/0.4377, allocations: 363.3 kB / 0.6352 GB, free: 15.91 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.606e-05/0.4378, allocations: 100.8 kB / 0.6353 GB, free: 15.8 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.232e-05/0.4379, allocations: 11.95 kB / 0.6353 GB, free: 15.79 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001528/0.438, allocations: 12 kB / 0.6353 GB, free: 15.77 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.069e-05/0.4381, allocations: 15.97 kB / 0.6353 GB, free: 15.76 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.4e-05/0.4381, allocations: 4 kB / 0.6354 GB, free: 15.75 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.000244/0.4384, allocations: 245.9 kB / 0.6356 GB, free: 15.51 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.933e-06/0.4384, allocations: 0 / 0.6356 GB, free: 15.51 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0004104/0.4388, allocations: 83.88 kB / 0.6357 GB, free: 15.43 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 (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.0003065/0.4391, allocations: 157.8 kB / 0.6358 GB, free: 15.27 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0008204/0.4399, allocations: 304.2 kB / 0.6361 GB, free: 14.97 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.4399, allocations: 0 / 0.6361 GB, free: 14.97 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005166/0.4405, allocations: 175.8 kB / 0.6363 GB, free: 14.8 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000306/0.4408, allocations: 60.77 kB / 0.6363 GB, free: 14.74 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009924/0.4418, allocations: 0.6298 MB / 0.6369 GB, free: 14.08 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004275/0.4422, allocations: 0.799 MB / 0.6377 GB, free: 13.26 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0002212/0.4425, allocations: 78.88 kB / 0.6378 GB, free: 13.18 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.032e-05/0.4425, allocations: 27.42 kB / 0.6378 GB, free: 13.16 MB / 458.7 MB Notification: Performance of SimCode: time 4.51e-07/0.4425, allocations: 0 / 0.6378 GB, free: 13.16 MB / 458.7 MB Notification: Performance of Templates: time 0.008995/0.4515, allocations: 5.005 MB / 0.6427 GB, free: 8.223 MB / 458.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