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/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_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/ModelicaServices trunk/package.mo): time 0.001237/0.001237, allocations: 113.1 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001488/0.001488, allocations: 208.9 kB / 19.4 MB, free: 3.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.435/1.435, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2319/0.2319, allocations: 46.09 MB / 344.9 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.00136, allocations: 75.88 kB / 482 MB, free: 4.051 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3871/0.3885, allocations: 62.43 MB / 0.5317 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC): time 0.003349/0.3919, allocations: 1.891 MB / 0.5335 GB, free: 12.15 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001545/0.3935, allocations: 0.8453 MB / 0.5343 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.644e-05/0.3936, allocations: 1.562 kB / 0.5343 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002969/0.3939, allocations: 52.92 kB / 0.5344 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003269/0.3942, allocations: 83.38 kB / 0.5345 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003017/0.3945, allocations: 93.78 kB / 0.5346 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003157/0.3949, allocations: 263.1 kB / 0.5348 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.549e-05/0.3949, allocations: 35.62 kB / 0.5349 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000226/0.3952, allocations: 102.2 kB / 0.5349 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001737/0.3954, allocations: 115.6 kB / 0.5351 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.55e-05/0.3954, allocations: 6.875 kB / 0.5351 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000276/0.3957, allocations: 121.6 kB / 0.5352 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001027/0.3958, allocations: 69.62 kB / 0.5352 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001225/0.3959, allocations: 103.7 kB / 0.5353 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004469/0.3964, allocations: 304.7 kB / 0.5356 GB, free: 10.68 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.3964, allocations: 0 / 0.5356 GB, free: 10.68 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.3964, allocations: 0 / 0.5356 GB, free: 10.68 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.304e-06/0.3964, allocations: 1.125 kB / 0.5356 GB, free: 10.68 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.000924/0.3973, allocations: 0.5497 MB / 0.5362 GB, free: 10.16 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.3974, allocations: 10.06 kB / 0.5362 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.373e-05/0.3975, allocations: 28.97 kB / 0.5362 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002956/0.3978, allocations: 235.2 kB / 0.5364 GB, free: 9.914 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.782e-05/0.3978, allocations: 26.98 kB / 0.5365 GB, free: 9.898 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.239e-05/0.3979, allocations: 27.97 kB / 0.5365 GB, free: 9.887 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000725/0.3986, allocations: 375.1 kB / 0.5368 GB, free: 9.676 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.3986, allocations: 3.938 kB / 0.5369 GB, free: 9.672 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.267e-05/0.3986, allocations: 14.89 kB / 0.5369 GB, free: 9.66 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.724e-05/0.3987, allocations: 24.08 kB / 0.5369 GB, free: 9.656 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006442/0.3994, allocations: 375.7 kB / 0.5372 GB, free: 9.488 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001425/0.4008, allocations: 0.8398 MB / 0.5381 GB, free: 8.867 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005236/0.4013, allocations: 260.5 kB / 0.5383 GB, free: 8.75 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002181/0.4016, allocations: 95.58 kB / 0.5384 GB, free: 8.707 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.314e-05/0.4016, allocations: 18.94 kB / 0.5384 GB, free: 8.691 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.632e-05/0.4016, allocations: 35.41 kB / 0.5385 GB, free: 8.648 MB / 398.1 MB Notification: Performance of pre-optimization done (n=16): time 2.054e-06/0.4017, allocations: 1.094 kB / 0.5385 GB, free: 8.648 MB / 398.1 MB Notification: Performance of matching and sorting (n=16): time 0.0007534/0.4024, allocations: 326.1 kB / 0.5388 GB, free: 8.5 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.318e-05/0.4025, allocations: 53.06 kB / 0.5388 GB, free: 8.438 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003612/0.4028, allocations: 334.6 kB / 0.5391 GB, free: 8.234 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.586e-05/0.4029, allocations: 34.98 kB / 0.5392 GB, free: 8.195 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001131/0.403, allocations: 169.8 kB / 0.5393 GB, free: 8.035 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.693e-05/0.4031, allocations: 56.05 kB / 0.5394 GB, free: 7.988 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001018/0.4032, allocations: 58.45 kB / 0.5394 GB, free: 7.945 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.4033, allocations: 338.7 kB / 0.5398 GB, free: 7.613 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002408/0.4036, allocations: 98.69 kB / 0.5399 GB, free: 7.574 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002881/0.4039, allocations: 195.9 kB / 0.54 GB, free: 7.41 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005103/0.4044, allocations: 307.5 kB / 0.5403 GB, free: 7.203 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.4044, allocations: 1 kB / 0.5403 GB, free: 7.203 MB / 398.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006521/0.405, allocations: 350 kB / 0.5407 GB, free: 7.027 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.4051, allocations: 6.375 kB / 0.5407 GB, free: 7.027 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.4051, allocations: 3.719 kB / 0.5407 GB, free: 7.027 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.4051, allocations: 3.625 kB / 0.5407 GB, free: 7.027 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005878/0.4057, allocations: 119.8 kB / 0.5408 GB, free: 6.996 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001988/0.4077, allocations: 3.654 MB / 0.5444 GB, free: 3.355 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002723/0.408, allocations: 37.62 kB / 0.5444 GB, free: 3.332 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.621e-05/0.408, allocations: 19.33 kB / 0.5444 GB, free: 3.324 MB / 398.1 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 (not torn): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003286/0.4084, allocations: 184.9 kB / 0.5446 GB, free: 3.168 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.092e-05/0.4084, allocations: 31.38 kB / 0.5446 GB, free: 3.148 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007508/0.4092, allocations: 323.2 kB / 0.5449 GB, free: 2.977 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.733e-06/0.4092, allocations: 2.188 kB / 0.5449 GB, free: 2.977 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.114e-06/0.4092, allocations: 0 / 0.5449 GB, free: 2.977 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.4092, allocations: 3.938 kB / 0.5449 GB, free: 2.973 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004204/0.4097, allocations: 305.5 kB / 0.5452 GB, free: 2.695 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.4097, allocations: 4 kB / 0.5452 GB, free: 2.691 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004801/0.4102, allocations: 109.4 kB / 0.5453 GB, free: 2.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.568e-06/0.4102, allocations: 0 / 0.5453 GB, free: 2.66 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.436e-05/0.4102, allocations: 11.39 kB / 0.5454 GB, free: 2.652 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001909/0.4121, allocations: 3.643 MB / 0.5489 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.4121, allocations: 3.938 kB / 0.5489 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005437/0.4127, allocations: 356.1 kB / 0.5493 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000108/0.4128, allocations: 102.9 kB / 0.5494 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.223e-05/0.4129, allocations: 9.031 kB / 0.5494 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001693/0.413, allocations: 12.33 kB / 0.5494 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.435e-05/0.4131, allocations: 14.7 kB / 0.5494 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.183e-05/0.4131, allocations: 9.578 kB / 0.5494 GB, free: 14.64 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002675/0.4134, allocations: 242.1 kB / 0.5496 GB, free: 14.49 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4134, allocations: 0 / 0.5496 GB, free: 14.49 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004729/0.4139, allocations: 75.17 kB / 0.5497 GB, free: 14.48 MB / 414.1 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 (not torn): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003026/0.4142, allocations: 124.1 kB / 0.5498 GB, free: 14.38 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008824/0.4151, allocations: 325.4 kB / 0.5501 GB, free: 14.14 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.4151, allocations: 4 kB / 0.5501 GB, free: 14.14 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005207/0.4156, allocations: 191 kB / 0.5503 GB, free: 13.96 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004222/0.4161, allocations: 76.7 kB / 0.5504 GB, free: 13.88 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001035/0.4171, allocations: 0.59 MB / 0.551 GB, free: 13.26 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003619/0.4175, allocations: 0.7912 MB / 0.5517 GB, free: 12.44 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.321e-05/0.4176, allocations: 27.42 kB / 0.5518 GB, free: 12.42 MB / 414.1 MB Notification: Performance of SimCode: time 4.41e-07/0.4176, allocations: 0 / 0.5518 GB, free: 12.42 MB / 414.1 MB Notification: Performance of Templates: time 0.01447/0.4321, allocations: 10.84 MB / 0.5624 GB, free: 1.594 MB / 414.1 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/jenkins1/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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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