Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_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.Orifice.dp_thickEdgedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_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.001132/0.001132, allocations: 113.2 kB / 17.78 MB, free: 5.258 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.001184/0.001184, allocations: 184.2 kB / 18.72 MB, free: 4.332 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.314/1.314, allocations: 222.9 MB / 242.4 MB, free: 15.06 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.2042/0.2042, allocations: 44.19 MB / 336.8 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 59.91 kB / 470.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3616/0.3628, allocations: 60.82 MB / 0.5185 GB, free: 3.305 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW): time 0.002743/0.3656, allocations: 1.823 MB / 0.5202 GB, free: 2.051 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00179/0.3674, allocations: 1.331 MB / 0.5215 GB, free: 1.129 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.098e-05/0.3675, allocations: 6.125 kB / 0.5215 GB, free: 1.125 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002928/0.3678, allocations: 66.16 kB / 0.5216 GB, free: 1.09 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002566/0.3681, allocations: 86.08 kB / 0.5217 GB, free: 1.043 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004866/0.3686, allocations: 226.2 kB / 0.5219 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003756/0.369, allocations: 395.4 kB / 0.5223 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.502e-05/0.3691, allocations: 49.12 kB / 0.5223 GB, free: 0.75 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001923/0.3692, allocations: 153.7 kB / 0.5225 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002333/0.3695, allocations: 175.2 kB / 0.5226 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.239e-05/0.3695, allocations: 14.97 kB / 0.5226 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007388/0.3703, allocations: 469.3 kB / 0.5231 GB, free: 460 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000159/0.3705, allocations: 127.5 kB / 0.5232 GB, free: 412 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001574/0.3706, allocations: 191 kB / 0.5234 GB, free: 296 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007616/0.3714, allocations: 0.6185 MB / 0.524 GB, free: 60 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.3714, allocations: 1.484 kB / 0.524 GB, free: 60 kB / 382.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.3714, allocations: 0 / 0.524 GB, free: 60 kB / 382.1 MB Notification: Performance of Transformations before backend: time 1.326e-05/0.3714, allocations: 0 / 0.524 GB, free: 60 kB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.001374/0.3728, allocations: 0.7957 MB / 0.5248 GB, free: 15.45 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.016e-05/0.3729, allocations: 9.844 kB / 0.5248 GB, free: 15.45 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001396/0.373, allocations: 99.72 kB / 0.5249 GB, free: 15.38 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001208/0.3731, allocations: 56.69 kB / 0.5249 GB, free: 15.35 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005005/0.3737, allocations: 313.3 kB / 0.5252 GB, free: 15.09 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.646e-05/0.3737, allocations: 35.75 kB / 0.5253 GB, free: 15.08 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.306e-05/0.3738, allocations: 43.44 kB / 0.5253 GB, free: 15.06 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001243/0.375, allocations: 0.7034 MB / 0.526 GB, free: 14.8 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.626e-05/0.3751, allocations: 1.281 kB / 0.526 GB, free: 14.8 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.677e-05/0.3751, allocations: 15.47 kB / 0.526 GB, free: 14.79 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001106/0.3752, allocations: 62.86 kB / 0.5261 GB, free: 14.78 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001218/0.3765, allocations: 0.7182 MB / 0.5268 GB, free: 14.46 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002477/0.379, allocations: 1.714 MB / 0.5285 GB, free: 13.12 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006511/0.3796, allocations: 357.1 kB / 0.5288 GB, free: 12.94 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003/0.3799, allocations: 140.8 kB / 0.5289 GB, free: 12.88 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.736e-05/0.38, allocations: 13.55 kB / 0.5289 GB, free: 12.87 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.192e-05/0.38, allocations: 40.52 kB / 0.529 GB, free: 12.82 MB / 398.1 MB Notification: Performance of pre-optimization done (n=27): time 1.843e-06/0.38, allocations: 7.875 kB / 0.529 GB, free: 12.82 MB / 398.1 MB Notification: Performance of matching and sorting (n=27): time 0.001085/0.3811, allocations: 499.4 kB / 0.5295 GB, free: 12.59 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.051e-05/0.3812, allocations: 53.69 kB / 0.5295 GB, free: 12.53 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004819/0.3817, allocations: 453.3 kB / 0.5299 GB, free: 12.26 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.596e-05/0.3817, allocations: 27.14 kB / 0.53 GB, free: 12.23 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001711/0.3819, allocations: 272.5 kB / 0.5302 GB, free: 11.99 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.56e-05/0.382, allocations: 99.39 kB / 0.5303 GB, free: 11.9 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001187/0.3821, allocations: 86.64 kB / 0.5304 GB, free: 11.85 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001617/0.3823, allocations: 354.2 kB / 0.5307 GB, free: 11.5 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002828/0.3825, allocations: 142 kB / 0.5309 GB, free: 11.45 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000361/0.3829, allocations: 252.8 kB / 0.5311 GB, free: 11.24 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006618/0.3836, allocations: 431.6 kB / 0.5315 GB, free: 10.96 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.332e-06/0.3836, allocations: 3.938 kB / 0.5315 GB, free: 10.95 MB / 398.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008521/0.3845, allocations: 490.8 kB / 0.532 GB, free: 10.71 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.3845, allocations: 7.375 kB / 0.532 GB, free: 10.71 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.3845, allocations: 3.812 kB / 0.532 GB, free: 10.71 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.191e-05/0.3845, allocations: 9.188 kB / 0.532 GB, free: 10.71 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005906/0.3851, allocations: 156.9 kB / 0.5322 GB, free: 10.67 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001963/0.3871, allocations: 3.613 MB / 0.5357 GB, free: 7.051 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003091/0.3874, allocations: 56.98 kB / 0.5358 GB, free: 7.012 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.502e-05/0.3875, allocations: 28.27 kB / 0.5358 GB, free: 7 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (42): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * 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): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000291/0.3878, allocations: 214.5 kB / 0.536 GB, free: 6.832 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.665e-05/0.3879, allocations: 37.02 kB / 0.536 GB, free: 6.812 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001094/0.389, allocations: 0.5395 MB / 0.5366 GB, free: 6.52 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.334e-06/0.389, allocations: 3.25 kB / 0.5366 GB, free: 6.52 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.992e-06/0.389, allocations: 0 / 0.5366 GB, free: 6.52 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.389, allocations: 3.984 kB / 0.5366 GB, free: 6.516 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005911/0.3896, allocations: 455.6 kB / 0.537 GB, free: 6.16 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.3896, allocations: 1.375 kB / 0.537 GB, free: 6.16 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005376/0.3902, allocations: 141.6 kB / 0.5371 GB, free: 6.121 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.718e-06/0.3902, allocations: 1.031 kB / 0.5371 GB, free: 6.121 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.806e-05/0.3902, allocations: 13.8 kB / 0.5371 GB, free: 6.113 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001821/0.392, allocations: 3.609 MB / 0.5407 GB, free: 2.492 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.392, allocations: 0 / 0.5407 GB, free: 2.492 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001004/0.393, allocations: 0.6591 MB / 0.5413 GB, free: 2.125 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002572/0.3933, allocations: 155.5 kB / 0.5415 GB, free: 1.988 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.282e-05/0.3934, allocations: 14.45 kB / 0.5415 GB, free: 1.977 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002183/0.3936, allocations: 21.48 kB / 0.5415 GB, free: 1.961 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.125e-05/0.3937, allocations: 33.16 kB / 0.5415 GB, free: 1.941 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.694e-05/0.3937, allocations: 13.91 kB / 0.5415 GB, free: 1.938 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000373/0.3941, allocations: 348.4 kB / 0.5419 GB, free: 1.738 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3941, allocations: 0 / 0.5419 GB, free: 1.738 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006422/0.3948, allocations: 162.6 kB / 0.542 GB, free: 1.699 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (L) * 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 (33): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * 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): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001494/0.3963, allocations: 1.288 MB / 0.5433 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001044/0.3973, allocations: 432.7 kB / 0.5437 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3973, allocations: 1.156 kB / 0.5437 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006415/0.398, allocations: 263.7 kB / 0.544 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000448/0.3984, allocations: 37.94 kB / 0.544 GB, free: 476 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006131/0.4046, allocations: 4.89 MB / 0.5488 GB, free: 12.09 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004284/0.405, allocations: 0.9015 MB / 0.5496 GB, free: 11.16 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003099/0.4054, allocations: 139 kB / 0.5498 GB, free: 11.03 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002327/0.4056, allocations: 171.4 kB / 0.5499 GB, free: 10.86 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.4056, allocations: 0 / 0.5499 GB, free: 10.86 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04514/0.4507, allocations: 11.23 MB / 0.5609 GB, free: 15.86 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.76/12.21, allocations: 18.81 kB / 0.5609 GB, free: 15.85 MB / 430.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_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_Orifice_dp_thickEdgedOverall_DPMFLOW.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/Orifice/dp_thickEdgedOverall_DPMFLOW/dp_thickEdgedOverall_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches