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.001633/0.001633, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001928/0.001928, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.466/1.466, allocations: 227.4 MB / 246.8 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2162/0.2162, allocations: 46.1 MB / 344.1 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001566/0.001566, allocations: 72.81 kB / 417.7 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.1204, allocations: 62.44 MB / 480.2 MB, free: 5.164 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW): time 0.003253/0.1237, allocations: 1.841 MB / 482 MB, free: 3.309 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002521/0.1263, allocations: 1.698 MB / 483.7 MB, free: 1.605 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001017/0.1264, allocations: 4 kB / 483.7 MB, free: 1.602 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000249/0.1267, allocations: 43.75 kB / 483.7 MB, free: 1.559 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002938/0.127, allocations: 87.56 kB / 483.8 MB, free: 1.473 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009257/0.1279, allocations: 406.6 kB / 484.2 MB, free: 1.074 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002966/0.1282, allocations: 238.8 kB / 484.5 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.134e-05/0.1283, allocations: 36.27 kB / 484.5 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002594/0.1286, allocations: 99.5 kB / 484.6 MB, free: 0.707 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001981/0.1288, allocations: 131.4 kB / 484.7 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.432e-05/0.1288, allocations: 8 kB / 484.7 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001158/0.13, allocations: 0.7173 MB / 485.4 MB, free: 15.85 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001172/0.1301, allocations: 67.69 kB / 485.5 MB, free: 15.79 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001429/0.1303, allocations: 107.2 kB / 485.6 MB, free: 15.68 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001022/0.1313, allocations: 0.6234 MB / 486.2 MB, free: 15.05 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.1313, allocations: 0 / 486.2 MB, free: 15.05 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1313, allocations: 4 kB / 486.2 MB, free: 15.05 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.338e-05/0.1314, allocations: 0 / 486.2 MB, free: 15.05 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.001009/0.1324, allocations: 0.6201 MB / 486.9 MB, free: 14.38 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.1324, allocations: 12.03 kB / 486.9 MB, free: 14.37 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.578e-05/0.1325, allocations: 74.7 kB / 486.9 MB, free: 14.29 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.4e-05/0.1326, allocations: 32.56 kB / 487 MB, free: 14.26 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002433/0.1328, allocations: 243.1 kB / 487.2 MB, free: 13.98 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.031e-05/0.1329, allocations: 16.56 kB / 487.2 MB, free: 13.96 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.157e-05/0.1329, allocations: 31.92 kB / 487.3 MB, free: 13.93 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006805/0.1336, allocations: 471.3 kB / 487.7 MB, free: 13.47 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.1336, allocations: 0 / 487.7 MB, free: 13.47 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.904e-05/0.1336, allocations: 12 kB / 487.7 MB, free: 13.46 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-05/0.1337, allocations: 40.97 kB / 487.8 MB, free: 13.41 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008285/0.1345, allocations: 0.5542 MB / 488.3 MB, free: 12.86 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002093/0.1366, allocations: 1.319 MB / 489.6 MB, free: 11.42 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004963/0.1372, allocations: 273.2 kB / 489.9 MB, free: 11.15 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001957/0.1374, allocations: 100.8 kB / 490 MB, free: 11.05 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.021e-05/0.1374, allocations: 12 kB / 490 MB, free: 11.04 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.85e-05/0.1374, allocations: 46.5 kB / 490.1 MB, free: 10.98 MB / 366.1 MB Notification: Performance of pre-optimization done (n=25): time 1.623e-06/0.1375, allocations: 0 / 490.1 MB, free: 10.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=25): time 0.0007241/0.1382, allocations: 329.2 kB / 490.4 MB, free: 10.65 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.459e-05/0.1382, allocations: 59.41 kB / 490.4 MB, free: 10.58 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001138/0.1383, allocations: 142 kB / 490.6 MB, free: 10.43 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.123e-05/0.1384, allocations: 25.7 kB / 490.6 MB, free: 10.4 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001082/0.1385, allocations: 203.7 kB / 490.8 MB, free: 10.2 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.523e-05/0.1386, allocations: 86.73 kB / 490.9 MB, free: 10.11 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.561e-05/0.1387, allocations: 65.7 kB / 491 MB, free: 10.04 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.96e-05/0.1388, allocations: 322.8 kB / 491.3 MB, free: 9.715 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002001/0.139, allocations: 91.78 kB / 491.4 MB, free: 9.625 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002512/0.1393, allocations: 182.1 kB / 491.5 MB, free: 9.41 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004699/0.1397, allocations: 286 kB / 491.8 MB, free: 9.094 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.1397, allocations: 0 / 491.8 MB, free: 9.094 MB / 366.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005812/0.1403, allocations: 325.8 kB / 492.1 MB, free: 8.77 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.1404, allocations: 7.984 kB / 492.1 MB, free: 8.762 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/0.1404, allocations: 4.344 kB / 492.1 MB, free: 8.758 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.1404, allocations: 8 kB / 492.2 MB, free: 8.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004885/0.1409, allocations: 119.9 kB / 492.3 MB, free: 8.633 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001187/0.1421, allocations: 2.36 MB / 494.6 MB, free: 6.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001791/0.1423, allocations: 35.61 kB / 494.7 MB, free: 6.145 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.601e-05/0.1423, allocations: 20 kB / 494.7 MB, free: 6.125 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.0001781/0.1425, allocations: 173.9 kB / 494.9 MB, free: 5.945 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.723e-05/0.1426, allocations: 15.84 kB / 494.9 MB, free: 5.93 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008155/0.1434, allocations: 366.3 kB / 495.2 MB, free: 5.566 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.868e-06/0.1434, allocations: 0 / 495.2 MB, free: 5.566 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.1434, allocations: 4 kB / 495.2 MB, free: 5.562 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.127e-06/0.1434, allocations: 7.922 kB / 495.2 MB, free: 5.555 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003849/0.1438, allocations: 337.3 kB / 495.6 MB, free: 5.176 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.1438, allocations: 0 / 495.6 MB, free: 5.176 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004151/0.1443, allocations: 107.9 kB / 495.7 MB, free: 5.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.484e-06/0.1443, allocations: 7.938 kB / 495.7 MB, free: 5.062 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.043e-05/0.1443, allocations: 8 kB / 495.7 MB, free: 5.055 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001197/0.1455, allocations: 2.364 MB / 498.1 MB, free: 2.598 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.1455, allocations: 0 / 498.1 MB, free: 2.598 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005579/0.1461, allocations: 375.4 kB / 498.4 MB, free: 2.215 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.089e-05/0.1461, allocations: 92.94 kB / 498.5 MB, free: 2.105 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.328e-05/0.1462, allocations: 8 kB / 498.5 MB, free: 2.098 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001511/0.1463, allocations: 11.98 kB / 498.5 MB, free: 2.086 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.677e-05/0.1464, allocations: 23.97 kB / 498.6 MB, free: 2.062 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.085e-05/0.1464, allocations: 8 kB / 498.6 MB, free: 2.055 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.488e-05/0.1465, allocations: 101.9 kB / 498.7 MB, free: 1.957 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1465, allocations: 3.938 kB / 498.7 MB, free: 1.953 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005877/0.1471, allocations: 183.5 kB / 498.8 MB, free: 1.773 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.001268/0.1484, allocations: 1.033 MB / 499.9 MB, free: 0.7148 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000805/0.1492, allocations: 352.5 kB / 0.4885 GB, free: 380 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.1492, allocations: 0 / 0.4885 GB, free: 380 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004361/0.1497, allocations: 183.7 kB / 0.4887 GB, free: 196 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003254/0.15, allocations: 17.22 kB / 0.4887 GB, free: 180 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003269/0.1533, allocations: 2.513 MB / 0.4911 GB, free: 13.52 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004016/0.1537, allocations: 0.8103 MB / 0.4919 GB, free: 12.68 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003168/0.154, allocations: 105.7 kB / 0.492 GB, free: 12.58 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000133/0.1542, allocations: 89.94 kB / 0.4921 GB, free: 12.49 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1542, allocations: 0 / 0.4921 GB, free: 12.49 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02853/0.1827, allocations: 6.957 MB / 0.4989 GB, free: 5.73 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/11.61, allocations: 14.73 kB / 0.4989 GB, free: 5.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 & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.0002 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.csv","/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