Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.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_overall,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.|Nu_3.1.|Nu_3.2.|Nu_3.3.|Nu_4.1.|Nu_4.2.|Nu_4.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_overall") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall,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.|Nu_3.1.|Nu_3.2.|Nu_3.3.|Nu_4.1.|Nu_4.2.|Nu_4.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_overall") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001717/0.001717, allocations: 115.2 kB / 18.45 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00214/0.00214, allocations: 210.8 kB / 19.4 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.426/1.426, 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.2115/0.2115, allocations: 46.09 MB / 344.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00164/0.00164, allocations: 75.88 kB / 482 MB, free: 4.043 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3561/0.3577, allocations: 62.45 MB / 0.5317 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall): time 0.003652/0.3614, allocations: 2.279 MB / 0.5339 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00345/0.3649, allocations: 2.154 MB / 0.536 GB, free: 10.13 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000207/0.3651, allocations: 2.906 kB / 0.536 GB, free: 10.13 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003515/0.3655, allocations: 80.8 kB / 0.5361 GB, free: 10.07 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003176/0.3658, allocations: 109.6 kB / 0.5362 GB, free: 9.977 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001516/0.3674, allocations: 433.5 kB / 0.5366 GB, free: 9.699 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007333/0.3681, allocations: 0.5219 MB / 0.5371 GB, free: 9.402 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000136/0.3682, allocations: 68.66 kB / 0.5372 GB, free: 9.371 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004952/0.3688, allocations: 184.5 kB / 0.5374 GB, free: 9.273 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000426/0.3692, allocations: 210.9 kB / 0.5376 GB, free: 9.148 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.273e-05/0.3693, allocations: 17.64 kB / 0.5376 GB, free: 9.145 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001362/0.3706, allocations: 0.6909 MB / 0.5383 GB, free: 8.727 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001565/0.3708, allocations: 106 kB / 0.5384 GB, free: 8.652 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003697/0.3712, allocations: 208.7 kB / 0.5386 GB, free: 8.516 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001389/0.3726, allocations: 0.8503 MB / 0.5394 GB, free: 7.957 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.3726, allocations: 0 / 0.5394 GB, free: 7.957 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.3726, allocations: 1.5 kB / 0.5394 GB, free: 7.957 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.353e-05/0.3727, allocations: 4 kB / 0.5394 GB, free: 7.953 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001778/0.3744, allocations: 0.8446 MB / 0.5402 GB, free: 7.254 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.3745, allocations: 9.312 kB / 0.5402 GB, free: 7.254 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005002/0.375, allocations: 83.81 kB / 0.5403 GB, free: 7.219 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005065/0.3755, allocations: 320.8 kB / 0.5406 GB, free: 6.934 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.685e-05/0.3756, allocations: 39.59 kB / 0.5407 GB, free: 6.918 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.044e-05/0.3757, allocations: 54.75 kB / 0.5407 GB, free: 6.898 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001316/0.377, allocations: 0.7677 MB / 0.5415 GB, free: 6.453 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/0.377, allocations: 1.406 kB / 0.5415 GB, free: 6.453 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.4e-05/0.3771, allocations: 28.5 kB / 0.5415 GB, free: 6.43 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.122e-05/0.3772, allocations: 32.38 kB / 0.5415 GB, free: 6.422 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001054/0.3782, allocations: 0.5466 MB / 0.542 GB, free: 6.172 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002475/0.3807, allocations: 1.691 MB / 0.5437 GB, free: 4.945 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005942/0.3813, allocations: 297.9 kB / 0.544 GB, free: 4.781 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003397/0.3817, allocations: 155.6 kB / 0.5441 GB, free: 4.703 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.772e-05/0.3817, allocations: 6.281 kB / 0.5441 GB, free: 4.703 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.058e-05/0.3818, allocations: 40.67 kB / 0.5442 GB, free: 4.656 MB / 398.1 MB Notification: Performance of pre-optimization done (n=20): time 2.565e-06/0.3818, allocations: 4 kB / 0.5442 GB, free: 4.652 MB / 398.1 MB Notification: Performance of matching and sorting (n=20): time 0.001288/0.3831, allocations: 0.5034 MB / 0.5447 GB, free: 4.223 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.193e-05/0.3831, allocations: 107.1 kB / 0.5448 GB, free: 4.094 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007285/0.3839, allocations: 0.6393 MB / 0.5454 GB, free: 3.441 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.387e-05/0.3839, allocations: 33.7 kB / 0.5454 GB, free: 3.402 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002058/0.3841, allocations: 287.4 kB / 0.5457 GB, free: 3.117 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.541e-05/0.3842, allocations: 71 kB / 0.5458 GB, free: 3.047 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001868/0.3844, allocations: 122.1 kB / 0.5459 GB, free: 2.918 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001661/0.3846, allocations: 362.8 kB / 0.5462 GB, free: 2.555 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004656/0.3851, allocations: 196.9 kB / 0.5464 GB, free: 2.363 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006205/0.3857, allocations: 465.2 kB / 0.5469 GB, free: 1.781 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001077/0.3868, allocations: 0.6734 MB / 0.5475 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.711e-06/0.3868, allocations: 8 kB / 0.5475 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001367/0.3882, allocations: 0.6884 MB / 0.5482 GB, free: 284 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.447e-05/0.3882, allocations: 11.94 kB / 0.5482 GB, free: 272 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001114/0.3883, allocations: 55.98 kB / 0.5483 GB, free: 216 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.717e-05/0.3883, allocations: 12 kB / 0.5483 GB, free: 204 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003287/0.3887, allocations: 71.83 kB / 0.5483 GB, free: 132 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.914e-05/0.3887, allocations: 15.94 kB / 0.5484 GB, free: 116 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005343/0.3893, allocations: 99.03 kB / 0.5485 GB, free: 16 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.924e-05/0.3894, allocations: 36.17 kB / 0.5485 GB, free: 15.98 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 24 (m_flow_IN_con_4[3].roughness,m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].roughness,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].roughness,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].roughness,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].roughness,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].roughness,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].roughness,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].roughness,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.000333/0.3897, allocations: 261.4 kB / 0.5487 GB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001311/0.3898, allocations: 51.28 kB / 0.5488 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009657/0.3908, allocations: 467.9 kB / 0.5492 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.344e-05/0.3908, allocations: 7.984 kB / 0.5492 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.3908, allocations: 0 / 0.5492 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.3908, allocations: 0 / 0.5492 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007639/0.3916, allocations: 409.2 kB / 0.5496 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.938e-05/0.3917, allocations: 43.98 kB / 0.5497 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000171/0.3919, allocations: 27.91 kB / 0.5497 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.173e-06/0.3919, allocations: 3.938 kB / 0.5497 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.611e-05/0.3919, allocations: 19.92 kB / 0.5497 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.699e-06/0.392, allocations: 4 kB / 0.5497 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.392, allocations: 7.938 kB / 0.5497 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009702/0.3929, allocations: 0.6149 MB / 0.5503 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001842/0.3931, allocations: 128.5 kB / 0.5505 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.778e-05/0.3932, allocations: 7.938 kB / 0.5505 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003261/0.3936, allocations: 23.91 kB / 0.5505 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.871e-05/0.3937, allocations: 19.98 kB / 0.5505 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.195e-05/0.3937, allocations: 16 kB / 0.5505 GB, free: 13.79 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005426/0.3943, allocations: 446.7 kB / 0.5509 GB, free: 13.36 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3943, allocations: 0 / 0.5509 GB, free: 13.36 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008855/0.3952, allocations: 199.8 kB / 0.5511 GB, free: 13.16 MB / 414.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 (17): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0006337/0.3958, allocations: 235 kB / 0.5514 GB, free: 12.93 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001253/0.3971, allocations: 0.7545 MB / 0.5521 GB, free: 12.1 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.3971, allocations: 1.625 kB / 0.5521 GB, free: 12.1 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005393/0.3976, allocations: 476.2 kB / 0.5526 GB, free: 11.56 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008312/0.3985, allocations: 126.3 kB / 0.5527 GB, free: 11.43 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001958/0.4004, allocations: 1.018 MB / 0.5537 GB, free: 10.38 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005005/0.401, allocations: 0.8854 MB / 0.5545 GB, free: 9.461 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.902e-05/0.4011, allocations: 39.44 kB / 0.5546 GB, free: 9.422 MB / 414.1 MB Notification: Performance of SimCode: time 6.41e-07/0.4011, allocations: 0 / 0.5546 GB, free: 9.422 MB / 414.1 MB Notification: Performance of Templates: time 0.01598/0.4171, allocations: 10.19 MB / 0.5645 GB, free: 15.29 MB / 430.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_overall/kc_overall.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches