Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_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_3_2_3_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 4.0.0+maint.om/package.mo): time 0.0008105/0.0008104, allocations: 102.8 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008608/0.0008608, allocations: 186.5 kB / 16.92 MB, free: 6.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.537/1.537, allocations: 205.4 MB / 223.1 MB, free: 5.758 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3415/0.3415, allocations: 43.58 MB / 315 MB, free: 8.711 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005187/0.0005186, allocations: 16 kB / 384.7 MB, free: 7.539 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.1265, allocations: 58.87 MB / 443.6 MB, free: 12.56 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW): time 0.002304/0.1289, allocations: 1.54 MB / 445.1 MB, free: 11.01 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002754/0.1316, allocations: 1.657 MB / 446.8 MB, free: 9.344 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001147/0.1318, allocations: 0 / 446.8 MB, free: 9.344 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002663/0.1321, allocations: 43.75 kB / 446.8 MB, free: 9.301 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002927/0.1324, allocations: 71.66 kB / 446.9 MB, free: 9.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007957/0.1332, allocations: 359 kB / 447.2 MB, free: 8.879 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000321/0.1335, allocations: 310.7 kB / 447.5 MB, free: 8.574 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.187e-05/0.1336, allocations: 44.3 kB / 447.6 MB, free: 8.531 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001581/0.1337, allocations: 83.53 kB / 447.7 MB, free: 8.449 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001882/0.1339, allocations: 127.4 kB / 447.8 MB, free: 8.324 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.305e-05/0.134, allocations: 8 kB / 447.8 MB, free: 8.316 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009367/0.1349, allocations: 0.6977 MB / 448.5 MB, free: 7.617 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.086e-05/0.135, allocations: 71.67 kB / 448.6 MB, free: 7.547 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001301/0.1352, allocations: 132.9 kB / 448.7 MB, free: 7.41 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007472/0.1359, allocations: 0.6153 MB / 449.3 MB, free: 6.793 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.1359, allocations: 0 / 449.3 MB, free: 6.793 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.1359, allocations: 0 / 449.3 MB, free: 6.793 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.89e-06/0.1359, allocations: 0 / 449.3 MB, free: 6.793 MB / 382.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.0008503/0.1368, allocations: 0.5656 MB / 449.9 MB, free: 6.18 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.1369, allocations: 16.02 kB / 449.9 MB, free: 6.164 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.44e-05/0.1369, allocations: 82.64 kB / 450 MB, free: 6.074 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.399e-05/0.137, allocations: 28.56 kB / 450 MB, free: 6.047 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002595/0.1373, allocations: 243.2 kB / 450.2 MB, free: 5.77 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.247e-05/0.1373, allocations: 12.56 kB / 450.3 MB, free: 5.758 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.865e-05/0.1374, allocations: 35.92 kB / 450.3 MB, free: 5.723 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007535/0.1381, allocations: 475.2 kB / 450.7 MB, free: 5.25 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.1381, allocations: 0 / 450.7 MB, free: 5.25 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.939e-05/0.1382, allocations: 12 kB / 450.8 MB, free: 5.238 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001132/0.1383, allocations: 48.97 kB / 450.8 MB, free: 5.191 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008083/0.1391, allocations: 0.5543 MB / 451.4 MB, free: 4.637 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001826/0.141, allocations: 1.323 MB / 452.7 MB, free: 3.195 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005473/0.1415, allocations: 278.5 kB / 453 MB, free: 2.914 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002048/0.1417, allocations: 100.8 kB / 453.1 MB, free: 2.812 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.36e-05/0.1418, allocations: 16.3 kB / 453.1 MB, free: 2.797 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.314e-05/0.1418, allocations: 42.5 kB / 453.1 MB, free: 2.746 MB / 382.1 MB Notification: Performance of pre-optimization done (n=25): time 1.433e-06/0.1418, allocations: 0 / 453.1 MB, free: 2.746 MB / 382.1 MB Notification: Performance of matching and sorting (n=25): time 0.0007604/0.1426, allocations: 341.2 kB / 453.4 MB, free: 2.406 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.372e-05/0.1427, allocations: 55.41 kB / 453.5 MB, free: 2.34 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001459/0.1428, allocations: 141.8 kB / 453.6 MB, free: 2.195 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.592e-05/0.1428, allocations: 29.7 kB / 453.7 MB, free: 2.16 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001357/0.143, allocations: 195.7 kB / 453.9 MB, free: 1.965 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.046e-05/0.1431, allocations: 90.75 kB / 453.9 MB, free: 1.875 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.754e-05/0.1431, allocations: 33.7 kB / 454 MB, free: 1.836 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001967/0.1433, allocations: 326.8 kB / 454.3 MB, free: 1.508 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001954/0.1435, allocations: 95.78 kB / 454.4 MB, free: 1.414 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002588/0.1438, allocations: 174.2 kB / 454.6 MB, free: 1.207 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004835/0.1443, allocations: 318.7 kB / 454.9 MB, free: 0.8594 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.1443, allocations: 0 / 454.9 MB, free: 0.8594 MB / 382.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005818/0.1449, allocations: 333 kB / 455.2 MB, free: 0.5273 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.1449, allocations: 7.938 kB / 455.2 MB, free: 0.5195 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.1449, allocations: 4 kB / 455.2 MB, free: 0.5156 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.1449, allocations: 4.344 kB / 455.2 MB, free: 0.5117 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004589/0.1454, allocations: 123.9 kB / 455.3 MB, free: 400 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1941/0.3395, allocations: 2.362 MB / 457.7 MB, free: 43.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002404/0.3398, allocations: 39.25 kB / 457.7 MB, free: 43.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.986e-05/0.3398, allocations: 16.03 kB / 457.8 MB, free: 43.98 MB / 382.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.0001968/0.3401, allocations: 180 kB / 457.9 MB, free: 43.87 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.105e-05/0.3401, allocations: 16.06 kB / 457.9 MB, free: 43.87 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007049/0.3408, allocations: 372.1 kB / 458.3 MB, free: 43.84 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.112e-06/0.3408, allocations: 5.688 kB / 458.3 MB, free: 43.84 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.3408, allocations: 0 / 458.3 MB, free: 43.84 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.3408, allocations: 3.281 kB / 458.3 MB, free: 43.84 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003285/0.3412, allocations: 343.4 kB / 458.7 MB, free: 43.65 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.3412, allocations: 6.797 kB / 458.7 MB, free: 43.65 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003706/0.3416, allocations: 102.7 kB / 458.8 MB, free: 43.65 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.11e-06/0.3416, allocations: 3.438 kB / 458.8 MB, free: 43.65 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.036e-05/0.3416, allocations: 14.25 kB / 458.8 MB, free: 43.64 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006349/0.3423, allocations: 2.361 MB / 461.1 MB, free: 41.31 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.3423, allocations: 0 / 461.1 MB, free: 41.31 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004614/0.3427, allocations: 394.4 kB / 461.5 MB, free: 41.17 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.066e-05/0.3428, allocations: 96.61 kB / 461.6 MB, free: 41.07 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.765e-05/0.3428, allocations: 2.5 kB / 461.6 MB, free: 41.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001369/0.3429, allocations: 15.66 kB / 461.6 MB, free: 41.07 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.851e-05/0.343, allocations: 18.86 kB / 461.7 MB, free: 41.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.028e-05/0.343, allocations: 14.12 kB / 461.7 MB, free: 41.07 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.025e-05/0.3431, allocations: 101.9 kB / 461.8 MB, free: 41 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.3431, allocations: 0 / 461.8 MB, free: 41 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005214/0.3436, allocations: 168.3 kB / 461.9 MB, free: 40.98 MB / 382.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.0008943/0.3445, allocations: 1.041 MB / 463 MB, free: 40.3 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006432/0.3452, allocations: 309.9 kB / 463.3 MB, free: 40.29 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.3452, allocations: 2.438 kB / 463.3 MB, free: 40.29 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003604/0.3456, allocations: 187.7 kB / 463.5 MB, free: 40.29 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000299/0.3459, allocations: 17.62 kB / 463.5 MB, free: 40.29 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002427/0.3483, allocations: 2.696 MB / 466.2 MB, free: 38.61 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002091/0.3485, allocations: 0.7937 MB / 467 MB, free: 37.91 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002685/0.3488, allocations: 103 kB / 467.1 MB, free: 37.89 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001161/0.3489, allocations: 93.27 kB / 467.2 MB, free: 37.89 MB / 382.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3489, allocations: 0 / 467.2 MB, free: 37.89 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01798/0.3669, allocations: 6.575 MB / 473.7 MB, free: 37.27 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000169/0.3671, allocations: 295.6 kB / 474 MB, free: 36.88 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.982/2.35, allocations: 0 / 474 MB, free: 36.88 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_turbulent_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_turbulent_DPMFLOW.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/StraightPipe/dp_turbulent_DPMFLOW/dp_turbulent_DPMFLOW.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches