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.001105/0.001105, allocations: 118.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001217/0.001217, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.391/1.391, allocations: 227.4 MB / 246.9 MB, free: 10.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2253/0.2253, allocations: 46.11 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001473/0.001473, allocations: 75.88 kB / 481.3 MB, free: 4.031 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3995/0.401, allocations: 62.44 MB / 0.531 GB, free: 13.84 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall): time 0.003491/0.4045, allocations: 2.274 MB / 0.5333 GB, free: 12.06 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003125/0.4076, allocations: 2.15 MB / 0.5354 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001437/0.4078, allocations: 2.562 kB / 0.5354 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003316/0.4081, allocations: 73.48 kB / 0.5354 GB, free: 10.3 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002499/0.4084, allocations: 110.2 kB / 0.5355 GB, free: 10.21 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001173/0.4096, allocations: 444.6 kB / 0.536 GB, free: 9.922 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006042/0.4102, allocations: 0.5217 MB / 0.5365 GB, free: 9.625 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.4103, allocations: 64.64 kB / 0.5365 GB, free: 9.598 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002723/0.4106, allocations: 180.9 kB / 0.5367 GB, free: 9.504 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002579/0.4109, allocations: 215.4 kB / 0.5369 GB, free: 9.375 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.356e-05/0.4109, allocations: 13.22 kB / 0.5369 GB, free: 9.375 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001063/0.412, allocations: 0.6908 MB / 0.5376 GB, free: 8.957 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000126/0.4121, allocations: 102 kB / 0.5377 GB, free: 8.887 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002132/0.4124, allocations: 215.8 kB / 0.5379 GB, free: 8.742 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001118/0.4135, allocations: 0.8548 MB / 0.5387 GB, free: 8.176 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.4135, allocations: 3.938 kB / 0.5387 GB, free: 8.172 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.158e-06/0.4135, allocations: 0 / 0.5387 GB, free: 8.172 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.197e-06/0.4135, allocations: 3.938 kB / 0.5387 GB, free: 8.168 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.001414/0.4149, allocations: 0.8562 MB / 0.5396 GB, free: 7.457 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.415, allocations: 13.31 kB / 0.5396 GB, free: 7.453 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004292/0.4154, allocations: 91.86 kB / 0.5397 GB, free: 7.41 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004061/0.4158, allocations: 316.1 kB / 0.54 GB, free: 7.129 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.851e-05/0.4159, allocations: 39.94 kB / 0.54 GB, free: 7.113 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.383e-05/0.416, allocations: 59 kB / 0.5401 GB, free: 7.09 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001189/0.4172, allocations: 0.7725 MB / 0.5408 GB, free: 6.641 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/0.4172, allocations: 0 / 0.5408 GB, free: 6.641 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.315e-05/0.4172, allocations: 21.28 kB / 0.5408 GB, free: 6.625 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.932e-05/0.4173, allocations: 28.64 kB / 0.5409 GB, free: 6.621 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009784/0.4183, allocations: 0.5534 MB / 0.5414 GB, free: 6.363 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002253/0.4205, allocations: 1.688 MB / 0.5431 GB, free: 5.141 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005829/0.4211, allocations: 304.5 kB / 0.5433 GB, free: 4.973 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003345/0.4215, allocations: 150.7 kB / 0.5435 GB, free: 4.895 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.199e-05/0.4215, allocations: 15.92 kB / 0.5435 GB, free: 4.879 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.011e-05/0.4216, allocations: 38.56 kB / 0.5435 GB, free: 4.832 MB / 398.1 MB Notification: Performance of pre-optimization done (n=20): time 1.743e-06/0.4216, allocations: 0 / 0.5435 GB, free: 4.832 MB / 398.1 MB Notification: Performance of matching and sorting (n=20): time 0.001203/0.4228, allocations: 0.5089 MB / 0.544 GB, free: 4.316 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.023e-05/0.4229, allocations: 110.8 kB / 0.5441 GB, free: 4.184 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006469/0.4235, allocations: 0.6394 MB / 0.5448 GB, free: 3.531 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.638e-05/0.4235, allocations: 25.7 kB / 0.5448 GB, free: 3.5 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001956/0.4237, allocations: 300 kB / 0.5451 GB, free: 3.203 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.434e-05/0.4238, allocations: 75.38 kB / 0.5452 GB, free: 3.129 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000164/0.424, allocations: 126.2 kB / 0.5453 GB, free: 2.996 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001337/0.4241, allocations: 362.8 kB / 0.5456 GB, free: 2.633 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000388/0.4245, allocations: 192.9 kB / 0.5458 GB, free: 2.445 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005654/0.4251, allocations: 465.2 kB / 0.5462 GB, free: 1.863 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009788/0.4261, allocations: 0.6735 MB / 0.5469 GB, free: 1.062 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.151e-06/0.4261, allocations: 4 kB / 0.5469 GB, free: 1.059 MB / 398.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001229/0.4273, allocations: 0.6959 MB / 0.5476 GB, free: 364 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.529e-05/0.4274, allocations: 15.94 kB / 0.5476 GB, free: 348 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.826e-05/0.4275, allocations: 47.98 kB / 0.5476 GB, free: 300 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.408e-05/0.4275, allocations: 12 kB / 0.5477 GB, free: 288 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002844/0.4278, allocations: 72.33 kB / 0.5477 GB, free: 216 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.174e-05/0.4278, allocations: 23.92 kB / 0.5478 GB, free: 192 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004407/0.4283, allocations: 99.28 kB / 0.5478 GB, free: 92 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.092e-05/0.4283, allocations: 35.98 kB / 0.5479 GB, free: 56 kB / 398.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.0002891/0.4286, allocations: 249.5 kB / 0.5481 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001105/0.4287, allocations: 55.61 kB / 0.5482 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000931/0.4297, allocations: 473.7 kB / 0.5486 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.126e-05/0.4297, allocations: 11.98 kB / 0.5486 GB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.4297, allocations: 4 kB / 0.5486 GB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.4297, allocations: 0 / 0.5486 GB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005845/0.4303, allocations: 409.3 kB / 0.549 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.197e-05/0.4304, allocations: 39.98 kB / 0.5491 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001455/0.4305, allocations: 31.91 kB / 0.5491 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.835e-06/0.4305, allocations: 7.922 kB / 0.5491 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.77e-05/0.4306, allocations: 19.98 kB / 0.5491 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.4306, allocations: 0 / 0.5491 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.4306, allocations: 0 / 0.5491 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008814/0.4315, allocations: 0.6173 MB / 0.5497 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001241/0.4316, allocations: 128.8 kB / 0.5499 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.73e-05/0.4317, allocations: 7.938 kB / 0.5499 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000294/0.432, allocations: 23.97 kB / 0.5499 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.027e-05/0.4321, allocations: 23.92 kB / 0.5499 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.629e-05/0.4321, allocations: 15.98 kB / 0.5499 GB, free: 13.86 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004525/0.4326, allocations: 450.8 kB / 0.5503 GB, free: 13.43 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4326, allocations: 0 / 0.5503 GB, free: 13.43 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007864/0.4334, allocations: 191.6 kB / 0.5505 GB, free: 13.24 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.000446/0.4338, allocations: 234.8 kB / 0.5508 GB, free: 13 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001146/0.435, allocations: 0.7558 MB / 0.5515 GB, free: 12.17 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.435, allocations: 0 / 0.5515 GB, free: 12.17 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005709/0.4356, allocations: 492.3 kB / 0.552 GB, free: 11.62 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007187/0.4363, allocations: 122.4 kB / 0.5521 GB, free: 11.5 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001674/0.438, allocations: 1.003 MB / 0.5531 GB, free: 10.46 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004746/0.4385, allocations: 0.8972 MB / 0.5539 GB, free: 9.535 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002977/0.4388, allocations: 132.5 kB / 0.5541 GB, free: 9.402 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.339e-05/0.4388, allocations: 35.42 kB / 0.5541 GB, free: 9.367 MB / 414.1 MB Notification: Performance of SimCode: time 3.8e-07/0.4389, allocations: 0 / 0.5541 GB, free: 9.367 MB / 414.1 MB Notification: Performance of Templates: time 0.01863/0.4575, allocations: 10.6 MB / 0.5644 GB, free: 14.87 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