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.001203/0.001203, allocations: 107.9 kB / 17.33 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001319/0.001319, allocations: 209.8 kB / 18.27 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.402/1.402, allocations: 227.4 MB / 246.4 MB, free: 10.81 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2252/0.2252, allocations: 46.11 MB / 343.8 MB, free: 11.76 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001386, allocations: 78.38 kB / 417.2 MB, free: 19.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1189/0.1203, allocations: 62.45 MB / 479.6 MB, free: 5.504 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW): time 0.003445/0.1238, allocations: 1.891 MB / 481.5 MB, free: 3.594 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002451/0.1263, allocations: 1.699 MB / 483.2 MB, free: 1.891 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.166e-05/0.1264, allocations: 0 / 483.2 MB, free: 1.891 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002641/0.1267, allocations: 35.81 kB / 483.2 MB, free: 1.855 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003107/0.1271, allocations: 75.64 kB / 483.3 MB, free: 1.781 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009463/0.128, allocations: 378.2 kB / 483.7 MB, free: 1.414 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002932/0.1283, allocations: 238.8 kB / 483.9 MB, free: 1.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.186e-05/0.1284, allocations: 24.41 kB / 483.9 MB, free: 1.156 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002507/0.1286, allocations: 103.5 kB / 484.1 MB, free: 1.055 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001773/0.1288, allocations: 131.4 kB / 484.2 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.771e-05/0.1289, allocations: 8 kB / 484.2 MB, free: 0.918 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009097/0.1298, allocations: 0.725 MB / 484.9 MB, free: 196 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.621e-05/0.1299, allocations: 79.67 kB / 485 MB, free: 116 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001115/0.13, allocations: 111.2 kB / 485.1 MB, free: 4 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008447/0.1309, allocations: 0.6234 MB / 485.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.1309, allocations: 3.984 kB / 485.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1309, allocations: 0 / 485.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.002e-05/0.1309, allocations: 4 kB / 485.7 MB, free: 15.37 MB / 366.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.000956/0.1319, allocations: 0.6147 MB / 486.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.1319, allocations: 12.03 kB / 486.4 MB, free: 14.7 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.678e-05/0.132, allocations: 70.7 kB / 486.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.667e-05/0.1321, allocations: 36.55 kB / 486.5 MB, free: 14.59 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002613/0.1323, allocations: 243.1 kB / 486.7 MB, free: 14.31 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.813e-05/0.1324, allocations: 20.5 kB / 486.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.09e-05/0.1324, allocations: 27.98 kB / 486.7 MB, free: 14.26 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007084/0.1331, allocations: 467.3 kB / 487.2 MB, free: 13.8 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.1331, allocations: 0 / 487.2 MB, free: 13.8 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.19e-05/0.1332, allocations: 11.98 kB / 487.2 MB, free: 13.79 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.143e-05/0.1333, allocations: 52.97 kB / 487.3 MB, free: 13.73 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007977/0.1341, allocations: 0.5426 MB / 487.8 MB, free: 13.2 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001819/0.1359, allocations: 1.319 MB / 489.1 MB, free: 11.75 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005078/0.1364, allocations: 270.8 kB / 489.4 MB, free: 11.48 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001969/0.1366, allocations: 104.8 kB / 489.5 MB, free: 11.38 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.464e-05/0.1367, allocations: 15.94 kB / 489.5 MB, free: 11.36 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.243e-05/0.1367, allocations: 30.56 kB / 489.5 MB, free: 11.32 MB / 366.1 MB Notification: Performance of pre-optimization done (n=25): time 1.754e-06/0.1367, allocations: 0 / 489.5 MB, free: 11.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=25): time 0.000724/0.1374, allocations: 337.2 kB / 489.9 MB, free: 10.98 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.81e-05/0.1375, allocations: 55.41 kB / 489.9 MB, free: 10.92 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001165/0.1376, allocations: 140.4 kB / 490.1 MB, free: 10.77 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.248e-05/0.1376, allocations: 29.7 kB / 490.1 MB, free: 10.73 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001061/0.1378, allocations: 199.7 kB / 490.3 MB, free: 10.54 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.541e-05/0.1378, allocations: 90.73 kB / 490.4 MB, free: 10.45 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.4e-05/0.1379, allocations: 61.7 kB / 490.4 MB, free: 10.38 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001051/0.138, allocations: 330.8 kB / 490.8 MB, free: 10.05 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001941/0.1382, allocations: 91.78 kB / 490.8 MB, free: 9.957 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002404/0.1385, allocations: 174.1 kB / 491 MB, free: 9.75 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004539/0.139, allocations: 290 kB / 491.3 MB, free: 9.43 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.139, allocations: 0 / 491.3 MB, free: 9.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005631/0.1395, allocations: 329.8 kB / 491.6 MB, free: 9.102 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.1396, allocations: 4 kB / 491.6 MB, free: 9.098 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.248e-06/0.1396, allocations: 8 kB / 491.6 MB, free: 9.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.1396, allocations: 7.984 kB / 491.6 MB, free: 9.082 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000495/0.1401, allocations: 127.8 kB / 491.8 MB, free: 8.957 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001114/0.1412, allocations: 2.36 MB / 494.1 MB, free: 6.504 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001844/0.1414, allocations: 43.61 kB / 494.2 MB, free: 6.461 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.678e-05/0.1415, allocations: 12 kB / 494.2 MB, free: 6.449 MB / 366.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.0001679/0.1416, allocations: 169.7 kB / 494.3 MB, free: 6.273 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.445e-05/0.1417, allocations: 15.84 kB / 494.4 MB, free: 6.258 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000754/0.1424, allocations: 370.4 kB / 494.7 MB, free: 5.891 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.1425, allocations: 4 kB / 494.7 MB, free: 5.887 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.1425, allocations: 0 / 494.7 MB, free: 5.887 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/0.1425, allocations: 3.938 kB / 494.7 MB, free: 5.883 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003589/0.1428, allocations: 341.3 kB / 495.1 MB, free: 5.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.1429, allocations: 0 / 495.1 MB, free: 5.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004069/0.1433, allocations: 103.9 kB / 495.2 MB, free: 5.398 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.1433, allocations: 4 kB / 495.2 MB, free: 5.395 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.284e-05/0.1433, allocations: 12 kB / 495.2 MB, free: 5.383 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001032/0.1443, allocations: 2.356 MB / 497.5 MB, free: 2.934 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.1444, allocations: 3.984 kB / 497.5 MB, free: 2.93 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005251/0.1449, allocations: 376.4 kB / 497.9 MB, free: 2.547 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.612e-05/0.145, allocations: 88.95 kB / 498 MB, free: 2.441 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.332e-05/0.145, allocations: 12.09 kB / 498 MB, free: 2.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001469/0.1451, allocations: 11.98 kB / 498 MB, free: 2.418 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.242e-05/0.1452, allocations: 23.97 kB / 498 MB, free: 2.395 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.045e-05/0.1453, allocations: 8 kB / 498 MB, free: 2.387 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.262e-05/0.1453, allocations: 99.27 kB / 498.1 MB, free: 2.289 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1453, allocations: 0 / 498.1 MB, free: 2.289 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005589/0.1459, allocations: 171.5 kB / 498.3 MB, free: 2.121 MB / 366.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.001203/0.1471, allocations: 1.04 MB / 499.4 MB, free: 1.055 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008463/0.148, allocations: 347.8 kB / 499.7 MB, free: 0.7148 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.148, allocations: 0 / 499.7 MB, free: 0.7148 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004347/0.1484, allocations: 192.4 kB / 499.9 MB, free: 0.5273 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002979/0.1487, allocations: 12 kB / 499.9 MB, free: 0.5156 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003169/0.1519, allocations: 2.664 MB / 0.4908 GB, free: 13.71 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003717/0.1523, allocations: 0.7986 MB / 0.4916 GB, free: 12.88 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003062/0.1526, allocations: 105.7 kB / 0.4917 GB, free: 12.78 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001413/0.1528, allocations: 95.34 kB / 0.4917 GB, free: 12.68 MB / 382.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1528, allocations: 0 / 0.4917 GB, free: 12.68 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02267/0.1754, allocations: 6.825 MB / 0.4984 GB, free: 6.102 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002587/0.1757, allocations: 299 kB / 0.4987 GB, free: 5.715 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.016/2.192, allocations: 5.719 kB / 0.4987 GB, free: 5.715 MB / 382.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