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_overall_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_overall_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_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.001515/0.001515, allocations: 113.8 kB / 17.78 MB, free: 5.281 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.001641/0.001641, allocations: 179.9 kB / 18.71 MB, free: 4.363 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.393/1.393, allocations: 222.9 MB / 242.4 MB, free: 15.09 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.2182/0.2182, allocations: 44.19 MB / 336.8 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002068/0.002069, allocations: 63.89 kB / 470.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3519/0.354, allocations: 60.82 MB / 0.5185 GB, free: 3.309 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW): time 0.00258/0.3566, allocations: 1.815 MB / 0.5202 GB, free: 2.059 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003296/0.36, allocations: 2.859 MB / 0.523 GB, free: 84 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.377e-05/0.3601, allocations: 1.062 kB / 0.523 GB, free: 84 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002246/0.3603, allocations: 46.06 kB / 0.5231 GB, free: 60 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002602/0.3606, allocations: 92.02 kB / 0.5232 GB, free: 4 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00163/0.3622, allocations: 0.7126 MB / 0.5238 GB, free: 15.73 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003082/0.3625, allocations: 235.9 kB / 0.5241 GB, free: 15.63 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.258e-05/0.3626, allocations: 31.62 kB / 0.5241 GB, free: 15.61 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001926/0.3628, allocations: 111.7 kB / 0.5242 GB, free: 15.56 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001768/0.363, allocations: 118.4 kB / 0.5243 GB, free: 15.51 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.72e-05/0.363, allocations: 8.969 kB / 0.5243 GB, free: 15.51 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00204/0.3651, allocations: 1.206 MB / 0.5255 GB, free: 15.08 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001158/0.3652, allocations: 77.73 kB / 0.5256 GB, free: 15.05 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000137/0.3654, allocations: 108.2 kB / 0.5257 GB, free: 14.98 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001391/0.3668, allocations: 0.9203 MB / 0.5266 GB, free: 14.42 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.3668, allocations: 0 / 0.5266 GB, free: 14.42 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3668, allocations: 0 / 0.5266 GB, free: 14.42 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.152e-05/0.3668, allocations: 0 / 0.5266 GB, free: 14.42 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.00104/0.3678, allocations: 0.6792 MB / 0.5272 GB, free: 13.81 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.3679, allocations: 13.62 kB / 0.5273 GB, free: 13.81 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.072e-05/0.368, allocations: 80.45 kB / 0.5273 GB, free: 13.73 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.963e-05/0.3681, allocations: 33.08 kB / 0.5274 GB, free: 13.71 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002653/0.3683, allocations: 242.8 kB / 0.5276 GB, free: 13.47 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.341e-05/0.3684, allocations: 23.23 kB / 0.5276 GB, free: 13.46 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.793e-05/0.3684, allocations: 25.22 kB / 0.5276 GB, free: 13.45 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007355/0.3691, allocations: 463.2 kB / 0.5281 GB, free: 13.2 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.3692, allocations: 3.938 kB / 0.5281 GB, free: 13.2 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.142e-05/0.3692, allocations: 14.61 kB / 0.5281 GB, free: 13.19 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.124e-05/0.3693, allocations: 50.38 kB / 0.5282 GB, free: 13.17 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008596/0.3701, allocations: 0.5444 MB / 0.5287 GB, free: 12.94 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001887/0.372, allocations: 1.314 MB / 0.53 GB, free: 11.86 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005423/0.3726, allocations: 266.7 kB / 0.5302 GB, free: 11.74 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000207/0.3728, allocations: 101.7 kB / 0.5303 GB, free: 11.69 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.972e-05/0.3729, allocations: 12.34 kB / 0.5303 GB, free: 11.68 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.737e-05/0.3729, allocations: 35.95 kB / 0.5304 GB, free: 11.64 MB / 398.1 MB Notification: Performance of pre-optimization done (n=25): time 1.673e-06/0.3729, allocations: 0 / 0.5304 GB, free: 11.64 MB / 398.1 MB Notification: Performance of matching and sorting (n=25): time 0.0007712/0.3737, allocations: 333.9 kB / 0.5307 GB, free: 11.48 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.694e-05/0.3737, allocations: 54.69 kB / 0.5307 GB, free: 11.41 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001287/0.3739, allocations: 148.1 kB / 0.5309 GB, free: 11.28 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.617e-05/0.3739, allocations: 31.05 kB / 0.5309 GB, free: 11.25 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001331/0.374, allocations: 203.8 kB / 0.5311 GB, free: 11.06 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.208e-05/0.3741, allocations: 86.45 kB / 0.5312 GB, free: 10.98 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001038/0.3742, allocations: 71.77 kB / 0.5313 GB, free: 10.94 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001579/0.3744, allocations: 327 kB / 0.5316 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002103/0.3746, allocations: 87.17 kB / 0.5316 GB, free: 10.58 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002652/0.3749, allocations: 168.3 kB / 0.5318 GB, free: 10.44 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005296/0.3754, allocations: 291.9 kB / 0.5321 GB, free: 10.24 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.3754, allocations: 1.188 kB / 0.5321 GB, free: 10.24 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006229/0.3761, allocations: 332.2 kB / 0.5324 GB, free: 10.07 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.3761, allocations: 9.344 kB / 0.5324 GB, free: 10.07 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.433e-06/0.3761, allocations: 7 kB / 0.5324 GB, free: 10.06 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.908e-05/0.3761, allocations: 5.25 kB / 0.5324 GB, free: 10.06 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004714/0.3766, allocations: 117.8 kB / 0.5325 GB, free: 10.03 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001446/0.3781, allocations: 2.363 MB / 0.5348 GB, free: 7.637 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001863/0.3783, allocations: 38.86 kB / 0.5349 GB, free: 7.609 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.701e-05/0.3783, allocations: 23.28 kB / 0.5349 GB, free: 7.602 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.0001983/0.3785, allocations: 174.3 kB / 0.5351 GB, free: 7.449 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.242e-05/0.3786, allocations: 11.08 kB / 0.5351 GB, free: 7.445 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008149/0.3794, allocations: 367.8 kB / 0.5354 GB, free: 7.234 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.3794, allocations: 4.188 kB / 0.5354 GB, free: 7.234 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.3794, allocations: 0 / 0.5354 GB, free: 7.234 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/0.3794, allocations: 7.922 kB / 0.5354 GB, free: 7.227 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004288/0.3799, allocations: 339.6 kB / 0.5358 GB, free: 6.938 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.3799, allocations: 1.094 kB / 0.5358 GB, free: 6.938 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004067/0.3803, allocations: 107.2 kB / 0.5359 GB, free: 6.906 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.3803, allocations: 2.25 kB / 0.5359 GB, free: 6.906 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.235e-05/0.3803, allocations: 11.59 kB / 0.5359 GB, free: 6.898 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001365/0.3817, allocations: 2.361 MB / 0.5382 GB, free: 4.504 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.3817, allocations: 0 / 0.5382 GB, free: 4.504 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006255/0.3823, allocations: 385.1 kB / 0.5386 GB, free: 4.254 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.234e-05/0.3824, allocations: 93.2 kB / 0.5386 GB, free: 4.148 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.456e-05/0.3825, allocations: 5.25 kB / 0.5387 GB, free: 4.145 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001509/0.3826, allocations: 13.67 kB / 0.5387 GB, free: 4.137 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001011/0.3827, allocations: 18.59 kB / 0.5387 GB, free: 4.129 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.947e-05/0.3828, allocations: 11.66 kB / 0.5387 GB, free: 4.125 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.286e-05/0.3829, allocations: 108.1 kB / 0.5388 GB, free: 4.031 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3829, allocations: 0 / 0.5388 GB, free: 4.031 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0009098/0.3838, allocations: 245.8 kB / 0.539 GB, free: 3.93 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.001528/0.3853, allocations: 1.146 MB / 0.5402 GB, free: 3.027 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00079/0.3861, allocations: 300 kB / 0.5404 GB, free: 2.914 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.3862, allocations: 5.562 kB / 0.5404 GB, free: 2.91 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004487/0.3866, allocations: 170 kB / 0.5406 GB, free: 2.852 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000354/0.387, allocations: 19.28 kB / 0.5406 GB, free: 2.84 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003591/0.3906, allocations: 2.588 MB / 0.5431 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004885/0.3911, allocations: 0.7976 MB / 0.5439 GB, free: 56 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002601/0.3914, allocations: 98.33 kB / 0.544 GB, free: 8 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001769/0.3915, allocations: 87.3 kB / 0.5441 GB, free: 15.93 MB / 414.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3915, allocations: 0 / 0.5441 GB, free: 15.93 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03785/0.4294, allocations: 8.791 MB / 0.5527 GB, free: 8.418 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.85/12.28, allocations: 11.72 kB / 0.5527 GB, free: 8.406 MB / 414.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_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_overall_DPMFLOW.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_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_overall_DPMFLOW/dp_overall_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches