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_nominalDensityViscosity_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_nominalDensityViscosity_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_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.001094/0.001094, allocations: 117.2 kB / 17.78 MB, free: 5.277 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.001139/0.001139, allocations: 180.2 kB / 18.71 MB, free: 4.359 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.335/1.335, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.1982/0.1982, allocations: 44.18 MB / 336.7 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001442, allocations: 63.89 kB / 470.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3349/0.3364, allocations: 60.82 MB / 0.5184 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW): time 0.002587/0.339, allocations: 1.818 MB / 0.5202 GB, free: 2.035 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009305/0.34, allocations: 0.6269 MB / 0.5208 GB, free: 1.609 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.044e-05/0.34, allocations: 5.094 kB / 0.5208 GB, free: 1.605 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002586/0.3403, allocations: 48.45 kB / 0.5209 GB, free: 1.582 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001498/0.3405, allocations: 79.59 kB / 0.521 GB, free: 1.535 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003228/0.3408, allocations: 126 kB / 0.5211 GB, free: 1.477 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002192/0.341, allocations: 227.5 kB / 0.5213 GB, free: 1.375 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.968e-05/0.3411, allocations: 29.7 kB / 0.5213 GB, free: 1.359 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.263e-05/0.3412, allocations: 81.81 kB / 0.5214 GB, free: 1.324 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001291/0.3413, allocations: 105.8 kB / 0.5215 GB, free: 1.277 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.08e-05/0.3414, allocations: 10.97 kB / 0.5215 GB, free: 1.273 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003799/0.3418, allocations: 226.3 kB / 0.5217 GB, free: 1.207 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.851e-05/0.3418, allocations: 53.39 kB / 0.5218 GB, free: 1.184 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.484e-05/0.3419, allocations: 96.36 kB / 0.5219 GB, free: 1.129 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004468/0.3424, allocations: 331 kB / 0.5222 GB, free: 1.004 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.3424, allocations: 0 / 0.5222 GB, free: 1.004 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.3424, allocations: 0 / 0.5222 GB, free: 1.004 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.3424, allocations: 1.062 kB / 0.5222 GB, free: 1.004 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.0005879/0.343, allocations: 0.5387 MB / 0.5227 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.3431, allocations: 9.781 kB / 0.5227 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.109e-05/0.3431, allocations: 64.36 kB / 0.5228 GB, free: 484 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001782/0.3449, allocations: 201.2 kB / 0.523 GB, free: 452 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000331/0.3452, allocations: 271.3 kB / 0.5232 GB, free: 212 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.035e-05/0.3453, allocations: 22.22 kB / 0.5233 GB, free: 200 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.49e-05/0.3453, allocations: 23.25 kB / 0.5233 GB, free: 192 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009499/0.3463, allocations: 0.4979 MB / 0.5238 GB, free: 12 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.3463, allocations: 1.625 kB / 0.5238 GB, free: 12 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.478e-05/0.3464, allocations: 5.438 kB / 0.5238 GB, free: 8 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.109e-05/0.3464, allocations: 27.42 kB / 0.5238 GB, free: 8 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001292/0.3477, allocations: 0.5842 MB / 0.5244 GB, free: 15.83 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002109/0.3498, allocations: 1.174 MB / 0.5255 GB, free: 15.02 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006704/0.3505, allocations: 169.8 kB / 0.5257 GB, free: 14.94 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003541/0.3509, allocations: 84.61 kB / 0.5258 GB, free: 14.9 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.544e-05/0.3509, allocations: 0 / 0.5258 GB, free: 14.9 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.024e-05/0.3509, allocations: 35.88 kB / 0.5258 GB, free: 14.86 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 9.82e-07/0.3509, allocations: 0 / 0.5258 GB, free: 14.86 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.001243/0.3522, allocations: 308.7 kB / 0.5261 GB, free: 14.7 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.289e-05/0.3522, allocations: 52.5 kB / 0.5261 GB, free: 14.64 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002574/0.3525, allocations: 278.4 kB / 0.5264 GB, free: 14.45 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.795e-05/0.3525, allocations: 26.95 kB / 0.5264 GB, free: 14.42 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001023/0.3526, allocations: 168.6 kB / 0.5266 GB, free: 14.27 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.857e-05/0.3527, allocations: 36.89 kB / 0.5266 GB, free: 14.23 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.567e-05/0.3528, allocations: 36.91 kB / 0.5267 GB, free: 14.2 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001106/0.3529, allocations: 329.8 kB / 0.527 GB, free: 13.88 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003657/0.3532, allocations: 92.67 kB / 0.5271 GB, free: 13.84 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003712/0.3536, allocations: 122.6 kB / 0.5272 GB, free: 13.76 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007153/0.3543, allocations: 206.1 kB / 0.5274 GB, free: 13.64 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3544, allocations: 0.9375 kB / 0.5274 GB, free: 13.64 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0008752/0.3552, allocations: 270.2 kB / 0.5276 GB, free: 13.5 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.3553, allocations: 5 kB / 0.5276 GB, free: 13.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.3553, allocations: 2.125 kB / 0.5276 GB, free: 13.5 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.3553, allocations: 5.625 kB / 0.5277 GB, free: 13.5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005759/0.3611, allocations: 463.8 kB / 0.5281 GB, free: 13.3 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002754/0.3638, allocations: 1.945 MB / 0.53 GB, free: 11.42 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004296/0.3643, allocations: 43.2 kB / 0.53 GB, free: 11.39 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.584e-05/0.3643, allocations: 12.86 kB / 0.53 GB, free: 11.39 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (13): * Single equations (assignments): 10 * 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.0002114/0.3645, allocations: 156 kB / 0.5302 GB, free: 11.25 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.772e-05/0.3646, allocations: 17.53 kB / 0.5302 GB, free: 11.24 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.963e-05/0.3647, allocations: 26.77 kB / 0.5302 GB, free: 11.21 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.776e-06/0.3647, allocations: 0 / 0.5302 GB, free: 11.21 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/0.3647, allocations: 5.453 kB / 0.5302 GB, free: 11.21 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.3647, allocations: 0 / 0.5302 GB, free: 11.21 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003617/0.3651, allocations: 292.8 kB / 0.5305 GB, free: 10.94 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.3651, allocations: 1.094 kB / 0.5305 GB, free: 10.94 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005684/0.3708, allocations: 463.1 kB / 0.531 GB, free: 10.74 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.252e-06/0.3708, allocations: 1.156 kB / 0.531 GB, free: 10.74 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.838e-05/0.3708, allocations: 6.578 kB / 0.531 GB, free: 10.74 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002717/0.3736, allocations: 1.938 MB / 0.5329 GB, free: 8.859 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.3736, allocations: 1.25 kB / 0.5329 GB, free: 8.859 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008493/0.3744, allocations: 325.9 kB / 0.5332 GB, free: 8.633 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.136e-05/0.3745, allocations: 97.31 kB / 0.5333 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.854e-05/0.3746, allocations: 9.469 kB / 0.5333 GB, free: 8.516 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003694/0.375, allocations: 17.16 kB / 0.5333 GB, free: 8.508 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.398e-05/0.375, allocations: 12.28 kB / 0.5333 GB, free: 8.5 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.385e-05/0.3751, allocations: 13.33 kB / 0.5333 GB, free: 8.488 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002059/0.3753, allocations: 211.2 kB / 0.5335 GB, free: 8.352 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3753, allocations: 3.938 kB / 0.5335 GB, free: 8.348 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003749/0.3757, allocations: 66.7 kB / 0.5336 GB, free: 8.34 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 (7): * Single equations (assignments): 4 * 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.001256/0.3769, allocations: 0.8621 MB / 0.5344 GB, free: 7.582 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.005977/0.3829, allocations: 0.5897 MB / 0.535 GB, free: 7.324 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.3829, allocations: 192 / 0.535 GB, free: 7.324 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005487/0.3884, allocations: 0.495 MB / 0.5355 GB, free: 7.102 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000454/0.3889, allocations: 47.81 kB / 0.5355 GB, free: 7.07 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00509/0.394, allocations: 2.991 MB / 0.5385 GB, free: 4.969 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003355/0.3944, allocations: 0.7812 MB / 0.5392 GB, free: 4.223 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001684/0.3945, allocations: 49.45 kB / 0.5393 GB, free: 4.203 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001345/0.3947, allocations: 69.62 kB / 0.5393 GB, free: 4.145 MB / 398.1 MB Notification: Performance of SimCode: time 8.21e-07/0.3947, allocations: 0 / 0.5393 GB, free: 4.145 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02647/0.4211, allocations: 7.964 MB / 0.5471 GB, free: 14.37 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.46/11.88, allocations: 12.52 kB / 0.5471 GB, free: 14.36 MB / 414.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_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_nominalDensityViscosity_DPMFLOW/dp_nominalDensityViscosity_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches