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.001051/0.001051, allocations: 199 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.221/1.221, allocations: 227.2 MB / 245 MB, free: 7.613 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000805/0.0008049, allocations: 106.3 kB / 297.3 MB, free: 6.203 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.306/0.306, allocations: 45.22 MB / 394.7 MB, free: 31.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000233/0.000233, allocations: 8 kB / 468.4 MB, free: 7.742 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3037/0.3039, allocations: 63.25 MB / 0.5192 GB, free: 43.57 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1061/0.4101, allocations: 95.02 MB / 0.612 GB, free: 10.61 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002567/0.4104, allocations: 104.3 kB / 0.6121 GB, free: 10.52 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03614/0.4465, allocations: 13.88 MB / 0.6257 GB, free: 12.58 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.856e-06/0.4465, allocations: 0 / 0.6257 GB, free: 12.58 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.78e-05/0.4466, allocations: 4 kB / 0.6257 GB, free: 12.57 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.0009715/0.4476, allocations: 0.5808 MB / 0.6262 GB, free: 11.95 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.4476, allocations: 8.031 kB / 0.6262 GB, free: 11.94 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003999/0.448, allocations: 79.53 kB / 0.6263 GB, free: 11.86 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003402/0.4484, allocations: 258.4 kB / 0.6266 GB, free: 11.57 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.457e-05/0.4484, allocations: 16.56 kB / 0.6266 GB, free: 11.55 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.345e-05/0.4484, allocations: 28 kB / 0.6266 GB, free: 11.52 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007329/0.4492, allocations: 449.8 kB / 0.627 GB, free: 11.07 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.4492, allocations: 0 / 0.627 GB, free: 11.07 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.994e-05/0.4493, allocations: 19.88 kB / 0.6271 GB, free: 11.05 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.636e-05/0.4493, allocations: 12.56 kB / 0.6271 GB, free: 11.04 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006669/0.45, allocations: 353.8 kB / 0.6274 GB, free: 10.7 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001422/0.4514, allocations: 1.112 MB / 0.6285 GB, free: 9.52 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004565/0.4519, allocations: 251.7 kB / 0.6287 GB, free: 9.246 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.128e-05/0.4519, allocations: 7.984 kB / 0.6287 GB, free: 9.238 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.571e-05/0.452, allocations: 38.56 kB / 0.6288 GB, free: 9.191 MB / 442.7 MB Notification: Performance of pre-optimization done (n=14): time 1.863e-06/0.452, allocations: 0 / 0.6288 GB, free: 9.191 MB / 442.7 MB Notification: Performance of matching and sorting (n=14): time 0.001036/0.453, allocations: 0.6138 MB / 0.6294 GB, free: 8.516 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.083e-05/0.4531, allocations: 102.8 kB / 0.6295 GB, free: 8.391 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003522/0.4534, allocations: 368.6 kB / 0.6298 GB, free: 8.027 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.138e-05/0.4535, allocations: 25.7 kB / 0.6298 GB, free: 7.996 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001162/0.4536, allocations: 195.8 kB / 0.63 GB, free: 7.801 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.06e-05/0.4536, allocations: 55.28 kB / 0.6301 GB, free: 7.746 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.383e-05/0.4536, allocations: 0 / 0.6301 GB, free: 7.746 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001132/0.4538, allocations: 346.8 kB / 0.6304 GB, free: 7.398 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002802/0.454, allocations: 132.1 kB / 0.6305 GB, free: 7.266 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003299/0.4544, allocations: 238.3 kB / 0.6308 GB, free: 6.98 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003118/0.4547, allocations: 170.6 kB / 0.6309 GB, free: 6.816 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.574e-06/0.4547, allocations: 4 kB / 0.6309 GB, free: 6.812 MB / 442.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007507/0.4555, allocations: 424.9 kB / 0.6313 GB, free: 6.391 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.4555, allocations: 4 kB / 0.6313 GB, free: 6.387 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.932e-05/0.4555, allocations: 23.98 kB / 0.6314 GB, free: 6.363 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.4556, allocations: 4 kB / 0.6314 GB, free: 6.359 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002388/0.4558, allocations: 60.17 kB / 0.6314 GB, free: 6.301 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.234e-05/0.4558, allocations: 15.92 kB / 0.6314 GB, free: 6.285 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002681/0.4561, allocations: 59.56 kB / 0.6315 GB, free: 6.227 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.697e-05/0.4561, allocations: 16 kB / 0.6315 GB, free: 6.211 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.0001544/0.4563, allocations: 178.9 kB / 0.6317 GB, free: 6.027 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.854e-05/0.4564, allocations: 35.62 kB / 0.6317 GB, free: 5.992 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005625/0.457, allocations: 296.2 kB / 0.632 GB, free: 5.695 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.457, allocations: 4 kB / 0.632 GB, free: 5.691 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.457, allocations: 0 / 0.632 GB, free: 5.691 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.776e-06/0.457, allocations: 0 / 0.632 GB, free: 5.691 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000395/0.4574, allocations: 313.3 kB / 0.6323 GB, free: 5.336 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.801e-05/0.4574, allocations: 15.98 kB / 0.6323 GB, free: 5.32 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001514/0.4576, allocations: 31.97 kB / 0.6323 GB, free: 5.289 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/0.4576, allocations: 4 kB / 0.6324 GB, free: 5.285 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.082e-05/0.4576, allocations: 11.98 kB / 0.6324 GB, free: 5.273 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.4576, allocations: 0 / 0.6324 GB, free: 5.273 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.4576, allocations: 4 kB / 0.6324 GB, free: 5.27 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000661/0.4583, allocations: 0.5516 MB / 0.6329 GB, free: 4.688 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.4e-05/0.4584, allocations: 108.7 kB / 0.633 GB, free: 4.562 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.015e-05/0.4584, allocations: 7.984 kB / 0.633 GB, free: 4.555 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002556/0.4587, allocations: 23.98 kB / 0.633 GB, free: 4.531 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.997e-05/0.4588, allocations: 15.94 kB / 0.6331 GB, free: 4.516 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-05/0.4588, allocations: 11.98 kB / 0.6331 GB, free: 4.504 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002509/0.459, allocations: 287.1 kB / 0.6333 GB, free: 4.223 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4591, allocations: 0 / 0.6333 GB, free: 4.223 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0004797/0.4595, allocations: 111.9 kB / 0.6334 GB, free: 4.113 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.0002898/0.4598, allocations: 193.4 kB / 0.6336 GB, free: 3.918 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0007184/0.4606, allocations: 450.7 kB / 0.6341 GB, free: 3.441 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.4606, allocations: 0 / 0.6341 GB, free: 3.441 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003361/0.4609, allocations: 290.2 kB / 0.6343 GB, free: 3.121 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003958/0.4613, allocations: 68.39 kB / 0.6344 GB, free: 3.059 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000972/0.4623, allocations: 0.675 MB / 0.6351 GB, free: 2.344 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003021/0.4626, allocations: 0.8028 MB / 0.6358 GB, free: 1.516 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001601/0.4628, allocations: 66.91 kB / 0.6359 GB, free: 1.453 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.421e-05/0.4628, allocations: 23.44 kB / 0.6359 GB, free: 1.43 MB / 442.7 MB Notification: Performance of SimCode: time 3.31e-07/0.4629, allocations: 0 / 0.6359 GB, free: 1.43 MB / 442.7 MB Notification: Performance of Templates: time 0.008538/0.4714, allocations: 5.387 MB / 0.6412 GB, free: 12.13 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/jenkins/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