Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_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.StraightPipe.dp_turbulent_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_turbulent_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_turbulent_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.001715/0.001715, allocations: 119 kB / 17.78 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002156/0.002156, allocations: 204.7 kB / 18.74 MB, free: 4.18 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.442/1.442, allocations: 227.4 MB / 247 MB, free: 10.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2355/0.2355, allocations: 46.11 MB / 344.3 MB, free: 11.4 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002216/0.002216, allocations: 75.86 kB / 480.9 MB, free: 4.434 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3353/0.3376, allocations: 62.45 MB / 0.5306 GB, free: 13.33 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW): time 0.003362/0.341, allocations: 1.829 MB / 0.5324 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002648/0.3436, allocations: 1.705 MB / 0.5341 GB, free: 10.56 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.677e-05/0.3437, allocations: 1.25 kB / 0.5341 GB, free: 10.56 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002582/0.344, allocations: 55.3 kB / 0.5342 GB, free: 10.52 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002957/0.3443, allocations: 76.27 kB / 0.5342 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008652/0.3452, allocations: 415.8 kB / 0.5346 GB, free: 10.25 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002986/0.3455, allocations: 243.7 kB / 0.5349 GB, free: 10.11 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.619e-05/0.3456, allocations: 30.27 kB / 0.5349 GB, free: 10.1 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002073/0.3458, allocations: 102.2 kB / 0.535 GB, free: 10.05 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001832/0.346, allocations: 119.4 kB / 0.5351 GB, free: 9.973 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.724e-05/0.346, allocations: 8.25 kB / 0.5351 GB, free: 9.973 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00105/0.3471, allocations: 0.7158 MB / 0.5358 GB, free: 9.512 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.627e-05/0.3472, allocations: 72.27 kB / 0.5359 GB, free: 9.465 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000118/0.3473, allocations: 117.3 kB / 0.536 GB, free: 9.387 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009013/0.3482, allocations: 0.6246 MB / 0.5366 GB, free: 8.992 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.3482, allocations: 1.031 kB / 0.5366 GB, free: 8.992 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.3482, allocations: 0 / 0.5366 GB, free: 8.992 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.3482, allocations: 0 / 0.5366 GB, free: 8.992 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.0009357/0.3492, allocations: 0.6289 MB / 0.5372 GB, free: 8.422 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.3492, allocations: 9.844 kB / 0.5372 GB, free: 8.422 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.542e-05/0.3493, allocations: 84.66 kB / 0.5373 GB, free: 8.344 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.304e-05/0.3494, allocations: 33.67 kB / 0.5373 GB, free: 8.324 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002745/0.3497, allocations: 247.1 kB / 0.5376 GB, free: 8.074 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.403e-05/0.3497, allocations: 19.09 kB / 0.5376 GB, free: 8.066 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.82e-05/0.3498, allocations: 21.09 kB / 0.5376 GB, free: 8.062 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007185/0.3505, allocations: 470.6 kB / 0.5381 GB, free: 7.812 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.425e-05/0.3505, allocations: 3.938 kB / 0.5381 GB, free: 7.809 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.298e-05/0.3505, allocations: 18.27 kB / 0.5381 GB, free: 7.793 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.244e-05/0.3506, allocations: 47.91 kB / 0.5381 GB, free: 7.777 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008435/0.3515, allocations: 0.5476 MB / 0.5387 GB, free: 7.543 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001877/0.3534, allocations: 1.305 MB / 0.5399 GB, free: 6.469 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005367/0.3539, allocations: 274.3 kB / 0.5402 GB, free: 6.34 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002171/0.3541, allocations: 94.05 kB / 0.5403 GB, free: 6.297 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.757e-05/0.3542, allocations: 21.03 kB / 0.5403 GB, free: 6.281 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.866e-05/0.3542, allocations: 35.77 kB / 0.5403 GB, free: 6.238 MB / 398.1 MB Notification: Performance of pre-optimization done (n=25): time 1.362e-06/0.3542, allocations: 0 / 0.5403 GB, free: 6.238 MB / 398.1 MB Notification: Performance of matching and sorting (n=25): time 0.0007885/0.355, allocations: 330.4 kB / 0.5406 GB, free: 6.082 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.047e-05/0.3551, allocations: 54.03 kB / 0.5407 GB, free: 6.02 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00014/0.3552, allocations: 144.7 kB / 0.5408 GB, free: 5.887 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.28e-05/0.3553, allocations: 39.83 kB / 0.5409 GB, free: 5.844 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001254/0.3554, allocations: 191.6 kB / 0.5411 GB, free: 5.668 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.999e-05/0.3555, allocations: 90.22 kB / 0.5411 GB, free: 5.59 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000104/0.3556, allocations: 68.38 kB / 0.5412 GB, free: 5.547 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.3558, allocations: 327 kB / 0.5415 GB, free: 5.223 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002031/0.356, allocations: 90.45 kB / 0.5416 GB, free: 5.184 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002775/0.3563, allocations: 173.9 kB / 0.5418 GB, free: 5.039 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005041/0.3568, allocations: 291.9 kB / 0.5421 GB, free: 4.84 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.3568, allocations: 1.094 kB / 0.5421 GB, free: 4.84 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000614/0.3574, allocations: 332 kB / 0.5424 GB, free: 4.672 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.3575, allocations: 9.625 kB / 0.5424 GB, free: 4.668 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.3575, allocations: 2.312 kB / 0.5424 GB, free: 4.668 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.3575, allocations: 8.938 kB / 0.5424 GB, free: 4.664 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004604/0.358, allocations: 118 kB / 0.5425 GB, free: 4.633 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001451/0.3594, allocations: 2.361 MB / 0.5448 GB, free: 2.242 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001819/0.3596, allocations: 37.48 kB / 0.5448 GB, free: 2.215 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.819e-05/0.3596, allocations: 16.53 kB / 0.5449 GB, free: 2.211 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 1 (roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * 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): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001875/0.3598, allocations: 181.1 kB / 0.545 GB, free: 2.055 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.681e-05/0.3599, allocations: 14.88 kB / 0.545 GB, free: 2.047 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007574/0.3607, allocations: 364.6 kB / 0.5454 GB, free: 1.84 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.3607, allocations: 2.344 kB / 0.5454 GB, free: 1.84 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.217e-06/0.3607, allocations: 1.062 kB / 0.5454 GB, free: 1.84 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.264e-05/0.3607, allocations: 11.91 kB / 0.5454 GB, free: 1.828 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004344/0.3611, allocations: 340.4 kB / 0.5457 GB, free: 1.539 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.3611, allocations: 0 / 0.5457 GB, free: 1.539 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003995/0.3616, allocations: 112.2 kB / 0.5458 GB, free: 1.504 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.3616, allocations: 1.031 kB / 0.5458 GB, free: 1.504 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.469e-05/0.3616, allocations: 8.531 kB / 0.5459 GB, free: 1.5 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001488/0.3631, allocations: 2.361 MB / 0.5482 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.3631, allocations: 0 / 0.5482 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000585/0.3637, allocations: 379.5 kB / 0.5485 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.629e-05/0.3638, allocations: 92.95 kB / 0.5486 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.703e-05/0.3638, allocations: 4 kB / 0.5486 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001476/0.3639, allocations: 11.98 kB / 0.5486 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.573e-05/0.364, allocations: 27.91 kB / 0.5486 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.442e-05/0.3641, allocations: 12 kB / 0.5487 GB, free: 14.53 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.5e-05/0.3641, allocations: 101.8 kB / 0.5488 GB, free: 14.43 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3641, allocations: 0 / 0.5488 GB, free: 14.43 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006074/0.3648, allocations: 183.2 kB / 0.5489 GB, free: 14.25 MB / 414.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 (29): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * 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): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001265/0.366, allocations: 1.032 MB / 0.5499 GB, free: 13.2 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007681/0.3668, allocations: 304.2 kB / 0.5502 GB, free: 12.9 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3668, allocations: 0 / 0.5502 GB, free: 12.9 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004377/0.3673, allocations: 175.8 kB / 0.5504 GB, free: 12.73 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003328/0.3676, allocations: 12 kB / 0.5504 GB, free: 12.71 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003331/0.3709, allocations: 2.549 MB / 0.5529 GB, free: 10.02 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004524/0.3714, allocations: 0.8024 MB / 0.5537 GB, free: 9.191 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002592/0.3717, allocations: 101.7 kB / 0.5538 GB, free: 9.094 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001496/0.3718, allocations: 91.41 kB / 0.5539 GB, free: 9.004 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3718, allocations: 0 / 0.5539 GB, free: 9.004 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03261/0.4045, allocations: 7.106 MB / 0.5608 GB, free: 2.121 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.06/12.46, allocations: 12.09 kB / 0.5608 GB, free: 2.113 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_turbulent_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_turbulent_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/StraightPipe/dp_turbulent_DPMFLOW/dp_turbulent_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches