Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_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_pressureLossCoefficient_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_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.001156/0.001156, allocations: 118.8 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001294/0.001294, allocations: 202 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.389/1.389, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2211/0.2211, allocations: 46.09 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001459/0.001459, allocations: 71.88 kB / 480.8 MB, free: 4.574 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.354/0.3554, allocations: 62.44 MB / 0.5305 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW): time 0.002978/0.3585, allocations: 1.691 MB / 0.5322 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001465/0.36, allocations: 0.8196 MB / 0.533 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.656e-05/0.3601, allocations: 6.281 kB / 0.533 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002454/0.3603, allocations: 41.94 kB / 0.533 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001924/0.3605, allocations: 50.42 kB / 0.5331 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000352/0.3609, allocations: 92.36 kB / 0.5332 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002003/0.3611, allocations: 157 kB / 0.5333 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.06e-05/0.3612, allocations: 21.98 kB / 0.5333 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001735/0.3613, allocations: 68.48 kB / 0.5334 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000133/0.3615, allocations: 68.91 kB / 0.5335 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.877e-05/0.3615, allocations: 5.188 kB / 0.5335 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003009/0.3618, allocations: 164.6 kB / 0.5336 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.866e-05/0.3619, allocations: 40.39 kB / 0.5337 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.685e-05/0.362, allocations: 59.89 kB / 0.5337 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00034/0.3623, allocations: 214.3 kB / 0.5339 GB, free: 10.89 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.3623, allocations: 0 / 0.5339 GB, free: 10.89 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3624, allocations: 1.375 kB / 0.5339 GB, free: 10.89 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.768e-06/0.3624, allocations: 0 / 0.5339 GB, free: 10.89 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0006552/0.363, allocations: 455.3 kB / 0.5344 GB, free: 10.45 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/0.3631, allocations: 9.625 kB / 0.5344 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.457e-05/0.3631, allocations: 53.59 kB / 0.5344 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000519/0.3637, allocations: 69.67 kB / 0.5345 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002483/0.3639, allocations: 218.1 kB / 0.5347 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.555e-05/0.364, allocations: 5.875 kB / 0.5347 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.246e-05/0.364, allocations: 16.19 kB / 0.5347 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004419/0.3644, allocations: 238.9 kB / 0.5349 GB, free: 9.977 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.3645, allocations: 0 / 0.5349 GB, free: 9.977 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.95e-05/0.3645, allocations: 1.375 kB / 0.535 GB, free: 9.977 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-05/0.3645, allocations: 25.67 kB / 0.535 GB, free: 9.965 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004535/0.365, allocations: 224.3 kB / 0.5352 GB, free: 9.859 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00112/0.3661, allocations: 0.7299 MB / 0.5359 GB, free: 9.184 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002135/0.3663, allocations: 91.36 kB / 0.536 GB, free: 9.129 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001286/0.3665, allocations: 48.5 kB / 0.536 GB, free: 9.102 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.938e-05/0.3665, allocations: 5.031 kB / 0.536 GB, free: 9.098 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.382e-05/0.3665, allocations: 35.56 kB / 0.5361 GB, free: 9.055 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.272e-06/0.3665, allocations: 0 / 0.5361 GB, free: 9.055 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005122/0.3671, allocations: 165.8 kB / 0.5362 GB, free: 8.965 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.668e-05/0.3671, allocations: 52.81 kB / 0.5363 GB, free: 8.902 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002366/0.3674, allocations: 189.9 kB / 0.5365 GB, free: 8.75 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.765e-05/0.3674, allocations: 26.83 kB / 0.5365 GB, free: 8.719 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.431e-05/0.3675, allocations: 136.5 kB / 0.5366 GB, free: 8.59 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.336e-05/0.3675, allocations: 31.28 kB / 0.5366 GB, free: 8.562 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.319e-05/0.3676, allocations: 36.17 kB / 0.5367 GB, free: 8.531 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.3677, allocations: 322.7 kB / 0.537 GB, free: 8.211 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001394/0.3679, allocations: 50.89 kB / 0.537 GB, free: 8.188 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001778/0.368, allocations: 104.1 kB / 0.5371 GB, free: 8.094 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003295/0.3684, allocations: 157.1 kB / 0.5373 GB, free: 7.977 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.3684, allocations: 0 / 0.5373 GB, free: 7.977 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004231/0.3688, allocations: 187 kB / 0.5375 GB, free: 7.871 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.889e-05/0.3688, allocations: 6.625 kB / 0.5375 GB, free: 7.871 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.3689, allocations: 1.469 kB / 0.5375 GB, free: 7.871 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/0.3689, allocations: 6.422 kB / 0.5375 GB, free: 7.867 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008928/0.3698, allocations: 119.1 kB / 0.5376 GB, free: 7.828 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001244/0.371, allocations: 1.82 MB / 0.5394 GB, free: 6.012 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001579/0.3712, allocations: 25.2 kB / 0.5394 GB, free: 5.996 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.892e-05/0.3712, allocations: 4.844 kB / 0.5394 GB, free: 5.996 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (14): * Single equations (assignments): 11 * 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.0001483/0.3714, allocations: 145.7 kB / 0.5395 GB, free: 5.859 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.913e-05/0.3714, allocations: 9.156 kB / 0.5395 GB, free: 5.855 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004492/0.3719, allocations: 181.5 kB / 0.5397 GB, free: 5.734 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.3719, allocations: 1.938 kB / 0.5397 GB, free: 5.734 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.3719, allocations: 4 kB / 0.5397 GB, free: 5.73 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.3719, allocations: 8.953 kB / 0.5397 GB, free: 5.723 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002706/0.3722, allocations: 236.8 kB / 0.54 GB, free: 5.48 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.3722, allocations: 0 / 0.54 GB, free: 5.48 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007032/0.3729, allocations: 105.9 kB / 0.5401 GB, free: 5.445 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.934e-06/0.3729, allocations: 3.984 kB / 0.5401 GB, free: 5.441 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.427e-05/0.373, allocations: 5.344 kB / 0.5401 GB, free: 5.438 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001025/0.374, allocations: 1.782 MB / 0.5418 GB, free: 3.637 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.374, allocations: 1.312 kB / 0.5418 GB, free: 3.637 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003966/0.3744, allocations: 244.4 kB / 0.542 GB, free: 3.449 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.532e-05/0.3745, allocations: 89.14 kB / 0.5421 GB, free: 3.348 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.679e-05/0.3745, allocations: 4.906 kB / 0.5421 GB, free: 3.344 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001364/0.3747, allocations: 9.203 kB / 0.5421 GB, free: 3.34 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.345e-05/0.3747, allocations: 7.984 kB / 0.5422 GB, free: 3.336 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.179e-05/0.3747, allocations: 6.219 kB / 0.5422 GB, free: 3.332 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001282/0.3749, allocations: 139.4 kB / 0.5423 GB, free: 3.23 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.3749, allocations: 0 / 0.5423 GB, free: 3.23 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003862/0.3753, allocations: 47.53 kB / 0.5423 GB, free: 3.219 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 (11): * Single equations (assignments): 8 * 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.0009672/0.3762, allocations: 0.7904 MB / 0.5431 GB, free: 2.492 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001287/0.3775, allocations: 228.5 kB / 0.5433 GB, free: 2.406 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.3776, allocations: 0 / 0.5433 GB, free: 2.406 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007021/0.3783, allocations: 118.9 kB / 0.5434 GB, free: 2.363 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004337/0.3787, allocations: 44.64 kB / 0.5435 GB, free: 2.336 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003289/0.382, allocations: 2.094 MB / 0.5455 GB, free: 0.625 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003495/0.3824, allocations: 0.7359 MB / 0.5462 GB, free: 15.9 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001304/0.3825, allocations: 31.72 kB / 0.5463 GB, free: 15.89 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.932e-05/0.3826, allocations: 44.17 kB / 0.5463 GB, free: 15.86 MB / 414.1 MB Notification: Performance of SimCode: time 8.51e-07/0.3826, allocations: 0 / 0.5463 GB, free: 15.86 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02597/0.4086, allocations: 5.161 MB / 0.5514 GB, free: 11.99 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/11.69, allocations: 12.34 kB / 0.5514 GB, free: 11.98 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_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_pressureLossCoefficient_DPMFLOW/dp_pressureLossCoefficient_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches