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_pressureLossCoefficient_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_pressureLossCoefficient_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_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.001842/0.001842, allocations: 113.3 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.002173/0.002173, 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.407/1.407, allocations: 222.9 MB / 242.4 MB, free: 15.13 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.2126/0.2126, allocations: 44.19 MB / 336.8 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00182/0.00182, allocations: 59.91 kB / 470.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3181/0.3199, allocations: 60.83 MB / 0.5185 GB, free: 3.281 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW): time 0.002641/0.3226, allocations: 1.667 MB / 0.5201 GB, free: 2.133 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001102/0.3237, allocations: 0.8025 MB / 0.5209 GB, free: 1.586 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.645e-05/0.3238, allocations: 1.188 kB / 0.5209 GB, free: 1.586 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002072/0.324, allocations: 39.61 kB / 0.5209 GB, free: 1.566 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001443/0.3241, allocations: 54.48 kB / 0.521 GB, free: 1.535 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002836/0.3244, allocations: 97.27 kB / 0.521 GB, free: 1.492 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001792/0.3246, allocations: 152.5 kB / 0.5212 GB, free: 1.426 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.563e-05/0.3247, allocations: 15.69 kB / 0.5212 GB, free: 1.418 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001139/0.3248, allocations: 64.62 kB / 0.5213 GB, free: 1.391 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001176/0.3249, allocations: 74.14 kB / 0.5213 GB, free: 1.359 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.853e-05/0.3249, allocations: 4.344 kB / 0.5213 GB, free: 1.359 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000296/0.3252, allocations: 156.1 kB / 0.5215 GB, free: 1.32 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.502e-05/0.3253, allocations: 36.11 kB / 0.5215 GB, free: 1.309 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.494e-05/0.3254, allocations: 63.44 kB / 0.5216 GB, free: 1.273 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003306/0.3257, allocations: 206.6 kB / 0.5218 GB, free: 1.203 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.3257, allocations: 0 / 0.5218 GB, free: 1.203 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.3257, allocations: 1.125 kB / 0.5218 GB, free: 1.203 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.3258, allocations: 0 / 0.5218 GB, free: 1.203 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0005358/0.3263, allocations: 470 kB / 0.5222 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.3263, allocations: 13.19 kB / 0.5222 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.741e-05/0.3264, allocations: 53.25 kB / 0.5223 GB, free: 0.7188 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004841/0.3269, allocations: 69.78 kB / 0.5224 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001809/0.3271, allocations: 210.6 kB / 0.5226 GB, free: 500 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.663e-05/0.3271, allocations: 13.12 kB / 0.5226 GB, free: 492 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.613e-05/0.3271, allocations: 20.86 kB / 0.5226 GB, free: 480 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004112/0.3275, allocations: 231 kB / 0.5228 GB, free: 392 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.3276, allocations: 3.984 kB / 0.5228 GB, free: 388 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.864e-05/0.3276, allocations: 5.438 kB / 0.5228 GB, free: 384 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.054e-05/0.3276, allocations: 17.45 kB / 0.5228 GB, free: 384 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004306/0.3281, allocations: 228.3 kB / 0.5231 GB, free: 320 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001069/0.3291, allocations: 0.736 MB / 0.5238 GB, free: 15.73 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002185/0.3294, allocations: 88.36 kB / 0.5239 GB, free: 15.69 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001337/0.3295, allocations: 43.89 kB / 0.5239 GB, free: 15.68 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.378e-05/0.3295, allocations: 1.781 kB / 0.5239 GB, free: 15.68 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.125e-05/0.3296, allocations: 44.89 kB / 0.5239 GB, free: 15.63 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.462e-06/0.3296, allocations: 0 / 0.5239 GB, free: 15.63 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.000515/0.3301, allocations: 168.5 kB / 0.5241 GB, free: 15.57 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.061e-05/0.3301, allocations: 53.59 kB / 0.5242 GB, free: 15.51 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001948/0.3303, allocations: 183.1 kB / 0.5243 GB, free: 15.38 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.013e-05/0.3304, allocations: 26.48 kB / 0.5244 GB, free: 15.35 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/0.3305, allocations: 148.4 kB / 0.5245 GB, free: 15.22 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.008e-05/0.3305, allocations: 25.8 kB / 0.5245 GB, free: 15.2 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.302e-05/0.3306, allocations: 36.97 kB / 0.5246 GB, free: 15.17 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001518/0.3308, allocations: 322.3 kB / 0.5249 GB, free: 14.86 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001412/0.3309, allocations: 43.23 kB / 0.5249 GB, free: 14.85 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001885/0.3311, allocations: 102.7 kB / 0.525 GB, free: 14.77 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003378/0.3314, allocations: 156.8 kB / 0.5252 GB, free: 14.68 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.3315, allocations: 1.156 kB / 0.5252 GB, free: 14.68 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004154/0.3319, allocations: 193.7 kB / 0.5253 GB, free: 14.6 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.3319, allocations: 6 kB / 0.5253 GB, free: 14.6 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.3319, allocations: 1.953 kB / 0.5254 GB, free: 14.6 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.3319, allocations: 2.875 kB / 0.5254 GB, free: 14.6 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008499/0.3328, allocations: 122.9 kB / 0.5255 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001465/0.3343, allocations: 1.827 MB / 0.5273 GB, free: 12.8 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000153/0.3344, allocations: 19.73 kB / 0.5273 GB, free: 12.8 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.099e-05/0.3345, allocations: 10.56 kB / 0.5273 GB, free: 12.79 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 (14): * Single equations (assignments): 11 * 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.0001585/0.3346, allocations: 137.9 kB / 0.5274 GB, free: 12.67 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.77e-05/0.3347, allocations: 16.31 kB / 0.5274 GB, free: 12.66 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004955/0.3352, allocations: 177.4 kB / 0.5276 GB, free: 12.58 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.3352, allocations: 5.531 kB / 0.5276 GB, free: 12.57 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.3352, allocations: 1.312 kB / 0.5276 GB, free: 12.57 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.3352, allocations: 0.75 kB / 0.5276 GB, free: 12.57 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003147/0.3355, allocations: 234.5 kB / 0.5278 GB, free: 12.36 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.3355, allocations: 1.25 kB / 0.5278 GB, free: 12.36 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006732/0.3362, allocations: 104.6 kB / 0.5279 GB, free: 12.36 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.267e-06/0.3362, allocations: 0.6094 kB / 0.5279 GB, free: 12.36 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.568e-05/0.3362, allocations: 5.375 kB / 0.5279 GB, free: 12.35 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00121/0.3375, allocations: 1.782 MB / 0.5297 GB, free: 10.56 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.898e-06/0.3375, allocations: 5.359 kB / 0.5297 GB, free: 10.56 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003984/0.3379, allocations: 248.3 kB / 0.5299 GB, free: 10.37 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.054e-05/0.338, allocations: 89.14 kB / 0.53 GB, free: 10.27 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.758e-05/0.338, allocations: 1.375 kB / 0.53 GB, free: 10.27 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001353/0.3381, allocations: 13.48 kB / 0.53 GB, free: 10.26 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.868e-05/0.3382, allocations: 8.062 kB / 0.53 GB, free: 10.25 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.179e-05/0.3382, allocations: 6.734 kB / 0.53 GB, free: 10.25 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000135/0.3384, allocations: 140.9 kB / 0.5302 GB, free: 10.14 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3384, allocations: 0 / 0.5302 GB, free: 10.14 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003258/0.3387, allocations: 47.62 kB / 0.5302 GB, free: 10.13 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 (11): * Single equations (assignments): 8 * 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.0008197/0.3395, allocations: 0.7852 MB / 0.531 GB, free: 9.41 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001152/0.3407, allocations: 231.8 kB / 0.5312 GB, free: 9.32 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.646e-06/0.3407, allocations: 0 / 0.5312 GB, free: 9.32 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006205/0.3413, allocations: 122.9 kB / 0.5313 GB, free: 9.273 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004195/0.3418, allocations: 49.16 kB / 0.5314 GB, free: 9.242 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002642/0.3444, allocations: 2.088 MB / 0.5334 GB, free: 7.535 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003796/0.3448, allocations: 0.7405 MB / 0.5341 GB, free: 6.809 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001144/0.3449, allocations: 36.56 kB / 0.5342 GB, free: 6.793 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.107e-05/0.345, allocations: 45.05 kB / 0.5342 GB, free: 6.758 MB / 398.1 MB Notification: Performance of SimCode: time 3.51e-07/0.345, allocations: 0 / 0.5342 GB, free: 6.758 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02943/0.3745, allocations: 5.07 MB / 0.5392 GB, free: 4.262 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.73/12.11, allocations: 16.28 kB / 0.5392 GB, free: 4.254 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_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_pressureLossCoefficient_DPMFLOW.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_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_pressureLossCoefficient_DPMFLOW/dp_pressureLossCoefficient_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches