Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.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,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.|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_turbulent") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent,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.|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_turbulent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001271/0.001271, allocations: 121.8 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.002229/0.002229, allocations: 204.6 kB / 18.74 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.391/1.391, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2242/0.2242, allocations: 46.1 MB / 344.3 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001545/0.001545, allocations: 67.89 kB / 481.3 MB, free: 4.031 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4166/0.4181, allocations: 62.45 MB / 0.531 GB, free: 13.79 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.003333/0.4215, allocations: 2.023 MB / 0.533 GB, free: 12.22 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001854/0.4234, allocations: 1.162 MB / 0.5341 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.296e-05/0.4235, allocations: 1.281 kB / 0.5341 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002809/0.4238, allocations: 61.5 kB / 0.5342 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000194/0.424, allocations: 73.73 kB / 0.5343 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005321/0.4245, allocations: 178 kB / 0.5344 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003917/0.4249, allocations: 325.5 kB / 0.5347 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.551e-05/0.425, allocations: 33.36 kB / 0.5348 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002402/0.4253, allocations: 119.1 kB / 0.5349 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002212/0.4255, allocations: 141.6 kB / 0.535 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.246e-05/0.4255, allocations: 10.03 kB / 0.535 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003864/0.4259, allocations: 215.8 kB / 0.5352 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.931e-05/0.426, allocations: 69.8 kB / 0.5353 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001541/0.4262, allocations: 133.3 kB / 0.5354 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005692/0.4268, allocations: 400.5 kB / 0.5358 GB, free: 10.23 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.4268, allocations: 0 / 0.5358 GB, free: 10.23 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4268, allocations: 1.031 kB / 0.5358 GB, free: 10.23 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.522e-06/0.4268, allocations: 0 / 0.5358 GB, free: 10.23 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.001152/0.428, allocations: 0.6249 MB / 0.5364 GB, free: 9.68 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.428, allocations: 9.875 kB / 0.5364 GB, free: 9.68 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003861/0.4284, allocations: 76.83 kB / 0.5365 GB, free: 9.641 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003813/0.4288, allocations: 262.9 kB / 0.5368 GB, free: 9.383 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.246e-05/0.4288, allocations: 19.62 kB / 0.5368 GB, free: 9.375 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.111e-05/0.4289, allocations: 29.05 kB / 0.5368 GB, free: 9.363 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007491/0.4296, allocations: 436 kB / 0.5372 GB, free: 9.102 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.4297, allocations: 0 / 0.5372 GB, free: 9.102 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.832e-05/0.4297, allocations: 10.44 kB / 0.5372 GB, free: 9.094 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.868e-05/0.4297, allocations: 19.08 kB / 0.5372 GB, free: 9.09 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006838/0.4304, allocations: 325.6 kB / 0.5376 GB, free: 8.945 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001516/0.432, allocations: 1.09 MB / 0.5386 GB, free: 8.07 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005248/0.4325, allocations: 246 kB / 0.5389 GB, free: 7.918 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002959/0.4328, allocations: 110 kB / 0.539 GB, free: 7.855 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.176e-05/0.4329, allocations: 12.5 kB / 0.539 GB, free: 7.848 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.387e-05/0.4329, allocations: 35.59 kB / 0.539 GB, free: 7.805 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 2.104e-06/0.4329, allocations: 0 / 0.539 GB, free: 7.805 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.001071/0.434, allocations: 359.2 kB / 0.5394 GB, free: 7.637 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.054e-05/0.4341, allocations: 109 kB / 0.5395 GB, free: 7.508 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004555/0.4345, allocations: 405 kB / 0.5398 GB, free: 7.262 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.117e-05/0.4345, allocations: 26.83 kB / 0.5399 GB, free: 7.23 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001311/0.4347, allocations: 193.1 kB / 0.5401 GB, free: 7.051 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.589e-05/0.4347, allocations: 54.78 kB / 0.5401 GB, free: 7.004 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001057/0.4349, allocations: 60.94 kB / 0.5402 GB, free: 6.961 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001311/0.435, allocations: 348.4 kB / 0.5405 GB, free: 6.621 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003023/0.4353, allocations: 117.6 kB / 0.5406 GB, free: 6.574 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003794/0.4357, allocations: 240.4 kB / 0.5408 GB, free: 6.363 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007371/0.4364, allocations: 370.2 kB / 0.5412 GB, free: 6.094 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.4365, allocations: 1.094 kB / 0.5412 GB, free: 6.094 MB / 398.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008543/0.4373, allocations: 399.3 kB / 0.5416 GB, free: 5.902 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.4373, allocations: 7.281 kB / 0.5416 GB, free: 5.902 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.691e-05/0.4374, allocations: 21.53 kB / 0.5416 GB, free: 5.898 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.069e-05/0.4374, allocations: 4.906 kB / 0.5416 GB, free: 5.898 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002422/0.4377, allocations: 49.14 kB / 0.5417 GB, free: 5.883 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.509e-05/0.4377, allocations: 13.56 kB / 0.5417 GB, free: 5.875 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002652/0.438, allocations: 57.34 kB / 0.5417 GB, free: 5.84 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.572e-05/0.438, allocations: 17.25 kB / 0.5417 GB, free: 5.836 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (27): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.0001745/0.4382, allocations: 173.6 kB / 0.5419 GB, free: 5.691 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.203e-05/0.4383, allocations: 29.22 kB / 0.5419 GB, free: 5.676 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006149/0.4389, allocations: 294.7 kB / 0.5422 GB, free: 5.512 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.124e-06/0.4389, allocations: 3.031 kB / 0.5422 GB, free: 5.512 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.236e-06/0.4389, allocations: 4.969 kB / 0.5422 GB, free: 5.508 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.4389, allocations: 0.9375 kB / 0.5422 GB, free: 5.508 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004472/0.4394, allocations: 298.9 kB / 0.5425 GB, free: 5.238 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.413e-05/0.4394, allocations: 18.06 kB / 0.5425 GB, free: 5.234 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001442/0.4396, allocations: 23.97 kB / 0.5425 GB, free: 5.227 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.4396, allocations: 1.688 kB / 0.5425 GB, free: 5.227 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.584e-05/0.4396, allocations: 20.64 kB / 0.5426 GB, free: 5.211 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.4396, allocations: 1.719 kB / 0.5426 GB, free: 5.211 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.4396, allocations: 7.875 kB / 0.5426 GB, free: 5.203 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007236/0.4404, allocations: 0.4947 MB / 0.5431 GB, free: 4.828 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001146/0.4405, allocations: 120.5 kB / 0.5432 GB, free: 4.703 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.443e-05/0.4406, allocations: 5.031 kB / 0.5432 GB, free: 4.699 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002506/0.4408, allocations: 13.86 kB / 0.5432 GB, free: 4.695 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.398e-05/0.4409, allocations: 21.05 kB / 0.5432 GB, free: 4.684 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.938e-05/0.4409, allocations: 9.391 kB / 0.5432 GB, free: 4.68 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002935/0.4412, allocations: 288.9 kB / 0.5435 GB, free: 4.504 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4412, allocations: 4 kB / 0.5435 GB, free: 4.5 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005859/0.4418, allocations: 99.27 kB / 0.5436 GB, free: 4.457 MB / 398.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 (11): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.0002966/0.4421, allocations: 155.1 kB / 0.5437 GB, free: 4.293 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008557/0.443, allocations: 435.2 kB / 0.5442 GB, free: 3.832 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.443, allocations: 64 / 0.5442 GB, free: 3.832 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003607/0.4434, allocations: 274 kB / 0.5444 GB, free: 3.527 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000571/0.444, allocations: 73.64 kB / 0.5445 GB, free: 3.457 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001123/0.4451, allocations: 0.6006 MB / 0.5451 GB, free: 2.824 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003291/0.4454, allocations: 0.8026 MB / 0.5459 GB, free: 1.996 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000146/0.4456, allocations: 66.91 kB / 0.5459 GB, free: 1.934 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.823e-05/0.4457, allocations: 27.42 kB / 0.5459 GB, free: 1.906 MB / 398.1 MB Notification: Performance of SimCode: time 3.6e-07/0.4457, allocations: 0 / 0.5459 GB, free: 1.906 MB / 398.1 MB Notification: Performance of Templates: time 0.009835/0.4555, allocations: 5.884 MB / 0.5517 GB, free: 12.1 MB / 414.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_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_turbulent.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches