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.001643/0.001643, allocations: 118.2 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002253/0.002253, allocations: 205.2 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.359/1.359, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2211/0.2211, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001391, allocations: 71.88 kB / 480.8 MB, free: 4.543 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3159/0.3173, allocations: 62.44 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW): time 0.003235/0.3206, allocations: 1.826 MB / 0.5323 GB, free: 11.99 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002157/0.3228, allocations: 1.37 MB / 0.5337 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001716/0.323, allocations: 1.375 kB / 0.5337 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00035/0.3234, allocations: 56.17 kB / 0.5337 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003506/0.3237, allocations: 85.44 kB / 0.5338 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006797/0.3244, allocations: 232.5 kB / 0.534 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000482/0.3249, allocations: 393.5 kB / 0.5344 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.325, allocations: 51.52 kB / 0.5345 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003908/0.3254, allocations: 159.7 kB / 0.5346 GB, free: 10.32 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003386/0.3258, allocations: 172.2 kB / 0.5348 GB, free: 10.22 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.638e-05/0.3258, allocations: 9.719 kB / 0.5348 GB, free: 10.22 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008255/0.3267, allocations: 470.1 kB / 0.5352 GB, free: 9.934 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001886/0.3269, allocations: 134.9 kB / 0.5354 GB, free: 9.844 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002693/0.3272, allocations: 190.5 kB / 0.5355 GB, free: 9.723 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009739/0.3281, allocations: 0.6275 MB / 0.5361 GB, free: 9.34 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.3281, allocations: 0 / 0.5361 GB, free: 9.34 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.3282, allocations: 1.094 kB / 0.5362 GB, free: 9.34 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.511e-05/0.3282, allocations: 0 / 0.5362 GB, free: 9.34 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.001365/0.3295, allocations: 0.7893 MB / 0.5369 GB, free: 8.676 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.3296, allocations: 13.42 kB / 0.5369 GB, free: 8.672 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.994e-05/0.3297, allocations: 92.92 kB / 0.537 GB, free: 8.594 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001032/0.3298, allocations: 56.41 kB / 0.5371 GB, free: 8.562 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004254/0.3302, allocations: 323.8 kB / 0.5374 GB, free: 8.273 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.495e-05/0.3303, allocations: 34.61 kB / 0.5374 GB, free: 8.258 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.883e-05/0.3304, allocations: 44.28 kB / 0.5375 GB, free: 8.242 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009517/0.3313, allocations: 0.6979 MB / 0.5381 GB, free: 7.852 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/0.3313, allocations: 3.938 kB / 0.5381 GB, free: 7.848 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.521e-05/0.3314, allocations: 15.69 kB / 0.5382 GB, free: 7.836 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.038e-05/0.3315, allocations: 62.77 kB / 0.5382 GB, free: 7.82 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001015/0.3325, allocations: 0.722 MB / 0.5389 GB, free: 7.496 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002292/0.3348, allocations: 1.721 MB / 0.5406 GB, free: 6.148 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006316/0.3354, allocations: 363.7 kB / 0.541 GB, free: 5.969 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002667/0.3357, allocations: 148.3 kB / 0.5411 GB, free: 5.898 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.648e-05/0.3358, allocations: 8.781 kB / 0.5411 GB, free: 5.895 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.655e-05/0.3358, allocations: 41.02 kB / 0.5411 GB, free: 5.848 MB / 398.1 MB Notification: Performance of pre-optimization done (n=27): time 1.754e-06/0.3358, allocations: 0 / 0.5411 GB, free: 5.848 MB / 398.1 MB Notification: Performance of matching and sorting (n=27): time 0.001017/0.3368, allocations: 490.5 kB / 0.5416 GB, free: 5.629 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.223e-05/0.3369, allocations: 54.66 kB / 0.5417 GB, free: 5.566 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005576/0.3375, allocations: 461 kB / 0.5421 GB, free: 5.293 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.905e-05/0.3375, allocations: 26.95 kB / 0.5421 GB, free: 5.262 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001699/0.3377, allocations: 264.5 kB / 0.5424 GB, free: 5.027 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.239e-05/0.3378, allocations: 103.9 kB / 0.5425 GB, free: 4.938 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001204/0.3379, allocations: 90.39 kB / 0.5426 GB, free: 4.879 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.3381, allocations: 354.5 kB / 0.5429 GB, free: 4.535 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002646/0.3383, allocations: 137.4 kB / 0.543 GB, free: 4.48 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000338/0.3387, allocations: 248.9 kB / 0.5433 GB, free: 4.281 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00064/0.3393, allocations: 432.9 kB / 0.5437 GB, free: 3.898 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.3393, allocations: 3.938 kB / 0.5437 GB, free: 3.895 MB / 398.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007814/0.3401, allocations: 480.8 kB / 0.5441 GB, free: 3.418 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.3402, allocations: 8 kB / 0.5442 GB, free: 3.41 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.779e-06/0.3402, allocations: 4.469 kB / 0.5442 GB, free: 3.406 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.028e-05/0.3402, allocations: 11.94 kB / 0.5442 GB, free: 3.395 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005938/0.3408, allocations: 167.8 kB / 0.5443 GB, free: 3.23 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002062/0.3429, allocations: 3.61 MB / 0.5479 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003465/0.3432, allocations: 59.5 kB / 0.5479 GB, free: 15.42 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.206e-05/0.3433, allocations: 27.94 kB / 0.5479 GB, free: 15.39 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.0003127/0.3436, allocations: 217.6 kB / 0.5481 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.007e-05/0.3437, allocations: 35.77 kB / 0.5482 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001061/0.3448, allocations: 0.5374 MB / 0.5487 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.3448, allocations: 4 kB / 0.5487 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.3448, allocations: 0 / 0.5487 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.3448, allocations: 7.922 kB / 0.5487 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005926/0.3454, allocations: 449.1 kB / 0.5491 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.3454, allocations: 4 kB / 0.5491 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005102/0.3459, allocations: 143.8 kB / 0.5493 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.3459, allocations: 0 / 0.5493 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.508e-05/0.346, allocations: 12 kB / 0.5493 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001779/0.3478, allocations: 3.602 MB / 0.5528 GB, free: 10.19 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/0.3478, allocations: 7.969 kB / 0.5528 GB, free: 10.18 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000961/0.3487, allocations: 0.6602 MB / 0.5535 GB, free: 9.508 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002794/0.349, allocations: 160.7 kB / 0.5536 GB, free: 9.332 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.025e-05/0.3491, allocations: 8 kB / 0.5536 GB, free: 9.324 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001946/0.3493, allocations: 15.92 kB / 0.5536 GB, free: 9.309 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.5e-05/0.3494, allocations: 27.91 kB / 0.5537 GB, free: 9.281 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.142e-05/0.3494, allocations: 20 kB / 0.5537 GB, free: 9.262 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003838/0.3498, allocations: 351.1 kB / 0.554 GB, free: 8.922 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3498, allocations: 0 / 0.554 GB, free: 8.922 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005791/0.3504, allocations: 163.5 kB / 0.5542 GB, free: 8.762 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.001468/0.3519, allocations: 1.282 MB / 0.5554 GB, free: 7.453 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009988/0.3529, allocations: 435.5 kB / 0.5558 GB, free: 7.027 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.3529, allocations: 0 / 0.5558 GB, free: 7.027 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006151/0.3535, allocations: 256.7 kB / 0.5561 GB, free: 6.777 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004224/0.354, allocations: 45.44 kB / 0.5561 GB, free: 6.734 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005964/0.3599, allocations: 4.873 MB / 0.5609 GB, free: 1.688 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004571/0.3604, allocations: 0.9092 MB / 0.5618 GB, free: 0.75 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000312/0.3607, allocations: 142.9 kB / 0.5619 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002344/0.361, allocations: 167.4 kB / 0.5621 GB, free: 460 kB / 414.1 MB Notification: Performance of SimCode: time 7.71e-07/0.361, allocations: 0 / 0.5621 GB, free: 460 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03376/0.3948, allocations: 11.26 MB / 0.5731 GB, free: 5.418 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.49/11.89, allocations: 7.781 kB / 0.5731 GB, free: 5.414 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