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.001258/0.001258, allocations: 105.3 kB / 16.41 MB, free: 6.465 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.001205/0.001205, allocations: 189.5 kB / 17.34 MB, free: 5.715 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.411/1.411, 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.2158/0.2158, allocations: 43.52 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.002001/0.002001, allocations: 65.47 kB / 441.3 MB, free: 6.098 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1131, allocations: 57.79 MB / 499.1 MB, free: 12.24 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW): time 0.002914/0.1161, allocations: 1.658 MB / 0.4891 GB, free: 10.57 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001574/0.1177, allocations: 0.9083 MB / 0.4899 GB, free: 9.652 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.605e-05/0.1177, allocations: 4 kB / 0.4899 GB, free: 9.648 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002474/0.118, allocations: 35.72 kB / 0.49 GB, free: 9.613 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001788/0.1182, allocations: 47.8 kB / 0.49 GB, free: 9.566 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004488/0.1187, allocations: 139.5 kB / 0.4902 GB, free: 9.43 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002121/0.1189, allocations: 143.3 kB / 0.4903 GB, free: 9.289 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.375e-05/0.1189, allocations: 13.44 kB / 0.4903 GB, free: 9.273 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.631e-05/0.119, allocations: 55.77 kB / 0.4904 GB, free: 9.219 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001358/0.1192, allocations: 71.62 kB / 0.4904 GB, free: 9.148 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.848e-05/0.1192, allocations: 4 kB / 0.4904 GB, free: 9.145 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003875/0.1196, allocations: 215.6 kB / 0.4906 GB, free: 8.934 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.37e-05/0.1197, allocations: 35.89 kB / 0.4907 GB, free: 8.898 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.186e-05/0.1198, allocations: 67.55 kB / 0.4907 GB, free: 8.832 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003946/0.1202, allocations: 235 kB / 0.491 GB, free: 8.602 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.397e-06/0.1202, allocations: 7.984 kB / 0.491 GB, free: 8.594 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.1202, allocations: 0 / 0.491 GB, free: 8.594 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.1202, allocations: 0 / 0.491 GB, free: 8.594 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.0006912/0.1209, allocations: 470.5 kB / 0.4914 GB, free: 8.086 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.121, allocations: 12.03 kB / 0.4914 GB, free: 8.074 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.125e-05/0.121, allocations: 54.72 kB / 0.4915 GB, free: 8.012 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001069/0.1221, allocations: 116.6 kB / 0.4916 GB, free: 7.898 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002614/0.1224, allocations: 224 kB / 0.4918 GB, free: 7.641 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.812e-05/0.1224, allocations: 12.38 kB / 0.4918 GB, free: 7.629 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.179e-05/0.1224, allocations: 12.38 kB / 0.4918 GB, free: 7.617 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006719/0.1231, allocations: 321.4 kB / 0.4921 GB, free: 7.297 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.1231, allocations: 3.938 kB / 0.4921 GB, free: 7.293 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.466e-05/0.1232, allocations: 8 kB / 0.4921 GB, free: 7.285 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.842e-05/0.1232, allocations: 19.98 kB / 0.4922 GB, free: 7.266 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008144/0.124, allocations: 319.7 kB / 0.4925 GB, free: 6.953 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001598/0.1256, allocations: 0.8375 MB / 0.4933 GB, free: 6.027 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007304/0.1264, allocations: 218.4 kB / 0.4935 GB, free: 5.805 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002901/0.1267, allocations: 84.81 kB / 0.4936 GB, free: 5.719 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.427e-05/0.1267, allocations: 15.95 kB / 0.4936 GB, free: 5.703 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.038e-05/0.1268, allocations: 30.56 kB / 0.4936 GB, free: 5.664 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.994e-06/0.1268, allocations: 0 / 0.4936 GB, free: 5.664 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.001054/0.1278, allocations: 297.2 kB / 0.4939 GB, free: 5.367 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.799e-05/0.1279, allocations: 55.39 kB / 0.494 GB, free: 5.301 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001951/0.1281, allocations: 187.3 kB / 0.4941 GB, free: 5.109 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.074e-05/0.1282, allocations: 29.7 kB / 0.4942 GB, free: 5.074 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001043/0.1283, allocations: 135.8 kB / 0.4943 GB, free: 4.938 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.681e-05/0.1283, allocations: 43.62 kB / 0.4943 GB, free: 4.895 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.487e-05/0.1284, allocations: 49.67 kB / 0.4944 GB, free: 4.84 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001532/0.1286, allocations: 330.8 kB / 0.4947 GB, free: 4.508 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002879/0.1289, allocations: 79.91 kB / 0.4948 GB, free: 4.43 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003404/0.1293, allocations: 138.7 kB / 0.4949 GB, free: 4.27 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006323/0.1299, allocations: 226.9 kB / 0.4951 GB, free: 4.023 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.1299, allocations: 0 / 0.4951 GB, free: 4.023 MB / 382.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000758/0.1307, allocations: 273.2 kB / 0.4954 GB, free: 3.75 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/0.1307, allocations: 10.66 kB / 0.4954 GB, free: 3.742 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.1308, allocations: 3.938 kB / 0.4954 GB, free: 3.738 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.958e-05/0.1308, allocations: 4 kB / 0.4954 GB, free: 3.734 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004461/0.1312, allocations: 80.14 kB / 0.4955 GB, free: 3.656 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001117/0.1324, allocations: 1.785 MB / 0.4972 GB, free: 1.801 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002128/0.1326, allocations: 27.86 kB / 0.4972 GB, free: 1.773 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.08e-05/0.1326, allocations: 11.98 kB / 0.4973 GB, free: 1.762 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.0001678/0.1328, allocations: 149.6 kB / 0.4974 GB, free: 1.605 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.937e-05/0.1329, allocations: 19.78 kB / 0.4974 GB, free: 1.586 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008147/0.1337, allocations: 270.9 kB / 0.4977 GB, free: 1.309 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/0.1337, allocations: 7.984 kB / 0.4977 GB, free: 1.301 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.1337, allocations: 0 / 0.4977 GB, free: 1.301 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.1337, allocations: 0 / 0.4977 GB, free: 1.301 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003359/0.134, allocations: 253.5 kB / 0.4979 GB, free: 1.004 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1341, allocations: 0 / 0.4979 GB, free: 1.004 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003431/0.1344, allocations: 75.8 kB / 0.498 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.1344, allocations: 4 kB / 0.498 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.5e-05/0.1345, allocations: 12.08 kB / 0.498 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00108/0.1355, allocations: 1.785 MB / 0.4998 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.1356, allocations: 4.031 kB / 0.4998 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007299/0.1363, allocations: 315.1 kB / 0.5001 GB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.753e-05/0.1364, allocations: 85.06 kB / 0.5001 GB, free: 14.63 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.815e-05/0.1364, allocations: 7.984 kB / 0.5002 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001951/0.1366, allocations: 12.09 kB / 0.5002 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.681e-05/0.1367, allocations: 11.97 kB / 0.5002 GB, free: 14.6 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.765e-05/0.1367, allocations: 15.97 kB / 0.5002 GB, free: 14.58 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000124/0.1368, allocations: 135.9 kB / 0.5003 GB, free: 14.45 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1368, allocations: 0 / 0.5003 GB, free: 14.45 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00036/0.1372, allocations: 59.83 kB / 0.5004 GB, free: 14.39 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.001203/0.1384, allocations: 0.8761 MB / 0.5012 GB, free: 13.49 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008868/0.1393, allocations: 231.6 kB / 0.5015 GB, free: 13.26 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.1393, allocations: 0 / 0.5015 GB, free: 13.26 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004716/0.1398, allocations: 136.2 kB / 0.5016 GB, free: 13.13 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002922/0.1401, allocations: 20.06 kB / 0.5016 GB, free: 13.11 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003799/0.1439, allocations: 2.342 MB / 0.5039 GB, free: 10.64 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003834/0.1443, allocations: 0.7358 MB / 0.5046 GB, free: 9.879 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001973/0.1445, allocations: 65.03 kB / 0.5047 GB, free: 9.812 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001207/0.1447, allocations: 55.38 kB / 0.5047 GB, free: 9.762 MB / 398.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1447, allocations: 0 / 0.5047 GB, free: 9.762 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02779/0.1725, allocations: 4.865 MB / 0.5095 GB, free: 4.91 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/11.71, allocations: 4.188 kB / 0.5095 GB, free: 4.906 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