Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_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_trunk_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 trunk/package.mo): time 0.001115/0.001115, allocations: 121 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001411/0.001411, allocations: 202 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.362/1.362, allocations: 227.4 MB / 246.9 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2122/0.2122, allocations: 46.11 MB / 344.3 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001615/0.001615, allocations: 79.88 kB / 480.8 MB, free: 4.496 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3478/0.3495, allocations: 62.43 MB / 0.5305 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW): time 0.003351/0.3529, allocations: 1.835 MB / 0.5323 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002111/0.355, allocations: 1.37 MB / 0.5337 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.412e-05/0.3551, allocations: 1.156 kB / 0.5337 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002808/0.3554, allocations: 60.42 kB / 0.5337 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002537/0.3557, allocations: 93.69 kB / 0.5338 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000445/0.3561, allocations: 218.3 kB / 0.534 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003595/0.3565, allocations: 402.9 kB / 0.5344 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.944e-05/0.3566, allocations: 50.97 kB / 0.5345 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002442/0.3569, allocations: 159.9 kB / 0.5346 GB, free: 10.3 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002271/0.3571, allocations: 176.2 kB / 0.5348 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.922e-05/0.3571, allocations: 9.906 kB / 0.5348 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006786/0.3578, allocations: 462.2 kB / 0.5352 GB, free: 9.918 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001568/0.358, allocations: 131.1 kB / 0.5354 GB, free: 9.832 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001793/0.3582, allocations: 194.1 kB / 0.5355 GB, free: 9.707 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000731/0.3589, allocations: 0.6237 MB / 0.5362 GB, free: 9.328 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.3589, allocations: 4 kB / 0.5362 GB, free: 9.324 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.3589, allocations: 1.344 kB / 0.5362 GB, free: 9.324 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.614e-06/0.3589, allocations: 0 / 0.5362 GB, free: 9.324 MB / 398.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.00122/0.3602, allocations: 0.7896 MB / 0.5369 GB, free: 8.66 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.3602, allocations: 9.906 kB / 0.5369 GB, free: 8.66 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001095/0.3603, allocations: 96.61 kB / 0.537 GB, free: 8.578 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001155/0.3605, allocations: 55.53 kB / 0.5371 GB, free: 8.547 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004422/0.3609, allocations: 328.5 kB / 0.5374 GB, free: 8.254 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.417e-05/0.3609, allocations: 30.69 kB / 0.5374 GB, free: 8.242 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.464e-05/0.361, allocations: 47.11 kB / 0.5375 GB, free: 8.223 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001031/0.3621, allocations: 0.6947 MB / 0.5381 GB, free: 7.836 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.3621, allocations: 0 / 0.5381 GB, free: 7.836 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.157e-05/0.3621, allocations: 24.39 kB / 0.5382 GB, free: 7.816 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-05/0.3622, allocations: 58.12 kB / 0.5382 GB, free: 7.805 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001108/0.3633, allocations: 0.725 MB / 0.5389 GB, free: 7.477 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002362/0.3657, allocations: 1.711 MB / 0.5406 GB, free: 6.141 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006244/0.3663, allocations: 361.9 kB / 0.5409 GB, free: 5.961 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002631/0.3666, allocations: 143.6 kB / 0.5411 GB, free: 5.895 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.462e-05/0.3667, allocations: 12.75 kB / 0.5411 GB, free: 5.887 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.383e-05/0.3667, allocations: 33.2 kB / 0.5411 GB, free: 5.848 MB / 398.1 MB Notification: Performance of pre-optimization done (n=27): time 1.673e-06/0.3667, allocations: 4 kB / 0.5411 GB, free: 5.844 MB / 398.1 MB Notification: Performance of matching and sorting (n=27): time 0.001055/0.3678, allocations: 495.2 kB / 0.5416 GB, free: 5.621 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.611e-05/0.3678, allocations: 53.72 kB / 0.5417 GB, free: 5.559 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004694/0.3683, allocations: 457.6 kB / 0.5421 GB, free: 5.289 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.831e-05/0.3683, allocations: 30.77 kB / 0.5421 GB, free: 5.254 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001712/0.3685, allocations: 260.4 kB / 0.5424 GB, free: 5.023 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.953e-05/0.3686, allocations: 111.8 kB / 0.5425 GB, free: 4.926 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001294/0.3688, allocations: 86.78 kB / 0.5426 GB, free: 4.871 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.3689, allocations: 354.4 kB / 0.5429 GB, free: 4.527 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000273/0.3692, allocations: 140.8 kB / 0.543 GB, free: 4.469 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003559/0.3696, allocations: 254.8 kB / 0.5433 GB, free: 4.266 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006463/0.3702, allocations: 427.1 kB / 0.5437 GB, free: 3.871 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.013e-06/0.3702, allocations: 7.938 kB / 0.5437 GB, free: 3.863 MB / 398.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000846/0.3711, allocations: 480.8 kB / 0.5441 GB, free: 3.387 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/0.3711, allocations: 8 kB / 0.5442 GB, free: 3.379 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.762e-06/0.3711, allocations: 0 / 0.5442 GB, free: 3.379 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.3711, allocations: 8 kB / 0.5442 GB, free: 3.371 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000597/0.3717, allocations: 164.2 kB / 0.5443 GB, free: 3.211 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00187/0.3736, allocations: 3.61 MB / 0.5478 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003301/0.374, allocations: 63.78 kB / 0.5479 GB, free: 15.4 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.701e-05/0.374, allocations: 27.94 kB / 0.5479 GB, free: 15.37 MB / 414.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.0002754/0.3743, allocations: 213.6 kB / 0.5481 GB, free: 15.15 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.182e-05/0.3744, allocations: 39.77 kB / 0.5482 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001007/0.3754, allocations: 0.5295 MB / 0.5487 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.3754, allocations: 4 kB / 0.5487 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.3754, allocations: 11.92 kB / 0.5487 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.3754, allocations: 0 / 0.5487 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005487/0.376, allocations: 461.1 kB / 0.5491 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.376, allocations: 3.984 kB / 0.5492 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005326/0.3765, allocations: 139.9 kB / 0.5493 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.3766, allocations: 0 / 0.5493 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.775e-05/0.3766, allocations: 16 kB / 0.5493 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001809/0.3784, allocations: 3.606 MB / 0.5528 GB, free: 10.16 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.3784, allocations: 0 / 0.5528 GB, free: 10.16 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001049/0.3795, allocations: 0.6601 MB / 0.5535 GB, free: 9.48 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000249/0.3797, allocations: 160.7 kB / 0.5536 GB, free: 9.305 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.105e-05/0.3798, allocations: 4 kB / 0.5536 GB, free: 9.301 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000214/0.38, allocations: 19.92 kB / 0.5536 GB, free: 9.281 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.928e-05/0.3801, allocations: 31.91 kB / 0.5537 GB, free: 9.25 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.42e-05/0.3802, allocations: 11.94 kB / 0.5537 GB, free: 9.238 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003987/0.3806, allocations: 351.1 kB / 0.554 GB, free: 8.898 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.3806, allocations: 0 / 0.554 GB, free: 8.898 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006453/0.3812, allocations: 171.6 kB / 0.5542 GB, free: 8.73 MB / 414.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.001635/0.3829, allocations: 1.281 MB / 0.5554 GB, free: 7.426 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001092/0.384, allocations: 444.2 kB / 0.5559 GB, free: 6.992 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.384, allocations: 0 / 0.5559 GB, free: 6.992 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000619/0.3846, allocations: 251.7 kB / 0.5561 GB, free: 6.746 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004505/0.3851, allocations: 37.44 kB / 0.5561 GB, free: 6.711 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006351/0.3914, allocations: 4.881 MB / 0.5609 GB, free: 1.66 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004509/0.3919, allocations: 0.913 MB / 0.5618 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003042/0.3922, allocations: 139 kB / 0.5619 GB, free: 0.5859 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002237/0.3924, allocations: 167.4 kB / 0.5621 GB, free: 432 kB / 414.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3925, allocations: 4 kB / 0.5621 GB, free: 428 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0445/0.437, allocations: 11.25 MB / 0.5731 GB, free: 5.383 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.71/12.14, allocations: 7.906 kB / 0.5731 GB, free: 5.379 MB / 430.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches