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.001196/0.001196, allocations: 122.2 kB / 17.79 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.001226/0.001226, allocations: 201.2 kB / 18.74 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.325/1.325, 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.207/0.207, allocations: 46.1 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00153/0.00153, allocations: 75.88 kB / 480.8 MB, free: 4.57 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3268/0.3284, allocations: 62.43 MB / 0.5305 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW): time 0.00371/0.3321, allocations: 1.835 MB / 0.5323 GB, free: 11.99 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003112/0.3353, allocations: 1.707 MB / 0.534 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001332/0.3354, allocations: 1.375 kB / 0.534 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002704/0.3357, allocations: 52.02 kB / 0.534 GB, free: 10.6 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003475/0.3361, allocations: 72.14 kB / 0.5341 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001027/0.3371, allocations: 418 kB / 0.5345 GB, free: 10.33 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003036/0.3374, allocations: 239.2 kB / 0.5347 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.99e-05/0.3375, allocations: 29.52 kB / 0.5348 GB, free: 10.19 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002482/0.3378, allocations: 111.2 kB / 0.5349 GB, free: 10.12 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001916/0.338, allocations: 115.7 kB / 0.535 GB, free: 10.05 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.632e-05/0.338, allocations: 7.438 kB / 0.535 GB, free: 10.05 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001061/0.3391, allocations: 0.7165 MB / 0.5357 GB, free: 9.594 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.636e-05/0.3392, allocations: 72.83 kB / 0.5358 GB, free: 9.547 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001328/0.3393, allocations: 112.8 kB / 0.5359 GB, free: 9.473 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009704/0.3403, allocations: 0.6323 MB / 0.5365 GB, free: 9.07 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.3403, allocations: 1.094 kB / 0.5365 GB, free: 9.07 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.3403, allocations: 0 / 0.5365 GB, free: 9.07 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.059e-05/0.3403, allocations: 0 / 0.5365 GB, free: 9.07 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.001045/0.3414, allocations: 0.6291 MB / 0.5371 GB, free: 8.5 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.3415, allocations: 9.312 kB / 0.5371 GB, free: 8.5 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.935e-05/0.3415, allocations: 85.34 kB / 0.5372 GB, free: 8.422 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.937e-05/0.3416, allocations: 33.73 kB / 0.5372 GB, free: 8.402 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002994/0.3419, allocations: 238.4 kB / 0.5374 GB, free: 8.16 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.141e-05/0.342, allocations: 19.31 kB / 0.5375 GB, free: 8.152 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.563e-05/0.342, allocations: 29.33 kB / 0.5375 GB, free: 8.141 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007322/0.3428, allocations: 470.9 kB / 0.5379 GB, free: 7.891 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.568e-05/0.3428, allocations: 0 / 0.5379 GB, free: 7.891 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.111e-05/0.3428, allocations: 14.34 kB / 0.538 GB, free: 7.879 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.147e-05/0.3429, allocations: 46.88 kB / 0.538 GB, free: 7.863 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008489/0.3437, allocations: 0.5596 MB / 0.5385 GB, free: 7.617 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001883/0.3456, allocations: 1.302 MB / 0.5398 GB, free: 6.547 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000504/0.3462, allocations: 269.7 kB / 0.5401 GB, free: 6.422 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002019/0.3464, allocations: 99.22 kB / 0.5402 GB, free: 6.375 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.778e-05/0.3464, allocations: 11.75 kB / 0.5402 GB, free: 6.367 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.538e-05/0.3465, allocations: 40.69 kB / 0.5402 GB, free: 6.32 MB / 398.1 MB Notification: Performance of pre-optimization done (n=25): time 1.664e-06/0.3465, allocations: 0 / 0.5402 GB, free: 6.32 MB / 398.1 MB Notification: Performance of matching and sorting (n=25): time 0.000722/0.3472, allocations: 329.9 kB / 0.5405 GB, free: 6.164 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.293e-05/0.3472, allocations: 57.78 kB / 0.5406 GB, free: 6.098 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001197/0.3474, allocations: 143.1 kB / 0.5407 GB, free: 5.969 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.356e-05/0.3474, allocations: 34.83 kB / 0.5408 GB, free: 5.93 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001092/0.3475, allocations: 196.2 kB / 0.5409 GB, free: 5.75 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.645e-05/0.3476, allocations: 94.8 kB / 0.541 GB, free: 5.668 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.082e-05/0.3477, allocations: 66.8 kB / 0.5411 GB, free: 5.625 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001114/0.3478, allocations: 323.4 kB / 0.5414 GB, free: 5.305 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001969/0.348, allocations: 86.8 kB / 0.5415 GB, free: 5.27 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002457/0.3483, allocations: 182.2 kB / 0.5417 GB, free: 5.117 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004847/0.3487, allocations: 291.5 kB / 0.5419 GB, free: 4.918 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.3488, allocations: 1.156 kB / 0.5419 GB, free: 4.918 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000595/0.3494, allocations: 327.7 kB / 0.5423 GB, free: 4.754 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.3494, allocations: 10.34 kB / 0.5423 GB, free: 4.75 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.909e-06/0.3494, allocations: 6.25 kB / 0.5423 GB, free: 4.746 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.3494, allocations: 13.52 kB / 0.5423 GB, free: 4.738 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004856/0.3499, allocations: 117.4 kB / 0.5424 GB, free: 4.707 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001308/0.3512, allocations: 2.361 MB / 0.5447 GB, free: 2.316 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002008/0.3515, allocations: 38.05 kB / 0.5447 GB, free: 2.289 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.959e-05/0.3515, allocations: 16 kB / 0.5448 GB, free: 2.285 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.0002096/0.3517, allocations: 176.2 kB / 0.5449 GB, free: 2.133 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.368e-05/0.3518, allocations: 19.34 kB / 0.5449 GB, free: 2.121 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008009/0.3526, allocations: 360.3 kB / 0.5453 GB, free: 1.918 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.351e-06/0.3526, allocations: 3.469 kB / 0.5453 GB, free: 1.918 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.3526, allocations: 0 / 0.5453 GB, free: 1.918 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.075e-06/0.3526, allocations: 8.984 kB / 0.5453 GB, free: 1.91 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004373/0.3531, allocations: 339.7 kB / 0.5456 GB, free: 1.621 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.3531, allocations: 0 / 0.5456 GB, free: 1.621 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00041/0.3535, allocations: 116 kB / 0.5457 GB, free: 1.582 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.913e-06/0.3535, allocations: 1.344 kB / 0.5457 GB, free: 1.582 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.611e-05/0.3535, allocations: 8.812 kB / 0.5457 GB, free: 1.578 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001162/0.3547, allocations: 2.361 MB / 0.548 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.3547, allocations: 3.938 kB / 0.5481 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005495/0.3553, allocations: 370.2 kB / 0.5484 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.051e-05/0.3553, allocations: 96.95 kB / 0.5485 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.167e-05/0.3554, allocations: 4 kB / 0.5485 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001465/0.3555, allocations: 11.98 kB / 0.5485 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.095e-05/0.3556, allocations: 23.97 kB / 0.5485 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.814e-05/0.3556, allocations: 8 kB / 0.5485 GB, free: 14.67 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.404e-05/0.3557, allocations: 103.2 kB / 0.5486 GB, free: 14.57 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.3557, allocations: 0 / 0.5486 GB, free: 14.57 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005999/0.3563, allocations: 187.1 kB / 0.5488 GB, free: 14.38 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.00129/0.3576, allocations: 1.031 MB / 0.5498 GB, free: 13.33 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007516/0.3584, allocations: 300.2 kB / 0.5501 GB, free: 13.04 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.3584, allocations: 4 kB / 0.5501 GB, free: 13.03 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004243/0.3588, allocations: 171.8 kB / 0.5503 GB, free: 12.86 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003308/0.3592, allocations: 23.92 kB / 0.5503 GB, free: 12.84 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003157/0.3623, allocations: 2.552 MB / 0.5528 GB, free: 10.14 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003809/0.3627, allocations: 0.8024 MB / 0.5536 GB, free: 9.316 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002607/0.363, allocations: 105.7 kB / 0.5537 GB, free: 9.215 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001323/0.3631, allocations: 87.41 kB / 0.5538 GB, free: 9.129 MB / 414.1 MB Notification: Performance of SimCode: time 7.11e-07/0.3631, allocations: 0 / 0.5538 GB, free: 9.129 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02361/0.3868, allocations: 7.109 MB / 0.5607 GB, free: 2.242 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/11.79, allocations: 11.22 kB / 0.5607 GB, free: 2.238 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 & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.0002 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.csv","/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