Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.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.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_turbulent_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_turbulent_DPMFLOW",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.001528/0.001528, allocations: 108.8 kB / 17.77 MB, free: 5.266 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.001867/0.001867, allocations: 184.1 kB / 18.71 MB, free: 4.34 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.356/1.356, allocations: 222.9 MB / 242.4 MB, free: 15.04 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.1977/0.1977, allocations: 44.2 MB / 336.8 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 63.91 kB / 470.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3547/0.3559, allocations: 60.82 MB / 0.5185 GB, free: 3.297 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW): time 0.002505/0.3585, allocations: 1.812 MB / 0.5202 GB, free: 2.051 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002064/0.3606, allocations: 1.641 MB / 0.5218 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.86e-05/0.3607, allocations: 2.281 kB / 0.5218 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002343/0.3609, allocations: 50.3 kB / 0.5219 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002845/0.3612, allocations: 76 kB / 0.5219 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007604/0.362, allocations: 401.1 kB / 0.5223 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002637/0.3622, allocations: 245 kB / 0.5226 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.104e-05/0.3623, allocations: 30.22 kB / 0.5226 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001703/0.3625, allocations: 112.3 kB / 0.5227 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001685/0.3627, allocations: 118.8 kB / 0.5228 GB, free: 492 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.56e-05/0.3627, allocations: 7.812 kB / 0.5228 GB, free: 492 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001061/0.3638, allocations: 0.7077 MB / 0.5235 GB, free: 232 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001044/0.3639, allocations: 65.67 kB / 0.5236 GB, free: 208 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001021/0.364, allocations: 111.7 kB / 0.5237 GB, free: 140 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000874/0.3649, allocations: 0.6146 MB / 0.5243 GB, free: 15.9 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.3649, allocations: 0.7031 kB / 0.5243 GB, free: 15.9 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3649, allocations: 0 / 0.5243 GB, free: 15.9 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.772e-06/0.3649, allocations: 0 / 0.5243 GB, free: 15.9 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.000966/0.3659, allocations: 0.6362 MB / 0.5249 GB, free: 15.38 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.3659, allocations: 9.281 kB / 0.5249 GB, free: 15.38 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.118e-05/0.366, allocations: 74.02 kB / 0.525 GB, free: 15.32 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.252e-05/0.3661, allocations: 34.02 kB / 0.525 GB, free: 15.3 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003008/0.3664, allocations: 241.8 kB / 0.5252 GB, free: 15.07 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.552e-05/0.3664, allocations: 23.5 kB / 0.5253 GB, free: 15.05 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.026e-05/0.3665, allocations: 32.42 kB / 0.5253 GB, free: 15.04 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000754/0.3672, allocations: 467.7 kB / 0.5257 GB, free: 14.88 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.3673, allocations: 4 kB / 0.5257 GB, free: 14.87 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.911e-05/0.3673, allocations: 6.75 kB / 0.5258 GB, free: 14.87 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.427e-05/0.3674, allocations: 48.52 kB / 0.5258 GB, free: 14.86 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008384/0.3682, allocations: 0.5521 MB / 0.5263 GB, free: 14.63 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001792/0.37, allocations: 1.302 MB / 0.5276 GB, free: 13.56 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005434/0.3706, allocations: 269.9 kB / 0.5279 GB, free: 13.44 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001972/0.3708, allocations: 105.8 kB / 0.528 GB, free: 13.38 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.523e-05/0.3708, allocations: 17.42 kB / 0.528 GB, free: 13.37 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.151e-05/0.3709, allocations: 39.66 kB / 0.528 GB, free: 13.32 MB / 398.1 MB Notification: Performance of pre-optimization done (n=25): time 2.625e-06/0.3709, allocations: 0 / 0.528 GB, free: 13.32 MB / 398.1 MB Notification: Performance of matching and sorting (n=25): time 0.000728/0.3716, allocations: 334.5 kB / 0.5283 GB, free: 13.16 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.409e-05/0.3716, allocations: 62.05 kB / 0.5284 GB, free: 13.09 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001316/0.3718, allocations: 139.3 kB / 0.5285 GB, free: 12.97 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.552e-05/0.3718, allocations: 30.77 kB / 0.5286 GB, free: 12.93 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001113/0.3719, allocations: 196.2 kB / 0.5288 GB, free: 12.75 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.392e-05/0.372, allocations: 94.42 kB / 0.5288 GB, free: 12.67 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001001/0.3721, allocations: 70.73 kB / 0.5289 GB, free: 12.62 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001084/0.3722, allocations: 328.1 kB / 0.5292 GB, free: 12.3 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001958/0.3724, allocations: 90.48 kB / 0.5293 GB, free: 12.26 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002476/0.3727, allocations: 168.8 kB / 0.5295 GB, free: 12.12 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004836/0.3732, allocations: 292.3 kB / 0.5297 GB, free: 11.92 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.3732, allocations: 1.125 kB / 0.5297 GB, free: 11.92 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005677/0.3738, allocations: 331.2 kB / 0.5301 GB, free: 11.75 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.3738, allocations: 6.25 kB / 0.5301 GB, free: 11.75 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.3738, allocations: 2.25 kB / 0.5301 GB, free: 11.75 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.3738, allocations: 4.562 kB / 0.5301 GB, free: 11.75 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004789/0.3743, allocations: 122.1 kB / 0.5302 GB, free: 11.72 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001177/0.3755, allocations: 2.365 MB / 0.5325 GB, free: 9.324 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001725/0.3757, allocations: 42.92 kB / 0.5325 GB, free: 9.293 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.881e-05/0.3757, allocations: 20.17 kB / 0.5326 GB, free: 9.285 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 1 (roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * 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): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001851/0.3759, allocations: 168 kB / 0.5327 GB, free: 9.145 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.618e-05/0.376, allocations: 14.66 kB / 0.5327 GB, free: 9.137 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007133/0.3767, allocations: 357.1 kB / 0.5331 GB, free: 8.938 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.3767, allocations: 6.766 kB / 0.5331 GB, free: 8.934 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.3767, allocations: 5.469 kB / 0.5331 GB, free: 8.93 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.3767, allocations: 3.938 kB / 0.5331 GB, free: 8.926 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003703/0.3771, allocations: 335.9 kB / 0.5334 GB, free: 8.641 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/0.3771, allocations: 3.984 kB / 0.5334 GB, free: 8.637 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004043/0.3775, allocations: 99.61 kB / 0.5335 GB, free: 8.613 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.232e-06/0.3775, allocations: 2.125 kB / 0.5335 GB, free: 8.613 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.106e-05/0.3776, allocations: 16.27 kB / 0.5335 GB, free: 8.602 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001133/0.3787, allocations: 2.362 MB / 0.5358 GB, free: 6.207 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.3787, allocations: 0 / 0.5358 GB, free: 6.207 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005366/0.3792, allocations: 379.5 kB / 0.5362 GB, free: 5.961 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.012e-05/0.3793, allocations: 101.5 kB / 0.5363 GB, free: 5.848 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.232e-05/0.3794, allocations: 5.25 kB / 0.5363 GB, free: 5.844 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001427/0.3795, allocations: 8.938 kB / 0.5363 GB, free: 5.84 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.448e-05/0.3796, allocations: 26.56 kB / 0.5363 GB, free: 5.824 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.883e-05/0.3796, allocations: 7.75 kB / 0.5363 GB, free: 5.824 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.529e-05/0.3797, allocations: 108.8 kB / 0.5364 GB, free: 5.73 MB / 398.1 MB Notification: Performance of sort global known variables: time 2e-07/0.3797, allocations: 0 / 0.5364 GB, free: 5.73 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006601/0.3803, allocations: 168.9 kB / 0.5366 GB, free: 5.668 MB / 398.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 (29): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * 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): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001185/0.3815, allocations: 1.029 MB / 0.5376 GB, free: 4.824 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000739/0.3823, allocations: 296.3 kB / 0.5379 GB, free: 4.715 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3823, allocations: 1.188 kB / 0.5379 GB, free: 4.715 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004265/0.3827, allocations: 178.8 kB / 0.5381 GB, free: 4.648 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003275/0.3831, allocations: 16.12 kB / 0.5381 GB, free: 4.641 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003072/0.3862, allocations: 2.558 MB / 0.5406 GB, free: 2.625 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003534/0.3865, allocations: 0.7987 MB / 0.5414 GB, free: 1.879 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002412/0.3868, allocations: 98.19 kB / 0.5415 GB, free: 1.832 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001276/0.3869, allocations: 94.56 kB / 0.5415 GB, free: 1.754 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3869, allocations: 0 / 0.5415 GB, free: 1.754 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02672/0.4136, allocations: 7.074 MB / 0.5485 GB, free: 12.77 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/11.73, allocations: 26.91 kB / 0.5485 GB, free: 12.75 MB / 414.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.0002 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_turbulent_DPMFLOW.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/StraightPipe/dp_turbulent_DPMFLOW/dp_turbulent_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches