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.001595/0.001595, allocations: 110.4 kB / 17.78 MB, free: 5.312 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.001906/0.001906, allocations: 187.1 kB / 18.71 MB, free: 4.387 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.312/1.312, allocations: 222.9 MB / 242.4 MB, free: 15.2 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.2071/0.2071, allocations: 44.19 MB / 336.8 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00138/0.00138, allocations: 63.89 kB / 470.1 MB, free: 13.67 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3683/0.3697, allocations: 60.83 MB / 0.5184 GB, free: 3.305 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW): time 0.002749/0.3725, allocations: 1.816 MB / 0.5202 GB, free: 2.055 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002173/0.3747, allocations: 1.633 MB / 0.5218 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.338e-05/0.3747, allocations: 6.094 kB / 0.5218 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002297/0.375, allocations: 50.06 kB / 0.5219 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002561/0.3752, allocations: 76.17 kB / 0.5219 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000721/0.376, allocations: 405.3 kB / 0.5223 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002502/0.3762, allocations: 240.6 kB / 0.5226 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.887e-05/0.3763, allocations: 33.8 kB / 0.5226 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001429/0.3764, allocations: 104 kB / 0.5227 GB, free: 0.543 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001598/0.3766, allocations: 118.5 kB / 0.5228 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.179e-05/0.3766, allocations: 9 kB / 0.5228 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001026/0.3777, allocations: 0.7027 MB / 0.5235 GB, free: 248 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000105/0.3778, allocations: 65.55 kB / 0.5236 GB, free: 224 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001201/0.3779, allocations: 117.2 kB / 0.5237 GB, free: 152 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008806/0.3788, allocations: 0.6169 MB / 0.5243 GB, free: 15.91 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3788, allocations: 0 / 0.5243 GB, free: 15.91 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.3788, allocations: 0 / 0.5243 GB, free: 15.91 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.776e-06/0.3788, allocations: 0 / 0.5243 GB, free: 15.91 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.0009406/0.3798, allocations: 0.6249 MB / 0.5249 GB, free: 15.4 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.3798, allocations: 8.75 kB / 0.5249 GB, free: 15.4 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.278e-05/0.3799, allocations: 82.19 kB / 0.525 GB, free: 15.34 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.023e-05/0.38, allocations: 31.56 kB / 0.525 GB, free: 15.32 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000304/0.3803, allocations: 240.5 kB / 0.5252 GB, free: 15.09 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.944e-05/0.3803, allocations: 22.7 kB / 0.5253 GB, free: 15.08 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.483e-05/0.3804, allocations: 25.86 kB / 0.5253 GB, free: 15.07 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007493/0.3811, allocations: 467.1 kB / 0.5257 GB, free: 14.91 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.3812, allocations: 0 / 0.5257 GB, free: 14.91 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.84e-05/0.3812, allocations: 10.17 kB / 0.5257 GB, free: 14.9 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.143e-05/0.3813, allocations: 52.17 kB / 0.5258 GB, free: 14.89 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008/0.3821, allocations: 0.5502 MB / 0.5263 GB, free: 14.65 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001807/0.3839, allocations: 1.297 MB / 0.5276 GB, free: 13.59 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005133/0.3844, allocations: 278.1 kB / 0.5279 GB, free: 13.46 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001957/0.3846, allocations: 94.64 kB / 0.5279 GB, free: 13.41 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.914e-05/0.3847, allocations: 16.25 kB / 0.528 GB, free: 13.4 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.687e-05/0.3847, allocations: 39.98 kB / 0.528 GB, free: 13.36 MB / 398.1 MB Notification: Performance of pre-optimization done (n=25): time 1.382e-06/0.3847, allocations: 7.938 kB / 0.528 GB, free: 13.35 MB / 398.1 MB Notification: Performance of matching and sorting (n=25): time 0.000729/0.3854, allocations: 334 kB / 0.5283 GB, free: 13.19 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.923e-05/0.3855, allocations: 54.84 kB / 0.5284 GB, free: 13.12 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001122/0.3856, allocations: 148.1 kB / 0.5285 GB, free: 12.99 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.178e-05/0.3856, allocations: 30.8 kB / 0.5285 GB, free: 12.95 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/0.3857, allocations: 188.5 kB / 0.5287 GB, free: 12.78 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.996e-05/0.3858, allocations: 94.27 kB / 0.5288 GB, free: 12.7 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001033/0.3859, allocations: 66.12 kB / 0.5289 GB, free: 12.66 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001155/0.386, allocations: 323.6 kB / 0.5292 GB, free: 12.34 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001877/0.3862, allocations: 91.58 kB / 0.5293 GB, free: 12.3 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002358/0.3865, allocations: 172.2 kB / 0.5294 GB, free: 12.15 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000449/0.3869, allocations: 280.7 kB / 0.5297 GB, free: 11.96 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.3869, allocations: 5.656 kB / 0.5297 GB, free: 11.96 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005803/0.3875, allocations: 329.7 kB / 0.53 GB, free: 11.79 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.3876, allocations: 5.906 kB / 0.53 GB, free: 11.79 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.3876, allocations: 3.406 kB / 0.53 GB, free: 11.79 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.979e-05/0.3876, allocations: 9 kB / 0.53 GB, free: 11.79 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004584/0.3881, allocations: 121.1 kB / 0.5302 GB, free: 11.75 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001116/0.3892, allocations: 2.357 MB / 0.5325 GB, free: 9.367 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001649/0.3894, allocations: 37.77 kB / 0.5325 GB, free: 9.34 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.874e-05/0.3894, allocations: 16.44 kB / 0.5325 GB, free: 9.336 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.0001708/0.3896, allocations: 185.3 kB / 0.5327 GB, free: 9.176 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.375e-05/0.3896, allocations: 10.59 kB / 0.5327 GB, free: 9.172 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007438/0.3904, allocations: 365 kB / 0.533 GB, free: 8.965 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.3904, allocations: 2.906 kB / 0.533 GB, free: 8.965 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.3904, allocations: 0 / 0.533 GB, free: 8.965 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/0.3904, allocations: 9.203 kB / 0.5331 GB, free: 8.957 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003595/0.3908, allocations: 330.7 kB / 0.5334 GB, free: 8.676 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.3908, allocations: 1.625 kB / 0.5334 GB, free: 8.676 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000397/0.3912, allocations: 111.5 kB / 0.5335 GB, free: 8.641 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.566e-06/0.3912, allocations: 1.438 kB / 0.5335 GB, free: 8.641 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.982e-05/0.3912, allocations: 7.125 kB / 0.5335 GB, free: 8.637 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00125/0.3925, allocations: 2.367 MB / 0.5358 GB, free: 6.238 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.3925, allocations: 3.938 kB / 0.5358 GB, free: 6.234 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005132/0.393, allocations: 375.8 kB / 0.5362 GB, free: 5.992 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.917e-05/0.3931, allocations: 93.33 kB / 0.5363 GB, free: 5.887 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.752e-05/0.3931, allocations: 1.969 kB / 0.5363 GB, free: 5.887 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001541/0.3933, allocations: 12.61 kB / 0.5363 GB, free: 5.879 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.294e-05/0.3933, allocations: 23.38 kB / 0.5363 GB, free: 5.867 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.019e-05/0.3934, allocations: 11.03 kB / 0.5363 GB, free: 5.863 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.026e-05/0.3934, allocations: 107 kB / 0.5364 GB, free: 5.773 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3934, allocations: 1.344 kB / 0.5364 GB, free: 5.773 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006585/0.3941, allocations: 176 kB / 0.5366 GB, free: 5.703 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.001205/0.3953, allocations: 1.03 MB / 0.5376 GB, free: 4.859 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007083/0.396, allocations: 289.9 kB / 0.5379 GB, free: 4.758 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.396, allocations: 4 kB / 0.5379 GB, free: 4.754 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004385/0.3965, allocations: 178.8 kB / 0.538 GB, free: 4.688 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003312/0.3968, allocations: 20.48 kB / 0.538 GB, free: 4.672 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002992/0.3998, allocations: 2.525 MB / 0.5405 GB, free: 2.688 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003522/0.4002, allocations: 0.8023 MB / 0.5413 GB, free: 1.938 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002479/0.4005, allocations: 106.3 kB / 0.5414 GB, free: 1.883 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001337/0.4006, allocations: 87.06 kB / 0.5415 GB, free: 1.812 MB / 398.1 MB Notification: Performance of SimCode: time 2.6e-07/0.4006, allocations: 0 / 0.5415 GB, free: 1.812 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02464/0.4252, allocations: 7.162 MB / 0.5485 GB, free: 12.74 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/11.84, allocations: 14.61 kB / 0.5485 GB, free: 12.73 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_turbulent_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 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.mat","/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