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.001216/0.001216, allocations: 121.7 kB / 17.79 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.001235/0.001236, allocations: 200.6 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.392/1.392, 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.2092/0.2092, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001418/0.001419, allocations: 75.88 kB / 480.8 MB, free: 4.543 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3143/0.3157, 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.003143/0.3189, allocations: 1.843 MB / 0.5323 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002137/0.321, allocations: 1.362 MB / 0.5337 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.108e-05/0.3212, allocations: 1.375 kB / 0.5337 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003106/0.3215, allocations: 64.16 kB / 0.5337 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002754/0.3218, allocations: 80.02 kB / 0.5338 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005371/0.3223, allocations: 223.2 kB / 0.534 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004487/0.3228, allocations: 401.3 kB / 0.5344 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.206e-05/0.3229, allocations: 47.97 kB / 0.5344 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002949/0.3232, allocations: 156 kB / 0.5346 GB, free: 10.32 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002807/0.3235, allocations: 183.6 kB / 0.5348 GB, free: 10.21 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.461e-05/0.3235, allocations: 11.5 kB / 0.5348 GB, free: 10.21 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000684/0.3242, allocations: 457.7 kB / 0.5352 GB, free: 9.934 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001922/0.3244, allocations: 130.8 kB / 0.5353 GB, free: 9.848 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002127/0.3246, allocations: 200.9 kB / 0.5355 GB, free: 9.715 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007759/0.3254, allocations: 0.6229 MB / 0.5361 GB, free: 9.336 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3254, allocations: 1.125 kB / 0.5361 GB, free: 9.336 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.3254, allocations: 0 / 0.5361 GB, free: 9.336 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.434e-06/0.3255, allocations: 0 / 0.5361 GB, free: 9.336 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.001166/0.3266, allocations: 0.772 MB / 0.5369 GB, free: 8.691 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/0.3267, allocations: 8.906 kB / 0.5369 GB, free: 8.691 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001074/0.3268, allocations: 101 kB / 0.537 GB, free: 8.605 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.612e-05/0.3269, allocations: 52.16 kB / 0.537 GB, free: 8.578 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000474/0.3274, allocations: 324 kB / 0.5374 GB, free: 8.289 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.219e-05/0.3274, allocations: 30.12 kB / 0.5374 GB, free: 8.277 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.161e-05/0.3275, allocations: 55.44 kB / 0.5374 GB, free: 8.25 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001161/0.3287, allocations: 0.691 MB / 0.5381 GB, free: 7.867 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/0.3287, allocations: 4 kB / 0.5381 GB, free: 7.863 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.426e-05/0.3288, allocations: 19.48 kB / 0.5381 GB, free: 7.848 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.675e-05/0.3288, allocations: 62.89 kB / 0.5382 GB, free: 7.832 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001111/0.33, allocations: 0.7245 MB / 0.5389 GB, free: 7.504 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002467/0.3324, allocations: 1.694 MB / 0.5406 GB, free: 6.184 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006403/0.3331, allocations: 365 kB / 0.5409 GB, free: 6 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002644/0.3334, allocations: 144.5 kB / 0.541 GB, free: 5.934 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.165e-05/0.3334, allocations: 13.98 kB / 0.5411 GB, free: 5.926 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.586e-05/0.3335, allocations: 40.23 kB / 0.5411 GB, free: 5.879 MB / 398.1 MB Notification: Performance of pre-optimization done (n=27): time 1.523e-06/0.3335, allocations: 0 / 0.5411 GB, free: 5.879 MB / 398.1 MB Notification: Performance of matching and sorting (n=27): time 0.001087/0.3346, allocations: 491.2 kB / 0.5416 GB, free: 5.66 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.174e-05/0.3346, allocations: 53.97 kB / 0.5416 GB, free: 5.598 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005786/0.3352, allocations: 456.9 kB / 0.5421 GB, free: 5.328 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.803e-05/0.3352, allocations: 30.86 kB / 0.5421 GB, free: 5.293 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001901/0.3354, allocations: 260.2 kB / 0.5423 GB, free: 5.062 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.448e-05/0.3355, allocations: 103.3 kB / 0.5424 GB, free: 4.973 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000133/0.3357, allocations: 81.72 kB / 0.5425 GB, free: 4.922 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001572/0.3358, allocations: 354.5 kB / 0.5428 GB, free: 4.578 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002803/0.3361, allocations: 142.1 kB / 0.543 GB, free: 4.52 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003631/0.3365, allocations: 252.8 kB / 0.5432 GB, free: 4.316 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006853/0.3372, allocations: 431.5 kB / 0.5436 GB, free: 3.934 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.3372, allocations: 3.938 kB / 0.5436 GB, free: 3.93 MB / 398.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008407/0.3381, allocations: 484.6 kB / 0.5441 GB, free: 3.449 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.3381, allocations: 6.188 kB / 0.5441 GB, free: 3.445 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/0.3381, allocations: 4 kB / 0.5441 GB, free: 3.441 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/0.3381, allocations: 8.469 kB / 0.5441 GB, free: 3.434 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000579/0.3387, allocations: 167.8 kB / 0.5443 GB, free: 3.27 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001894/0.3406, allocations: 3.602 MB / 0.5478 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003146/0.3409, allocations: 67.34 kB / 0.5479 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.006e-05/0.341, 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.0002618/0.3413, allocations: 217.5 kB / 0.5481 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.355e-05/0.3413, allocations: 39.53 kB / 0.5481 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001041/0.3424, allocations: 0.5295 MB / 0.5486 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.734e-06/0.3424, allocations: 8 kB / 0.5487 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.3424, allocations: 3.938 kB / 0.5487 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.3424, allocations: 0 / 0.5487 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005541/0.343, allocations: 457 kB / 0.5491 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.343, allocations: 0 / 0.5491 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005338/0.3435, allocations: 135.9 kB / 0.5492 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.366e-06/0.3436, allocations: 4 kB / 0.5492 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.869e-05/0.3436, allocations: 15.98 kB / 0.5492 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001836/0.3454, allocations: 3.61 MB / 0.5528 GB, free: 10.22 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.3454, allocations: 0 / 0.5528 GB, free: 10.22 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001001/0.3465, allocations: 0.6561 MB / 0.5534 GB, free: 9.551 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002403/0.3467, allocations: 152.5 kB / 0.5536 GB, free: 9.383 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.406e-05/0.3468, allocations: 8 kB / 0.5536 GB, free: 9.375 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002053/0.347, allocations: 15.92 kB / 0.5536 GB, free: 9.359 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.027e-05/0.3471, allocations: 31.91 kB / 0.5536 GB, free: 9.328 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.566e-05/0.3471, allocations: 15.94 kB / 0.5536 GB, free: 9.312 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003495/0.3475, allocations: 343.1 kB / 0.5539 GB, free: 8.98 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.3475, allocations: 8.062 kB / 0.554 GB, free: 8.973 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005573/0.348, allocations: 167.5 kB / 0.5541 GB, free: 8.809 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.001454/0.3495, allocations: 1.274 MB / 0.5554 GB, free: 7.508 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001043/0.3505, allocations: 443.8 kB / 0.5558 GB, free: 7.074 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3506, allocations: 0 / 0.5558 GB, free: 7.074 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006276/0.3512, allocations: 255.7 kB / 0.556 GB, free: 6.824 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000408/0.3516, allocations: 38.11 kB / 0.5561 GB, free: 6.789 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00574/0.3574, allocations: 4.861 MB / 0.5608 GB, free: 1.754 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004343/0.3578, allocations: 0.9052 MB / 0.5617 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002954/0.3581, allocations: 139 kB / 0.5618 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002167/0.3583, allocations: 171.4 kB / 0.562 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of SimCode: time 8.12e-07/0.3584, allocations: 0 / 0.562 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03252/0.3909, allocations: 11.47 MB / 0.5732 GB, free: 5.281 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.78/12.17, allocations: 0.875 kB / 0.5732 GB, free: 5.281 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