Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_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.Bend.dp_curvedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_curvedOverall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_curvedOverall_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.001136/0.001136, 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.001317/0.001317, 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.417/1.417, allocations: 222.9 MB / 242.4 MB, free: 15.08 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.2131/0.2131, allocations: 44.19 MB / 336.8 MB, free: 2.641 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001329, allocations: 63.91 kB / 470.1 MB, free: 13.6 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.378/0.3794, allocations: 60.81 MB / 0.5185 GB, free: 3.285 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW): time 0.003069/0.3825, allocations: 2.059 MB / 0.5205 GB, free: 1.863 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002868/0.3854, allocations: 1.917 MB / 0.5223 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001975/0.3856, allocations: 3.219 kB / 0.5223 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003354/0.3859, allocations: 73.03 kB / 0.5224 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004731/0.3864, allocations: 148.1 kB / 0.5226 GB, free: 456 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001463/0.3879, allocations: 0.5679 MB / 0.5231 GB, free: 276 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005126/0.3884, allocations: 381.6 kB / 0.5235 GB, free: 108 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.267e-05/0.3885, allocations: 36.42 kB / 0.5235 GB, free: 92 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003563/0.3889, allocations: 171.5 kB / 0.5237 GB, free: 16 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003677/0.3893, allocations: 182.6 kB / 0.5238 GB, free: 15.94 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.133e-05/0.3893, allocations: 11.59 kB / 0.5239 GB, free: 15.94 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002667/0.392, allocations: 1.614 MB / 0.5254 GB, free: 15.22 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001882/0.3922, allocations: 105.6 kB / 0.5255 GB, free: 15.15 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001907/0.3924, allocations: 142.1 kB / 0.5257 GB, free: 15.07 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00147/0.3939, allocations: 1.048 MB / 0.5267 GB, free: 14.36 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.3939, allocations: 0 / 0.5267 GB, free: 14.36 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3939, allocations: 1.375 kB / 0.5267 GB, free: 14.36 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.218e-05/0.3939, allocations: 4 kB / 0.5267 GB, free: 14.36 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: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001215/0.3951, allocations: 0.6802 MB / 0.5274 GB, free: 13.76 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.3952, allocations: 9.5 kB / 0.5274 GB, free: 13.76 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.556e-05/0.3953, allocations: 81.91 kB / 0.5275 GB, free: 13.68 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001003/0.3954, allocations: 37.52 kB / 0.5275 GB, free: 13.66 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003769/0.3958, allocations: 266.2 kB / 0.5277 GB, free: 13.41 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.509e-05/0.3958, allocations: 26.27 kB / 0.5278 GB, free: 13.39 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.453e-05/0.3959, allocations: 35.42 kB / 0.5278 GB, free: 13.38 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008114/0.3967, allocations: 0.5017 MB / 0.5283 GB, free: 13.1 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.3967, allocations: 3.938 kB / 0.5283 GB, free: 13.1 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.384e-05/0.3968, allocations: 14.7 kB / 0.5283 GB, free: 13.09 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.575e-05/0.3968, allocations: 49 kB / 0.5284 GB, free: 13.07 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008144/0.3977, allocations: 0.5347 MB / 0.5289 GB, free: 12.84 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00191/0.3996, allocations: 1.294 MB / 0.5301 GB, free: 11.79 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007458/0.4003, allocations: 374.6 kB / 0.5305 GB, free: 11.63 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002395/0.4006, allocations: 133.1 kB / 0.5306 GB, free: 11.56 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.586e-05/0.4006, allocations: 8.516 kB / 0.5306 GB, free: 11.56 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.498e-05/0.4007, allocations: 36.88 kB / 0.5307 GB, free: 11.52 MB / 398.1 MB Notification: Performance of pre-optimization done (n=26): time 1.502e-06/0.4007, allocations: 0 / 0.5307 GB, free: 11.52 MB / 398.1 MB Notification: Performance of matching and sorting (n=26): time 0.0008968/0.4016, allocations: 436.6 kB / 0.5311 GB, free: 11.31 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.151e-05/0.4016, allocations: 58.62 kB / 0.5311 GB, free: 11.24 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003382/0.402, allocations: 309.9 kB / 0.5314 GB, free: 11.05 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.843e-05/0.402, allocations: 31.2 kB / 0.5315 GB, free: 11.01 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001155/0.4021, allocations: 202.4 kB / 0.5317 GB, free: 10.83 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.426e-05/0.4022, allocations: 91.44 kB / 0.5317 GB, free: 10.75 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000103/0.4023, allocations: 71.05 kB / 0.5318 GB, free: 10.7 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001158/0.4024, allocations: 339.1 kB / 0.5321 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002447/0.4027, allocations: 122.6 kB / 0.5323 GB, free: 10.32 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000243/0.4029, allocations: 157.7 kB / 0.5324 GB, free: 10.23 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005132/0.4035, allocations: 290.6 kB / 0.5327 GB, free: 10.09 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.4035, allocations: 0 / 0.5327 GB, free: 10.09 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006642/0.4041, allocations: 382.2 kB / 0.533 GB, free: 9.906 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.4042, allocations: 5.188 kB / 0.5331 GB, free: 9.906 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.4042, allocations: 5 kB / 0.5331 GB, free: 9.902 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.4042, allocations: 1.156 kB / 0.5331 GB, free: 9.902 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005269/0.4047, allocations: 127.5 kB / 0.5332 GB, free: 9.867 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001518/0.4063, allocations: 3.016 MB / 0.5361 GB, free: 6.84 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002547/0.4065, allocations: 43.47 kB / 0.5362 GB, free: 6.809 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.384e-05/0.4066, allocations: 17.89 kB / 0.5362 GB, free: 6.801 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (36): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 5 * 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): 5 systems {1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001897/0.4068, allocations: 180.4 kB / 0.5364 GB, free: 6.648 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.635e-05/0.4068, allocations: 29.23 kB / 0.5364 GB, free: 6.633 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000872/0.4077, allocations: 451.2 kB / 0.5368 GB, free: 6.391 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.4077, allocations: 3.281 kB / 0.5368 GB, free: 6.391 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.4077, allocations: 0 / 0.5368 GB, free: 6.391 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.4078, allocations: 0 / 0.5368 GB, free: 6.391 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004494/0.4082, allocations: 375.4 kB / 0.5372 GB, free: 6.078 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.4082, allocations: 0 / 0.5372 GB, free: 6.078 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004909/0.4087, allocations: 128.8 kB / 0.5373 GB, free: 6.035 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.479e-06/0.4087, allocations: 1.312 kB / 0.5373 GB, free: 6.035 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.462e-05/0.4088, allocations: 8.562 kB / 0.5373 GB, free: 6.031 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00153/0.4103, allocations: 3.003 MB / 0.5402 GB, free: 3.016 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.4103, allocations: 3.984 kB / 0.5402 GB, free: 3.012 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006658/0.411, allocations: 449.3 kB / 0.5407 GB, free: 2.738 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001052/0.4111, allocations: 109.6 kB / 0.5408 GB, free: 2.621 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.769e-05/0.4112, allocations: 14.64 kB / 0.5408 GB, free: 2.609 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001968/0.4114, allocations: 8.656 kB / 0.5408 GB, free: 2.605 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.57e-05/0.4114, allocations: 19.06 kB / 0.5408 GB, free: 2.598 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.577e-05/0.4115, allocations: 17.64 kB / 0.5408 GB, free: 2.59 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002284/0.4117, allocations: 227.9 kB / 0.541 GB, free: 2.441 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4117, allocations: 0 / 0.541 GB, free: 2.441 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006367/0.4124, allocations: 186.4 kB / 0.5412 GB, free: 2.387 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 (31): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 5 * 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): 5 systems {1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001528/0.4139, allocations: 1.118 MB / 0.5423 GB, free: 1.496 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009383/0.4148, allocations: 375.5 kB / 0.5427 GB, free: 1.352 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.4149, allocations: 0 / 0.5427 GB, free: 1.352 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005547/0.4154, allocations: 219.7 kB / 0.5429 GB, free: 1.273 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005055/0.4159, allocations: 57.5 kB / 0.5429 GB, free: 1.246 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005048/0.421, allocations: 3.534 MB / 0.5464 GB, free: 14.71 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004545/0.4215, allocations: 0.8378 MB / 0.5472 GB, free: 13.84 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003308/0.4218, allocations: 130.7 kB / 0.5473 GB, free: 13.71 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002115/0.422, allocations: 111.4 kB / 0.5474 GB, free: 13.61 MB / 414.1 MB Notification: Performance of SimCode: time 6.01e-07/0.422, allocations: 0 / 0.5474 GB, free: 13.61 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03136/0.4534, allocations: 10.97 MB / 0.5582 GB, free: 2.891 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/11.8, allocations: 12.03 kB / 0.5582 GB, free: 2.883 MB / 414.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW_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_PressureLoss_Bend_dp_curvedOverall_DPMFLOW.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/Bend/dp_curvedOverall_DPMFLOW/dp_curvedOverall_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches