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.001407/0.001407, allocations: 117.8 kB / 17.78 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.001667/0.001667, allocations: 203.8 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.322/1.322, 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.2177/0.2177, allocations: 46.1 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001455/0.001455, allocations: 67.88 kB / 480.8 MB, free: 4.574 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3444/0.3458, allocations: 62.44 MB / 0.5305 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW): time 0.002804/0.3487, allocations: 1.837 MB / 0.5323 GB, free: 12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002292/0.351, allocations: 1.7 MB / 0.534 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.033e-05/0.3511, allocations: 5.312 kB / 0.534 GB, free: 10.65 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002469/0.3513, allocations: 46.69 kB / 0.534 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002994/0.3516, allocations: 80.12 kB / 0.5341 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009047/0.3526, allocations: 411.9 kB / 0.5345 GB, free: 10.35 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003495/0.3529, allocations: 239.4 kB / 0.5347 GB, free: 10.21 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.389e-05/0.353, allocations: 30.02 kB / 0.5348 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002627/0.3533, allocations: 107 kB / 0.5349 GB, free: 10.14 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001979/0.3535, allocations: 118.8 kB / 0.535 GB, free: 10.07 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.016e-05/0.3535, allocations: 8.906 kB / 0.535 GB, free: 10.07 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001128/0.3547, allocations: 0.7159 MB / 0.5357 GB, free: 9.609 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001208/0.3548, allocations: 72.55 kB / 0.5358 GB, free: 9.562 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001445/0.3549, allocations: 113.5 kB / 0.5359 GB, free: 9.488 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001015/0.356, allocations: 0.6278 MB / 0.5365 GB, free: 9.09 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.356, allocations: 0 / 0.5365 GB, free: 9.09 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.356, allocations: 0 / 0.5365 GB, free: 9.09 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.117e-06/0.356, allocations: 1.188 kB / 0.5365 GB, free: 9.09 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.0009866/0.357, allocations: 0.6236 MB / 0.5371 GB, free: 8.523 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.357, allocations: 9.094 kB / 0.5371 GB, free: 8.523 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.366e-05/0.3571, allocations: 76.66 kB / 0.5372 GB, free: 8.453 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.422e-05/0.3572, allocations: 30.34 kB / 0.5372 GB, free: 8.438 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002839/0.3575, allocations: 241.8 kB / 0.5374 GB, free: 8.191 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.503e-05/0.3575, allocations: 23.36 kB / 0.5374 GB, free: 8.18 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.424e-05/0.3576, allocations: 24.88 kB / 0.5375 GB, free: 8.172 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007123/0.3583, allocations: 467.6 kB / 0.5379 GB, free: 7.926 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.3583, allocations: 3.938 kB / 0.5379 GB, free: 7.922 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.048e-05/0.3583, allocations: 14.64 kB / 0.5379 GB, free: 7.91 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.156e-05/0.3584, allocations: 50.48 kB / 0.538 GB, free: 7.891 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009083/0.3593, allocations: 0.5526 MB / 0.5385 GB, free: 7.652 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001991/0.3613, allocations: 1.3 MB / 0.5398 GB, free: 6.582 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005411/0.3619, allocations: 275.1 kB / 0.5401 GB, free: 6.453 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000209/0.3621, allocations: 101.8 kB / 0.5402 GB, free: 6.402 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.972e-05/0.3622, allocations: 12.31 kB / 0.5402 GB, free: 6.395 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.851e-05/0.3622, allocations: 36.09 kB / 0.5402 GB, free: 6.352 MB / 398.1 MB Notification: Performance of pre-optimization done (n=25): time 1.483e-06/0.3622, allocations: 0 / 0.5402 GB, free: 6.352 MB / 398.1 MB Notification: Performance of matching and sorting (n=25): time 0.0007827/0.363, allocations: 326.1 kB / 0.5405 GB, free: 6.199 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.889e-05/0.363, allocations: 57.53 kB / 0.5406 GB, free: 6.133 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001288/0.3632, allocations: 141.1 kB / 0.5407 GB, free: 6.004 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.321e-05/0.3632, allocations: 34.89 kB / 0.5407 GB, free: 5.965 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001347/0.3634, allocations: 191.7 kB / 0.5409 GB, free: 5.789 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.544e-05/0.3634, allocations: 87 kB / 0.541 GB, free: 5.715 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001118/0.3636, allocations: 71.38 kB / 0.5411 GB, free: 5.668 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001337/0.3637, allocations: 322.4 kB / 0.5414 GB, free: 5.348 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002098/0.3639, allocations: 91.05 kB / 0.5415 GB, free: 5.309 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002909/0.3642, allocations: 181.5 kB / 0.5416 GB, free: 5.156 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005668/0.3648, allocations: 292.6 kB / 0.5419 GB, free: 4.957 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.3648, allocations: 1.062 kB / 0.5419 GB, free: 4.957 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006463/0.3655, allocations: 330.7 kB / 0.5422 GB, free: 4.789 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.519e-05/0.3655, allocations: 6.438 kB / 0.5422 GB, free: 4.789 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/0.3655, allocations: 7.094 kB / 0.5422 GB, free: 4.785 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.107e-05/0.3655, allocations: 4.406 kB / 0.5422 GB, free: 4.785 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004865/0.366, allocations: 117.9 kB / 0.5424 GB, free: 4.754 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001376/0.3674, allocations: 2.364 MB / 0.5447 GB, free: 2.359 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002014/0.3676, allocations: 38.83 kB / 0.5447 GB, free: 2.332 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.289e-05/0.3677, allocations: 20.62 kB / 0.5447 GB, free: 2.324 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.0002195/0.3679, allocations: 175.8 kB / 0.5449 GB, free: 2.172 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.556e-05/0.3679, allocations: 10.53 kB / 0.5449 GB, free: 2.168 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007646/0.3687, allocations: 364.9 kB / 0.5453 GB, free: 1.961 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-06/0.3687, allocations: 3.344 kB / 0.5453 GB, free: 1.961 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.3687, allocations: 0 / 0.5453 GB, free: 1.961 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.3688, allocations: 5.094 kB / 0.5453 GB, free: 1.957 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004123/0.3692, allocations: 348.1 kB / 0.5456 GB, free: 1.66 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.3692, allocations: 4 kB / 0.5456 GB, free: 1.656 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004108/0.3696, allocations: 107.6 kB / 0.5457 GB, free: 1.625 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.3696, allocations: 1 kB / 0.5457 GB, free: 1.625 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.483e-05/0.3696, allocations: 8.375 kB / 0.5457 GB, free: 1.621 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00136/0.371, allocations: 2.358 MB / 0.548 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.371, allocations: 3.938 kB / 0.548 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006218/0.3716, allocations: 376.6 kB / 0.5484 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.906e-05/0.3717, allocations: 92.94 kB / 0.5485 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.197e-05/0.3718, allocations: 4 kB / 0.5485 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001478/0.3719, allocations: 15.98 kB / 0.5485 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.412e-05/0.372, allocations: 19.97 kB / 0.5485 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.957e-05/0.372, allocations: 8 kB / 0.5485 GB, free: 14.72 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.44e-05/0.3721, allocations: 100.4 kB / 0.5486 GB, free: 14.62 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3721, allocations: 8 kB / 0.5486 GB, free: 14.62 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007058/0.3728, allocations: 175.5 kB / 0.5488 GB, free: 14.45 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.001394/0.3742, allocations: 1.021 MB / 0.5498 GB, free: 13.4 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008827/0.3751, allocations: 308.2 kB / 0.5501 GB, free: 13.1 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.3752, allocations: 4 kB / 0.5501 GB, free: 13.09 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004794/0.3757, allocations: 167.8 kB / 0.5502 GB, free: 12.93 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000463/0.3761, allocations: 22.19 kB / 0.5503 GB, free: 12.91 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003534/0.3797, allocations: 2.539 MB / 0.5527 GB, free: 10.23 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004284/0.3801, allocations: 0.8024 MB / 0.5535 GB, free: 9.398 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.00026/0.3804, allocations: 105.7 kB / 0.5536 GB, free: 9.297 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001472/0.3806, allocations: 87.39 kB / 0.5537 GB, free: 9.211 MB / 414.1 MB Notification: Performance of SimCode: time 9.72e-07/0.3806, allocations: 0 / 0.5537 GB, free: 9.211 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02692/0.4075, allocations: 7.182 MB / 0.5607 GB, free: 2.25 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/11.8, allocations: 7.594 kB / 0.5607 GB, free: 2.246 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