Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.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_laminar,tolerance=1e-07,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_laminar") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar,tolerance=1e-07,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_laminar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001505/0.001506, allocations: 117.7 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.001404/0.001404, allocations: 204.8 kB / 19.41 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.335/1.335, allocations: 227.4 MB / 247.6 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.208/0.208, allocations: 46.11 MB / 345 MB, free: 11.44 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001488/0.001488, allocations: 83.81 kB / 482 MB, free: 3.992 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3091/0.3106, allocations: 62.44 MB / 0.5317 GB, free: 13.58 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar): time 0.003515/0.3142, allocations: 2.224 MB / 0.5339 GB, free: 11.85 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001856/0.316, allocations: 1.189 MB / 0.535 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001182/0.3162, allocations: 2.5 kB / 0.535 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002761/0.3165, allocations: 68.09 kB / 0.5351 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002207/0.3167, allocations: 97.22 kB / 0.5352 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005387/0.3173, allocations: 195.9 kB / 0.5354 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005222/0.3178, allocations: 495.3 kB / 0.5358 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.199e-05/0.3179, allocations: 54.16 kB / 0.5359 GB, free: 10.35 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003362/0.3182, allocations: 176.3 kB / 0.5361 GB, free: 10.26 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002382/0.3185, allocations: 202.7 kB / 0.5363 GB, free: 10.14 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.964e-05/0.3185, allocations: 13.06 kB / 0.5363 GB, free: 10.14 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005294/0.3191, allocations: 336.4 kB / 0.5366 GB, free: 9.93 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001064/0.3192, allocations: 98.22 kB / 0.5367 GB, free: 9.863 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000178/0.3194, allocations: 190.2 kB / 0.5369 GB, free: 9.738 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006765/0.3201, allocations: 0.5852 MB / 0.5374 GB, free: 9.359 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.3201, allocations: 5.281 kB / 0.5374 GB, free: 9.355 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.3201, allocations: 0 / 0.5374 GB, free: 9.355 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.476e-06/0.3201, allocations: 0 / 0.5374 GB, free: 9.355 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001213/0.3213, allocations: 0.7568 MB / 0.5382 GB, free: 8.723 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.427e-05/0.3214, allocations: 8.938 kB / 0.5382 GB, free: 8.723 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004296/0.3218, allocations: 84.55 kB / 0.5383 GB, free: 8.684 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003643/0.3222, allocations: 300.3 kB / 0.5386 GB, free: 8.41 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.377e-05/0.3222, allocations: 35.53 kB / 0.5386 GB, free: 8.395 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.455e-05/0.3223, allocations: 46.03 kB / 0.5386 GB, free: 8.379 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001069/0.3234, allocations: 0.6629 MB / 0.5393 GB, free: 7.996 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.465e-05/0.3234, allocations: 0 / 0.5393 GB, free: 7.996 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.065e-05/0.3235, allocations: 16 kB / 0.5393 GB, free: 7.984 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.165e-05/0.3235, allocations: 22.84 kB / 0.5393 GB, free: 7.98 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008883/0.3244, allocations: 489.6 kB / 0.5398 GB, free: 7.762 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002027/0.3264, allocations: 1.501 MB / 0.5412 GB, free: 6.656 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005938/0.327, allocations: 309.3 kB / 0.5415 GB, free: 6.48 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003273/0.3274, allocations: 145.2 kB / 0.5417 GB, free: 6.41 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.241e-05/0.3274, allocations: 17.44 kB / 0.5417 GB, free: 6.398 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.545e-05/0.3275, allocations: 40.72 kB / 0.5417 GB, free: 6.352 MB / 398.1 MB Notification: Performance of pre-optimization done (n=20): time 1.803e-06/0.3275, allocations: 0 / 0.5417 GB, free: 6.352 MB / 398.1 MB Notification: Performance of matching and sorting (n=20): time 0.001268/0.3288, allocations: 0.4892 MB / 0.5422 GB, free: 6.137 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.012e-05/0.3288, allocations: 113.3 kB / 0.5423 GB, free: 6.004 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006475/0.3295, allocations: 0.545 MB / 0.5429 GB, free: 5.691 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.07e-05/0.3295, allocations: 29.64 kB / 0.5429 GB, free: 5.656 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001656/0.3297, allocations: 229 kB / 0.5431 GB, free: 5.449 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.99e-05/0.3298, allocations: 67.75 kB / 0.5432 GB, free: 5.391 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001372/0.3299, allocations: 85.38 kB / 0.5432 GB, free: 5.336 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001349/0.3301, allocations: 355 kB / 0.5436 GB, free: 4.992 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003683/0.3304, allocations: 159 kB / 0.5437 GB, free: 4.93 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004372/0.3309, allocations: 273.8 kB / 0.544 GB, free: 4.715 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008126/0.3317, allocations: 445.9 kB / 0.5444 GB, free: 4.234 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.3317, allocations: 4 kB / 0.5444 GB, free: 4.23 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001003/0.3327, allocations: 0.4954 MB / 0.5449 GB, free: 3.73 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.3328, allocations: 8 kB / 0.5449 GB, free: 3.723 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.011e-05/0.3328, allocations: 39.98 kB / 0.545 GB, free: 3.684 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.068e-05/0.3329, allocations: 11.94 kB / 0.545 GB, free: 3.672 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002384/0.3331, allocations: 39.91 kB / 0.545 GB, free: 3.633 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.242e-05/0.3331, allocations: 15.92 kB / 0.545 GB, free: 3.617 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003721/0.3335, allocations: 79.36 kB / 0.5451 GB, free: 3.539 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.154e-05/0.3336, allocations: 23.98 kB / 0.5451 GB, free: 3.516 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: 12 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].target,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 (33): * Single equations (assignments): 21 * 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.0002429/0.3338, allocations: 209.6 kB / 0.5453 GB, free: 3.301 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001083/0.3339, allocations: 43.44 kB / 0.5454 GB, free: 3.258 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008542/0.3348, allocations: 437.1 kB / 0.5458 GB, free: 2.824 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.217e-05/0.3348, allocations: 11.92 kB / 0.5458 GB, free: 2.812 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.3348, allocations: 4 kB / 0.5458 GB, free: 2.809 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.3348, allocations: 7.938 kB / 0.5458 GB, free: 2.801 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005712/0.3354, allocations: 389.2 kB / 0.5462 GB, free: 2.371 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.824e-05/0.3355, allocations: 35.98 kB / 0.5462 GB, free: 2.336 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001512/0.3356, allocations: 27.97 kB / 0.5462 GB, free: 2.309 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.3357, allocations: 4 kB / 0.5462 GB, free: 2.305 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.509e-05/0.3357, allocations: 11.98 kB / 0.5462 GB, free: 2.293 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.3357, allocations: 3.938 kB / 0.5463 GB, free: 2.289 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.3357, allocations: 0 / 0.5463 GB, free: 2.289 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008974/0.3366, allocations: 0.6171 MB / 0.5469 GB, free: 1.656 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001315/0.3367, allocations: 124.5 kB / 0.547 GB, free: 1.516 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.764e-05/0.3368, allocations: 4 kB / 0.547 GB, free: 1.512 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000297/0.3371, allocations: 27.91 kB / 0.547 GB, free: 1.484 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.927e-05/0.3372, allocations: 19.98 kB / 0.547 GB, free: 1.465 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.517e-05/0.3372, allocations: 12 kB / 0.547 GB, free: 1.453 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000443/0.3377, allocations: 399 kB / 0.5474 GB, free: 1.07 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.3377, allocations: 0 / 0.5474 GB, free: 1.07 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006038/0.3383, allocations: 135.8 kB / 0.5475 GB, free: 0.9375 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 (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.0003238/0.3386, allocations: 155.1 kB / 0.5477 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001046/0.3397, allocations: 0.668 MB / 0.5483 GB, free: 36 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.3397, allocations: 0 / 0.5483 GB, free: 36 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005546/0.3403, allocations: 481.1 kB / 0.5488 GB, free: 15.49 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007728/0.3411, allocations: 128.7 kB / 0.5489 GB, free: 15.37 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001688/0.3428, allocations: 0.9226 MB / 0.5498 GB, free: 14.41 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004876/0.3433, allocations: 0.8582 MB / 0.5507 GB, free: 13.52 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.09e-05/0.3434, allocations: 35.44 kB / 0.5507 GB, free: 13.48 MB / 414.1 MB Notification: Performance of SimCode: time 4.7e-07/0.3434, allocations: 0 / 0.5507 GB, free: 13.48 MB / 414.1 MB Notification: Performance of Templates: time 0.01345/0.3568, allocations: 8.285 MB / 0.5588 GB, free: 5.254 MB / 414.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_laminar/kc_laminar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches