Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_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.StraightPipe.kc_turbulent_KC,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.|Nu.1.|Nu.2.|Nu.3.|m_flow_1.1.|m_flow_1.2.|m_flow_1.3.|m_flow_2.1.|m_flow_2.2.|m_flow_2.3.|kc.1.|kc.2.|kc.3.|Re_1.1.|Re_1.2.|Re_1.3.|Re_2.1.|Re_2.2.|Re_2.3.|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC,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.|Nu.1.|Nu.2.|Nu.3.|m_flow_1.1.|m_flow_1.2.|m_flow_1.3.|m_flow_2.1.|m_flow_2.2.|m_flow_2.3.|kc.1.|kc.2.|kc.3.|Re_1.1.|Re_1.2.|Re_1.3.|Re_2.1.|Re_2.2.|Re_2.3.|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001167/0.001167, 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.001125/0.001125, allocations: 198 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.516/1.516, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2204/0.2204, allocations: 46.11 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 79.86 kB / 481.3 MB, free: 4.059 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4456/0.4469, allocations: 62.44 MB / 0.531 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC): time 0.004249/0.4512, allocations: 1.892 MB / 0.5329 GB, free: 12.15 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001633/0.4529, allocations: 0.841 MB / 0.5337 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.584e-05/0.453, allocations: 1.375 kB / 0.5337 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003107/0.4533, allocations: 57.41 kB / 0.5337 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003347/0.4536, allocations: 82.81 kB / 0.5338 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003081/0.454, allocations: 86.72 kB / 0.5339 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003727/0.4543, allocations: 259.6 kB / 0.5341 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.368e-05/0.4544, allocations: 34.23 kB / 0.5342 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002431/0.4547, allocations: 107.6 kB / 0.5343 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002198/0.4549, allocations: 118.4 kB / 0.5344 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.748e-05/0.455, allocations: 11.12 kB / 0.5344 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002878/0.4553, allocations: 130.1 kB / 0.5345 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001192/0.4554, allocations: 61.41 kB / 0.5346 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001529/0.4555, allocations: 99.7 kB / 0.5347 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004661/0.456, allocations: 308.1 kB / 0.535 GB, free: 10.68 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.456, allocations: 1.031 kB / 0.535 GB, free: 10.68 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.456, allocations: 0 / 0.535 GB, free: 10.68 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.354e-06/0.4561, allocations: 4 kB / 0.535 GB, free: 10.67 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.0009394/0.457, allocations: 0.5471 MB / 0.5355 GB, free: 10.16 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.457, allocations: 9.219 kB / 0.5355 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.155e-05/0.4571, allocations: 28.97 kB / 0.5356 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002848/0.4574, allocations: 239.7 kB / 0.5358 GB, free: 9.91 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.49e-05/0.4574, allocations: 17.91 kB / 0.5358 GB, free: 9.902 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.077e-05/0.4575, allocations: 24.97 kB / 0.5358 GB, free: 9.895 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007192/0.4582, allocations: 383.1 kB / 0.5362 GB, free: 9.676 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.4583, allocations: 0 / 0.5362 GB, free: 9.676 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.119e-05/0.4583, allocations: 14.5 kB / 0.5362 GB, free: 9.664 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.54e-05/0.4583, allocations: 24.3 kB / 0.5362 GB, free: 9.66 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006492/0.459, allocations: 371.8 kB / 0.5366 GB, free: 9.496 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001458/0.4605, allocations: 0.8395 MB / 0.5374 GB, free: 8.875 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005297/0.461, allocations: 265.7 kB / 0.5377 GB, free: 8.754 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002342/0.4613, allocations: 98.64 kB / 0.5377 GB, free: 8.707 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.826e-05/0.4613, allocations: 5.312 kB / 0.5378 GB, free: 8.703 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.233e-05/0.4613, allocations: 32.03 kB / 0.5378 GB, free: 8.664 MB / 398.1 MB Notification: Performance of pre-optimization done (n=16): time 1.183e-06/0.4613, allocations: 0 / 0.5378 GB, free: 8.664 MB / 398.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008635/0.4622, allocations: 337.5 kB / 0.5381 GB, free: 8.508 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.611e-05/0.4623, allocations: 53.91 kB / 0.5382 GB, free: 8.445 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004104/0.4627, allocations: 338.1 kB / 0.5385 GB, free: 8.238 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.817e-05/0.4627, allocations: 30.86 kB / 0.5385 GB, free: 8.203 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000135/0.4629, allocations: 166.8 kB / 0.5387 GB, free: 8.047 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.599e-05/0.4629, allocations: 66.73 kB / 0.5387 GB, free: 7.988 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001073/0.463, allocations: 58.34 kB / 0.5388 GB, free: 7.945 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001532/0.4632, allocations: 339.8 kB / 0.5391 GB, free: 7.613 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002463/0.4635, allocations: 98.77 kB / 0.5392 GB, free: 7.574 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004119/0.4639, allocations: 195.6 kB / 0.5394 GB, free: 7.41 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006326/0.4645, allocations: 299.8 kB / 0.5397 GB, free: 7.207 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.4645, allocations: 5.156 kB / 0.5397 GB, free: 7.203 MB / 398.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0007359/0.4653, allocations: 345.7 kB / 0.54 GB, free: 7.035 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.197e-05/0.4653, allocations: 9.031 kB / 0.54 GB, free: 7.035 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.4653, allocations: 2.625 kB / 0.54 GB, free: 7.035 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.205e-05/0.4654, allocations: 8.438 kB / 0.54 GB, free: 7.031 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005793/0.4659, allocations: 124.1 kB / 0.5401 GB, free: 6.996 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002252/0.4682, allocations: 3.657 MB / 0.5437 GB, free: 3.352 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002453/0.4685, allocations: 33.19 kB / 0.5438 GB, free: 3.332 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.726e-05/0.4685, allocations: 23.02 kB / 0.5438 GB, free: 3.32 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 6 (m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[1].roughness,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[2].roughness,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 (28): * Single equations (assignments): 22 * 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.0002888/0.4688, allocations: 184.1 kB / 0.544 GB, free: 3.164 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.178e-05/0.4689, allocations: 27.44 kB / 0.544 GB, free: 3.148 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000731/0.4696, allocations: 324.6 kB / 0.5443 GB, free: 2.973 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.278e-06/0.4696, allocations: 6.359 kB / 0.5443 GB, free: 2.969 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.812e-06/0.4697, allocations: 3.938 kB / 0.5443 GB, free: 2.965 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.4697, allocations: 5.062 kB / 0.5443 GB, free: 2.961 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003967/0.4701, allocations: 292.5 kB / 0.5446 GB, free: 2.695 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.4701, allocations: 9.344 kB / 0.5446 GB, free: 2.688 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000476/0.4706, allocations: 104.2 kB / 0.5447 GB, free: 2.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.489e-06/0.4706, allocations: 1.125 kB / 0.5447 GB, free: 2.66 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.295e-05/0.4706, allocations: 10.36 kB / 0.5447 GB, free: 2.652 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002178/0.4728, allocations: 3.643 MB / 0.5483 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.4728, allocations: 4.281 kB / 0.5483 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005504/0.4734, allocations: 355.7 kB / 0.5486 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.218e-05/0.4735, allocations: 107.2 kB / 0.5487 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.285e-05/0.4735, allocations: 0 / 0.5487 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001655/0.4737, allocations: 16.45 kB / 0.5487 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.772e-05/0.4738, allocations: 11.86 kB / 0.5487 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.093e-05/0.4738, allocations: 17.42 kB / 0.5487 GB, free: 14.64 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002589/0.4741, allocations: 241.9 kB / 0.549 GB, free: 14.49 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.4741, allocations: 0 / 0.549 GB, free: 14.49 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004347/0.4745, allocations: 67.03 kB / 0.549 GB, free: 14.48 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 (16): * Single equations (assignments): 10 * 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.0002722/0.4748, allocations: 136.1 kB / 0.5492 GB, free: 14.37 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009071/0.4757, allocations: 320.2 kB / 0.5495 GB, free: 14.15 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.4757, allocations: 0.75 kB / 0.5495 GB, free: 14.15 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005441/0.4763, allocations: 186.9 kB / 0.5497 GB, free: 13.97 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004136/0.4767, allocations: 68.78 kB / 0.5497 GB, free: 13.9 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009743/0.4777, allocations: 0.5705 MB / 0.5503 GB, free: 13.3 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003339/0.478, allocations: 0.7834 MB / 0.551 GB, free: 12.49 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001974/0.4782, allocations: 86.89 kB / 0.5511 GB, free: 12.41 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.968e-05/0.4783, allocations: 27.42 kB / 0.5512 GB, free: 12.39 MB / 414.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4783, allocations: 0 / 0.5512 GB, free: 12.39 MB / 414.1 MB Notification: Performance of Templates: time 0.009232/0.4875, allocations: 5.466 MB / 0.5565 GB, free: 6.992 MB / 414.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_turbulent_KC/kc_turbulent_KC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches