Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.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.General.kc_approxForcedConvection_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cp.1.|cp.2.|eta.1.|eta.2.|lambda.1.|lambda.2.|rho.1.|rho.2.|Nu.1.|Nu.2.|m_flow_1.1.|m_flow_1.2.|m_flow_2.1.|m_flow_2.2.|m_flow_3.1.|m_flow_3.2.|kc_1.1.|kc_1.2.|kc_2.1.|kc_2.2.|kc_3.1.|kc_3.2.|Re_1.1.|Re_1.2.|Re_2.1.|Re_2.2.|Re_3.1.|Re_3.2.|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cp.1.|cp.2.|eta.1.|eta.2.|lambda.1.|lambda.2.|rho.1.|rho.2.|Nu.1.|Nu.2.|m_flow_1.1.|m_flow_1.2.|m_flow_2.1.|m_flow_2.2.|m_flow_3.1.|m_flow_3.2.|kc_1.1.|kc_1.2.|kc_2.1.|kc_2.2.|kc_3.1.|kc_3.2.|Re_1.1.|Re_1.2.|Re_2.1.|Re_2.2.|Re_3.1.|Re_3.2.|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001114/0.001114, allocations: 118.2 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001254/0.001254, allocations: 202 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.56/1.56, allocations: 227.4 MB / 246.9 MB, free: 10.53 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2381/0.2381, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001394/0.001394, allocations: 79.88 kB / 481.3 MB, free: 4.039 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4533/0.4547, allocations: 62.43 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC): time 0.00411/0.4588, allocations: 2.016 MB / 0.533 GB, free: 12.04 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001819/0.4607, allocations: 0.8365 MB / 0.5338 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001649/0.4609, allocations: 6.625 kB / 0.5338 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003819/0.4613, allocations: 68.75 kB / 0.5339 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005227/0.4618, allocations: 122.2 kB / 0.534 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003636/0.4622, allocations: 64.53 kB / 0.534 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005806/0.4628, allocations: 321 kB / 0.5344 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/0.4629, allocations: 28.61 kB / 0.5344 GB, free: 11 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004384/0.4634, allocations: 131.5 kB / 0.5345 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000389/0.4638, allocations: 147.6 kB / 0.5346 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.58e-05/0.4638, allocations: 12.25 kB / 0.5347 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003693/0.4642, allocations: 132.3 kB / 0.5348 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000152/0.4644, allocations: 61.73 kB / 0.5348 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001812/0.4646, allocations: 109.7 kB / 0.5349 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006862/0.4653, allocations: 348.9 kB / 0.5353 GB, free: 10.45 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.4653, allocations: 1.125 kB / 0.5353 GB, free: 10.45 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.4653, allocations: 0 / 0.5353 GB, free: 10.45 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.836e-05/0.4653, allocations: 0 / 0.5353 GB, free: 10.45 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.00129/0.4666, allocations: 0.5628 MB / 0.5358 GB, free: 9.93 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.4667, allocations: 8.438 kB / 0.5358 GB, free: 9.93 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001281/0.4668, allocations: 39.14 kB / 0.5359 GB, free: 9.906 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003614/0.4672, allocations: 243.2 kB / 0.5361 GB, free: 9.664 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.174e-05/0.4672, allocations: 26.58 kB / 0.5361 GB, free: 9.648 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.363e-05/0.4673, allocations: 20.75 kB / 0.5362 GB, free: 9.645 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008466/0.4681, allocations: 393.7 kB / 0.5365 GB, free: 9.43 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/0.4682, allocations: 7.938 kB / 0.5365 GB, free: 9.422 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.265e-05/0.4682, allocations: 10.06 kB / 0.5365 GB, free: 9.414 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.944e-05/0.4683, allocations: 26.36 kB / 0.5366 GB, free: 9.41 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009141/0.4692, allocations: 407.1 kB / 0.537 GB, free: 9.23 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002022/0.4712, allocations: 0.8741 MB / 0.5378 GB, free: 8.59 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007367/0.472, allocations: 273 kB / 0.5381 GB, free: 8.473 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002544/0.4723, allocations: 94.77 kB / 0.5382 GB, free: 8.43 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.181e-05/0.4723, allocations: 2.594 kB / 0.5382 GB, free: 8.43 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.266e-05/0.4724, allocations: 36.16 kB / 0.5382 GB, free: 8.387 MB / 398.1 MB Notification: Performance of pre-optimization done (n=15): time 2.044e-06/0.4724, allocations: 0 / 0.5382 GB, free: 8.387 MB / 398.1 MB Notification: Performance of matching and sorting (n=15): time 0.0008555/0.4732, allocations: 337.3 kB / 0.5385 GB, free: 8.23 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.405e-05/0.4733, allocations: 52.62 kB / 0.5386 GB, free: 8.168 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004915/0.4738, allocations: 351 kB / 0.5389 GB, free: 7.957 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.139e-05/0.4738, allocations: 31.08 kB / 0.5389 GB, free: 7.922 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001417/0.474, allocations: 162.2 kB / 0.5391 GB, free: 7.77 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.782e-05/0.4741, allocations: 54.33 kB / 0.5391 GB, free: 7.723 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001114/0.4742, allocations: 50.22 kB / 0.5392 GB, free: 7.688 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001707/0.4744, allocations: 347.6 kB / 0.5395 GB, free: 7.348 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002333/0.4746, allocations: 90.84 kB / 0.5396 GB, free: 7.312 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002802/0.4749, allocations: 135.2 kB / 0.5397 GB, free: 7.219 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005178/0.4754, allocations: 252.5 kB / 0.54 GB, free: 7.074 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.426e-06/0.4754, allocations: 1.188 kB / 0.54 GB, free: 7.074 MB / 398.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006616/0.4761, allocations: 308.4 kB / 0.5403 GB, free: 6.918 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.365e-05/0.4761, allocations: 8 kB / 0.5403 GB, free: 6.918 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/0.4761, allocations: 6.578 kB / 0.5403 GB, free: 6.914 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.391e-05/0.4762, allocations: 1.344 kB / 0.5403 GB, free: 6.914 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005513/0.4767, allocations: 112.9 kB / 0.5404 GB, free: 6.883 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002226/0.479, allocations: 3.669 MB / 0.544 GB, free: 3.238 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002691/0.4793, allocations: 37.73 kB / 0.544 GB, free: 3.211 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.836e-05/0.4793, allocations: 8.188 kB / 0.544 GB, free: 3.211 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 6 (m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].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 (21): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002437/0.4796, allocations: 178.3 kB / 0.5442 GB, free: 3.059 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001055/0.4797, allocations: 26.97 kB / 0.5442 GB, free: 3.043 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007448/0.4805, allocations: 329.1 kB / 0.5445 GB, free: 2.867 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-06/0.4805, allocations: 2.25 kB / 0.5445 GB, free: 2.867 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.4805, allocations: 4 kB / 0.5445 GB, free: 2.863 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.103e-06/0.4805, allocations: 5.297 kB / 0.5445 GB, free: 2.859 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005191/0.481, allocations: 300.2 kB / 0.5448 GB, free: 2.59 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.481, allocations: 3.938 kB / 0.5448 GB, free: 2.586 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004674/0.4815, allocations: 106.4 kB / 0.5449 GB, free: 2.559 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.741e-06/0.4815, allocations: 1.156 kB / 0.5449 GB, free: 2.559 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.52e-05/0.4816, allocations: 11.45 kB / 0.545 GB, free: 2.551 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002225/0.4838, allocations: 3.671 MB / 0.5485 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.4838, allocations: 0 / 0.5485 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006475/0.4845, allocations: 357.7 kB / 0.5489 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001845/0.4847, allocations: 103.8 kB / 0.549 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.509e-05/0.4847, allocations: 1.25 kB / 0.549 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001755/0.4849, allocations: 11.3 kB / 0.549 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.429e-05/0.485, allocations: 19.3 kB / 0.549 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.26e-05/0.485, allocations: 5.75 kB / 0.549 GB, free: 14.54 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003669/0.4854, allocations: 263.2 kB / 0.5493 GB, free: 14.38 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.4854, allocations: 4 kB / 0.5493 GB, free: 14.37 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004473/0.4859, allocations: 76.03 kB / 0.5493 GB, free: 14.3 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (15): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002878/0.4862, allocations: 115.2 kB / 0.5494 GB, free: 14.18 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009273/0.4871, allocations: 311.5 kB / 0.5497 GB, free: 13.87 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.4871, allocations: 0 / 0.5497 GB, free: 13.87 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000598/0.4877, allocations: 187.8 kB / 0.5499 GB, free: 13.69 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004574/0.4882, allocations: 68.7 kB / 0.55 GB, free: 13.62 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001199/0.4894, allocations: 0.5861 MB / 0.5506 GB, free: 13.01 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003801/0.4898, allocations: 0.7987 MB / 0.5513 GB, free: 12.18 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001631/0.49, allocations: 66.2 kB / 0.5514 GB, free: 12.12 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.669e-05/0.49, allocations: 23.44 kB / 0.5514 GB, free: 12.1 MB / 414.1 MB Notification: Performance of SimCode: time 2.31e-07/0.49, allocations: 0 / 0.5514 GB, free: 12.1 MB / 414.1 MB Notification: Performance of Templates: time 0.01048/0.5005, allocations: 5.348 MB / 0.5567 GB, free: 6.836 MB / 414.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/General/kc_approxForcedConvection_KC/kc_approxForcedConvection_KC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches