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/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001281/0.001281, allocations: 106 kB / 18.45 MB, free: 4.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001109/0.001109, allocations: 205.9 kB / 19.4 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.341/1.341, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2047/0.2047, allocations: 46.1 MB / 344.9 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00156/0.00156, allocations: 79.86 kB / 482 MB, free: 4.047 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3657/0.3673, allocations: 62.43 MB / 0.5317 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.003056/0.3704, allocations: 2.025 MB / 0.5337 GB, free: 12.03 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001763/0.3722, allocations: 1.154 MB / 0.5348 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.911e-05/0.3723, allocations: 0.9375 kB / 0.5348 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002552/0.3726, allocations: 61.44 kB / 0.5348 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001755/0.3728, allocations: 70.41 kB / 0.5349 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005408/0.3733, allocations: 182.3 kB / 0.5351 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004264/0.3738, allocations: 329.9 kB / 0.5354 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.982e-05/0.3738, allocations: 33.36 kB / 0.5354 GB, free: 10.69 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002314/0.3741, allocations: 122.3 kB / 0.5356 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002007/0.3743, allocations: 141 kB / 0.5357 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.298e-05/0.3743, allocations: 11 kB / 0.5357 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003716/0.3747, allocations: 210.6 kB / 0.5359 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.385e-05/0.3748, allocations: 74.34 kB / 0.536 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001342/0.375, allocations: 129.1 kB / 0.5361 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005197/0.3755, allocations: 404.2 kB / 0.5365 GB, free: 10.04 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.3755, allocations: 1.031 kB / 0.5365 GB, free: 10.04 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.3755, allocations: 0 / 0.5365 GB, free: 10.04 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.213e-05/0.3755, allocations: 0 / 0.5365 GB, free: 10.04 MB / 398.1 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.001127/0.3767, allocations: 0.6256 MB / 0.5371 GB, free: 9.488 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.3767, allocations: 13.25 kB / 0.5371 GB, free: 9.484 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004653/0.3772, allocations: 68.73 kB / 0.5372 GB, free: 9.453 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002993/0.3775, allocations: 263.4 kB / 0.5374 GB, free: 9.195 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.691e-05/0.3775, allocations: 19.53 kB / 0.5374 GB, free: 9.188 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.389e-05/0.3776, allocations: 24.5 kB / 0.5375 GB, free: 9.18 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007305/0.3783, allocations: 436.9 kB / 0.5379 GB, free: 8.918 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.3783, allocations: 0 / 0.5379 GB, free: 8.918 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.981e-05/0.3784, allocations: 10.44 kB / 0.5379 GB, free: 8.91 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.383e-05/0.3784, allocations: 19.14 kB / 0.5379 GB, free: 8.906 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007109/0.3791, allocations: 326.2 kB / 0.5382 GB, free: 8.762 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001417/0.3805, allocations: 1.095 MB / 0.5393 GB, free: 7.879 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004564/0.381, allocations: 251.8 kB / 0.5395 GB, free: 7.723 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002616/0.3813, allocations: 105.5 kB / 0.5396 GB, free: 7.664 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.679e-05/0.3813, allocations: 11.72 kB / 0.5396 GB, free: 7.656 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.371e-05/0.3814, allocations: 32.16 kB / 0.5397 GB, free: 7.617 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 2.976e-06/0.3814, allocations: 3.984 kB / 0.5397 GB, free: 7.613 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009689/0.3823, allocations: 359.7 kB / 0.54 GB, free: 7.445 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.023e-05/0.3824, allocations: 108.2 kB / 0.5401 GB, free: 7.316 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004125/0.3828, allocations: 401.6 kB / 0.5405 GB, free: 7.074 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.005e-05/0.3829, allocations: 26.86 kB / 0.5405 GB, free: 7.043 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001351/0.383, allocations: 197.6 kB / 0.5407 GB, free: 6.859 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.3e-05/0.3831, allocations: 49.8 kB / 0.5408 GB, free: 6.816 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001045/0.3832, allocations: 66.45 kB / 0.5408 GB, free: 6.77 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001306/0.3833, allocations: 343.5 kB / 0.5412 GB, free: 6.434 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002946/0.3836, allocations: 117.8 kB / 0.5413 GB, free: 6.387 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003562/0.384, allocations: 240.5 kB / 0.5415 GB, free: 6.176 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006522/0.3846, allocations: 370.1 kB / 0.5418 GB, free: 5.906 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.3846, allocations: 5.156 kB / 0.5419 GB, free: 5.902 MB / 398.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008144/0.3855, allocations: 398.5 kB / 0.5422 GB, free: 5.711 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.3855, allocations: 7.5 kB / 0.5422 GB, free: 5.711 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.265e-05/0.3855, allocations: 21.03 kB / 0.5423 GB, free: 5.707 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/0.3856, allocations: 6.719 kB / 0.5423 GB, free: 5.707 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002351/0.3858, allocations: 47.92 kB / 0.5423 GB, free: 5.691 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.181e-05/0.3858, allocations: 13.34 kB / 0.5423 GB, free: 5.684 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002807/0.3861, allocations: 57.84 kB / 0.5424 GB, free: 5.648 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.053e-05/0.3862, allocations: 16.44 kB / 0.5424 GB, free: 5.645 MB / 398.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001782/0.3863, allocations: 170.6 kB / 0.5426 GB, free: 5.5 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.202e-05/0.3864, allocations: 32.81 kB / 0.5426 GB, free: 5.48 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006113/0.3871, allocations: 292.6 kB / 0.5429 GB, free: 5.32 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/0.3871, allocations: 2.156 kB / 0.5429 GB, free: 5.32 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.3871, allocations: 5 kB / 0.5429 GB, free: 5.316 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.3871, allocations: 1.219 kB / 0.5429 GB, free: 5.316 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000445/0.3875, allocations: 302.4 kB / 0.5432 GB, free: 5.043 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-05/0.3876, allocations: 22.27 kB / 0.5432 GB, free: 5.035 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001483/0.3877, allocations: 24.72 kB / 0.5432 GB, free: 5.027 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.3877, allocations: 1.469 kB / 0.5432 GB, free: 5.027 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.156e-05/0.3878, allocations: 12.56 kB / 0.5432 GB, free: 5.02 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.786e-06/0.3878, allocations: 5.531 kB / 0.5432 GB, free: 5.016 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.349e-06/0.3878, allocations: 3.938 kB / 0.5432 GB, free: 5.012 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006951/0.3885, allocations: 0.4942 MB / 0.5437 GB, free: 4.637 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.766e-05/0.3886, allocations: 111.8 kB / 0.5438 GB, free: 4.52 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.183e-05/0.3887, allocations: 5.562 kB / 0.5438 GB, free: 4.516 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002673/0.3889, allocations: 18.19 kB / 0.5438 GB, free: 4.508 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.596e-05/0.389, allocations: 20.23 kB / 0.5439 GB, free: 4.496 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.89e-05/0.389, allocations: 10.78 kB / 0.5439 GB, free: 4.492 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002826/0.3893, allocations: 291.7 kB / 0.5442 GB, free: 4.312 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3893, allocations: 5 kB / 0.5442 GB, free: 4.309 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005276/0.3899, allocations: 99.48 kB / 0.5443 GB, free: 4.289 MB / 398.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002746/0.3902, allocations: 156.5 kB / 0.5444 GB, free: 4.164 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007721/0.3909, allocations: 426.7 kB / 0.5448 GB, free: 3.711 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.3909, allocations: 4.125 kB / 0.5448 GB, free: 3.707 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003609/0.3913, allocations: 270 kB / 0.5451 GB, free: 3.406 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005898/0.3919, allocations: 77.69 kB / 0.5451 GB, free: 3.336 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001034/0.393, allocations: 0.6296 MB / 0.5458 GB, free: 2.668 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003189/0.3933, allocations: 0.7987 MB / 0.5465 GB, free: 1.844 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.919e-05/0.3934, allocations: 23.42 kB / 0.5466 GB, free: 1.82 MB / 398.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3934, allocations: 0 / 0.5466 GB, free: 1.82 MB / 398.1 MB Notification: Performance of Templates: time 0.007525/0.4009, allocations: 5.598 MB / 0.552 GB, free: 12.26 MB / 414.1 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches