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.001341/0.001341, allocations: 118.8 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001291/0.001292, allocations: 197.2 kB / 18.73 MB, free: 4.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.433/1.433, allocations: 227.4 MB / 247 MB, free: 10.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.223/0.223, allocations: 46.12 MB / 344.4 MB, free: 11.4 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002167/0.002167, allocations: 76.11 kB / 480.9 MB, free: 4.441 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3344/0.3366, allocations: 62.45 MB / 0.5307 GB, free: 13.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW): time 0.00316/0.3398, allocations: 1.92 MB / 0.5325 GB, free: 11.85 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001736/0.3415, allocations: 1.127 MB / 0.5336 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.754e-05/0.3416, allocations: 5.812 kB / 0.5336 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002692/0.3419, allocations: 69.47 kB / 0.5337 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000172/0.3421, allocations: 71.98 kB / 0.5338 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004082/0.3425, allocations: 151.3 kB / 0.5339 GB, free: 10.74 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002841/0.3428, allocations: 265.8 kB / 0.5342 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.65e-05/0.3429, allocations: 30.73 kB / 0.5342 GB, free: 10.58 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001995/0.3431, allocations: 110.1 kB / 0.5343 GB, free: 10.52 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001624/0.3433, allocations: 120.7 kB / 0.5344 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.225e-05/0.3433, allocations: 6.875 kB / 0.5344 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000502/0.3438, allocations: 318.5 kB / 0.5347 GB, free: 10.26 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.322e-05/0.3439, allocations: 58.23 kB / 0.5348 GB, free: 10.21 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001313/0.344, allocations: 121.2 kB / 0.5349 GB, free: 10.14 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005682/0.3446, allocations: 435.6 kB / 0.5353 GB, free: 9.867 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.3446, allocations: 1.188 kB / 0.5353 GB, free: 9.867 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.3446, allocations: 4 kB / 0.5353 GB, free: 9.863 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.541e-06/0.3446, allocations: 0 / 0.5353 GB, free: 9.863 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.0007554/0.3454, allocations: 0.5691 MB / 0.5359 GB, free: 9.344 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.3454, allocations: 9.844 kB / 0.5359 GB, free: 9.344 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.491e-05/0.3455, allocations: 89.19 kB / 0.536 GB, free: 9.262 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.446e-05/0.3456, allocations: 36.23 kB / 0.536 GB, free: 9.242 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002709/0.3459, allocations: 233.7 kB / 0.5362 GB, free: 9.004 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.464e-05/0.3459, allocations: 26.81 kB / 0.5363 GB, free: 8.992 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.245e-05/0.346, allocations: 41.17 kB / 0.5363 GB, free: 8.973 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007877/0.3467, allocations: 491 kB / 0.5368 GB, free: 8.691 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.682e-05/0.3468, allocations: 5.078 kB / 0.5368 GB, free: 8.688 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.532e-05/0.3468, allocations: 10.25 kB / 0.5368 GB, free: 8.68 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.072e-05/0.3469, allocations: 27.08 kB / 0.5368 GB, free: 8.676 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006825/0.3475, allocations: 426.5 kB / 0.5372 GB, free: 8.473 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001557/0.3491, allocations: 1.188 MB / 0.5384 GB, free: 7.473 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001828/0.3493, allocations: 73.28 kB / 0.5384 GB, free: 7.43 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000122/0.3494, allocations: 41.67 kB / 0.5385 GB, free: 7.406 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.733e-05/0.3495, allocations: 9.984 kB / 0.5385 GB, free: 7.398 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.942e-05/0.3495, allocations: 39.83 kB / 0.5385 GB, free: 7.352 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.282e-06/0.3495, allocations: 0 / 0.5385 GB, free: 7.352 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004724/0.35, allocations: 147.9 kB / 0.5387 GB, free: 7.273 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.322e-05/0.3501, allocations: 56.97 kB / 0.5387 GB, free: 7.207 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001676/0.3502, allocations: 168.5 kB / 0.5389 GB, free: 7.066 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.816e-05/0.3503, allocations: 29.7 kB / 0.5389 GB, free: 7.031 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001484/0.3504, allocations: 228 kB / 0.5391 GB, free: 6.824 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.063e-05/0.3504, allocations: 31.02 kB / 0.5392 GB, free: 6.797 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.547e-05/0.3505, allocations: 53.23 kB / 0.5392 GB, free: 6.762 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.3507, allocations: 322.5 kB / 0.5395 GB, free: 6.441 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001409/0.3508, allocations: 50.2 kB / 0.5396 GB, free: 6.422 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002408/0.3511, allocations: 181.3 kB / 0.5397 GB, free: 6.227 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003899/0.3515, allocations: 241.7 kB / 0.54 GB, free: 6.004 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.3515, allocations: 1.188 kB / 0.54 GB, free: 6.004 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004667/0.352, allocations: 246.9 kB / 0.5402 GB, free: 5.875 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.352, allocations: 6.688 kB / 0.5402 GB, free: 5.875 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.352, allocations: 4.281 kB / 0.5402 GB, free: 5.875 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.011e-05/0.352, allocations: 5.562 kB / 0.5402 GB, free: 5.875 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000339/0.3524, allocations: 93.45 kB / 0.5403 GB, free: 5.848 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001121/0.3535, allocations: 1.783 MB / 0.5421 GB, free: 4.047 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001609/0.3537, allocations: 47.62 kB / 0.5421 GB, free: 4.012 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.46e-05/0.3537, allocations: 12.86 kB / 0.5421 GB, free: 4.012 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.00026/0.354, allocations: 175.9 kB / 0.5423 GB, free: 3.863 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.842e-05/0.354, allocations: 12.22 kB / 0.5423 GB, free: 3.855 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005042/0.3545, allocations: 199 kB / 0.5425 GB, free: 3.73 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.3545, allocations: 1.469 kB / 0.5425 GB, free: 3.73 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.3545, allocations: 0 / 0.5425 GB, free: 3.73 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.3546, allocations: 5.047 kB / 0.5425 GB, free: 3.727 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000344/0.3549, allocations: 297.1 kB / 0.5428 GB, free: 3.461 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.3549, allocations: 0 / 0.5428 GB, free: 3.461 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002035/0.3551, allocations: 64.97 kB / 0.5428 GB, free: 3.441 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.3551, allocations: 0 / 0.5428 GB, free: 3.441 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.34e-05/0.3552, allocations: 10.81 kB / 0.5428 GB, free: 3.434 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00105/0.3562, allocations: 1.775 MB / 0.5446 GB, free: 1.637 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.3562, allocations: 1.562 kB / 0.5446 GB, free: 1.637 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003477/0.3566, allocations: 219.9 kB / 0.5448 GB, free: 1.461 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.363e-05/0.3567, allocations: 87.22 kB / 0.5449 GB, free: 1.359 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.318e-05/0.3567, allocations: 5.125 kB / 0.5449 GB, free: 1.355 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.092e-05/0.3568, allocations: 8.391 kB / 0.5449 GB, free: 1.352 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.574e-05/0.3568, allocations: 4.406 kB / 0.5449 GB, free: 1.352 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.363e-05/0.3568, allocations: 12.12 kB / 0.5449 GB, free: 1.344 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.791e-05/0.3569, allocations: 119.3 kB / 0.545 GB, free: 1.25 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3569, allocations: 0 / 0.545 GB, free: 1.25 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000457/0.3574, allocations: 102.7 kB / 0.5451 GB, free: 1.215 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.0008234/0.3582, allocations: 0.7962 MB / 0.5459 GB, free: 496 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005439/0.3588, allocations: 179.3 kB / 0.5461 GB, free: 432 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.3588, allocations: 4 kB / 0.5461 GB, free: 428 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002807/0.3591, allocations: 88.12 kB / 0.5461 GB, free: 400 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002565/0.3594, allocations: 13.34 kB / 0.5462 GB, free: 392 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002811/0.3622, allocations: 2.212 MB / 0.5483 GB, free: 14.46 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004847/0.3627, allocations: 0.7966 MB / 0.5491 GB, free: 13.71 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001695/0.3629, allocations: 64.14 kB / 0.5492 GB, free: 13.67 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000106/0.363, allocations: 71.48 kB / 0.5492 GB, free: 13.61 MB / 414.1 MB Notification: Performance of SimCode: time 9.31e-07/0.363, allocations: 4 kB / 0.5492 GB, free: 13.61 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0295/0.3925, allocations: 5.307 MB / 0.5544 GB, free: 8.68 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.55/11.94, allocations: 18.25 kB / 0.5544 GB, free: 8.664 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