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.001593/0.001593, 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.001894/0.001894, 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.338/1.338, 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.2081/0.2081, allocations: 44.18 MB / 336.7 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 67.89 kB / 470.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3436/0.3448, allocations: 60.82 MB / 0.5184 GB, free: 3.285 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW): time 0.003793/0.3486, allocations: 1.669 MB / 0.5201 GB, free: 2.141 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001669/0.3503, allocations: 0.7931 MB / 0.5209 GB, free: 1.602 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.893e-05/0.3504, allocations: 4.875 kB / 0.5209 GB, free: 1.598 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000265/0.3507, allocations: 39.33 kB / 0.5209 GB, free: 1.578 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002007/0.3509, allocations: 54.59 kB / 0.5209 GB, free: 1.547 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004011/0.3513, allocations: 98.84 kB / 0.521 GB, free: 1.504 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002523/0.3516, allocations: 160.3 kB / 0.5212 GB, free: 1.43 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.042e-05/0.3517, allocations: 11.34 kB / 0.5212 GB, free: 1.426 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001657/0.3519, allocations: 60.58 kB / 0.5213 GB, free: 1.402 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001866/0.352, allocations: 69.36 kB / 0.5213 GB, free: 1.375 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.465e-05/0.3521, allocations: 5.031 kB / 0.5213 GB, free: 1.375 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004619/0.3526, allocations: 164.5 kB / 0.5215 GB, free: 1.328 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.879e-05/0.3527, allocations: 40.67 kB / 0.5215 GB, free: 1.312 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001003/0.3528, allocations: 62.56 kB / 0.5216 GB, free: 1.277 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004734/0.3533, allocations: 202.2 kB / 0.5218 GB, free: 1.211 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.3533, allocations: 0 / 0.5218 GB, free: 1.211 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.966e-06/0.3533, allocations: 1.156 kB / 0.5218 GB, free: 1.211 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.552e-06/0.3533, allocations: 3.938 kB / 0.5218 GB, free: 1.207 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.0006687/0.354, allocations: 461.9 kB / 0.5222 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.354, allocations: 9.531 kB / 0.5222 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.468e-05/0.3541, allocations: 53.34 kB / 0.5223 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000749/0.3548, allocations: 72.84 kB / 0.5224 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002664/0.3551, allocations: 215.3 kB / 0.5226 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.027e-05/0.3552, allocations: 9.938 kB / 0.5226 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.506e-05/0.3552, allocations: 15.69 kB / 0.5226 GB, free: 496 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006457/0.3559, allocations: 235.5 kB / 0.5228 GB, free: 404 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.3559, allocations: 0 / 0.5228 GB, free: 404 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.91e-05/0.3559, allocations: 5.281 kB / 0.5228 GB, free: 400 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.082e-05/0.356, allocations: 21.61 kB / 0.5228 GB, free: 396 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006483/0.3566, allocations: 232.2 kB / 0.5231 GB, free: 328 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00147/0.3581, allocations: 0.7287 MB / 0.5238 GB, free: 15.74 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003338/0.3585, allocations: 85.41 kB / 0.5239 GB, free: 15.71 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000205/0.3587, allocations: 50.61 kB / 0.5239 GB, free: 15.69 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.542e-05/0.3587, allocations: 5.516 kB / 0.5239 GB, free: 15.69 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.567e-05/0.3588, allocations: 36.22 kB / 0.5239 GB, free: 15.64 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.733e-06/0.3588, allocations: 0 / 0.5239 GB, free: 15.64 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007719/0.3596, allocations: 169.5 kB / 0.5241 GB, free: 15.59 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.336e-05/0.3596, allocations: 56.81 kB / 0.5242 GB, free: 15.52 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002571/0.3599, allocations: 188.7 kB / 0.5243 GB, free: 15.39 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.668e-05/0.36, allocations: 25.7 kB / 0.5244 GB, free: 15.36 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001386/0.3601, allocations: 147.8 kB / 0.5245 GB, free: 15.23 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.057e-05/0.3602, allocations: 21.52 kB / 0.5245 GB, free: 15.21 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.584e-05/0.3603, allocations: 37.69 kB / 0.5246 GB, free: 15.18 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001518/0.3604, allocations: 325.2 kB / 0.5249 GB, free: 14.86 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002041/0.3606, allocations: 48.3 kB / 0.5249 GB, free: 14.86 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002539/0.3609, allocations: 99.28 kB / 0.525 GB, free: 14.78 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004535/0.3614, allocations: 162.5 kB / 0.5252 GB, free: 14.68 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.3614, allocations: 0 / 0.5252 GB, free: 14.68 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005722/0.362, allocations: 192.1 kB / 0.5253 GB, free: 14.6 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.362, allocations: 6.875 kB / 0.5254 GB, free: 14.6 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.362, allocations: 1.938 kB / 0.5254 GB, free: 14.6 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.139e-05/0.362, allocations: 2.75 kB / 0.5254 GB, free: 14.6 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001153/0.3632, allocations: 123.9 kB / 0.5255 GB, free: 14.6 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001722/0.3649, allocations: 1.82 MB / 0.5273 GB, free: 12.81 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002279/0.3652, allocations: 20.47 kB / 0.5273 GB, free: 12.8 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.725e-05/0.3652, allocations: 6.859 kB / 0.5273 GB, free: 12.8 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.0001857/0.3654, allocations: 142.1 kB / 0.5274 GB, free: 12.68 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.654e-05/0.3655, allocations: 17.5 kB / 0.5274 GB, free: 12.67 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006828/0.3662, allocations: 172.6 kB / 0.5276 GB, free: 12.59 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.658e-06/0.3662, allocations: 9.594 kB / 0.5276 GB, free: 12.58 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.3662, allocations: 3.938 kB / 0.5276 GB, free: 12.58 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.82e-06/0.3662, allocations: 2.406 kB / 0.5276 GB, free: 12.58 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004177/0.3666, allocations: 234.6 kB / 0.5278 GB, free: 12.36 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.3667, allocations: 0 / 0.5278 GB, free: 12.36 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001056/0.3677, allocations: 103.8 kB / 0.5279 GB, free: 12.36 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/0.3678, allocations: 1.672 kB / 0.5279 GB, free: 12.36 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.729e-05/0.3678, allocations: 5.25 kB / 0.5279 GB, free: 12.36 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001451/0.3692, allocations: 1.79 MB / 0.5297 GB, free: 10.57 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.3693, allocations: 0 / 0.5297 GB, free: 10.57 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005492/0.3698, allocations: 245.2 kB / 0.5299 GB, free: 10.38 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.037e-05/0.3699, allocations: 88.27 kB / 0.53 GB, free: 10.28 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.764e-05/0.37, allocations: 1.875 kB / 0.53 GB, free: 10.28 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002135/0.3702, allocations: 13.27 kB / 0.53 GB, free: 10.27 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.909e-05/0.3702, allocations: 15.67 kB / 0.53 GB, free: 10.26 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.242e-05/0.3703, allocations: 2.781 kB / 0.53 GB, free: 10.26 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001527/0.3704, allocations: 137.6 kB / 0.5302 GB, free: 10.16 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3704, allocations: 0 / 0.5302 GB, free: 10.16 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005117/0.371, allocations: 42.94 kB / 0.5302 GB, free: 10.15 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.0009952/0.372, allocations: 0.7818 MB / 0.531 GB, free: 9.43 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00164/0.3736, allocations: 232.2 kB / 0.5312 GB, free: 9.34 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.3736, allocations: 0 / 0.5312 GB, free: 9.34 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000901/0.3745, allocations: 126 kB / 0.5313 GB, free: 9.289 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006169/0.3752, allocations: 45.33 kB / 0.5314 GB, free: 9.262 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003512/0.3787, allocations: 2.091 MB / 0.5334 GB, free: 7.551 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004198/0.3791, allocations: 0.7405 MB / 0.5341 GB, free: 6.824 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001159/0.3793, allocations: 31.62 kB / 0.5342 GB, free: 6.812 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.136e-05/0.3794, allocations: 39.14 kB / 0.5342 GB, free: 6.781 MB / 398.1 MB Notification: Performance of SimCode: time 6.61e-07/0.3794, allocations: 4 kB / 0.5342 GB, free: 6.777 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02326/0.4026, allocations: 5.082 MB / 0.5392 GB, free: 4.273 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/11.52, allocations: 8.562 kB / 0.5392 GB, free: 4.27 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