Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_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.General.dp_nominalPressureLossLawDensity_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalPressureLossLawDensity_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalPressureLossLawDensity_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.001315/0.001315, allocations: 118.8 kB / 17.79 MB, free: 5.129 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001605/0.001605, allocations: 201.2 kB / 18.73 MB, free: 4.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.412/1.412, allocations: 227.4 MB / 246.9 MB, free: 10.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2132/0.2132, allocations: 46.09 MB / 344.3 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001491/0.001491, allocations: 79.88 kB / 480.8 MB, free: 4.555 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3281/0.3296, allocations: 62.43 MB / 0.5305 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW): time 0.002836/0.3325, allocations: 1.924 MB / 0.5324 GB, free: 11.92 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001621/0.3341, allocations: 1.13 MB / 0.5335 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.556e-05/0.3342, allocations: 1.781 kB / 0.5335 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002675/0.3345, allocations: 73.44 kB / 0.5336 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001776/0.3347, allocations: 68.3 kB / 0.5337 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004237/0.3351, allocations: 157.3 kB / 0.5338 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002815/0.3354, allocations: 269.8 kB / 0.5341 GB, free: 10.65 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.138e-05/0.3355, allocations: 34.72 kB / 0.5341 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002/0.3357, allocations: 106.1 kB / 0.5342 GB, free: 10.58 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001722/0.3359, allocations: 124.7 kB / 0.5343 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.1e-05/0.3359, allocations: 6.875 kB / 0.5343 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004655/0.3364, allocations: 317.8 kB / 0.5346 GB, free: 10.32 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.233e-05/0.3365, allocations: 55.36 kB / 0.5347 GB, free: 10.28 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001144/0.3366, allocations: 113.1 kB / 0.5348 GB, free: 10.21 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005626/0.3371, allocations: 436.7 kB / 0.5352 GB, free: 9.93 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.3372, allocations: 1.094 kB / 0.5352 GB, free: 9.93 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.3372, allocations: 4 kB / 0.5352 GB, free: 9.926 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.3372, allocations: 0 / 0.5352 GB, free: 9.926 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: 95 * Number of variables: 95 Notification: Performance of Generate backend data structure: time 0.0007575/0.3379, allocations: 0.5656 MB / 0.5358 GB, free: 9.41 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.338, allocations: 10.12 kB / 0.5358 GB, free: 9.41 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.696e-05/0.3381, allocations: 76.72 kB / 0.5359 GB, free: 9.34 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.99e-05/0.3381, allocations: 31.84 kB / 0.5359 GB, free: 9.324 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002848/0.3384, allocations: 242.9 kB / 0.5361 GB, free: 9.078 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.314e-05/0.3385, allocations: 26.19 kB / 0.5361 GB, free: 9.066 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.258e-05/0.3385, allocations: 33.41 kB / 0.5362 GB, free: 9.055 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006953/0.3392, allocations: 498.8 kB / 0.5366 GB, free: 8.766 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.3392, allocations: 1.094 kB / 0.5366 GB, free: 8.766 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.557e-05/0.3393, allocations: 10.06 kB / 0.5367 GB, free: 8.758 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.161e-05/0.3393, allocations: 27.7 kB / 0.5367 GB, free: 8.754 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006218/0.3399, allocations: 430.1 kB / 0.5371 GB, free: 8.547 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001428/0.3414, allocations: 1.176 MB / 0.5382 GB, free: 7.559 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001965/0.3416, allocations: 76.28 kB / 0.5383 GB, free: 7.512 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001153/0.3417, allocations: 41.45 kB / 0.5384 GB, free: 7.488 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.687e-05/0.3417, allocations: 2.25 kB / 0.5384 GB, free: 7.488 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.71e-05/0.3418, allocations: 44.16 kB / 0.5384 GB, free: 7.438 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.203e-06/0.3418, allocations: 0 / 0.5384 GB, free: 7.438 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004794/0.3423, allocations: 152.2 kB / 0.5385 GB, free: 7.355 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.974e-05/0.3423, allocations: 56.84 kB / 0.5386 GB, free: 7.289 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001398/0.3425, allocations: 169.6 kB / 0.5388 GB, free: 7.145 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.52e-05/0.3425, allocations: 30.77 kB / 0.5388 GB, free: 7.109 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001244/0.3426, allocations: 222.8 kB / 0.539 GB, free: 6.906 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.429e-05/0.3426, allocations: 27.89 kB / 0.539 GB, free: 6.883 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.116e-05/0.3427, allocations: 57.2 kB / 0.5391 GB, free: 6.844 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000103/0.3428, allocations: 322 kB / 0.5394 GB, free: 6.523 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001352/0.343, allocations: 50.11 kB / 0.5394 GB, free: 6.504 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002002/0.3432, allocations: 181.3 kB / 0.5396 GB, free: 6.309 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003544/0.3436, allocations: 242.4 kB / 0.5398 GB, free: 6.086 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.3436, allocations: 1.062 kB / 0.5398 GB, free: 6.086 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004382/0.344, allocations: 250.5 kB / 0.5401 GB, free: 5.953 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.344, allocations: 6.656 kB / 0.5401 GB, free: 5.953 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/0.344, allocations: 5.188 kB / 0.5401 GB, free: 5.953 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/0.3441, allocations: 5.156 kB / 0.5401 GB, free: 5.953 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003256/0.3444, allocations: 88.67 kB / 0.5402 GB, free: 5.93 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008475/0.3453, allocations: 1.792 MB / 0.5419 GB, free: 4.121 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001376/0.3454, allocations: 32.62 kB / 0.542 GB, free: 4.102 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.179e-05/0.3455, allocations: 15.56 kB / 0.542 GB, free: 4.098 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 7 (dp_IN_con[3].target,dp_IN_con[2].target,dp_IN_con[1].target,m_flow_IN_con[3].target,m_flow_IN_con[2].target,m_flow_IN_con[1].target,NominalMassFlowRate) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000185/0.3456, allocations: 184.1 kB / 0.5422 GB, free: 3.941 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.378e-05/0.3457, allocations: 8.188 kB / 0.5422 GB, free: 3.938 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004696/0.3462, allocations: 199.3 kB / 0.5424 GB, free: 3.812 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.3462, allocations: 1.375 kB / 0.5424 GB, free: 3.812 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.3462, allocations: 0 / 0.5424 GB, free: 3.812 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.3462, allocations: 3.984 kB / 0.5424 GB, free: 3.809 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003049/0.3465, allocations: 292.7 kB / 0.5426 GB, free: 3.547 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.3465, allocations: 4 kB / 0.5426 GB, free: 3.543 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002059/0.3467, allocations: 61.53 kB / 0.5427 GB, free: 3.527 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.3467, allocations: 1.469 kB / 0.5427 GB, free: 3.527 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.348e-05/0.3468, allocations: 6.25 kB / 0.5427 GB, free: 3.523 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007869/0.3475, allocations: 1.775 MB / 0.5444 GB, free: 1.727 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.3476, allocations: 0 / 0.5444 GB, free: 1.727 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003304/0.3479, allocations: 212.7 kB / 0.5446 GB, free: 1.559 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.924e-05/0.348, allocations: 95.62 kB / 0.5447 GB, free: 1.449 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.524e-05/0.348, allocations: 1.25 kB / 0.5447 GB, free: 1.449 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.947e-05/0.3481, allocations: 7.25 kB / 0.5447 GB, free: 1.445 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.179e-05/0.3482, allocations: 9.172 kB / 0.5447 GB, free: 1.441 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.334e-05/0.3482, allocations: 4.281 kB / 0.5448 GB, free: 1.441 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001152/0.3483, allocations: 118.3 kB / 0.5449 GB, free: 1.348 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3483, allocations: 5.219 kB / 0.5449 GB, free: 1.344 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005332/0.3488, allocations: 98.03 kB / 0.545 GB, free: 1.312 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000866/0.3497, allocations: 0.7992 MB / 0.5457 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005436/0.3503, allocations: 180.2 kB / 0.5459 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3503, allocations: 4.125 kB / 0.5459 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002768/0.3506, allocations: 84.3 kB / 0.546 GB, free: 500 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002772/0.3509, allocations: 11.17 kB / 0.546 GB, free: 492 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002469/0.3533, allocations: 2.216 MB / 0.5482 GB, free: 14.56 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003582/0.3537, allocations: 0.7924 MB / 0.5489 GB, free: 13.81 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001571/0.3539, allocations: 67.72 kB / 0.549 GB, free: 13.77 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.557e-05/0.354, allocations: 80.66 kB / 0.5491 GB, free: 13.7 MB / 414.1 MB Notification: Performance of SimCode: time 5.41e-07/0.354, allocations: 4 kB / 0.5491 GB, free: 13.7 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02534/0.3793, allocations: 5.343 MB / 0.5543 GB, free: 8.781 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.58, allocations: 13.75 kB / 0.5543 GB, free: 8.77 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalPressureLossLawDensity_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalPressureLossLawDensity_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/General/dp_nominalPressureLossLawDensity_DPMFLOW/dp_nominalPressureLossLawDensity_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches