Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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_cpp_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_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009651/0.0009651, allocations: 191.5 kB / 16.78 MB, free: 4.918 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.24/1.24, allocations: 226.5 MB / 244.1 MB, free: 6.461 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000763/0.0007632, allocations: 95.91 kB / 296.1 MB, free: 6.691 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2905/0.2905, allocations: 44.82 MB / 393 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002546/0.000255, allocations: 8 kB / 465.9 MB, free: 12.7 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2762/0.2765, allocations: 62.96 MB / 0.5165 GB, free: 37.36 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1145/0.391, allocations: 101.5 MB / 0.6156 GB, free: 3.902 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003071/0.3913, allocations: 107.9 kB / 0.6157 GB, free: 3.797 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06409/0.4554, allocations: 24.8 MB / 0.6399 GB, free: 10.79 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.4555, allocations: 0 / 0.6399 GB, free: 10.79 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.378e-05/0.4555, allocations: 8 kB / 0.6399 GB, free: 10.78 MB / 458.7 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.001086/0.4566, allocations: 0.7682 MB / 0.6407 GB, free: 9.957 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.4566, allocations: 8.031 kB / 0.6407 GB, free: 9.949 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003735/0.457, allocations: 104.2 kB / 0.6408 GB, free: 9.848 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003705/0.4574, allocations: 317.8 kB / 0.6411 GB, free: 9.5 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.914e-05/0.4574, allocations: 41.67 kB / 0.6411 GB, free: 9.457 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.097e-05/0.4575, allocations: 52.38 kB / 0.6412 GB, free: 9.406 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001111/0.4586, allocations: 0.778 MB / 0.6419 GB, free: 8.609 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.511e-05/0.4587, allocations: 4.188 kB / 0.6419 GB, free: 8.605 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.719e-05/0.4587, allocations: 27.94 kB / 0.642 GB, free: 8.578 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.212e-05/0.4588, allocations: 29.25 kB / 0.642 GB, free: 8.551 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009585/0.4597, allocations: 0.5672 MB / 0.6425 GB, free: 7.984 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002088/0.4618, allocations: 1.669 MB / 0.6442 GB, free: 6.246 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005476/0.4624, allocations: 315.6 kB / 0.6445 GB, free: 5.91 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003402/0.4627, allocations: 165.4 kB / 0.6446 GB, free: 5.742 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.83e-05/0.4628, allocations: 15.97 kB / 0.6447 GB, free: 5.727 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.398e-05/0.4628, allocations: 38.5 kB / 0.6447 GB, free: 5.68 MB / 458.7 MB Notification: Performance of pre-optimization done (n=20): time 2.174e-06/0.4628, allocations: 0 / 0.6447 GB, free: 5.68 MB / 458.7 MB Notification: Performance of matching and sorting (n=20): time 0.001218/0.4641, allocations: 0.5361 MB / 0.6452 GB, free: 5.137 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.26e-05/0.4641, allocations: 106.8 kB / 0.6453 GB, free: 5.008 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006584/0.4648, allocations: 0.6353 MB / 0.6459 GB, free: 4.367 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.83e-05/0.4648, allocations: 29.7 kB / 0.646 GB, free: 4.332 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001785/0.465, allocations: 287.4 kB / 0.6462 GB, free: 4.047 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.739e-05/0.4651, allocations: 86.95 kB / 0.6463 GB, free: 3.961 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.741e-05/0.4651, allocations: 8 kB / 0.6463 GB, free: 3.953 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001224/0.4653, allocations: 362.8 kB / 0.6467 GB, free: 3.59 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004263/0.4657, allocations: 196.9 kB / 0.6469 GB, free: 3.398 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005481/0.4662, allocations: 473.4 kB / 0.6473 GB, free: 2.809 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009759/0.4672, allocations: 0.6984 MB / 0.648 GB, free: 1.98 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/0.4672, allocations: 4 kB / 0.648 GB, free: 1.977 MB / 458.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.00123/0.4685, allocations: 0.707 MB / 0.6487 GB, free: 1.266 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.275e-05/0.4685, allocations: 8.125 kB / 0.6487 GB, free: 1.258 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.167e-05/0.4686, allocations: 55.98 kB / 0.6487 GB, free: 1.203 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.345e-05/0.4686, allocations: 12 kB / 0.6488 GB, free: 1.191 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002836/0.4689, allocations: 79.81 kB / 0.6488 GB, free: 1.113 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.924e-05/0.469, allocations: 23.81 kB / 0.6489 GB, free: 1.09 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004296/0.4694, allocations: 91.25 kB / 0.6489 GB, free: 1 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.16e-05/0.4695, allocations: 40 kB / 0.649 GB, free: 0.9609 MB / 458.7 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].target,m_flow_IN_con_4[3].roughness,m_flow_IN_con_4[2].target,m_flow_IN_con_4[2].roughness,m_flow_IN_con_4[1].target,m_flow_IN_con_4[1].roughness,m_flow_IN_con_3[3].target,m_flow_IN_con_3[3].roughness,m_flow_IN_con_3[2].target,m_flow_IN_con_3[2].roughness,m_flow_IN_con_3[1].target,m_flow_IN_con_3[1].roughness,m_flow_IN_con_2[3].target,m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[2].target,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[1].target,m_flow_IN_con_2[1].roughness,m_flow_IN_con_1[3].target,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[2].target,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[1].target,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 (57): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002907/0.4697, allocations: 253.5 kB / 0.6492 GB, free: 0.7031 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001007/0.4699, allocations: 47.44 kB / 0.6493 GB, free: 0.6562 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009397/0.4708, allocations: 477.6 kB / 0.6497 GB, free: 180 kB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.011e-05/0.4708, allocations: 4 kB / 0.6497 GB, free: 176 kB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.977e-06/0.4708, allocations: 7.938 kB / 0.6497 GB, free: 168 kB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/0.4708, allocations: 7.922 kB / 0.6497 GB, free: 160 kB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006412/0.4715, allocations: 405.3 kB / 0.6501 GB, free: 15.71 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.47e-05/0.4716, allocations: 39.98 kB / 0.6502 GB, free: 15.67 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001548/0.4717, allocations: 31.97 kB / 0.6502 GB, free: 15.64 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.4717, allocations: 0 / 0.6502 GB, free: 15.64 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.429e-05/0.4718, allocations: 12 kB / 0.6502 GB, free: 15.63 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.726e-06/0.4718, allocations: 7.984 kB / 0.6502 GB, free: 15.62 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.4718, allocations: 7.938 kB / 0.6502 GB, free: 15.61 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008632/0.4727, allocations: 0.6421 MB / 0.6509 GB, free: 14.95 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001239/0.4728, allocations: 136.4 kB / 0.651 GB, free: 14.8 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.167e-05/0.4729, allocations: 0 / 0.651 GB, free: 14.8 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002958/0.4732, allocations: 31.97 kB / 0.651 GB, free: 14.77 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.72e-05/0.4733, allocations: 23.92 kB / 0.651 GB, free: 14.75 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.619e-05/0.4733, allocations: 15.94 kB / 0.6511 GB, free: 14.73 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0004756/0.4738, allocations: 446.7 kB / 0.6515 GB, free: 14.3 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4738, allocations: 3.938 kB / 0.6515 GB, free: 14.29 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0008267/0.4746, allocations: 219.8 kB / 0.6517 GB, free: 14.08 MB / 474.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005012/0.4751, allocations: 301.8 kB / 0.652 GB, free: 13.78 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001057/0.4762, allocations: 0.7779 MB / 0.6527 GB, free: 12.93 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.4762, allocations: 3.938 kB / 0.6527 GB, free: 12.93 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004869/0.4767, allocations: 498.3 kB / 0.6532 GB, free: 12.37 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00076/0.4775, allocations: 118.3 kB / 0.6533 GB, free: 12.26 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001644/0.4791, allocations: 1.115 MB / 0.6544 GB, free: 11.1 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004238/0.4796, allocations: 0.8818 MB / 0.6553 GB, free: 10.19 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.443e-05/0.4797, allocations: 39.42 kB / 0.6553 GB, free: 10.15 MB / 474.7 MB Notification: Performance of SimCode: time 9.21e-07/0.4797, allocations: 0 / 0.6553 GB, free: 10.15 MB / 474.7 MB Notification: Performance of Templates: time 0.01307/0.4928, allocations: 10.44 MB / 0.6655 GB, free: 15.76 MB / 490.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_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","../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches