Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_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_nominalDensityViscosity_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_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.001237/0.001237, allocations: 117.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001299/0.001299, allocations: 200.6 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.419/1.419, allocations: 227.4 MB / 247 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.2312/0.2312, allocations: 46.12 MB / 344.4 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002141/0.002141, allocations: 75.88 kB / 480.9 MB, free: 4.504 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3345/0.3366, allocations: 62.44 MB / 0.5306 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW): time 0.00349/0.3402, allocations: 1.84 MB / 0.5324 GB, free: 12.16 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001184/0.3414, allocations: 0.6349 MB / 0.5331 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.75e-05/0.3415, allocations: 1.375 kB / 0.5331 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002866/0.3418, allocations: 45.5 kB / 0.5331 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001646/0.3419, allocations: 77.28 kB / 0.5332 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003639/0.3423, allocations: 124.5 kB / 0.5333 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002752/0.3426, allocations: 231.1 kB / 0.5335 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.094e-05/0.3427, allocations: 28.8 kB / 0.5335 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001086/0.3428, allocations: 89.95 kB / 0.5336 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001565/0.343, allocations: 104.4 kB / 0.5337 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.536e-05/0.343, allocations: 6.875 kB / 0.5337 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000427/0.3434, allocations: 218 kB / 0.5339 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.968e-05/0.3435, allocations: 52.73 kB / 0.534 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001121/0.3436, allocations: 94.98 kB / 0.5341 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005221/0.3442, allocations: 334.7 kB / 0.5344 GB, free: 10.8 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.3442, allocations: 4 kB / 0.5344 GB, free: 10.8 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.3442, allocations: 4 kB / 0.5344 GB, free: 10.8 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.3442, allocations: 1.094 kB / 0.5344 GB, free: 10.8 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.0008147/0.345, allocations: 0.5377 MB / 0.5349 GB, free: 10.29 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.3451, allocations: 9.844 kB / 0.5349 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.359e-05/0.3452, allocations: 65.02 kB / 0.535 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001783/0.347, allocations: 208.4 kB / 0.5352 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003277/0.3473, allocations: 265.2 kB / 0.5355 GB, free: 9.863 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.437e-05/0.3473, allocations: 17.55 kB / 0.5355 GB, free: 9.855 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.985e-05/0.3474, allocations: 22.09 kB / 0.5355 GB, free: 9.848 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009929/0.3484, allocations: 0.4997 MB / 0.536 GB, free: 9.547 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.3484, allocations: 4 kB / 0.536 GB, free: 9.543 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.022e-05/0.3485, allocations: 10.44 kB / 0.536 GB, free: 9.535 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.867e-05/0.3485, allocations: 29.06 kB / 0.536 GB, free: 9.527 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001275/0.3498, allocations: 0.584 MB / 0.5366 GB, free: 9.227 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00225/0.352, allocations: 1.16 MB / 0.5377 GB, free: 8.281 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007003/0.3528, allocations: 177 kB / 0.5379 GB, free: 8.188 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003557/0.3531, allocations: 84.73 kB / 0.538 GB, free: 8.148 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.974e-05/0.3532, allocations: 9.359 kB / 0.538 GB, free: 8.141 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.037e-05/0.3532, allocations: 34.5 kB / 0.538 GB, free: 8.098 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 4.057e-06/0.3532, allocations: 1.188 kB / 0.538 GB, free: 8.098 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.001283/0.3545, allocations: 303.3 kB / 0.5383 GB, free: 7.945 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.954e-05/0.3546, allocations: 52.47 kB / 0.5384 GB, free: 7.883 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003119/0.3549, allocations: 283.6 kB / 0.5386 GB, free: 7.691 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.658e-05/0.3549, allocations: 25.7 kB / 0.5387 GB, free: 7.66 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001295/0.355, allocations: 170 kB / 0.5388 GB, free: 7.504 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.401e-05/0.3551, allocations: 27.84 kB / 0.5388 GB, free: 7.48 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.097e-05/0.3552, allocations: 32.81 kB / 0.5389 GB, free: 7.453 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001609/0.3554, allocations: 328.7 kB / 0.5392 GB, free: 7.129 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003691/0.3557, allocations: 94.02 kB / 0.5393 GB, free: 7.086 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003958/0.3561, allocations: 118.6 kB / 0.5394 GB, free: 7.012 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007446/0.3569, allocations: 217.9 kB / 0.5396 GB, free: 6.887 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.3569, allocations: 1.469 kB / 0.5396 GB, free: 6.887 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0008814/0.3578, allocations: 261.7 kB / 0.5399 GB, free: 6.75 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.3578, allocations: 8.219 kB / 0.5399 GB, free: 6.75 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.3578, allocations: 1.125 kB / 0.5399 GB, free: 6.75 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.3578, allocations: 1.125 kB / 0.5399 GB, free: 6.75 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005802/0.3637, allocations: 468.8 kB / 0.5403 GB, free: 6.555 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002951/0.3666, allocations: 1.948 MB / 0.5422 GB, free: 4.668 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004372/0.3671, allocations: 43.19 kB / 0.5423 GB, free: 4.641 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.745e-05/0.3671, allocations: 8.453 kB / 0.5423 GB, free: 4.637 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (13): * Single equations (assignments): 10 * 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.000207/0.3673, allocations: 157.4 kB / 0.5424 GB, free: 4.496 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.952e-05/0.3674, allocations: 21.02 kB / 0.5424 GB, free: 4.484 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.94e-05/0.3675, allocations: 26.67 kB / 0.5425 GB, free: 4.461 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.864e-06/0.3675, allocations: 5.281 kB / 0.5425 GB, free: 4.457 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.3675, allocations: 4 kB / 0.5425 GB, free: 4.453 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.3675, allocations: 3.984 kB / 0.5425 GB, free: 4.449 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003933/0.3679, allocations: 289.5 kB / 0.5427 GB, free: 4.184 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.3679, allocations: 0.9688 kB / 0.5427 GB, free: 4.184 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005686/0.3736, allocations: 452.2 kB / 0.5432 GB, free: 3.996 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.182e-06/0.3736, allocations: 0 / 0.5432 GB, free: 3.996 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.269e-05/0.3737, allocations: 14.14 kB / 0.5432 GB, free: 3.984 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003027/0.3767, allocations: 1.944 MB / 0.5451 GB, free: 2.102 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.3767, allocations: 0 / 0.5451 GB, free: 2.102 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009354/0.3777, allocations: 325.4 kB / 0.5454 GB, free: 1.875 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001175/0.3778, allocations: 97.72 kB / 0.5455 GB, free: 1.766 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.889e-05/0.3779, allocations: 1.094 kB / 0.5455 GB, free: 1.766 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003617/0.3782, allocations: 26.31 kB / 0.5455 GB, free: 1.75 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.59e-05/0.3783, allocations: 10.88 kB / 0.5455 GB, free: 1.742 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.782e-05/0.3784, allocations: 10.52 kB / 0.5455 GB, free: 1.734 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002426/0.3786, allocations: 209.9 kB / 0.5457 GB, free: 1.598 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3786, allocations: 0 / 0.5457 GB, free: 1.598 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004191/0.379, allocations: 71.95 kB / 0.5458 GB, free: 1.586 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.001449/0.3805, allocations: 0.8612 MB / 0.5466 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.006188/0.3867, allocations: 0.5921 MB / 0.5472 GB, free: 324 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.588e-06/0.3867, allocations: 0 / 0.5472 GB, free: 324 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005595/0.3923, allocations: 0.4916 MB / 0.5477 GB, free: 15.82 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004736/0.3928, allocations: 48.64 kB / 0.5478 GB, free: 15.78 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005163/0.398, allocations: 2.993 MB / 0.5507 GB, free: 12.7 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004556/0.3985, allocations: 0.7753 MB / 0.5514 GB, free: 11.89 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001802/0.3987, allocations: 57.8 kB / 0.5515 GB, free: 11.84 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001332/0.3988, allocations: 67.41 kB / 0.5516 GB, free: 11.77 MB / 414.1 MB Notification: Performance of SimCode: time 6.41e-07/0.3988, allocations: 0 / 0.5516 GB, free: 11.77 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03333/0.4322, allocations: 7.949 MB / 0.5593 GB, free: 4.07 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.02/12.46, allocations: 5.578 kB / 0.5593 GB, free: 4.066 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_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_nominalDensityViscosity_DPMFLOW/dp_nominalDensityViscosity_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches