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.001181/0.001181, allocations: 117.7 kB / 17.78 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001371/0.001371, allocations: 203.8 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.372/1.372, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2469/0.2469, allocations: 46.1 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001402/0.001402, allocations: 75.88 kB / 480.8 MB, free: 4.574 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3188/0.3202, 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_nominalDensityViscosity_DPMFLOW): time 0.003441/0.3237, allocations: 1.82 MB / 0.5323 GB, free: 12.01 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001195/0.3249, allocations: 0.6338 MB / 0.5329 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001133/0.325, allocations: 0.9062 kB / 0.5329 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003198/0.3254, allocations: 52.58 kB / 0.533 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002246/0.3256, allocations: 83.73 kB / 0.5331 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004278/0.326, allocations: 112.5 kB / 0.5332 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003047/0.3264, allocations: 237.7 kB / 0.5334 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.938e-05/0.3265, allocations: 26.17 kB / 0.5334 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001443/0.3266, allocations: 84.58 kB / 0.5335 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001938/0.3268, allocations: 108.6 kB / 0.5336 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.709e-05/0.3269, allocations: 6.531 kB / 0.5336 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004244/0.3273, allocations: 226.7 kB / 0.5338 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.193e-05/0.3274, allocations: 56.3 kB / 0.5339 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001107/0.3275, allocations: 94.05 kB / 0.534 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005296/0.328, allocations: 322.4 kB / 0.5343 GB, free: 10.65 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.328, allocations: 0 / 0.5343 GB, free: 10.65 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.306e-06/0.328, allocations: 0 / 0.5343 GB, free: 10.65 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.013e-06/0.3281, allocations: 3.938 kB / 0.5343 GB, free: 10.64 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.0008317/0.3289, allocations: 0.5385 MB / 0.5348 GB, free: 10.14 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.129e-05/0.329, allocations: 9.625 kB / 0.5348 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.613e-05/0.329, allocations: 65.73 kB / 0.5349 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001852/0.3309, allocations: 200.3 kB / 0.5351 GB, free: 9.969 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004104/0.3313, allocations: 272 kB / 0.5353 GB, free: 9.711 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.977e-05/0.3313, allocations: 18.5 kB / 0.5354 GB, free: 9.703 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.417e-05/0.3314, allocations: 27.5 kB / 0.5354 GB, free: 9.691 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001034/0.3324, allocations: 0.495 MB / 0.5359 GB, free: 9.395 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.3325, allocations: 0 / 0.5359 GB, free: 9.395 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.586e-05/0.3325, allocations: 6.469 kB / 0.5359 GB, free: 9.391 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.952e-05/0.3326, allocations: 32.75 kB / 0.5359 GB, free: 9.379 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001414/0.334, allocations: 0.5797 MB / 0.5365 GB, free: 9.082 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002416/0.3364, allocations: 1.168 MB / 0.5376 GB, free: 8.129 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007156/0.3371, allocations: 177.1 kB / 0.5378 GB, free: 8.035 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003636/0.3375, allocations: 83.67 kB / 0.5379 GB, free: 7.996 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.023e-05/0.3375, allocations: 1.094 kB / 0.5379 GB, free: 7.996 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.459e-05/0.3376, allocations: 39.72 kB / 0.5379 GB, free: 7.949 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.332e-06/0.3376, allocations: 3.938 kB / 0.5379 GB, free: 7.945 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.001286/0.3389, allocations: 295.4 kB / 0.5382 GB, free: 7.801 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.553e-05/0.3389, allocations: 56.66 kB / 0.5382 GB, free: 7.734 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003164/0.3393, allocations: 282.8 kB / 0.5385 GB, free: 7.543 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.832e-05/0.3393, allocations: 27.2 kB / 0.5385 GB, free: 7.512 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001257/0.3394, allocations: 169.8 kB / 0.5387 GB, free: 7.355 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.28e-05/0.3395, allocations: 26.39 kB / 0.5387 GB, free: 7.332 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.627e-05/0.3396, allocations: 38.12 kB / 0.5388 GB, free: 7.301 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001476/0.3397, allocations: 332.4 kB / 0.5391 GB, free: 6.973 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003746/0.3401, allocations: 86.91 kB / 0.5392 GB, free: 6.938 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004052/0.3405, allocations: 117.9 kB / 0.5393 GB, free: 6.863 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000881/0.3414, allocations: 218.4 kB / 0.5395 GB, free: 6.738 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.3414, allocations: 0 / 0.5395 GB, free: 6.738 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0009134/0.3424, allocations: 262.3 kB / 0.5397 GB, free: 6.602 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.3424, allocations: 5.312 kB / 0.5397 GB, free: 6.602 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.3424, allocations: 1.125 kB / 0.5397 GB, free: 6.602 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.3424, allocations: 2.344 kB / 0.5397 GB, free: 6.602 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005982/0.3484, allocations: 463.5 kB / 0.5402 GB, free: 6.41 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003072/0.3515, allocations: 1.945 MB / 0.5421 GB, free: 4.527 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004463/0.352, allocations: 42.88 kB / 0.5421 GB, free: 4.5 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.11e-05/0.352, allocations: 8.422 kB / 0.5421 GB, free: 4.496 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.0002445/0.3523, allocations: 158 kB / 0.5423 GB, free: 4.355 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.572e-05/0.3523, allocations: 20.41 kB / 0.5423 GB, free: 4.344 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.077e-05/0.3524, allocations: 26.23 kB / 0.5423 GB, free: 4.32 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/0.3525, allocations: 1.125 kB / 0.5423 GB, free: 4.32 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.3525, allocations: 1.062 kB / 0.5423 GB, free: 4.32 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.3525, allocations: 3.984 kB / 0.5423 GB, free: 4.316 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004696/0.3529, allocations: 298 kB / 0.5426 GB, free: 4.043 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.353, allocations: 0 / 0.5426 GB, free: 4.043 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005746/0.3587, allocations: 456.1 kB / 0.543 GB, free: 3.852 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.897e-06/0.3587, allocations: 0 / 0.543 GB, free: 3.852 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.495e-05/0.3588, allocations: 18.11 kB / 0.5431 GB, free: 3.836 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002911/0.3617, allocations: 1.943 MB / 0.545 GB, free: 1.953 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.3617, allocations: 1.25 kB / 0.545 GB, free: 1.953 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000917/0.3626, allocations: 321.6 kB / 0.5453 GB, free: 1.73 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001229/0.3628, allocations: 93.2 kB / 0.5454 GB, free: 1.625 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.063e-05/0.3629, allocations: 9.141 kB / 0.5454 GB, free: 1.617 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003965/0.3633, allocations: 21.88 kB / 0.5454 GB, free: 1.605 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.472e-05/0.3634, allocations: 15.48 kB / 0.5454 GB, free: 1.594 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.654e-05/0.3634, allocations: 10.3 kB / 0.5454 GB, free: 1.586 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002703/0.3637, allocations: 206.7 kB / 0.5456 GB, free: 1.453 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3637, allocations: 0 / 0.5456 GB, free: 1.453 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004271/0.3641, allocations: 71.12 kB / 0.5457 GB, free: 1.441 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.00134/0.3655, allocations: 0.865 MB / 0.5465 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00612/0.3716, allocations: 0.5865 MB / 0.5471 GB, free: 276 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.3716, allocations: 0 / 0.5471 GB, free: 276 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005598/0.3772, allocations: 0.4916 MB / 0.5476 GB, free: 15.78 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00054/0.3778, allocations: 52.41 kB / 0.5476 GB, free: 15.73 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005501/0.3833, allocations: 2.967 MB / 0.5505 GB, free: 12.67 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003783/0.3837, allocations: 0.7946 MB / 0.5513 GB, free: 11.85 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001875/0.3839, allocations: 49.92 kB / 0.5513 GB, free: 11.8 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001251/0.3841, allocations: 63.41 kB / 0.5514 GB, free: 11.74 MB / 414.1 MB Notification: Performance of SimCode: time 8.32e-07/0.3841, allocations: 0 / 0.5514 GB, free: 11.74 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02969/0.4138, allocations: 8.126 MB / 0.5593 GB, free: 3.863 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/11.78, allocations: 8.766 kB / 0.5593 GB, free: 3.855 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