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.001565/0.001572, allocations: 118.8 kB / 17.78 MB, free: 5.242 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00181/0.00181, allocations: 198 kB / 18.73 MB, free: 4.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.503/1.503, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2247/0.2247, allocations: 46.1 MB / 344.3 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 75.88 kB / 480.8 MB, free: 4.508 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3479/0.3493, 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.003527/0.3529, allocations: 1.842 MB / 0.5323 GB, free: 11.97 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002163/0.3551, allocations: 1.364 MB / 0.5337 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.443e-05/0.3552, allocations: 1.5 kB / 0.5337 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002924/0.3555, allocations: 61.19 kB / 0.5337 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002821/0.3558, allocations: 83.94 kB / 0.5338 GB, free: 10.78 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004779/0.3563, allocations: 218.7 kB / 0.534 GB, free: 10.65 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004066/0.3567, allocations: 401.7 kB / 0.5344 GB, free: 10.42 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.676e-05/0.3568, allocations: 46.84 kB / 0.5344 GB, free: 10.4 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002758/0.3571, allocations: 165.2 kB / 0.5346 GB, free: 10.31 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002477/0.3573, allocations: 167.9 kB / 0.5348 GB, free: 10.21 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.851e-05/0.3574, allocations: 9.625 kB / 0.5348 GB, free: 10.21 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000718/0.3581, allocations: 470.2 kB / 0.5352 GB, free: 9.922 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001989/0.3583, allocations: 131.5 kB / 0.5353 GB, free: 9.836 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001918/0.3585, allocations: 193 kB / 0.5355 GB, free: 9.711 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008075/0.3593, allocations: 0.6236 MB / 0.5361 GB, free: 9.332 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.3593, allocations: 3.984 kB / 0.5361 GB, free: 9.328 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3593, allocations: 4 kB / 0.5361 GB, free: 9.324 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.234e-06/0.3594, allocations: 0 / 0.5361 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.001129/0.3605, allocations: 0.7664 MB / 0.5369 GB, free: 8.688 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.3605, allocations: 9.219 kB / 0.5369 GB, free: 8.688 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001076/0.3606, allocations: 105.3 kB / 0.537 GB, free: 8.598 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.856e-05/0.3607, allocations: 55.38 kB / 0.537 GB, free: 8.566 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003695/0.3611, allocations: 328.3 kB / 0.5374 GB, free: 8.273 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.465e-05/0.3612, allocations: 34.38 kB / 0.5374 GB, free: 8.258 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.508e-05/0.3612, allocations: 43.38 kB / 0.5374 GB, free: 8.242 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001037/0.3623, allocations: 0.694 MB / 0.5381 GB, free: 7.855 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.3623, allocations: 1.312 kB / 0.5381 GB, free: 7.855 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.392e-05/0.3624, allocations: 22.86 kB / 0.5381 GB, free: 7.836 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.383e-05/0.3624, allocations: 54.91 kB / 0.5382 GB, free: 7.828 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001148/0.3636, allocations: 0.7285 MB / 0.5389 GB, free: 7.496 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002235/0.3658, allocations: 1.698 MB / 0.5406 GB, free: 6.172 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005841/0.3664, allocations: 370.2 kB / 0.5409 GB, free: 5.984 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002487/0.3667, allocations: 143.2 kB / 0.541 GB, free: 5.918 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.11e-05/0.3667, allocations: 18.14 kB / 0.5411 GB, free: 5.906 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.835e-05/0.3668, allocations: 31.92 kB / 0.5411 GB, free: 5.867 MB / 398.1 MB Notification: Performance of pre-optimization done (n=27): time 1.973e-06/0.3668, allocations: 0 / 0.5411 GB, free: 5.867 MB / 398.1 MB Notification: Performance of matching and sorting (n=27): time 0.0009452/0.3677, allocations: 491.7 kB / 0.5416 GB, free: 5.648 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.633e-05/0.3678, allocations: 53.47 kB / 0.5416 GB, free: 5.586 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004489/0.3682, allocations: 453.7 kB / 0.542 GB, free: 5.32 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.793e-05/0.3683, allocations: 30.73 kB / 0.5421 GB, free: 5.285 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001569/0.3684, allocations: 271.6 kB / 0.5423 GB, free: 5.043 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.525e-05/0.3685, allocations: 95.89 kB / 0.5424 GB, free: 4.961 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000113/0.3686, allocations: 81.78 kB / 0.5425 GB, free: 4.91 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.3688, allocations: 354.7 kB / 0.5428 GB, free: 4.566 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002676/0.369, allocations: 145.5 kB / 0.543 GB, free: 4.504 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003296/0.3694, allocations: 252.2 kB / 0.5432 GB, free: 4.301 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006032/0.37, allocations: 434.6 kB / 0.5436 GB, free: 3.914 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.37, allocations: 3.938 kB / 0.5436 GB, free: 3.91 MB / 398.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007707/0.3708, allocations: 476.8 kB / 0.5441 GB, free: 3.438 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.3708, allocations: 10.5 kB / 0.5441 GB, free: 3.43 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.3708, allocations: 4 kB / 0.5441 GB, free: 3.426 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.3708, allocations: 4 kB / 0.5441 GB, free: 3.422 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005577/0.3714, allocations: 155.9 kB / 0.5443 GB, free: 3.27 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001883/0.3733, allocations: 3.614 MB / 0.5478 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002798/0.3736, allocations: 59.27 kB / 0.5478 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.514e-05/0.3736, allocations: 27.92 kB / 0.5479 GB, free: 15.43 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.000236/0.3739, allocations: 229.7 kB / 0.5481 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.316e-05/0.374, allocations: 35.53 kB / 0.5481 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001055/0.375, allocations: 0.5333 MB / 0.5486 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.375, allocations: 3.938 kB / 0.5487 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.375, allocations: 4 kB / 0.5487 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.3751, allocations: 0 / 0.5487 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005349/0.3756, allocations: 453 kB / 0.5491 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.3756, allocations: 0 / 0.5491 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005134/0.3761, allocations: 147.9 kB / 0.5492 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.3761, allocations: 0 / 0.5492 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.798e-05/0.3762, allocations: 15.98 kB / 0.5492 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00175/0.3779, allocations: 3.606 MB / 0.5528 GB, free: 10.21 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.378, allocations: 0 / 0.5528 GB, free: 10.21 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001019/0.379, allocations: 0.6558 MB / 0.5534 GB, free: 9.539 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002023/0.3792, allocations: 160.5 kB / 0.5536 GB, free: 9.363 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.993e-05/0.3793, allocations: 8.156 kB / 0.5536 GB, free: 9.355 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001992/0.3795, allocations: 19.92 kB / 0.5536 GB, free: 9.336 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.502e-05/0.3796, allocations: 27.91 kB / 0.5536 GB, free: 9.309 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.513e-05/0.3796, allocations: 16 kB / 0.5536 GB, free: 9.293 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003408/0.3799, allocations: 339.1 kB / 0.554 GB, free: 8.965 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3799, allocations: 0 / 0.554 GB, free: 8.965 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005677/0.3805, allocations: 175.5 kB / 0.5541 GB, free: 8.793 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.001527/0.3821, allocations: 1.271 MB / 0.5554 GB, free: 7.496 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001024/0.3831, allocations: 436.3 kB / 0.5558 GB, free: 7.07 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.3831, allocations: 4.062 kB / 0.5558 GB, free: 7.066 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005982/0.3837, allocations: 251.7 kB / 0.556 GB, free: 6.82 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004334/0.3842, allocations: 45.42 kB / 0.5561 GB, free: 6.777 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005953/0.3901, allocations: 4.86 MB / 0.5608 GB, free: 1.746 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005335/0.3907, allocations: 0.9091 MB / 0.5617 GB, free: 0.8086 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003045/0.391, allocations: 143 kB / 0.5618 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002448/0.3912, allocations: 163.4 kB / 0.562 GB, free: 0.5117 MB / 414.1 MB Notification: Performance of SimCode: time 7.52e-07/0.3913, allocations: 0 / 0.562 GB, free: 0.5117 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0331/0.4244, allocations: 11.47 MB / 0.5732 GB, free: 5.262 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.75/12.18, allocations: 12.8 kB / 0.5732 GB, free: 5.25 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 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.mat","/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