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.00129/0.00129, allocations: 109.8 kB / 16.41 MB, free: 6.488 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.001885/0.001885, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.422/1.422, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2139/0.2139, allocations: 43.53 MB / 314.1 MB, free: 456 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.00215/0.00215, allocations: 59.91 kB / 441.3 MB, free: 6.141 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1112, allocations: 57.78 MB / 499.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW): time 0.003693/0.1149, allocations: 1.838 MB / 0.4892 GB, free: 10.43 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002703/0.1176, allocations: 1.676 MB / 0.4909 GB, free: 8.75 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001001/0.1178, allocations: 0 / 0.4909 GB, free: 8.75 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002719/0.1181, allocations: 55.73 kB / 0.4909 GB, free: 8.695 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000329/0.1184, allocations: 75.58 kB / 0.491 GB, free: 8.621 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001041/0.1195, allocations: 406.6 kB / 0.4914 GB, free: 8.223 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003721/0.1198, allocations: 242.7 kB / 0.4916 GB, free: 7.984 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.165e-05/0.1199, allocations: 28.38 kB / 0.4916 GB, free: 7.953 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002277/0.1202, allocations: 107.5 kB / 0.4917 GB, free: 7.848 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002017/0.1204, allocations: 119.4 kB / 0.4918 GB, free: 7.73 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.06e-05/0.1204, allocations: 8 kB / 0.4919 GB, free: 7.723 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00118/0.1216, allocations: 0.7016 MB / 0.4925 GB, free: 7.02 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001042/0.1217, allocations: 67.69 kB / 0.4926 GB, free: 6.953 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000147/0.1219, allocations: 119.2 kB / 0.4927 GB, free: 6.836 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001031/0.1229, allocations: 0.6149 MB / 0.4933 GB, free: 6.219 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.1229, allocations: 4 kB / 0.4933 GB, free: 6.215 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1229, allocations: 0 / 0.4933 GB, free: 6.215 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.339e-05/0.1229, allocations: 0 / 0.4933 GB, free: 6.215 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.001193/0.1241, allocations: 0.6307 MB / 0.4939 GB, free: 5.535 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.823e-05/0.1242, allocations: 8.031 kB / 0.4939 GB, free: 5.527 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001004/0.1243, allocations: 78.7 kB / 0.494 GB, free: 5.441 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.01e-05/0.1244, allocations: 28.75 kB / 0.494 GB, free: 5.414 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003276/0.1247, allocations: 251 kB / 0.4943 GB, free: 5.129 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.375e-05/0.1247, allocations: 20.56 kB / 0.4943 GB, free: 5.109 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.785e-05/0.1248, allocations: 31.92 kB / 0.4943 GB, free: 5.078 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008055/0.1256, allocations: 467.3 kB / 0.4948 GB, free: 4.617 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.1256, allocations: 0 / 0.4948 GB, free: 4.617 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.936e-05/0.1257, allocations: 8 kB / 0.4948 GB, free: 4.609 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.699e-05/0.1257, allocations: 52.95 kB / 0.4948 GB, free: 4.559 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009596/0.1267, allocations: 0.5465 MB / 0.4954 GB, free: 4.008 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002085/0.1288, allocations: 1.3 MB / 0.4966 GB, free: 2.59 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005493/0.1294, allocations: 278.3 kB / 0.4969 GB, free: 2.309 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002107/0.1296, allocations: 96.78 kB / 0.497 GB, free: 2.211 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.319e-05/0.1296, allocations: 16.31 kB / 0.497 GB, free: 2.195 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.683e-05/0.1297, allocations: 34.56 kB / 0.4971 GB, free: 2.152 MB / 382.1 MB Notification: Performance of pre-optimization done (n=25): time 1.603e-06/0.1297, allocations: 0 / 0.4971 GB, free: 2.152 MB / 382.1 MB Notification: Performance of matching and sorting (n=25): time 0.0008145/0.1305, allocations: 333.3 kB / 0.4974 GB, free: 1.82 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.334e-05/0.1306, allocations: 55.41 kB / 0.4974 GB, free: 1.754 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001456/0.1307, allocations: 134.1 kB / 0.4975 GB, free: 1.613 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.941e-05/0.1308, allocations: 37.64 kB / 0.4976 GB, free: 1.57 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001417/0.1309, allocations: 196.3 kB / 0.4978 GB, free: 1.375 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.837e-05/0.131, allocations: 91.2 kB / 0.4979 GB, free: 1.285 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001028/0.1311, allocations: 73.69 kB / 0.4979 GB, free: 1.207 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001616/0.1313, allocations: 322.8 kB / 0.4982 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000252/0.1315, allocations: 91.78 kB / 0.4983 GB, free: 0.793 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002871/0.1318, allocations: 170.2 kB / 0.4985 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000532/0.1324, allocations: 298.7 kB / 0.4988 GB, free: 268 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.1324, allocations: 0 / 0.4988 GB, free: 268 kB / 382.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000642/0.133, allocations: 329 kB / 0.4991 GB, free: 15.93 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.834e-05/0.1331, allocations: 8 kB / 0.4991 GB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.1331, allocations: 4 kB / 0.4991 GB, free: 15.92 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.102e-05/0.1331, allocations: 4 kB / 0.4991 GB, free: 15.92 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004814/0.1336, allocations: 120.2 kB / 0.4992 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001482/0.1351, allocations: 2.368 MB / 0.5015 GB, free: 13.34 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000172/0.1353, allocations: 39.64 kB / 0.5016 GB, free: 13.3 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.382e-05/0.1353, allocations: 16 kB / 0.5016 GB, free: 13.29 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.0002037/0.1355, allocations: 185.5 kB / 0.5018 GB, free: 13.09 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.545e-05/0.1356, allocations: 16.09 kB / 0.5018 GB, free: 13.08 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008104/0.1364, allocations: 358.7 kB / 0.5021 GB, free: 12.72 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.738e-06/0.1364, allocations: 7.984 kB / 0.5021 GB, free: 12.71 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.1364, allocations: 3.938 kB / 0.5021 GB, free: 12.71 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.1364, allocations: 3.938 kB / 0.5021 GB, free: 12.7 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004495/0.1369, allocations: 345.3 kB / 0.5025 GB, free: 12.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.1369, allocations: 0 / 0.5025 GB, free: 12.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004169/0.1373, allocations: 111.9 kB / 0.5026 GB, free: 12.21 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.1373, allocations: 0 / 0.5026 GB, free: 12.21 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.167e-05/0.1374, allocations: 12 kB / 0.5026 GB, free: 12.2 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001421/0.1388, allocations: 2.36 MB / 0.5049 GB, free: 9.742 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.1388, allocations: 0 / 0.5049 GB, free: 9.742 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000598/0.1394, allocations: 384.2 kB / 0.5052 GB, free: 9.352 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.213e-05/0.1395, allocations: 97.08 kB / 0.5053 GB, free: 9.238 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.068e-05/0.1395, allocations: 8 kB / 0.5053 GB, free: 9.23 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000152/0.1397, allocations: 15.98 kB / 0.5054 GB, free: 9.215 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.064e-05/0.1398, allocations: 15.98 kB / 0.5054 GB, free: 9.199 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.525e-05/0.1398, allocations: 15.98 kB / 0.5054 GB, free: 9.184 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.595e-05/0.1399, allocations: 95.27 kB / 0.5055 GB, free: 9.09 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1399, allocations: 0 / 0.5055 GB, free: 9.09 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005811/0.1405, allocations: 175.2 kB / 0.5057 GB, free: 8.918 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.001386/0.1419, allocations: 1.02 MB / 0.5066 GB, free: 7.871 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007833/0.1427, allocations: 307.5 kB / 0.5069 GB, free: 7.57 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.1427, allocations: 0.6875 kB / 0.5069 GB, free: 7.57 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004487/0.1431, allocations: 172.3 kB / 0.5071 GB, free: 7.402 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003389/0.1435, allocations: 20 kB / 0.5071 GB, free: 7.383 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003337/0.1468, allocations: 2.536 MB / 0.5096 GB, free: 4.703 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004638/0.1473, allocations: 0.8103 MB / 0.5104 GB, free: 3.867 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002501/0.1476, allocations: 101.7 kB / 0.5105 GB, free: 3.77 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001459/0.1477, allocations: 91.39 kB / 0.5106 GB, free: 3.68 MB / 398.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1477, allocations: 0 / 0.5106 GB, free: 3.68 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03213/0.1799, allocations: 7.077 MB / 0.5175 GB, free: 12.6 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.82/12, allocations: 12.11 kB / 0.5175 GB, free: 12.59 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