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_overall_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_overall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_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.001222/0.001222, allocations: 112.1 kB / 16.41 MB, free: 6.43 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.001235/0.001235, allocations: 189 kB / 17.34 MB, free: 5.727 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.408/1.408, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.2167/0.2167, allocations: 43.52 MB / 314.1 MB, free: 464 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.001982/0.001982, allocations: 67.91 kB / 441.3 MB, free: 6.145 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1153/0.1173, allocations: 57.79 MB / 499.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW): time 0.003228/0.1206, allocations: 1.826 MB / 0.4892 GB, free: 10.45 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004578/0.1252, allocations: 2.91 MB / 0.4921 GB, free: 7.523 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001076/0.1253, allocations: 4 kB / 0.4921 GB, free: 7.52 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002608/0.1256, allocations: 43.69 kB / 0.4921 GB, free: 7.477 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002941/0.1259, allocations: 75.64 kB / 0.4922 GB, free: 7.402 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001635/0.1276, allocations: 0.7159 MB / 0.4929 GB, free: 6.684 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003085/0.1279, allocations: 242.8 kB / 0.4931 GB, free: 6.445 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.354e-05/0.128, allocations: 36.36 kB / 0.4931 GB, free: 6.406 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001768/0.1282, allocations: 107.4 kB / 0.4932 GB, free: 6.301 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002075/0.1284, allocations: 115.5 kB / 0.4934 GB, free: 6.188 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.641e-05/0.1284, allocations: 8 kB / 0.4934 GB, free: 6.18 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002/0.1304, allocations: 1.212 MB / 0.4945 GB, free: 4.965 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001164/0.1306, allocations: 75.61 kB / 0.4946 GB, free: 4.891 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001404/0.1307, allocations: 111.2 kB / 0.4947 GB, free: 4.781 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001622/0.1323, allocations: 0.9149 MB / 0.4956 GB, free: 3.863 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.1323, allocations: 0 / 0.4956 GB, free: 3.863 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1324, allocations: 0 / 0.4956 GB, free: 3.863 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.564e-06/0.1324, allocations: 0 / 0.4956 GB, free: 3.863 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.001185/0.1336, allocations: 0.6886 MB / 0.4963 GB, free: 3.125 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.078e-05/0.1336, allocations: 8.031 kB / 0.4963 GB, free: 3.117 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001037/0.1337, allocations: 78.7 kB / 0.4964 GB, free: 3.031 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.787e-05/0.1338, allocations: 28.75 kB / 0.4964 GB, free: 3.004 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003062/0.1341, allocations: 243.1 kB / 0.4966 GB, free: 2.727 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.542e-05/0.1342, allocations: 20.56 kB / 0.4966 GB, free: 2.707 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.335e-05/0.1342, allocations: 27.98 kB / 0.4967 GB, free: 2.68 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007526/0.135, allocations: 467.3 kB / 0.4971 GB, free: 2.219 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.135, allocations: 4 kB / 0.4971 GB, free: 2.215 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.852e-05/0.135, allocations: 8 kB / 0.4971 GB, free: 2.207 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.249e-05/0.1351, allocations: 48.95 kB / 0.4972 GB, free: 2.16 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008698/0.136, allocations: 0.5465 MB / 0.4977 GB, free: 1.609 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001944/0.1379, allocations: 1.308 MB / 0.499 GB, free: 188 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005734/0.1385, allocations: 274.4 kB / 0.4993 GB, free: 15.91 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002069/0.1387, allocations: 104.7 kB / 0.4994 GB, free: 15.8 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.888e-05/0.1388, allocations: 12.31 kB / 0.4994 GB, free: 15.79 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.932e-05/0.1388, allocations: 34.56 kB / 0.4994 GB, free: 15.75 MB / 398.1 MB Notification: Performance of pre-optimization done (n=25): time 2.144e-06/0.1388, allocations: 4 kB / 0.4994 GB, free: 15.74 MB / 398.1 MB Notification: Performance of matching and sorting (n=25): time 0.0007664/0.1396, allocations: 321.4 kB / 0.4997 GB, free: 15.42 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.374e-05/0.1397, allocations: 55.41 kB / 0.4998 GB, free: 15.36 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001343/0.1398, allocations: 138.1 kB / 0.4999 GB, free: 15.21 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.721e-05/0.1398, allocations: 33.64 kB / 0.4999 GB, free: 15.17 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001475/0.14, allocations: 200.2 kB / 0.5001 GB, free: 14.97 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.854e-05/0.1401, allocations: 95.2 kB / 0.5002 GB, free: 14.88 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001138/0.1402, allocations: 77.64 kB / 0.5003 GB, free: 14.8 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.1404, allocations: 322.8 kB / 0.5006 GB, free: 14.47 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002018/0.1406, allocations: 91.78 kB / 0.5007 GB, free: 14.38 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002783/0.1409, allocations: 170.2 kB / 0.5008 GB, free: 14.18 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005187/0.1414, allocations: 306.7 kB / 0.5011 GB, free: 13.84 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.1414, allocations: 0 / 0.5011 GB, free: 13.84 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000629/0.142, allocations: 321.1 kB / 0.5014 GB, free: 13.52 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/0.1421, allocations: 8 kB / 0.5014 GB, free: 13.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.1421, allocations: 4 kB / 0.5014 GB, free: 13.51 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.922e-05/0.1421, allocations: 4 kB / 0.5015 GB, free: 13.51 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004946/0.1426, allocations: 115.9 kB / 0.5016 GB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001502/0.1441, allocations: 2.368 MB / 0.5039 GB, free: 10.93 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001859/0.1443, allocations: 39.7 kB / 0.5039 GB, free: 10.89 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.203e-05/0.1444, allocations: 20 kB / 0.5039 GB, free: 10.88 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.0002248/0.1446, allocations: 181.5 kB / 0.5041 GB, free: 10.69 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.966e-05/0.1446, allocations: 19.89 kB / 0.5041 GB, free: 10.67 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007882/0.1454, allocations: 366.6 kB / 0.5045 GB, free: 10.3 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.79e-06/0.1455, allocations: 8 kB / 0.5045 GB, free: 10.29 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.1455, allocations: 0 / 0.5045 GB, free: 10.29 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.1455, allocations: 3.938 kB / 0.5045 GB, free: 10.29 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004041/0.1459, allocations: 341.4 kB / 0.5048 GB, free: 9.906 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.1459, allocations: 0 / 0.5048 GB, free: 9.906 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004109/0.1463, allocations: 107.9 kB / 0.5049 GB, free: 9.801 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.1463, allocations: 3.938 kB / 0.5049 GB, free: 9.797 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.973e-05/0.1463, allocations: 8 kB / 0.5049 GB, free: 9.789 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001349/0.1477, allocations: 2.364 MB / 0.5072 GB, free: 7.332 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.1477, allocations: 0 / 0.5072 GB, free: 7.332 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006278/0.1483, allocations: 384.2 kB / 0.5076 GB, free: 6.941 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.082e-05/0.1484, allocations: 92.95 kB / 0.5077 GB, free: 6.832 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.894e-05/0.1485, allocations: 4 kB / 0.5077 GB, free: 6.828 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000144/0.1486, allocations: 11.98 kB / 0.5077 GB, free: 6.816 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.41e-05/0.1487, allocations: 28.06 kB / 0.5077 GB, free: 6.789 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.518e-05/0.1487, allocations: 12 kB / 0.5077 GB, free: 6.777 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.811e-05/0.1488, allocations: 95.27 kB / 0.5078 GB, free: 6.684 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.1488, allocations: 0 / 0.5078 GB, free: 6.684 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000703/0.1495, allocations: 242.8 kB / 0.5081 GB, free: 6.445 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.001458/0.151, allocations: 1.148 MB / 0.5092 GB, free: 5.27 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007768/0.1517, allocations: 300.2 kB / 0.5095 GB, free: 4.977 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.1518, allocations: 0 / 0.5095 GB, free: 4.977 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004507/0.1522, allocations: 172.3 kB / 0.5096 GB, free: 4.809 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003509/0.1526, allocations: 19.92 kB / 0.5097 GB, free: 4.789 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003391/0.156, allocations: 2.586 MB / 0.5122 GB, free: 2.059 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004486/0.1565, allocations: 0.7909 MB / 0.513 GB, free: 1.242 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002688/0.1567, allocations: 105.7 kB / 0.5131 GB, free: 1.141 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001421/0.1569, allocations: 91.39 kB / 0.5131 GB, free: 1.051 MB / 398.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1569, allocations: 0 / 0.5131 GB, free: 1.051 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03443/0.1913, allocations: 8.788 MB / 0.5217 GB, free: 8.258 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.82/12.01, allocations: 448 / 0.5217 GB, free: 8.258 MB / 414.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_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_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/StraightPipe/dp_overall_DPMFLOW/dp_overall_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches