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_idealGas_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_idealGas_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_idealGas_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_idealGas_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.001507/0.001507, allocations: 113.8 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.001749/0.00175, 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.323/1.323, 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.2177/0.2177, allocations: 44.18 MB / 336.8 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002269/0.002269, allocations: 67.89 kB / 470.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3778/0.3801, allocations: 60.83 MB / 0.5184 GB, free: 3.312 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW): time 0.002568/0.3828, allocations: 1.787 MB / 0.5202 GB, free: 2.074 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001299/0.3841, allocations: 0.9677 MB / 0.5211 GB, free: 1.41 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.195e-05/0.3841, allocations: 1.469 kB / 0.5211 GB, free: 1.41 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002364/0.3844, allocations: 52.28 kB / 0.5212 GB, free: 1.383 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001906/0.3846, allocations: 69.89 kB / 0.5213 GB, free: 1.344 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000325/0.3849, allocations: 124.8 kB / 0.5214 GB, free: 1.289 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002288/0.3852, allocations: 220.5 kB / 0.5216 GB, free: 1.188 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.764e-05/0.3852, allocations: 25.75 kB / 0.5216 GB, free: 1.176 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001049/0.3853, allocations: 96.17 kB / 0.5217 GB, free: 1.129 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001503/0.3855, allocations: 97.17 kB / 0.5218 GB, free: 1.09 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.172e-05/0.3855, allocations: 7.031 kB / 0.5218 GB, free: 1.09 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003832/0.3859, allocations: 205.4 kB / 0.522 GB, free: 1.027 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.571e-05/0.386, allocations: 56.67 kB / 0.522 GB, free: 1.004 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.105e-05/0.3861, allocations: 105.3 kB / 0.5221 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004128/0.3865, allocations: 297.4 kB / 0.5224 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.3866, allocations: 0 / 0.5224 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3866, allocations: 0 / 0.5224 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.081e-06/0.3866, allocations: 4 kB / 0.5224 GB, free: 0.8242 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0006543/0.3872, allocations: 0.5337 MB / 0.523 GB, free: 364 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.3873, allocations: 9.75 kB / 0.523 GB, free: 364 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.28e-05/0.3873, allocations: 62.78 kB / 0.523 GB, free: 308 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008261/0.3882, allocations: 134.4 kB / 0.5232 GB, free: 280 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000285/0.3885, allocations: 262.1 kB / 0.5234 GB, free: 36 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.772e-05/0.3885, allocations: 20.61 kB / 0.5234 GB, free: 24 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.088e-05/0.3885, allocations: 22.44 kB / 0.5234 GB, free: 16 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006806/0.3892, allocations: 438.2 kB / 0.5239 GB, free: 15.81 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.3892, allocations: 3.938 kB / 0.5239 GB, free: 15.81 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.247e-05/0.3893, allocations: 11.62 kB / 0.5239 GB, free: 15.8 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.991e-05/0.3893, allocations: 25.3 kB / 0.5239 GB, free: 15.8 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000706/0.39, allocations: 395.5 kB / 0.5243 GB, free: 15.69 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001883/0.3919, allocations: 1.46 MB / 0.5257 GB, free: 14.54 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002472/0.3922, allocations: 98.81 kB / 0.5258 GB, free: 14.5 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001445/0.3923, allocations: 47.59 kB / 0.5258 GB, free: 14.49 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.865e-05/0.3924, allocations: 9.125 kB / 0.5259 GB, free: 14.48 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.464e-05/0.3924, allocations: 32.7 kB / 0.5259 GB, free: 14.44 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.293e-06/0.3924, allocations: 0 / 0.5259 GB, free: 14.44 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005764/0.393, allocations: 189.7 kB / 0.5261 GB, free: 14.38 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.828e-05/0.393, allocations: 57.39 kB / 0.5261 GB, free: 14.31 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003353/0.3934, allocations: 338.1 kB / 0.5264 GB, free: 14.13 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.995e-05/0.3934, allocations: 25.7 kB / 0.5265 GB, free: 14.1 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001109/0.3935, allocations: 182.7 kB / 0.5266 GB, free: 13.93 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.528e-05/0.3936, allocations: 19.92 kB / 0.5267 GB, free: 13.91 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.885e-05/0.3936, allocations: 44.78 kB / 0.5267 GB, free: 13.88 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000112/0.3938, allocations: 333.7 kB / 0.527 GB, free: 13.55 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001789/0.3939, allocations: 73.19 kB / 0.5271 GB, free: 13.52 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001999/0.3942, allocations: 116.7 kB / 0.5272 GB, free: 13.43 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003502/0.3945, allocations: 178.9 kB / 0.5274 GB, free: 13.31 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.3945, allocations: 0 / 0.5274 GB, free: 13.31 MB / 398.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004835/0.395, allocations: 249.4 kB / 0.5276 GB, free: 13.18 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.395, allocations: 6 kB / 0.5276 GB, free: 13.18 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.3951, allocations: 3.062 kB / 0.5276 GB, free: 13.18 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.3951, allocations: 1.125 kB / 0.5276 GB, free: 13.18 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001493/0.3966, allocations: 129.2 kB / 0.5277 GB, free: 13.13 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001809/0.3984, allocations: 1.833 MB / 0.5295 GB, free: 11.31 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002999/0.3987, allocations: 47.31 kB / 0.5296 GB, free: 11.28 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.867e-05/0.3987, allocations: 5.344 kB / 0.5296 GB, free: 11.28 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (19): * Single equations (assignments): 16 * 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.0001702/0.3989, allocations: 166.2 kB / 0.5297 GB, free: 11.13 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.37e-05/0.399, allocations: 22.05 kB / 0.5298 GB, free: 11.12 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005168/0.3995, allocations: 201.7 kB / 0.53 GB, free: 10.99 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.3995, allocations: 1.531 kB / 0.53 GB, free: 10.99 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.758e-06/0.3995, allocations: 0 / 0.53 GB, free: 10.99 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.3995, allocations: 0 / 0.53 GB, free: 10.99 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000304/0.3998, allocations: 268.3 kB / 0.5302 GB, free: 10.74 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.3998, allocations: 3.984 kB / 0.5302 GB, free: 10.73 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001176/0.401, allocations: 99.92 kB / 0.5303 GB, free: 10.7 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.401, allocations: 5.188 kB / 0.5303 GB, free: 10.69 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.802e-05/0.4011, allocations: 5.125 kB / 0.5303 GB, free: 10.69 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001159/0.4022, allocations: 1.791 MB / 0.5321 GB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.4022, allocations: 7.922 kB / 0.5321 GB, free: 8.875 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004213/0.4027, allocations: 255.8 kB / 0.5323 GB, free: 8.688 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.148e-05/0.4028, allocations: 99.77 kB / 0.5324 GB, free: 8.578 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.087e-05/0.4028, allocations: 1.594 kB / 0.5324 GB, free: 8.578 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001987/0.403, allocations: 14.98 kB / 0.5324 GB, free: 8.566 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.545e-05/0.4031, allocations: 8.062 kB / 0.5324 GB, free: 8.562 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.136e-05/0.4031, allocations: 2.875 kB / 0.5324 GB, free: 8.562 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002468/0.4033, allocations: 249.1 kB / 0.5327 GB, free: 8.406 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4033, allocations: 0 / 0.5327 GB, free: 8.406 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003483/0.4037, allocations: 67.58 kB / 0.5327 GB, free: 8.395 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.0008179/0.4045, allocations: 0.8025 MB / 0.5335 GB, free: 7.668 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002308/0.4068, allocations: 258.1 kB / 0.5338 GB, free: 7.566 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.4069, allocations: 0 / 0.5338 GB, free: 7.566 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009398/0.4078, allocations: 113.7 kB / 0.5339 GB, free: 7.52 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003934/0.4082, allocations: 52.11 kB / 0.5339 GB, free: 7.484 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003724/0.4119, allocations: 2.908 MB / 0.5368 GB, free: 5.395 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003453/0.4123, allocations: 0.78 MB / 0.5375 GB, free: 4.648 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001424/0.4125, allocations: 48.89 kB / 0.5376 GB, free: 4.633 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001214/0.4126, allocations: 70.12 kB / 0.5376 GB, free: 4.574 MB / 398.1 MB Notification: Performance of SimCode: time 1.904e-06/0.4126, allocations: 0 / 0.5376 GB, free: 4.574 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0259/0.4385, allocations: 7.802 MB / 0.5453 GB, free: 144 kB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/11.86, allocations: 9.078 kB / 0.5453 GB, free: 136 kB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_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_idealGas_DPMFLOW.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_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_idealGas_DPMFLOW/dp_idealGas_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches