Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_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.General.dp_pressureLossCoefficient_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_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.001226/0.001226, allocations: 108 kB / 16.41 MB, free: 6.484 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.001208/0.001209, allocations: 188.1 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.43/1.43, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.2185/0.2185, allocations: 43.52 MB / 314.1 MB, free: 472 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.002127/0.002127, allocations: 71.89 kB / 441.3 MB, free: 6.152 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.1198, allocations: 57.78 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW): time 0.003352/0.1232, allocations: 1.675 MB / 0.4891 GB, free: 10.61 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001481/0.1247, allocations: 0.8461 MB / 0.4899 GB, free: 9.758 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.527e-05/0.1247, allocations: 0 / 0.4899 GB, free: 9.758 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002154/0.125, allocations: 39.77 kB / 0.4899 GB, free: 9.719 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001638/0.1252, allocations: 51.73 kB / 0.49 GB, free: 9.668 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003565/0.1255, allocations: 103.6 kB / 0.4901 GB, free: 9.566 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002248/0.1258, allocations: 151.2 kB / 0.4902 GB, free: 9.418 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.5e-05/0.1258, allocations: 20.84 kB / 0.4902 GB, free: 9.398 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001313/0.126, allocations: 67.7 kB / 0.4903 GB, free: 9.332 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001312/0.1261, allocations: 71.67 kB / 0.4904 GB, free: 9.262 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.785e-05/0.1261, allocations: 4 kB / 0.4904 GB, free: 9.258 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003248/0.1265, allocations: 159.8 kB / 0.4905 GB, free: 9.102 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.284e-05/0.1265, allocations: 43.83 kB / 0.4906 GB, free: 9.059 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.392e-05/0.1266, allocations: 55.62 kB / 0.4906 GB, free: 9.004 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003336/0.127, allocations: 207.1 kB / 0.4908 GB, free: 8.801 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.127, allocations: 0 / 0.4908 GB, free: 8.801 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.127, allocations: 0 / 0.4908 GB, free: 8.801 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.127, allocations: 0 / 0.4908 GB, free: 8.801 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0006364/0.1276, allocations: 470 kB / 0.4913 GB, free: 8.297 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.1277, allocations: 15.89 kB / 0.4913 GB, free: 8.281 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.678e-05/0.1277, allocations: 58.67 kB / 0.4913 GB, free: 8.215 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004897/0.1282, allocations: 60.78 kB / 0.4914 GB, free: 8.156 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002212/0.1285, allocations: 220 kB / 0.4916 GB, free: 7.902 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.707e-05/0.1285, allocations: 12.38 kB / 0.4916 GB, free: 7.891 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.844e-05/0.1285, allocations: 15.94 kB / 0.4916 GB, free: 7.875 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004331/0.129, allocations: 233.4 kB / 0.4918 GB, free: 7.641 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.129, allocations: 0 / 0.4918 GB, free: 7.641 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.894e-05/0.129, allocations: 4 kB / 0.4919 GB, free: 7.637 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.891e-05/0.1291, allocations: 23.98 kB / 0.4919 GB, free: 7.613 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004387/0.1295, allocations: 219.8 kB / 0.4921 GB, free: 7.398 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001075/0.1306, allocations: 0.7364 MB / 0.4928 GB, free: 6.574 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002182/0.1308, allocations: 86.52 kB / 0.4929 GB, free: 6.48 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001296/0.131, allocations: 48.81 kB / 0.4929 GB, free: 6.43 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.024e-05/0.131, allocations: 0 / 0.4929 GB, free: 6.43 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.06e-05/0.131, allocations: 38.44 kB / 0.493 GB, free: 6.383 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.022e-06/0.131, allocations: 0 / 0.493 GB, free: 6.383 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005136/0.1315, allocations: 165.5 kB / 0.4931 GB, free: 6.215 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.254e-05/0.1316, allocations: 63.41 kB / 0.4932 GB, free: 6.141 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000179/0.1318, allocations: 183.3 kB / 0.4934 GB, free: 5.953 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.005e-05/0.1318, allocations: 25.7 kB / 0.4934 GB, free: 5.922 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.675e-05/0.1319, allocations: 147.9 kB / 0.4935 GB, free: 5.773 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.64e-05/0.1319, allocations: 27.75 kB / 0.4936 GB, free: 5.746 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.944e-05/0.132, allocations: 29.7 kB / 0.4936 GB, free: 5.711 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001337/0.1322, allocations: 322.8 kB / 0.4939 GB, free: 5.387 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001452/0.1323, allocations: 47.95 kB / 0.4939 GB, free: 5.34 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001735/0.1325, allocations: 102.8 kB / 0.494 GB, free: 5.215 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003177/0.1328, allocations: 154.7 kB / 0.4942 GB, free: 5.039 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.1328, allocations: 0 / 0.4942 GB, free: 5.039 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004496/0.1333, allocations: 189.3 kB / 0.4944 GB, free: 4.848 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.1333, allocations: 14.59 kB / 0.4944 GB, free: 4.836 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.1333, allocations: 0 / 0.4944 GB, free: 4.836 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.1333, allocations: 4 kB / 0.4944 GB, free: 4.832 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008846/0.1342, allocations: 128 kB / 0.4945 GB, free: 4.707 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001316/0.1356, allocations: 1.813 MB / 0.4963 GB, free: 2.824 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001395/0.1357, allocations: 23.83 kB / 0.4963 GB, free: 2.801 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.545e-05/0.1357, allocations: 4 kB / 0.4963 GB, free: 2.797 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 initialization (14): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001378/0.1359, allocations: 149.5 kB / 0.4964 GB, free: 2.641 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.75e-05/0.1359, allocations: 20.09 kB / 0.4965 GB, free: 2.621 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004578/0.1364, allocations: 174.8 kB / 0.4966 GB, free: 2.438 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.1364, allocations: 8 kB / 0.4966 GB, free: 2.43 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.1364, allocations: 3.984 kB / 0.4966 GB, free: 2.426 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.1364, allocations: 4 kB / 0.4966 GB, free: 2.422 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002769/0.1367, allocations: 237.5 kB / 0.4969 GB, free: 2.141 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1367, allocations: 0 / 0.4969 GB, free: 2.141 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007051/0.1374, allocations: 107.8 kB / 0.497 GB, free: 2.035 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.1374, allocations: 3.938 kB / 0.497 GB, free: 2.031 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.623e-05/0.1375, allocations: 12 kB / 0.497 GB, free: 2.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001138/0.1386, allocations: 1.778 MB / 0.4987 GB, free: 176 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.1386, allocations: 0 / 0.4987 GB, free: 176 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003945/0.139, allocations: 239.5 kB / 0.499 GB, free: 15.92 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.397e-05/0.1391, allocations: 89.05 kB / 0.499 GB, free: 15.81 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.672e-05/0.1391, allocations: 4 kB / 0.499 GB, free: 15.81 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001288/0.1392, allocations: 8.094 kB / 0.499 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.568e-05/0.1393, allocations: 15.92 kB / 0.4991 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.021e-05/0.1393, allocations: 4 kB / 0.4991 GB, free: 15.78 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001231/0.1394, allocations: 139.9 kB / 0.4992 GB, free: 15.64 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1395, allocations: 0 / 0.4992 GB, free: 15.64 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000303/0.1398, allocations: 47.89 kB / 0.4992 GB, free: 15.6 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 (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007853/0.1406, allocations: 0.7825 MB / 0.5 GB, free: 14.79 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001192/0.1418, allocations: 236 kB / 0.5002 GB, free: 14.56 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1418, allocations: 0 / 0.5002 GB, free: 14.56 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006659/0.1424, allocations: 127.8 kB / 0.5004 GB, free: 14.43 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004285/0.1429, allocations: 44.39 kB / 0.5004 GB, free: 14.39 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002609/0.1455, allocations: 2.072 MB / 0.5024 GB, free: 12.19 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003572/0.1459, allocations: 0.7436 MB / 0.5032 GB, free: 11.42 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001215/0.146, allocations: 37.34 kB / 0.5032 GB, free: 11.38 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.031e-05/0.1461, allocations: 39.42 kB / 0.5032 GB, free: 11.35 MB / 398.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1461, allocations: 7.938 kB / 0.5032 GB, free: 11.34 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02983/0.1759, allocations: 5.067 MB / 0.5082 GB, free: 6.277 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.57/11.75, allocations: 8.828 kB / 0.5082 GB, free: 6.27 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_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/General/dp_pressureLossCoefficient_DPMFLOW/dp_pressureLossCoefficient_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches