Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001263/0.001263, allocations: 117.2 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001202/0.001202, allocations: 184.2 kB / 18.72 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.398/1.398, allocations: 222.9 MB / 242.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2244/0.2244, allocations: 44.19 MB / 336.8 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001843/0.001843, allocations: 63.89 kB / 470.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3548/0.3566, allocations: 60.83 MB / 0.5185 GB, free: 3.301 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.003078/0.3597, allocations: 2.002 MB / 0.5204 GB, free: 1.918 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001552/0.3613, allocations: 1.075 MB / 0.5215 GB, free: 1.168 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.65e-05/0.3614, allocations: 1.031 kB / 0.5215 GB, free: 1.168 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002751/0.3617, allocations: 59.69 kB / 0.5215 GB, free: 1.137 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001827/0.3619, allocations: 74.56 kB / 0.5216 GB, free: 1.094 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005187/0.3624, allocations: 163.1 kB / 0.5217 GB, free: 1.023 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003431/0.3628, allocations: 326.4 kB / 0.5221 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.669e-05/0.3629, allocations: 34.5 kB / 0.5221 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001573/0.363, allocations: 112.1 kB / 0.5222 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002002/0.3632, allocations: 142.4 kB / 0.5223 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.421e-05/0.3633, allocations: 10.03 kB / 0.5223 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003508/0.3636, allocations: 194.8 kB / 0.5225 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.164e-05/0.3637, allocations: 70.05 kB / 0.5226 GB, free: 0.668 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001163/0.3639, allocations: 130 kB / 0.5227 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004987/0.3644, allocations: 393.7 kB / 0.5231 GB, free: 444 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.3644, allocations: 0 / 0.5231 GB, free: 444 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.3644, allocations: 1.594 kB / 0.5231 GB, free: 444 kB / 382.1 MB Notification: Performance of Transformations before backend: time 6.081e-06/0.3644, allocations: 0 / 0.5231 GB, free: 444 kB / 382.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.001084/0.3655, allocations: 0.6244 MB / 0.5237 GB, free: 15.93 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.3655, allocations: 9.906 kB / 0.5237 GB, free: 15.93 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.807e-05/0.3656, allocations: 70.12 kB / 0.5238 GB, free: 15.88 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.826e-05/0.3657, allocations: 35.33 kB / 0.5238 GB, free: 15.86 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003256/0.366, allocations: 263 kB / 0.5241 GB, free: 15.61 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.717e-05/0.3661, allocations: 19.75 kB / 0.5241 GB, free: 15.6 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.688e-05/0.3661, allocations: 27.88 kB / 0.5241 GB, free: 15.59 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007996/0.3669, allocations: 437.7 kB / 0.5245 GB, free: 15.42 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.507e-05/0.367, allocations: 0.7031 kB / 0.5245 GB, free: 15.42 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.943e-05/0.367, allocations: 14.88 kB / 0.5245 GB, free: 15.41 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.092e-05/0.367, allocations: 15.8 kB / 0.5246 GB, free: 15.41 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007366/0.3678, allocations: 322.3 kB / 0.5249 GB, free: 15.34 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001545/0.3693, allocations: 1.098 MB / 0.5259 GB, free: 14.61 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000506/0.3699, allocations: 245.8 kB / 0.5262 GB, free: 14.5 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002919/0.3702, allocations: 111.2 kB / 0.5263 GB, free: 14.45 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.329e-05/0.3702, allocations: 7.953 kB / 0.5263 GB, free: 14.45 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.391e-05/0.3702, allocations: 43.73 kB / 0.5263 GB, free: 14.4 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.693e-06/0.3703, allocations: 1.281 kB / 0.5263 GB, free: 14.4 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.001042/0.3713, allocations: 358.8 kB / 0.5267 GB, free: 14.23 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.809e-05/0.3714, allocations: 112.1 kB / 0.5268 GB, free: 14.1 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004625/0.3719, allocations: 396.3 kB / 0.5272 GB, free: 13.86 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.901e-05/0.3719, allocations: 30.67 kB / 0.5272 GB, free: 13.82 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001608/0.3721, allocations: 193.6 kB / 0.5274 GB, free: 13.64 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.405e-05/0.3721, allocations: 54.06 kB / 0.5274 GB, free: 13.6 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001148/0.3723, allocations: 63.08 kB / 0.5275 GB, free: 13.55 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001753/0.3724, allocations: 342.4 kB / 0.5278 GB, free: 13.22 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003066/0.3728, allocations: 118.8 kB / 0.5279 GB, free: 13.17 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004012/0.3732, allocations: 239.8 kB / 0.5282 GB, free: 12.96 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007247/0.3739, allocations: 365.7 kB / 0.5285 GB, free: 12.7 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.3739, allocations: 1.125 kB / 0.5285 GB, free: 12.7 MB / 398.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008851/0.3748, allocations: 403.9 kB / 0.5289 GB, free: 12.5 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.3748, allocations: 6.875 kB / 0.5289 GB, free: 12.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.605e-05/0.3749, allocations: 21.81 kB / 0.5289 GB, free: 12.5 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/0.3749, allocations: 6 kB / 0.5289 GB, free: 12.5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000263/0.3752, allocations: 52.48 kB / 0.529 GB, free: 12.48 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.406e-05/0.3752, allocations: 9.281 kB / 0.529 GB, free: 12.47 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003001/0.3755, allocations: 65.47 kB / 0.529 GB, free: 12.43 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.581e-05/0.3756, allocations: 16.72 kB / 0.5291 GB, free: 12.43 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.0002055/0.3758, allocations: 174.7 kB / 0.5292 GB, free: 12.28 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.022e-05/0.3759, allocations: 29.16 kB / 0.5293 GB, free: 12.26 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006357/0.3765, allocations: 283.9 kB / 0.5295 GB, free: 12.11 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.337e-06/0.3765, allocations: 7.219 kB / 0.5295 GB, free: 12.11 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.3765, allocations: 0 / 0.5295 GB, free: 12.11 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.3765, allocations: 1.5 kB / 0.5295 GB, free: 12.11 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000505/0.3771, allocations: 301.5 kB / 0.5298 GB, free: 11.83 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.606e-05/0.3771, allocations: 23.05 kB / 0.5298 GB, free: 11.82 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001519/0.3773, allocations: 27.5 kB / 0.5299 GB, free: 11.81 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.3773, allocations: 0.8125 kB / 0.5299 GB, free: 11.81 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.291e-05/0.3773, allocations: 9.375 kB / 0.5299 GB, free: 11.81 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.152e-06/0.3773, allocations: 4.938 kB / 0.5299 GB, free: 11.8 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.726e-06/0.3773, allocations: 4.969 kB / 0.5299 GB, free: 11.8 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007709/0.3781, allocations: 0.4901 MB / 0.5304 GB, free: 11.43 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001059/0.3782, allocations: 124 kB / 0.5305 GB, free: 11.3 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.693e-05/0.3783, allocations: 2.188 kB / 0.5305 GB, free: 11.3 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002655/0.3785, allocations: 21.75 kB / 0.5305 GB, free: 11.29 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.621e-05/0.3786, allocations: 24.75 kB / 0.5305 GB, free: 11.27 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.066e-05/0.3786, allocations: 9.688 kB / 0.5305 GB, free: 11.27 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003257/0.379, allocations: 283.3 kB / 0.5308 GB, free: 11.1 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.379, allocations: 1.219 kB / 0.5308 GB, free: 11.1 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000567/0.3796, allocations: 97.8 kB / 0.5309 GB, free: 11.08 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.001256/0.3808, allocations: 1.099 MB / 0.532 GB, free: 10.13 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000822/0.3817, allocations: 432.9 kB / 0.5324 GB, free: 9.832 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3817, allocations: 0 / 0.5324 GB, free: 9.832 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004038/0.3821, allocations: 278.2 kB / 0.5327 GB, free: 9.594 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006/0.3827, allocations: 71.3 kB / 0.5327 GB, free: 9.559 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005462/0.3882, allocations: 3.83 MB / 0.5365 GB, free: 6.852 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004665/0.3887, allocations: 0.8051 MB / 0.5372 GB, free: 6.094 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001978/0.3889, allocations: 60.3 kB / 0.5373 GB, free: 6.07 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001353/0.389, allocations: 84.47 kB / 0.5374 GB, free: 6 MB / 398.1 MB Notification: Performance of SimCode: time 1.152e-05/0.389, allocations: 5.344 kB / 0.5374 GB, free: 5.996 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03291/0.4219, allocations: 9.055 MB / 0.5462 GB, free: 15.08 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.288/8.71, allocations: 4.422 kB / 0.5462 GB, free: 15.08 MB / 414.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_res.csv","/var/lib/jenkins1/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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches