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_volumeFlowRate_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_volumeFlowRate_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_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.001669/0.001669, allocations: 103.6 kB / 16.4 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.001595/0.001595, allocations: 185.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.393/1.393, 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.2211/0.2211, allocations: 43.53 MB / 314.1 MB, free: 444 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.001388/0.001388, allocations: 69.89 kB / 441.3 MB, free: 6.129 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.1173, allocations: 57.79 MB / 499.1 MB, free: 12.26 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW): time 0.003276/0.1206, allocations: 1.655 MB / 0.489 GB, free: 10.59 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001682/0.1223, allocations: 0.9123 MB / 0.4899 GB, free: 9.672 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.043e-05/0.1224, allocations: 4 kB / 0.4899 GB, free: 9.668 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002345/0.1227, allocations: 31.77 kB / 0.49 GB, free: 9.637 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001871/0.1229, allocations: 51.67 kB / 0.49 GB, free: 9.586 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005187/0.1234, allocations: 139.5 kB / 0.4901 GB, free: 9.449 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002162/0.1236, allocations: 143.3 kB / 0.4903 GB, free: 9.309 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.235e-05/0.1237, allocations: 17.44 kB / 0.4903 GB, free: 9.289 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.533e-05/0.1238, allocations: 51.78 kB / 0.4903 GB, free: 9.238 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001346/0.124, allocations: 75.61 kB / 0.4904 GB, free: 9.164 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.8e-05/0.124, allocations: 8 kB / 0.4904 GB, free: 9.156 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000379/0.1244, allocations: 207.7 kB / 0.4906 GB, free: 8.953 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.103e-05/0.1244, allocations: 35.89 kB / 0.4907 GB, free: 8.918 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.75e-05/0.1245, allocations: 67.53 kB / 0.4907 GB, free: 8.852 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003945/0.1249, allocations: 239.2 kB / 0.4909 GB, free: 8.617 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1249, allocations: 0 / 0.4909 GB, free: 8.617 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.125, allocations: 0 / 0.4909 GB, free: 8.617 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.005e-05/0.125, allocations: 0 / 0.4909 GB, free: 8.617 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0006452/0.1256, allocations: 478.5 kB / 0.4914 GB, free: 8.105 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.1257, allocations: 12.03 kB / 0.4914 GB, free: 8.094 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.677e-05/0.1257, allocations: 50.73 kB / 0.4915 GB, free: 8.035 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00116/0.1269, allocations: 112.5 kB / 0.4916 GB, free: 7.926 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002638/0.1272, allocations: 228.1 kB / 0.4918 GB, free: 7.664 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.67e-05/0.1272, allocations: 8.375 kB / 0.4918 GB, free: 7.656 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.704e-05/0.1272, allocations: 12.38 kB / 0.4918 GB, free: 7.645 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006764/0.1279, allocations: 329.3 kB / 0.4921 GB, free: 7.316 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.1279, allocations: 8 kB / 0.4921 GB, free: 7.309 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.757e-05/0.128, allocations: 4 kB / 0.4921 GB, free: 7.305 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.182e-05/0.128, allocations: 23.97 kB / 0.4922 GB, free: 7.281 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007581/0.1288, allocations: 315.7 kB / 0.4925 GB, free: 6.973 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001546/0.1303, allocations: 0.8256 MB / 0.4933 GB, free: 6.059 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006787/0.131, allocations: 226.3 kB / 0.4935 GB, free: 5.828 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002636/0.1313, allocations: 80.81 kB / 0.4936 GB, free: 5.746 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.279e-05/0.1313, allocations: 11.98 kB / 0.4936 GB, free: 5.734 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.28e-05/0.1314, allocations: 30.56 kB / 0.4936 GB, free: 5.695 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.403e-06/0.1314, allocations: 0 / 0.4936 GB, free: 5.695 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0009718/0.1324, allocations: 301.2 kB / 0.4939 GB, free: 5.395 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.39e-05/0.1324, allocations: 51.41 kB / 0.4939 GB, free: 5.332 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001814/0.1326, allocations: 191.3 kB / 0.4941 GB, free: 5.137 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.52e-05/0.1326, allocations: 25.7 kB / 0.4941 GB, free: 5.105 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.511e-05/0.1327, allocations: 139.5 kB / 0.4943 GB, free: 4.965 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.649e-05/0.1328, allocations: 27.56 kB / 0.4943 GB, free: 4.938 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.13e-05/0.1329, allocations: 61.58 kB / 0.4944 GB, free: 4.871 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000122/0.133, allocations: 322.8 kB / 0.4947 GB, free: 4.547 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002974/0.1333, allocations: 83.89 kB / 0.4947 GB, free: 4.465 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003266/0.1336, allocations: 138.7 kB / 0.4949 GB, free: 4.305 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005842/0.1342, allocations: 230.9 kB / 0.4951 GB, free: 4.055 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/0.1342, allocations: 0 / 0.4951 GB, free: 4.055 MB / 382.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000719/0.135, allocations: 265.2 kB / 0.4954 GB, free: 3.789 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.135, allocations: 6.656 kB / 0.4954 GB, free: 3.785 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.958e-06/0.135, allocations: 11.92 kB / 0.4954 GB, free: 3.773 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.135, allocations: 4.219 kB / 0.4954 GB, free: 3.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004334/0.1355, allocations: 75.94 kB / 0.4954 GB, free: 3.695 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009676/0.1365, allocations: 1.789 MB / 0.4972 GB, free: 1.836 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002253/0.1367, allocations: 27.73 kB / 0.4972 GB, free: 1.809 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.933e-05/0.1367, allocations: 15.97 kB / 0.4972 GB, free: 1.793 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 (17): * Single equations (assignments): 14 * 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.0001446/0.1369, allocations: 153.5 kB / 0.4974 GB, free: 1.633 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.413e-05/0.1369, allocations: 15.84 kB / 0.4974 GB, free: 1.617 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007579/0.1377, allocations: 262.8 kB / 0.4976 GB, free: 1.348 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.1377, allocations: 4 kB / 0.4977 GB, free: 1.344 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.1377, allocations: 0 / 0.4977 GB, free: 1.344 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.1377, allocations: 0 / 0.4977 GB, free: 1.344 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002948/0.138, allocations: 265.4 kB / 0.4979 GB, free: 1.035 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.138, allocations: 0 / 0.4979 GB, free: 1.035 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000351/0.1384, allocations: 71.88 kB / 0.498 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.359e-06/0.1384, allocations: 3.984 kB / 0.498 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.231e-05/0.1384, allocations: 15.98 kB / 0.498 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008855/0.1393, allocations: 1.782 MB / 0.4997 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.1393, allocations: 0 / 0.4997 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006922/0.14, allocations: 319.2 kB / 0.5 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.286e-05/0.1401, allocations: 88.92 kB / 0.5001 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.754e-05/0.1402, allocations: 0 / 0.5001 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002003/0.1404, allocations: 12.08 kB / 0.5001 GB, free: 14.65 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.561e-05/0.1404, allocations: 19.97 kB / 0.5002 GB, free: 14.63 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.167e-05/0.1405, allocations: 7.984 kB / 0.5002 GB, free: 14.62 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001037/0.1406, allocations: 135.9 kB / 0.5003 GB, free: 14.49 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.1406, allocations: 0 / 0.5003 GB, free: 14.49 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003654/0.1409, allocations: 63.92 kB / 0.5004 GB, free: 14.43 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 (10): * Single equations (assignments): 7 * 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.001089/0.142, allocations: 0.8683 MB / 0.5012 GB, free: 13.53 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007992/0.1429, allocations: 239.6 kB / 0.5014 GB, free: 13.3 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1429, allocations: 0 / 0.5014 GB, free: 13.3 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004503/0.1433, allocations: 132.2 kB / 0.5016 GB, free: 13.17 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002844/0.1436, allocations: 16 kB / 0.5016 GB, free: 13.15 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003394/0.147, allocations: 2.346 MB / 0.5039 GB, free: 10.68 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003045/0.1473, allocations: 0.7358 MB / 0.5046 GB, free: 9.918 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001793/0.1475, allocations: 61.05 kB / 0.5046 GB, free: 9.855 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001137/0.1476, allocations: 51.39 kB / 0.5047 GB, free: 9.809 MB / 398.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1477, allocations: 4 kB / 0.5047 GB, free: 9.805 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0259/0.1736, allocations: 4.933 MB / 0.5095 GB, free: 4.883 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.84/11.02, allocations: 4.188 kB / 0.5095 GB, free: 4.879 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_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_volumeFlowRate_DPMFLOW/dp_volumeFlowRate_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches