Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_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.General.dp_volumeFlowRate_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_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.001994/0.001994, 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.002614/0.002615, 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.433/1.433, allocations: 222.9 MB / 242.4 MB, free: 15.12 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.2319/0.2319, allocations: 44.19 MB / 336.8 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001814/0.001814, allocations: 71.89 kB / 470.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3252/0.327, allocations: 60.82 MB / 0.5184 GB, free: 3.289 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW): time 0.002866/0.3299, allocations: 1.654 MB / 0.5201 GB, free: 2.152 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001442/0.3314, allocations: 0.8725 MB / 0.5209 GB, free: 1.555 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.422e-05/0.3314, allocations: 1.531 kB / 0.5209 GB, free: 1.555 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002322/0.3317, allocations: 36.44 kB / 0.521 GB, free: 1.535 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000172/0.3319, allocations: 50.59 kB / 0.521 GB, free: 1.508 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004161/0.3323, allocations: 130.2 kB / 0.5211 GB, free: 1.453 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000193/0.3325, allocations: 139.4 kB / 0.5213 GB, free: 1.395 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.075e-05/0.3326, allocations: 17.09 kB / 0.5213 GB, free: 1.383 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.933e-05/0.3326, allocations: 59.06 kB / 0.5213 GB, free: 1.355 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001279/0.3328, allocations: 68.34 kB / 0.5214 GB, free: 1.328 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.122e-05/0.3328, allocations: 3.875 kB / 0.5214 GB, free: 1.328 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003929/0.3332, allocations: 204.3 kB / 0.5216 GB, free: 1.27 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.323e-05/0.3333, allocations: 44.56 kB / 0.5216 GB, free: 1.25 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.846e-05/0.3334, allocations: 60.48 kB / 0.5217 GB, free: 1.215 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004176/0.3338, allocations: 243.9 kB / 0.5219 GB, free: 1.129 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.3338, allocations: 0 / 0.5219 GB, free: 1.129 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3338, allocations: 5.156 kB / 0.5219 GB, free: 1.125 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.3338, allocations: 0 / 0.5219 GB, free: 1.125 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0005957/0.3344, allocations: 474 kB / 0.5224 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.3345, allocations: 9.953 kB / 0.5224 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.271e-05/0.3345, allocations: 57.66 kB / 0.5224 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00112/0.3357, allocations: 120.4 kB / 0.5226 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001849/0.3358, allocations: 224.3 kB / 0.5228 GB, free: 412 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.428e-05/0.3359, allocations: 6.156 kB / 0.5228 GB, free: 412 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.235e-05/0.3359, allocations: 21.58 kB / 0.5228 GB, free: 400 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006708/0.3366, allocations: 321.1 kB / 0.5231 GB, free: 288 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.3366, allocations: 0 / 0.5231 GB, free: 288 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.57e-05/0.3366, allocations: 10.14 kB / 0.5231 GB, free: 280 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.74e-05/0.3367, allocations: 19.39 kB / 0.5231 GB, free: 280 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007736/0.3375, allocations: 325.8 kB / 0.5234 GB, free: 196 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001469/0.3389, allocations: 0.8277 MB / 0.5243 GB, free: 15.59 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007351/0.3397, allocations: 215.8 kB / 0.5245 GB, free: 15.54 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002885/0.34, allocations: 85.31 kB / 0.5245 GB, free: 15.52 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.778e-05/0.34, allocations: 2.922 kB / 0.5245 GB, free: 15.52 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.112e-05/0.3401, allocations: 40.25 kB / 0.5246 GB, free: 15.48 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.463e-06/0.3401, allocations: 0 / 0.5246 GB, free: 15.48 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.001046/0.3411, allocations: 300.1 kB / 0.5249 GB, free: 15.39 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.417e-05/0.3412, allocations: 53.44 kB / 0.5249 GB, free: 15.33 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001816/0.3414, allocations: 183.7 kB / 0.5251 GB, free: 15.21 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.639e-05/0.3414, allocations: 30.95 kB / 0.5251 GB, free: 15.17 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001036/0.3415, allocations: 139.4 kB / 0.5253 GB, free: 15.05 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.556e-05/0.3416, allocations: 47.91 kB / 0.5253 GB, free: 15.01 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.616e-05/0.3417, allocations: 47.09 kB / 0.5254 GB, free: 14.98 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001598/0.3418, allocations: 332.2 kB / 0.5257 GB, free: 14.66 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002923/0.3421, allocations: 81.11 kB / 0.5257 GB, free: 14.62 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003366/0.3425, allocations: 140.1 kB / 0.5259 GB, free: 14.51 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006342/0.3431, allocations: 224.4 kB / 0.5261 GB, free: 14.36 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.3431, allocations: 0 / 0.5261 GB, free: 14.36 MB / 398.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0007528/0.3439, allocations: 273.2 kB / 0.5264 GB, free: 14.21 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.3439, allocations: 6.875 kB / 0.5264 GB, free: 14.21 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.3439, allocations: 5.312 kB / 0.5264 GB, free: 14.21 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.344, allocations: 2.75 kB / 0.5264 GB, free: 14.21 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004383/0.3444, allocations: 81.36 kB / 0.5264 GB, free: 14.18 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001076/0.3455, allocations: 1.786 MB / 0.5282 GB, free: 12.38 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002218/0.3457, allocations: 24.12 kB / 0.5282 GB, free: 12.36 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.465e-05/0.3458, allocations: 16.23 kB / 0.5282 GB, free: 12.36 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (17): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001589/0.3459, allocations: 138.4 kB / 0.5284 GB, free: 12.23 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.303e-05/0.346, allocations: 25.34 kB / 0.5284 GB, free: 12.21 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008169/0.3468, allocations: 261.8 kB / 0.5286 GB, free: 12.05 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.429e-06/0.3468, allocations: 1.312 kB / 0.5286 GB, free: 12.05 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.3468, allocations: 4 kB / 0.5286 GB, free: 12.04 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.3468, allocations: 4 kB / 0.5286 GB, free: 12.04 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003183/0.3472, allocations: 257.3 kB / 0.5289 GB, free: 11.79 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.3472, allocations: 0 / 0.5289 GB, free: 11.79 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003496/0.3475, allocations: 72.53 kB / 0.529 GB, free: 11.76 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.3475, allocations: 0 / 0.529 GB, free: 11.76 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.412e-05/0.3476, allocations: 11.81 kB / 0.529 GB, free: 11.75 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009993/0.3486, allocations: 1.782 MB / 0.5307 GB, free: 9.949 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.3486, allocations: 1.562 kB / 0.5307 GB, free: 9.949 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007299/0.3493, allocations: 322.3 kB / 0.531 GB, free: 9.719 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.752e-05/0.3494, allocations: 91.97 kB / 0.5311 GB, free: 9.613 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.477e-05/0.3495, allocations: 1.438 kB / 0.5311 GB, free: 9.613 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001999/0.3497, allocations: 11.92 kB / 0.5311 GB, free: 9.605 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.722e-05/0.3497, allocations: 13.97 kB / 0.5311 GB, free: 9.598 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.47e-05/0.3498, allocations: 12.64 kB / 0.5311 GB, free: 9.59 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001213/0.3499, allocations: 136.7 kB / 0.5313 GB, free: 9.488 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3499, allocations: 5 kB / 0.5313 GB, free: 9.484 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003761/0.3503, allocations: 57.31 kB / 0.5313 GB, free: 9.473 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 (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001164/0.3514, allocations: 0.8781 MB / 0.5322 GB, free: 8.699 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008412/0.3523, allocations: 234.3 kB / 0.5324 GB, free: 8.602 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.3523, allocations: 4 kB / 0.5324 GB, free: 8.598 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004647/0.3528, allocations: 135.6 kB / 0.5325 GB, free: 8.539 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002688/0.3531, allocations: 7.531 kB / 0.5326 GB, free: 8.535 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003502/0.3566, allocations: 2.342 MB / 0.5348 GB, free: 6.699 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003635/0.3569, allocations: 0.7478 MB / 0.5356 GB, free: 5.965 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001876/0.3571, allocations: 60.92 kB / 0.5356 GB, free: 5.945 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001228/0.3573, allocations: 53.61 kB / 0.5357 GB, free: 5.902 MB / 398.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3573, allocations: 0 / 0.5357 GB, free: 5.902 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0283/0.3856, allocations: 4.872 MB / 0.5404 GB, free: 3.484 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.57/11.96, allocations: 25.2 kB / 0.5405 GB, free: 3.469 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_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_General_dp_volumeFlowRate_DPMFLOW.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/General/dp_volumeFlowRate_DPMFLOW/dp_volumeFlowRate_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches