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.001243/0.001243, allocations: 108.5 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001548/0.001548, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.422/1.422, allocations: 227.4 MB / 246.3 MB, free: 10.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2234/0.2234, allocations: 46.1 MB / 343.6 MB, free: 11.78 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001608/0.001608, allocations: 77.34 kB / 417 MB, free: 20.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1224/0.124, allocations: 62.44 MB / 479.4 MB, free: 5.578 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW): time 0.003694/0.1278, allocations: 1.891 MB / 481.3 MB, free: 3.668 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002817/0.1306, allocations: 1.718 MB / 483 MB, free: 1.945 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001226/0.1308, allocations: 0 / 483 MB, free: 1.945 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002731/0.131, allocations: 39.81 kB / 483.1 MB, free: 1.906 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003499/0.1314, allocations: 75.64 kB / 483.1 MB, free: 1.832 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001022/0.1325, allocations: 367 kB / 483.5 MB, free: 1.473 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003497/0.1328, allocations: 306.7 kB / 483.8 MB, free: 1.172 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.914e-05/0.1329, allocations: 28.39 kB / 483.8 MB, free: 1.145 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002702/0.1332, allocations: 99.5 kB / 483.9 MB, free: 1.047 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002023/0.1334, allocations: 119.5 kB / 484 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.577e-05/0.1334, allocations: 8 kB / 484 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001136/0.1346, allocations: 0.7211 MB / 484.8 MB, free: 204 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001083/0.1347, allocations: 63.69 kB / 484.8 MB, free: 140 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000143/0.1349, allocations: 123.2 kB / 484.9 MB, free: 16 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001009/0.1359, allocations: 0.6117 MB / 485.6 MB, free: 15.4 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.1359, allocations: 0 / 485.6 MB, free: 15.4 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.32e-07/0.1359, allocations: 0 / 485.6 MB, free: 15.4 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.935e-06/0.1359, allocations: 0 / 485.6 MB, free: 15.4 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.001016/0.1369, allocations: 0.6279 MB / 486.2 MB, free: 14.73 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/0.137, allocations: 8.875 kB / 486.2 MB, free: 14.72 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.229e-05/0.1371, allocations: 78.72 kB / 486.3 MB, free: 14.63 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.837e-05/0.1372, allocations: 28.56 kB / 486.3 MB, free: 14.61 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002498/0.1374, allocations: 243.1 kB / 486.5 MB, free: 14.33 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.464e-05/0.1374, allocations: 24.55 kB / 486.6 MB, free: 14.3 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.983e-05/0.1375, allocations: 23.94 kB / 486.6 MB, free: 14.28 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007603/0.1383, allocations: 471.2 kB / 487 MB, free: 13.82 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.1383, allocations: 0 / 487 MB, free: 13.82 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.95e-05/0.1383, allocations: 11.98 kB / 487.1 MB, free: 13.8 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-05/0.1384, allocations: 48.97 kB / 487.1 MB, free: 13.75 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008057/0.1392, allocations: 0.5543 MB / 487.7 MB, free: 13.2 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002278/0.1415, allocations: 1.311 MB / 489 MB, free: 11.77 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008064/0.1423, allocations: 274.5 kB / 489.2 MB, free: 11.49 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000297/0.1426, allocations: 92.8 kB / 489.3 MB, free: 11.4 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.78e-05/0.1427, allocations: 11.92 kB / 489.3 MB, free: 11.39 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.503e-05/0.1427, allocations: 42.5 kB / 489.4 MB, free: 11.34 MB / 366.1 MB Notification: Performance of pre-optimization done (n=25): time 2.355e-06/0.1428, allocations: 0 / 489.4 MB, free: 11.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=25): time 0.001123/0.1439, allocations: 329.2 kB / 489.7 MB, free: 11.01 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.849e-05/0.144, allocations: 63.39 kB / 489.8 MB, free: 10.93 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001539/0.1441, allocations: 134 kB / 489.9 MB, free: 10.79 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.314e-05/0.1442, allocations: 33.7 kB / 489.9 MB, free: 10.75 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001519/0.1443, allocations: 200.1 kB / 490.1 MB, free: 10.55 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.536e-05/0.1444, allocations: 82.75 kB / 490.2 MB, free: 10.47 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000147/0.1446, allocations: 69.69 kB / 490.3 MB, free: 10.39 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001516/0.1448, allocations: 322.8 kB / 490.6 MB, free: 10.07 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003102/0.1451, allocations: 95.78 kB / 490.7 MB, free: 9.977 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000377/0.1455, allocations: 171 kB / 490.8 MB, free: 9.773 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007577/0.1462, allocations: 294 kB / 491.1 MB, free: 9.449 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.171e-06/0.1463, allocations: 0 / 491.1 MB, free: 9.449 MB / 366.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009276/0.1472, allocations: 333.8 kB / 491.5 MB, free: 9.117 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.646e-05/0.1472, allocations: 8 kB / 491.5 MB, free: 9.109 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.308e-05/0.1473, allocations: 4 kB / 491.5 MB, free: 9.105 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.707e-05/0.1473, allocations: 4 kB / 491.5 MB, free: 9.102 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007476/0.1481, allocations: 115.9 kB / 491.6 MB, free: 8.988 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00173/0.1498, allocations: 2.372 MB / 494 MB, free: 6.523 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000271/0.1501, allocations: 35.66 kB / 494 MB, free: 6.488 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.636e-05/0.1501, allocations: 19.98 kB / 494 MB, free: 6.469 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.0002834/0.1504, allocations: 173.7 kB / 494.2 MB, free: 6.289 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.943e-05/0.1505, allocations: 11.91 kB / 494.2 MB, free: 6.277 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001186/0.1517, allocations: 358.4 kB / 494.5 MB, free: 5.922 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.775e-06/0.1517, allocations: 4 kB / 494.5 MB, free: 5.918 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.1518, allocations: 0 / 494.5 MB, free: 5.918 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.1518, allocations: 3.938 kB / 494.6 MB, free: 5.914 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005854/0.1524, allocations: 349.3 kB / 494.9 MB, free: 5.523 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.1524, allocations: 0 / 494.9 MB, free: 5.523 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006402/0.153, allocations: 99.95 kB / 495 MB, free: 5.426 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.063e-06/0.1531, allocations: 3.938 kB / 495 MB, free: 5.422 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.229e-05/0.1531, allocations: 11.98 kB / 495 MB, free: 5.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001652/0.1548, allocations: 2.368 MB / 497.4 MB, free: 2.949 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.1548, allocations: 0 / 497.4 MB, free: 2.949 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008278/0.1556, allocations: 372.3 kB / 497.7 MB, free: 2.57 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.526e-05/0.1557, allocations: 96.92 kB / 497.8 MB, free: 2.457 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.477e-05/0.1558, allocations: 4 kB / 497.8 MB, free: 2.453 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000228/0.156, allocations: 12.09 kB / 497.8 MB, free: 2.441 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.169e-05/0.1561, allocations: 23.97 kB / 497.9 MB, free: 2.418 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.315e-05/0.1562, allocations: 15.98 kB / 497.9 MB, free: 2.402 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.045e-05/0.1563, allocations: 98.22 kB / 498 MB, free: 2.309 MB / 366.1 MB Notification: Performance of sort global known variables: time 4.71e-07/0.1563, allocations: 0 / 498 MB, free: 2.309 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000893/0.1572, allocations: 175.5 kB / 498.2 MB, free: 2.137 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.001788/0.159, allocations: 1.04 MB / 499.2 MB, free: 1.07 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001005/0.16, allocations: 295.8 kB / 499.5 MB, free: 0.7812 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.16, allocations: 0 / 499.5 MB, free: 0.7812 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000677/0.1607, allocations: 184.5 kB / 499.7 MB, free: 0.6016 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005218/0.1612, allocations: 16 kB / 499.7 MB, free: 0.5859 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004704/0.166, allocations: 2.656 MB / 0.4906 GB, free: 13.79 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005042/0.1665, allocations: 0.7987 MB / 0.4913 GB, free: 12.96 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004859/0.167, allocations: 101.7 kB / 0.4914 GB, free: 12.86 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002037/0.1672, allocations: 87.41 kB / 0.4915 GB, free: 12.77 MB / 382.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1672, allocations: 0 / 0.4915 GB, free: 12.77 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02575/0.193, allocations: 6.714 MB / 0.4981 GB, free: 6.285 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003545/0.1934, allocations: 304.3 kB / 0.4984 GB, free: 5.898 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.11/2.303, allocations: 0 / 0.4984 GB, free: 5.898 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