Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.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,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.|m_flow.1.|m_flow.2.|m_flow.3.|Re_1.1.|Re_1.2.|Re_1.3.|Nu_1.1.|Nu_1.2.|Nu_1.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|Re|Pr.1.|Pr.2.|Pr.3.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent,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.|m_flow.1.|m_flow.2.|m_flow.3.|Re_1.1.|Re_1.2.|Re_1.3.|Nu_1.1.|Nu_1.2.|Nu_1.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|Re|Pr.1.|Pr.2.|Pr.3.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009925/0.0009969, allocations: 195.7 kB / 18.11 MB, free: 3.738 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.423/1.423, allocations: 226.5 MB / 245.4 MB, free: 8.254 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008272/0.0008268, allocations: 97.41 kB / 297.5 MB, free: 6.926 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4098/0.4098, allocations: 44.83 MB / 394.3 MB, free: 35.77 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002543/0.0002545, allocations: 4 kB / 467.9 MB, free: 12.06 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3405/0.3408, allocations: 62.96 MB / 0.5184 GB, free: 37.3 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1269/0.4677, allocations: 94.91 MB / 0.6111 GB, free: 10.39 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003049/0.4681, allocations: 103.9 kB / 0.6112 GB, free: 10.3 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03878/0.5069, allocations: 13.88 MB / 0.6248 GB, free: 12.31 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.5069, allocations: 0 / 0.6248 GB, free: 12.31 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.955e-05/0.5069, allocations: 4 kB / 0.6248 GB, free: 12.31 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.001146/0.5081, allocations: 0.5731 MB / 0.6253 GB, free: 11.69 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.953e-05/0.5082, allocations: 12.03 kB / 0.6254 GB, free: 11.68 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004071/0.5086, allocations: 80.52 kB / 0.6254 GB, free: 11.6 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003783/0.509, allocations: 256.2 kB / 0.6257 GB, free: 11.31 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.094e-05/0.509, allocations: 20.94 kB / 0.6257 GB, free: 11.29 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.95e-05/0.5091, allocations: 28.38 kB / 0.6257 GB, free: 11.26 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007602/0.5099, allocations: 446.4 kB / 0.6261 GB, free: 10.8 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.793e-05/0.5099, allocations: 7.938 kB / 0.6262 GB, free: 10.8 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.957e-05/0.51, allocations: 8 kB / 0.6262 GB, free: 10.79 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.678e-05/0.51, allocations: 32.42 kB / 0.6262 GB, free: 10.76 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006865/0.5107, allocations: 345.9 kB / 0.6265 GB, free: 10.42 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001654/0.5124, allocations: 1.092 MB / 0.6276 GB, free: 9.266 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005021/0.5129, allocations: 255.7 kB / 0.6278 GB, free: 8.988 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000301/0.5132, allocations: 126.4 kB / 0.628 GB, free: 8.855 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.922e-05/0.5133, allocations: 11.92 kB / 0.628 GB, free: 8.844 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.532e-05/0.5133, allocations: 38.55 kB / 0.628 GB, free: 8.797 MB / 442.7 MB Notification: Performance of pre-optimization done (n=14): time 2.745e-06/0.5133, allocations: 0 / 0.628 GB, free: 8.797 MB / 442.7 MB Notification: Performance of matching and sorting (n=14): time 0.001005/0.5143, allocations: 393.1 kB / 0.6284 GB, free: 8.406 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.545e-05/0.5144, allocations: 102.8 kB / 0.6285 GB, free: 8.281 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004425/0.5148, allocations: 405.5 kB / 0.6289 GB, free: 7.879 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.831e-05/0.5149, allocations: 33.7 kB / 0.6289 GB, free: 7.84 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001354/0.515, allocations: 187.8 kB / 0.6291 GB, free: 7.652 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.435e-05/0.5151, allocations: 47.3 kB / 0.6291 GB, free: 7.605 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.421e-05/0.5151, allocations: 4 kB / 0.6291 GB, free: 7.602 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001647/0.5153, allocations: 346.7 kB / 0.6295 GB, free: 7.254 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002942/0.5156, allocations: 132.1 kB / 0.6296 GB, free: 7.121 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003643/0.5159, allocations: 241.5 kB / 0.6298 GB, free: 6.832 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006741/0.5166, allocations: 398.9 kB / 0.6302 GB, free: 6.387 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.5166, allocations: 4 kB / 0.6302 GB, free: 6.383 MB / 442.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008696/0.5175, allocations: 421.1 kB / 0.6306 GB, free: 5.965 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.5176, allocations: 4 kB / 0.6306 GB, free: 5.961 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.85e-05/0.5176, allocations: 27.98 kB / 0.6306 GB, free: 5.934 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/0.5176, allocations: 4 kB / 0.6306 GB, free: 5.93 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002528/0.5179, allocations: 55.89 kB / 0.6307 GB, free: 5.875 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.276e-05/0.5179, allocations: 7.938 kB / 0.6307 GB, free: 5.867 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002934/0.5182, allocations: 63.69 kB / 0.6308 GB, free: 5.805 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.09e-05/0.5183, allocations: 16 kB / 0.6308 GB, free: 5.789 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (27): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001943/0.5185, allocations: 181.4 kB / 0.6309 GB, free: 5.605 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.22e-05/0.5186, allocations: 31.62 kB / 0.631 GB, free: 5.574 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005976/0.5192, allocations: 292.6 kB / 0.6312 GB, free: 5.277 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.304e-06/0.5192, allocations: 0 / 0.6312 GB, free: 5.277 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.5192, allocations: 4 kB / 0.6313 GB, free: 5.273 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.5192, allocations: 4.031 kB / 0.6313 GB, free: 5.27 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004982/0.5197, allocations: 321.2 kB / 0.6316 GB, free: 4.906 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.504e-05/0.5197, allocations: 20 kB / 0.6316 GB, free: 4.887 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001477/0.5199, allocations: 27.97 kB / 0.6316 GB, free: 4.859 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.5199, allocations: 0 / 0.6316 GB, free: 4.859 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.228e-05/0.5199, allocations: 15.98 kB / 0.6316 GB, free: 4.844 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.5199, allocations: 0 / 0.6316 GB, free: 4.844 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.52, allocations: 0 / 0.6316 GB, free: 4.844 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006908/0.5207, allocations: 0.5326 MB / 0.6321 GB, free: 4.293 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001274/0.5208, allocations: 104.8 kB / 0.6322 GB, free: 4.172 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.471e-05/0.5208, allocations: 4 kB / 0.6322 GB, free: 4.168 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002776/0.5211, allocations: 23.98 kB / 0.6323 GB, free: 4.145 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.679e-05/0.5212, allocations: 15.98 kB / 0.6323 GB, free: 4.129 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.13e-05/0.5212, allocations: 11.98 kB / 0.6323 GB, free: 4.117 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002989/0.5215, allocations: 283.1 kB / 0.6326 GB, free: 3.84 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5216, allocations: 0 / 0.6326 GB, free: 3.84 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0005936/0.5222, allocations: 115.8 kB / 0.6327 GB, free: 3.727 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000395/0.5226, allocations: 199 kB / 0.6329 GB, free: 3.52 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0007434/0.5233, allocations: 454.8 kB / 0.6333 GB, free: 3.039 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.5233, allocations: 0 / 0.6333 GB, free: 3.039 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003516/0.5237, allocations: 290.4 kB / 0.6336 GB, free: 2.719 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006138/0.5243, allocations: 65.52 kB / 0.6336 GB, free: 2.656 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001186/0.5255, allocations: 0.6707 MB / 0.6343 GB, free: 1.949 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003798/0.5259, allocations: 0.8067 MB / 0.6351 GB, free: 1.117 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001891/0.5261, allocations: 62.92 kB / 0.6351 GB, free: 1.055 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.835e-05/0.5262, allocations: 23.44 kB / 0.6352 GB, free: 1.031 MB / 442.7 MB Notification: Performance of SimCode: time 3.71e-07/0.5262, allocations: 3.938 kB / 0.6352 GB, free: 1.027 MB / 442.7 MB Notification: Performance of Templates: time 0.01158/0.5378, allocations: 5.611 MB / 0.6406 GB, free: 11.48 MB / 458.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_turbulent/kc_turbulent.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches