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.001484/0.001484, allocations: 116.1 kB / 18.46 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00189/0.00189, allocations: 210.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.476/1.476, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2498/0.2498, allocations: 46.1 MB / 344.9 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001517/0.001517, allocations: 75.88 kB / 482 MB, free: 4.027 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3742/0.3758, allocations: 62.44 MB / 0.5317 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC): time 0.003237/0.3791, allocations: 1.887 MB / 0.5335 GB, free: 12.13 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001572/0.3807, allocations: 0.8492 MB / 0.5344 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.837e-05/0.3807, allocations: 1.375 kB / 0.5344 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002748/0.381, allocations: 53.48 kB / 0.5344 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003007/0.3813, allocations: 82.81 kB / 0.5345 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002858/0.3816, allocations: 87.16 kB / 0.5346 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002904/0.3819, allocations: 259.4 kB / 0.5348 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.377e-05/0.382, allocations: 39.02 kB / 0.5349 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002195/0.3823, allocations: 106.5 kB / 0.535 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001845/0.3824, allocations: 119 kB / 0.5351 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.968e-05/0.3825, allocations: 6.688 kB / 0.5351 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002615/0.3828, allocations: 121.5 kB / 0.5352 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.378e-05/0.3829, allocations: 69.78 kB / 0.5353 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001246/0.383, allocations: 100.4 kB / 0.5354 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004109/0.3834, allocations: 307.9 kB / 0.5357 GB, free: 10.65 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.3834, allocations: 0 / 0.5357 GB, free: 10.65 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3834, allocations: 1.375 kB / 0.5357 GB, free: 10.65 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.132e-06/0.3834, allocations: 0 / 0.5357 GB, free: 10.65 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.0008658/0.3843, allocations: 0.546 MB / 0.5362 GB, free: 10.14 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.3844, allocations: 12.81 kB / 0.5362 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.01e-05/0.3844, allocations: 30.03 kB / 0.5362 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002936/0.3847, allocations: 238.4 kB / 0.5365 GB, free: 9.887 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.275e-05/0.3848, allocations: 19.94 kB / 0.5365 GB, free: 9.879 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.156e-05/0.3848, allocations: 26.75 kB / 0.5365 GB, free: 9.867 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006221/0.3854, allocations: 371.8 kB / 0.5369 GB, free: 9.66 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.3855, allocations: 0 / 0.5369 GB, free: 9.66 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.743e-05/0.3855, allocations: 14.5 kB / 0.5369 GB, free: 9.648 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.161e-05/0.3855, allocations: 27.91 kB / 0.5369 GB, free: 9.641 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006319/0.3862, allocations: 380.1 kB / 0.5373 GB, free: 9.469 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001356/0.3875, allocations: 0.8366 MB / 0.5381 GB, free: 8.852 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004834/0.388, allocations: 264.4 kB / 0.5383 GB, free: 8.73 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002081/0.3883, allocations: 93.56 kB / 0.5384 GB, free: 8.688 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.058e-05/0.3883, allocations: 7.312 kB / 0.5384 GB, free: 8.684 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.104e-05/0.3883, allocations: 43.58 kB / 0.5385 GB, free: 8.633 MB / 398.1 MB Notification: Performance of pre-optimization done (n=16): time 1.553e-06/0.3883, allocations: 0 / 0.5385 GB, free: 8.633 MB / 398.1 MB Notification: Performance of matching and sorting (n=16): time 0.0007927/0.3891, allocations: 325.7 kB / 0.5388 GB, free: 8.484 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.358e-05/0.3892, allocations: 57.72 kB / 0.5388 GB, free: 8.418 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003702/0.3896, allocations: 335.4 kB / 0.5392 GB, free: 8.215 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.755e-05/0.3896, allocations: 29.7 kB / 0.5392 GB, free: 8.18 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001218/0.3897, allocations: 170.9 kB / 0.5393 GB, free: 8.02 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.972e-05/0.3898, allocations: 59.16 kB / 0.5394 GB, free: 7.969 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.082e-05/0.3899, allocations: 59.66 kB / 0.5395 GB, free: 7.926 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001358/0.39, allocations: 337.7 kB / 0.5398 GB, free: 7.594 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002137/0.3902, allocations: 94.91 kB / 0.5399 GB, free: 7.559 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002723/0.3905, allocations: 200.1 kB / 0.5401 GB, free: 7.391 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005085/0.391, allocations: 308.4 kB / 0.5404 GB, free: 7.184 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.3911, allocations: 0 / 0.5404 GB, free: 7.184 MB / 398.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000633/0.3917, allocations: 354.5 kB / 0.5407 GB, free: 7.004 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.3917, allocations: 6.938 kB / 0.5407 GB, free: 7.004 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.3917, allocations: 2.375 kB / 0.5407 GB, free: 7.004 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/0.3918, allocations: 5.219 kB / 0.5407 GB, free: 7.004 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005725/0.3923, allocations: 118.4 kB / 0.5408 GB, free: 6.973 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002033/0.3944, allocations: 3.655 MB / 0.5444 GB, free: 3.332 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002396/0.3946, allocations: 36.62 kB / 0.5444 GB, free: 3.309 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.085e-05/0.3947, allocations: 19.45 kB / 0.5444 GB, free: 3.301 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.0002785/0.395, allocations: 184.5 kB / 0.5446 GB, free: 3.145 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.04e-05/0.395, allocations: 27.34 kB / 0.5446 GB, free: 3.129 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007327/0.3958, allocations: 321 kB / 0.5449 GB, free: 2.957 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.3958, allocations: 4 kB / 0.545 GB, free: 2.953 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.3958, allocations: 5.5 kB / 0.545 GB, free: 2.949 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.64e-05/0.3959, allocations: 105.5 kB / 0.5451 GB, free: 2.836 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.634e-05/0.396, allocations: 5.219 kB / 0.5451 GB, free: 2.832 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001678/0.3961, allocations: 12.34 kB / 0.5451 GB, free: 2.824 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.648e-05/0.3962, allocations: 19.19 kB / 0.5451 GB, free: 2.812 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001149/0.3974, allocations: 479.1 kB / 0.5456 GB, free: 2.523 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008647/0.3982, allocations: 0.5478 MB / 0.5461 GB, free: 2.16 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002298/0.3985, allocations: 103.9 kB / 0.5462 GB, free: 2.113 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002806/0.3988, allocations: 245.5 kB / 0.5464 GB, free: 1.957 MB / 398.1 MB Notification: Performance of Backend: time 5.41e-07/0.3988, allocations: 1.219 kB / 0.5464 GB, free: 1.957 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001158/0.3999, allocations: 334.9 kB / 0.5467 GB, free: 1.777 MB / 398.1 MB Notification: Performance of SimCode: time 0.001146/0.4011, allocations: 1.054 MB / 0.5478 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of Templates: time 0.009743/0.4109, allocations: 5.787 MB / 0.5534 GB, free: 10.96 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