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.0007208/0.0007208, allocations: 92.83 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008343/0.0008344, allocations: 203.6 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.383/1.383, allocations: 227.7 MB / 246.8 MB, free: 11.32 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2239/0.2239, allocations: 46.2 MB / 345.2 MB, free: 11.37 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002781/0.0002782, allocations: 8 kB / 419.6 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.135/0.1353, allocations: 63.56 MB / 483.2 MB, free: 4.035 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW): time 0.00223/0.1376, allocations: 1.556 MB / 484.8 MB, free: 2.465 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002669/0.1403, allocations: 1.68 MB / 486.4 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001088/0.1404, allocations: 0 / 486.4 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002504/0.1407, allocations: 43.81 kB / 486.5 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003179/0.141, allocations: 79.64 kB / 486.6 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009677/0.142, allocations: 359 kB / 486.9 MB, free: 316 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003551/0.1424, allocations: 314.7 kB / 487.2 MB, free: 0 / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.732e-05/0.1425, allocations: 28.39 kB / 487.2 MB, free: 15.97 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002767/0.1427, allocations: 103.4 kB / 487.3 MB, free: 15.87 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002194/0.143, allocations: 119.4 kB / 487.5 MB, free: 15.75 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.248e-05/0.143, allocations: 8 kB / 487.5 MB, free: 15.75 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001085/0.1441, allocations: 0.7173 MB / 488.2 MB, free: 15.03 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001032/0.1442, allocations: 71.67 kB / 488.3 MB, free: 14.96 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001486/0.1444, allocations: 136.9 kB / 488.4 MB, free: 14.82 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001033/0.1454, allocations: 0.6117 MB / 489 MB, free: 14.2 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.1454, allocations: 0 / 489 MB, free: 14.2 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.537e-06/0.1455, allocations: 3.984 kB / 489 MB, free: 14.2 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.228e-05/0.1455, allocations: 0 / 489 MB, free: 14.2 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.001077/0.1466, allocations: 0.5773 MB / 489.6 MB, free: 13.57 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/0.1466, allocations: 8.875 kB / 489.6 MB, free: 13.57 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001089/0.1467, allocations: 78.7 kB / 489.7 MB, free: 13.48 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.995e-05/0.1468, allocations: 28.56 kB / 489.7 MB, free: 13.45 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002762/0.1471, allocations: 243 kB / 489.9 MB, free: 13.18 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.424e-05/0.1471, allocations: 28.48 kB / 490 MB, free: 13.15 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.13e-05/0.1472, allocations: 24 kB / 490 MB, free: 13.12 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007236/0.1479, allocations: 475.3 kB / 490.4 MB, free: 12.66 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.1479, allocations: 0 / 490.4 MB, free: 12.66 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.233e-05/0.148, allocations: 15.98 kB / 490.5 MB, free: 12.64 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.979e-05/0.148, allocations: 40.97 kB / 490.5 MB, free: 12.6 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008542/0.1489, allocations: 0.5621 MB / 491.1 MB, free: 12.04 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001853/0.1508, allocations: 1.315 MB / 492.4 MB, free: 10.6 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005115/0.1513, allocations: 278.5 kB / 492.7 MB, free: 10.32 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002127/0.1515, allocations: 108.7 kB / 492.8 MB, free: 10.21 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.208e-05/0.1516, allocations: 11.88 kB / 492.8 MB, free: 10.2 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.699e-05/0.1516, allocations: 38.56 kB / 492.8 MB, free: 10.15 MB / 366.1 MB Notification: Performance of pre-optimization done (n=25): time 1.803e-06/0.1516, allocations: 4 kB / 492.8 MB, free: 10.15 MB / 366.1 MB Notification: Performance of matching and sorting (n=25): time 0.0007455/0.1524, allocations: 349.1 kB / 493.2 MB, free: 9.801 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.086e-05/0.1524, allocations: 55.41 kB / 493.2 MB, free: 9.734 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001152/0.1525, allocations: 144.8 kB / 493.3 MB, free: 9.582 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.424e-05/0.1526, allocations: 29.7 kB / 493.4 MB, free: 9.547 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000121/0.1527, allocations: 200.1 kB / 493.6 MB, free: 9.348 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.666e-05/0.1528, allocations: 86.75 kB / 493.7 MB, free: 9.262 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.726e-05/0.1528, allocations: 37.7 kB / 493.7 MB, free: 9.219 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001092/0.153, allocations: 322.8 kB / 494 MB, free: 8.895 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002098/0.1532, allocations: 95.92 kB / 494.1 MB, free: 8.801 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002414/0.1534, allocations: 181.9 kB / 494.3 MB, free: 8.586 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004861/0.1539, allocations: 302 kB / 494.6 MB, free: 8.254 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.1539, allocations: 4 kB / 494.6 MB, free: 8.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005748/0.1545, allocations: 334.2 kB / 494.9 MB, free: 7.918 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/0.1545, allocations: 10.5 kB / 494.9 MB, free: 7.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.1546, allocations: 0 / 494.9 MB, free: 7.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.1546, allocations: 4 kB / 494.9 MB, free: 7.906 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004806/0.1551, allocations: 119.9 kB / 495 MB, free: 7.789 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001145/0.1562, allocations: 2.368 MB / 497.4 MB, free: 5.328 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000176/0.1564, allocations: 39.69 kB / 497.4 MB, free: 5.289 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.975e-05/0.1564, allocations: 19.98 kB / 497.5 MB, free: 5.27 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.0001694/0.1566, allocations: 173.7 kB / 497.6 MB, free: 5.09 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.092e-05/0.1567, allocations: 15.81 kB / 497.6 MB, free: 5.074 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007831/0.1575, allocations: 366.4 kB / 498 MB, free: 4.711 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.1575, allocations: 7.938 kB / 498 MB, free: 4.703 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.698e-06/0.1575, allocations: 0 / 498 MB, free: 4.703 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.1575, allocations: 3.938 kB / 498 MB, free: 4.699 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003895/0.1579, allocations: 349.3 kB / 498.4 MB, free: 4.309 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.1579, allocations: 0 / 498.4 MB, free: 4.309 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003859/0.1583, allocations: 107.9 kB / 498.5 MB, free: 4.203 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/0.1583, allocations: 4 kB / 498.5 MB, free: 4.199 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.21e-05/0.1583, allocations: 11.98 kB / 498.5 MB, free: 4.188 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001/0.1593, allocations: 2.364 MB / 0.4891 GB, free: 1.73 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.1594, allocations: 0 / 0.4891 GB, free: 1.73 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005155/0.1599, allocations: 384.5 kB / 0.4895 GB, free: 1.34 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.837e-05/0.1599, allocations: 96.84 kB / 0.4896 GB, free: 1.227 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.084e-05/0.16, allocations: 8 kB / 0.4896 GB, free: 1.219 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001391/0.1601, allocations: 8 kB / 0.4896 GB, free: 1.211 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.987e-05/0.1602, allocations: 23.97 kB / 0.4896 GB, free: 1.188 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.993e-05/0.1602, allocations: 19.98 kB / 0.4896 GB, free: 1.168 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.477e-05/0.1603, allocations: 95.27 kB / 0.4897 GB, free: 1.074 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1603, allocations: 0 / 0.4897 GB, free: 1.074 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005495/0.1608, allocations: 171.6 kB / 0.4899 GB, free: 0.9062 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.001189/0.162, allocations: 1.052 MB / 0.4909 GB, free: 15.83 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007115/0.1627, allocations: 312.5 kB / 0.4912 GB, free: 15.52 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/0.1628, allocations: 0 / 0.4912 GB, free: 15.52 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004174/0.1632, allocations: 187.7 kB / 0.4914 GB, free: 15.34 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003059/0.1635, allocations: 16 kB / 0.4914 GB, free: 15.32 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003219/0.1667, allocations: 2.721 MB / 0.4941 GB, free: 12.46 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003679/0.1671, allocations: 0.7987 MB / 0.4948 GB, free: 11.64 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003003/0.1674, allocations: 97.73 kB / 0.4949 GB, free: 11.54 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001322/0.1676, allocations: 91.39 kB / 0.495 GB, free: 11.45 MB / 382.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1676, allocations: 0 / 0.495 GB, free: 11.45 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0215/0.1891, allocations: 6.594 MB / 0.5015 GB, free: 5.102 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000293/0.1894, allocations: 290.8 kB / 0.5017 GB, free: 4.719 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.965/2.155, allocations: 0 / 0.5017 GB, free: 4.719 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