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.001078/0.001078, allocations: 106.2 kB / 16.41 MB, free: 6.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001143/0.001143, allocations: 189.5 kB / 17.34 MB, free: 5.742 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.363/1.363, allocations: 205.1 MB / 223.2 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2062/0.2062, allocations: 43.53 MB / 314.1 MB, free: 448 kB / 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.001706/0.001706, allocations: 71.89 kB / 441.3 MB, free: 6.121 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.1182, allocations: 57.79 MB / 499.1 MB, free: 12.26 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW): time 0.0035/0.1218, allocations: 1.815 MB / 0.4892 GB, free: 10.43 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002584/0.1244, allocations: 1.692 MB / 0.4909 GB, free: 8.727 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001229/0.1245, allocations: 4 kB / 0.4909 GB, free: 8.723 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002763/0.1249, allocations: 43.77 kB / 0.4909 GB, free: 8.68 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003522/0.1252, allocations: 79.56 kB / 0.491 GB, free: 8.602 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009891/0.1262, allocations: 406.6 kB / 0.4914 GB, free: 8.203 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003163/0.1266, allocations: 242.7 kB / 0.4916 GB, free: 7.965 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.007e-05/0.1266, allocations: 32.38 kB / 0.4916 GB, free: 7.93 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002296/0.1269, allocations: 99.5 kB / 0.4917 GB, free: 7.832 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001892/0.1271, allocations: 123.4 kB / 0.4918 GB, free: 7.711 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.73e-05/0.1271, allocations: 8 kB / 0.4918 GB, free: 7.703 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009899/0.1281, allocations: 0.6978 MB / 0.4925 GB, free: 7.004 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001187/0.1282, allocations: 71.62 kB / 0.4926 GB, free: 6.934 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001312/0.1284, allocations: 119.2 kB / 0.4927 GB, free: 6.816 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009009/0.1293, allocations: 0.6114 MB / 0.4933 GB, free: 6.203 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.1293, allocations: 7.984 kB / 0.4933 GB, free: 6.195 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1293, allocations: 0 / 0.4933 GB, free: 6.195 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.324e-05/0.1293, allocations: 0 / 0.4933 GB, free: 6.195 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.0009793/0.1303, allocations: 0.6085 MB / 0.4939 GB, free: 5.539 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.1304, allocations: 12.03 kB / 0.4939 GB, free: 5.527 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.17e-05/0.1305, allocations: 74.66 kB / 0.494 GB, free: 5.445 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.054e-05/0.1305, allocations: 32.56 kB / 0.494 GB, free: 5.414 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003087/0.1308, allocations: 243 kB / 0.4943 GB, free: 5.137 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.66e-05/0.1309, allocations: 24.55 kB / 0.4943 GB, free: 5.113 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.83e-05/0.1309, allocations: 27.94 kB / 0.4943 GB, free: 5.086 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007212/0.1317, allocations: 471.2 kB / 0.4948 GB, free: 4.621 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.1317, allocations: 0 / 0.4948 GB, free: 4.621 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.793e-05/0.1317, allocations: 15.98 kB / 0.4948 GB, free: 4.605 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.832e-05/0.1318, allocations: 48.95 kB / 0.4948 GB, free: 4.559 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000866/0.1326, allocations: 0.5465 MB / 0.4953 GB, free: 4.008 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001918/0.1346, allocations: 1.303 MB / 0.4966 GB, free: 2.586 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005228/0.1351, allocations: 270.5 kB / 0.4969 GB, free: 2.312 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002003/0.1353, allocations: 100.8 kB / 0.497 GB, free: 2.211 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.011e-05/0.1354, allocations: 7.938 kB / 0.497 GB, free: 2.203 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.189e-05/0.1354, allocations: 38.5 kB / 0.497 GB, free: 2.156 MB / 382.1 MB Notification: Performance of pre-optimization done (n=25): time 1.452e-06/0.1354, allocations: 4 kB / 0.497 GB, free: 2.152 MB / 382.1 MB Notification: Performance of matching and sorting (n=25): time 0.0007588/0.1362, allocations: 325.2 kB / 0.4973 GB, free: 1.828 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.876e-05/0.1362, allocations: 55.41 kB / 0.4974 GB, free: 1.762 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001196/0.1364, allocations: 142.1 kB / 0.4975 GB, free: 1.613 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.063e-05/0.1364, allocations: 29.7 kB / 0.4975 GB, free: 1.578 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001296/0.1365, allocations: 196 kB / 0.4977 GB, free: 1.383 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.223e-05/0.1366, allocations: 86.75 kB / 0.4978 GB, free: 1.297 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001052/0.1367, allocations: 73.69 kB / 0.4979 GB, free: 1.219 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001224/0.1368, allocations: 322.8 kB / 0.4982 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002014/0.137, allocations: 91.78 kB / 0.4983 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00026/0.1373, allocations: 174.2 kB / 0.4984 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004893/0.1378, allocations: 294.7 kB / 0.4987 GB, free: 280 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/0.1378, allocations: 0 / 0.4987 GB, free: 280 kB / 382.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000602/0.1384, allocations: 332.9 kB / 0.499 GB, free: 15.94 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.1385, allocations: 4 kB / 0.4991 GB, free: 15.94 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.1385, allocations: 8 kB / 0.4991 GB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.1385, allocations: 4.344 kB / 0.4991 GB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004811/0.139, allocations: 123.9 kB / 0.4992 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001245/0.1402, allocations: 2.36 MB / 0.5015 GB, free: 13.35 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001761/0.1404, allocations: 39.61 kB / 0.5015 GB, free: 13.31 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.72e-05/0.1405, allocations: 16 kB / 0.5015 GB, free: 13.3 MB / 398.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.0001932/0.1407, allocations: 181.6 kB / 0.5017 GB, free: 13.11 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.374e-05/0.1407, allocations: 19.81 kB / 0.5017 GB, free: 13.09 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007755/0.1415, allocations: 366.6 kB / 0.5021 GB, free: 12.72 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.1415, allocations: 4 kB / 0.5021 GB, free: 12.72 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.349e-06/0.1415, allocations: 0 / 0.5021 GB, free: 12.72 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/0.1415, allocations: 3.938 kB / 0.5021 GB, free: 12.71 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003695/0.1419, allocations: 345.2 kB / 0.5024 GB, free: 12.33 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.1419, allocations: 0 / 0.5024 GB, free: 12.33 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004146/0.1423, allocations: 107.9 kB / 0.5025 GB, free: 12.22 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.868e-06/0.1424, allocations: 4 kB / 0.5025 GB, free: 12.22 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.083e-05/0.1424, allocations: 8 kB / 0.5025 GB, free: 12.21 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001172/0.1436, allocations: 2.36 MB / 0.5048 GB, free: 9.758 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.1436, allocations: 0 / 0.5048 GB, free: 9.758 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005754/0.1442, allocations: 384.3 kB / 0.5052 GB, free: 9.367 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.314e-05/0.1442, allocations: 96.86 kB / 0.5053 GB, free: 9.254 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.864e-05/0.1443, allocations: 8 kB / 0.5053 GB, free: 9.246 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001463/0.1444, allocations: 11.98 kB / 0.5053 GB, free: 9.234 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.538e-05/0.1445, allocations: 23.97 kB / 0.5053 GB, free: 9.211 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.032e-05/0.1445, allocations: 8 kB / 0.5053 GB, free: 9.203 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.504e-05/0.1446, allocations: 103.1 kB / 0.5054 GB, free: 9.105 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1446, allocations: 0 / 0.5054 GB, free: 9.105 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005189/0.1451, allocations: 163.5 kB / 0.5056 GB, free: 8.945 MB / 398.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.001206/0.1463, allocations: 1.024 MB / 0.5066 GB, free: 7.895 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007238/0.1471, allocations: 300.3 kB / 0.5069 GB, free: 7.602 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.1471, allocations: 0 / 0.5069 GB, free: 7.602 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000436/0.1475, allocations: 180.3 kB / 0.5071 GB, free: 7.426 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003108/0.1479, allocations: 12 kB / 0.5071 GB, free: 7.414 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003092/0.151, allocations: 2.533 MB / 0.5095 GB, free: 4.734 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003663/0.1513, allocations: 0.8025 MB / 0.5103 GB, free: 3.906 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002385/0.1516, allocations: 93.75 kB / 0.5104 GB, free: 3.816 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001342/0.1517, allocations: 95.39 kB / 0.5105 GB, free: 3.723 MB / 398.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1517, allocations: 0 / 0.5105 GB, free: 3.723 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02666/0.1784, allocations: 7.152 MB / 0.5175 GB, free: 12.57 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.63/11.81, allocations: 8.25 kB / 0.5175 GB, free: 12.56 MB / 414.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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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