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.00117/0.00117, allocations: 117.8 kB / 17.79 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001244/0.001244, allocations: 199.8 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.403/1.403, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2335/0.2335, allocations: 46.1 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001395/0.001395, allocations: 79.88 kB / 481.3 MB, free: 4.016 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4097/0.4111, allocations: 62.44 MB / 0.531 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall): time 0.004309/0.4155, allocations: 2.267 MB / 0.5332 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003445/0.419, allocations: 2.159 MB / 0.5353 GB, free: 10.11 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001519/0.4191, allocations: 2.75 kB / 0.5353 GB, free: 10.11 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004843/0.4196, allocations: 69.41 kB / 0.5354 GB, free: 10.06 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002888/0.42, allocations: 109.2 kB / 0.5355 GB, free: 9.969 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001348/0.4213, allocations: 452.1 kB / 0.5359 GB, free: 9.676 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009611/0.4223, allocations: 0.5257 MB / 0.5365 GB, free: 9.375 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001755/0.4225, allocations: 64.55 kB / 0.5365 GB, free: 9.348 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004498/0.4229, allocations: 176.7 kB / 0.5367 GB, free: 9.258 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003868/0.4233, allocations: 219.5 kB / 0.5369 GB, free: 9.125 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.304e-05/0.4234, allocations: 13.56 kB / 0.5369 GB, free: 9.125 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001519/0.4249, allocations: 0.6902 MB / 0.5376 GB, free: 8.707 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001559/0.4251, allocations: 110 kB / 0.5377 GB, free: 8.629 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003341/0.4254, allocations: 200.9 kB / 0.5379 GB, free: 8.5 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001401/0.4268, allocations: 0.8546 MB / 0.5387 GB, free: 7.938 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.4269, allocations: 4 kB / 0.5387 GB, free: 7.934 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.4269, allocations: 1.5 kB / 0.5387 GB, free: 7.934 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.676e-06/0.4269, allocations: 0 / 0.5387 GB, free: 7.934 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.001541/0.4284, allocations: 0.8448 MB / 0.5395 GB, free: 7.234 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.4285, allocations: 8.844 kB / 0.5396 GB, free: 7.234 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004399/0.4289, allocations: 96.48 kB / 0.5396 GB, free: 7.188 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004774/0.4294, allocations: 307.9 kB / 0.5399 GB, free: 6.914 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.694e-05/0.4295, allocations: 44.09 kB / 0.54 GB, free: 6.895 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001124/0.4296, allocations: 55.81 kB / 0.54 GB, free: 6.875 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001289/0.4309, allocations: 0.7746 MB / 0.5408 GB, free: 6.422 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.872e-05/0.4309, allocations: 1.188 kB / 0.5408 GB, free: 6.422 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.308e-05/0.431, allocations: 20.66 kB / 0.5408 GB, free: 6.406 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.697e-05/0.431, allocations: 28.45 kB / 0.5408 GB, free: 6.402 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001196/0.4322, allocations: 0.5536 MB / 0.5414 GB, free: 6.145 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002966/0.4352, allocations: 1.683 MB / 0.543 GB, free: 4.926 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006758/0.4359, allocations: 306.3 kB / 0.5433 GB, free: 4.754 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003737/0.4363, allocations: 145.6 kB / 0.5435 GB, free: 4.684 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.659e-05/0.4364, allocations: 13.83 kB / 0.5435 GB, free: 4.676 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.165e-05/0.4364, allocations: 37 kB / 0.5435 GB, free: 4.633 MB / 398.1 MB Notification: Performance of pre-optimization done (n=20): time 2.905e-06/0.4364, allocations: 0 / 0.5435 GB, free: 4.633 MB / 398.1 MB Notification: Performance of matching and sorting (n=20): time 0.001388/0.4378, allocations: 0.5059 MB / 0.544 GB, free: 4.164 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.541e-05/0.4379, allocations: 110.8 kB / 0.5441 GB, free: 4.031 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007612/0.4387, allocations: 0.6354 MB / 0.5447 GB, free: 3.383 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.942e-05/0.4387, allocations: 33.7 kB / 0.5448 GB, free: 3.344 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002354/0.4389, allocations: 291.4 kB / 0.545 GB, free: 3.055 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.954e-05/0.439, allocations: 67 kB / 0.5451 GB, free: 2.988 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001799/0.4392, allocations: 122.2 kB / 0.5452 GB, free: 2.859 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002629/0.4395, allocations: 362.8 kB / 0.5456 GB, free: 2.496 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004143/0.4399, allocations: 196.9 kB / 0.5457 GB, free: 2.305 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007797/0.4407, allocations: 465.2 kB / 0.5462 GB, free: 1.723 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00102/0.4417, allocations: 0.6787 MB / 0.5469 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.4417, allocations: 0 / 0.5469 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001299/0.443, allocations: 0.6942 MB / 0.5475 GB, free: 220 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.354e-05/0.4431, allocations: 11.94 kB / 0.5475 GB, free: 208 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.839e-05/0.4432, allocations: 51.98 kB / 0.5476 GB, free: 156 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.322e-05/0.4432, allocations: 12 kB / 0.5476 GB, free: 144 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002955/0.4435, allocations: 71.83 kB / 0.5477 GB, free: 72 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.026e-05/0.4435, allocations: 19.92 kB / 0.5477 GB, free: 52 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004966/0.444, allocations: 103.2 kB / 0.5478 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.039e-05/0.4441, allocations: 35.98 kB / 0.5478 GB, free: 15.91 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.0002954/0.4444, allocations: 253.5 kB / 0.5481 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001145/0.4445, allocations: 47.38 kB / 0.5481 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009424/0.4455, allocations: 476 kB / 0.5486 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.918e-06/0.4455, allocations: 4 kB / 0.5486 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.4455, allocations: 0 / 0.5486 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.4455, allocations: 0 / 0.5486 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000661/0.4462, allocations: 417.2 kB / 0.549 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.47e-05/0.4462, allocations: 40 kB / 0.549 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001538/0.4464, allocations: 27.91 kB / 0.549 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.833e-06/0.4464, allocations: 11.92 kB / 0.549 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.886e-05/0.4465, allocations: 12 kB / 0.5491 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.4465, allocations: 3.938 kB / 0.5491 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/0.4465, allocations: 8 kB / 0.5491 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008651/0.4473, allocations: 0.617 MB / 0.5497 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001589/0.4475, allocations: 128.5 kB / 0.5498 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.252e-05/0.4476, allocations: 7.875 kB / 0.5498 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003/0.4479, allocations: 23.97 kB / 0.5498 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.747e-05/0.448, allocations: 23.97 kB / 0.5498 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.996e-05/0.448, allocations: 19.98 kB / 0.5499 GB, free: 13.72 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004657/0.4485, allocations: 450.7 kB / 0.5503 GB, free: 13.29 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4485, allocations: 0 / 0.5503 GB, free: 13.29 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007848/0.4493, allocations: 187.8 kB / 0.5505 GB, free: 13.1 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.0004528/0.4497, allocations: 235 kB / 0.5507 GB, free: 12.86 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001119/0.4509, allocations: 0.7505 MB / 0.5514 GB, free: 12.04 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.4509, allocations: 0 / 0.5514 GB, free: 12.04 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005458/0.4514, allocations: 488.6 kB / 0.5519 GB, free: 11.49 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007242/0.4522, allocations: 122.2 kB / 0.552 GB, free: 11.37 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001648/0.4538, allocations: 1 MB / 0.553 GB, free: 10.34 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004558/0.4543, allocations: 0.8933 MB / 0.5539 GB, free: 9.414 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002687/0.4546, allocations: 132.5 kB / 0.554 GB, free: 9.281 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.909e-05/0.4547, allocations: 35.44 kB / 0.554 GB, free: 9.246 MB / 414.1 MB Notification: Performance of SimCode: time 2.91e-07/0.4547, allocations: 0 / 0.554 GB, free: 9.246 MB / 414.1 MB Notification: Performance of Templates: time 0.0165/0.4712, allocations: 10.79 MB / 0.5646 GB, free: 14.56 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/jenkins/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/jenkins/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