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.001167/0.001167, allocations: 117.6 kB / 17.79 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.001182/0.001182, allocations: 200.7 kB / 18.74 MB, free: 4.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.352/1.352, allocations: 227.4 MB / 246.9 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.2071/0.2071, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001534/0.001534, allocations: 75.88 kB / 480.8 MB, free: 4.555 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3348/0.3364, allocations: 62.44 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.002862/0.3393, allocations: 1.83 MB / 0.5323 GB, free: 12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002375/0.3417, allocations: 1.709 MB / 0.534 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.94e-05/0.3417, allocations: 5.312 kB / 0.534 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002483/0.342, allocations: 50.69 kB / 0.534 GB, free: 10.6 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002883/0.3423, allocations: 80.12 kB / 0.5341 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007776/0.3431, allocations: 413.5 kB / 0.5345 GB, free: 10.33 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002696/0.3434, allocations: 243.7 kB / 0.5347 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6e-05/0.3434, allocations: 21.03 kB / 0.5348 GB, free: 10.19 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001966/0.3436, allocations: 110.5 kB / 0.5349 GB, free: 10.13 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001628/0.3438, allocations: 119.7 kB / 0.535 GB, free: 10.05 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.562e-05/0.3438, allocations: 8.969 kB / 0.535 GB, free: 10.05 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009223/0.3448, allocations: 0.7166 MB / 0.5357 GB, free: 9.594 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.344e-05/0.3449, allocations: 67.22 kB / 0.5358 GB, free: 9.551 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001164/0.345, allocations: 113.8 kB / 0.5359 GB, free: 9.477 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008908/0.3459, allocations: 0.6279 MB / 0.5365 GB, free: 9.078 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3459, allocations: 1.125 kB / 0.5365 GB, free: 9.078 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.3459, allocations: 4 kB / 0.5365 GB, free: 9.074 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.497e-06/0.3459, allocations: 0 / 0.5365 GB, free: 9.074 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.0009131/0.3468, allocations: 0.633 MB / 0.5371 GB, free: 8.5 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.3469, allocations: 9.25 kB / 0.5371 GB, free: 8.5 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.205e-05/0.347, allocations: 73.12 kB / 0.5372 GB, free: 8.434 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.445e-05/0.347, allocations: 33.95 kB / 0.5372 GB, free: 8.414 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002444/0.3473, allocations: 250.2 kB / 0.5375 GB, free: 8.16 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.3473, allocations: 23.95 kB / 0.5375 GB, free: 8.148 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.164e-05/0.3474, allocations: 24.69 kB / 0.5375 GB, free: 8.141 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000689/0.3481, allocations: 470.3 kB / 0.5379 GB, free: 7.891 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.3481, allocations: 3.938 kB / 0.538 GB, free: 7.887 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.822e-05/0.3481, allocations: 14.98 kB / 0.538 GB, free: 7.875 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.211e-05/0.3482, allocations: 47 kB / 0.538 GB, free: 7.859 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008181/0.349, allocations: 0.5488 MB / 0.5385 GB, free: 7.625 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001759/0.3508, allocations: 1.302 MB / 0.5398 GB, free: 6.555 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005198/0.3513, allocations: 277.4 kB / 0.5401 GB, free: 6.422 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001939/0.3515, allocations: 97.83 kB / 0.5402 GB, free: 6.375 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.007e-05/0.3516, allocations: 12.73 kB / 0.5402 GB, free: 6.367 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.071e-05/0.3516, allocations: 31.69 kB / 0.5402 GB, free: 6.328 MB / 398.1 MB Notification: Performance of pre-optimization done (n=25): time 1.593e-06/0.3516, allocations: 1.594 kB / 0.5402 GB, free: 6.328 MB / 398.1 MB Notification: Performance of matching and sorting (n=25): time 0.0006959/0.3523, allocations: 333.6 kB / 0.5405 GB, free: 6.168 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.314e-05/0.3524, allocations: 57.78 kB / 0.5406 GB, free: 6.102 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001175/0.3525, allocations: 145.9 kB / 0.5407 GB, free: 5.969 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.826e-05/0.3525, allocations: 30.95 kB / 0.5408 GB, free: 5.934 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000107/0.3526, allocations: 196.4 kB / 0.541 GB, free: 5.754 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.513e-05/0.3527, allocations: 90.91 kB / 0.541 GB, free: 5.676 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.07e-05/0.3528, allocations: 71.47 kB / 0.5411 GB, free: 5.629 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.663e-05/0.3529, allocations: 326.6 kB / 0.5414 GB, free: 5.305 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001841/0.3531, allocations: 87.42 kB / 0.5415 GB, free: 5.27 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002314/0.3533, allocations: 177.6 kB / 0.5417 GB, free: 5.121 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004413/0.3538, allocations: 296.3 kB / 0.542 GB, free: 4.918 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.3538, allocations: 1.156 kB / 0.542 GB, free: 4.918 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005468/0.3543, allocations: 326.3 kB / 0.5423 GB, free: 4.754 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.3544, allocations: 6.469 kB / 0.5423 GB, free: 4.754 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.802e-06/0.3544, allocations: 6.75 kB / 0.5423 GB, free: 4.75 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.3544, allocations: 4.562 kB / 0.5423 GB, free: 4.75 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004658/0.3549, allocations: 122.6 kB / 0.5424 GB, free: 4.715 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001093/0.356, allocations: 2.364 MB / 0.5447 GB, free: 2.32 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001659/0.3562, allocations: 34.66 kB / 0.5447 GB, free: 2.297 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.227e-05/0.3562, allocations: 20.33 kB / 0.5448 GB, free: 2.289 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.0001646/0.3564, allocations: 172.5 kB / 0.5449 GB, free: 2.141 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.062e-05/0.3564, allocations: 19.05 kB / 0.5449 GB, free: 2.129 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007225/0.3571, allocations: 368.6 kB / 0.5453 GB, free: 1.918 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/0.3572, allocations: 7.078 kB / 0.5453 GB, free: 1.914 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.3572, allocations: 0 / 0.5453 GB, free: 1.914 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.324e-05/0.3572, allocations: 5.219 kB / 0.5453 GB, free: 1.91 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004228/0.3576, allocations: 339.5 kB / 0.5456 GB, free: 1.621 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.3576, allocations: 0 / 0.5456 GB, free: 1.621 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004047/0.358, allocations: 108 kB / 0.5457 GB, free: 1.59 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.3581, allocations: 2 kB / 0.5457 GB, free: 1.59 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.426e-05/0.3581, allocations: 11.3 kB / 0.5457 GB, free: 1.582 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001341/0.3594, allocations: 2.362 MB / 0.5481 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.3595, allocations: 0 / 0.5481 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005148/0.36, allocations: 380.8 kB / 0.5484 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.983e-05/0.36, allocations: 92.95 kB / 0.5485 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.32e-05/0.3601, allocations: 7.984 kB / 0.5485 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001396/0.3602, allocations: 16.09 kB / 0.5485 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.862e-05/0.3603, allocations: 15.97 kB / 0.5485 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.212e-05/0.3603, allocations: 12 kB / 0.5486 GB, free: 14.67 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.087e-05/0.3604, allocations: 105.6 kB / 0.5487 GB, free: 14.57 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3604, allocations: 0 / 0.5487 GB, free: 14.57 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006786/0.3611, allocations: 175.2 kB / 0.5488 GB, free: 14.39 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.00107/0.3622, allocations: 1.032 MB / 0.5498 GB, free: 13.34 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000704/0.3629, allocations: 303.5 kB / 0.5501 GB, free: 13.04 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.3629, allocations: 4 kB / 0.5501 GB, free: 13.04 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003958/0.3633, allocations: 172.5 kB / 0.5503 GB, free: 12.87 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003492/0.3637, allocations: 16 kB / 0.5503 GB, free: 12.85 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00313/0.3668, allocations: 2.543 MB / 0.5528 GB, free: 10.16 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003769/0.3672, allocations: 0.8063 MB / 0.5536 GB, free: 9.328 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002326/0.3674, allocations: 97.72 kB / 0.5537 GB, free: 9.234 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001352/0.3676, allocations: 95.41 kB / 0.5538 GB, free: 9.141 MB / 414.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3676, allocations: 0 / 0.5538 GB, free: 9.141 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02597/0.3936, allocations: 7.105 MB / 0.5607 GB, free: 2.262 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/11.57, allocations: 15.41 kB / 0.5607 GB, free: 2.25 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