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_nominalDensityViscosity_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_nominalDensityViscosity_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_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.001147/0.001147, allocations: 100.5 kB / 16.4 MB, free: 6.496 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.001193/0.001192, allocations: 192.1 kB / 17.34 MB, free: 5.77 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.348/1.348, 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.2113/0.2113, 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.00158/0.00158, allocations: 63.91 kB / 441.3 MB, free: 6.141 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1159, allocations: 57.79 MB / 499.1 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW): time 0.00358/0.1195, allocations: 1.826 MB / 0.4892 GB, free: 10.44 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001237/0.1208, allocations: 0.6308 MB / 0.4898 GB, free: 9.805 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001339/0.1209, allocations: 4 kB / 0.4898 GB, free: 9.801 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003666/0.1213, allocations: 51.67 kB / 0.4899 GB, free: 9.75 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002477/0.1216, allocations: 71.58 kB / 0.4899 GB, free: 9.68 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004863/0.1221, allocations: 111.5 kB / 0.49 GB, free: 9.57 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003647/0.1225, allocations: 238.7 kB / 0.4903 GB, free: 9.336 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.658e-05/0.1226, allocations: 32.27 kB / 0.4903 GB, free: 9.305 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002533/0.1228, allocations: 83.58 kB / 0.4904 GB, free: 9.223 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002154/0.123, allocations: 107.4 kB / 0.4905 GB, free: 9.117 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.141e-05/0.1231, allocations: 12 kB / 0.4905 GB, free: 9.105 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004938/0.1236, allocations: 227.7 kB / 0.4907 GB, free: 8.883 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001149/0.1237, allocations: 55.75 kB / 0.4908 GB, free: 8.828 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001545/0.1239, allocations: 95.3 kB / 0.4909 GB, free: 8.734 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006136/0.1245, allocations: 326.9 kB / 0.4912 GB, free: 8.414 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/0.1245, allocations: 4 kB / 0.4912 GB, free: 8.41 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.1245, allocations: 0 / 0.4912 GB, free: 8.41 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.605e-05/0.1245, allocations: 0 / 0.4912 GB, free: 8.41 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.0009818/0.1255, allocations: 0.5266 MB / 0.4917 GB, free: 7.836 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.968e-05/0.1256, allocations: 11.89 kB / 0.4917 GB, free: 7.824 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.297e-05/0.1257, allocations: 66.72 kB / 0.4918 GB, free: 7.75 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002012/0.1277, allocations: 200.2 kB / 0.492 GB, free: 7.555 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003768/0.1281, allocations: 271.9 kB / 0.4922 GB, free: 7.25 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.452e-05/0.1281, allocations: 16.94 kB / 0.4922 GB, free: 7.23 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.557e-05/0.1282, allocations: 24.38 kB / 0.4923 GB, free: 7.207 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001005/0.1292, allocations: 0.5006 MB / 0.4927 GB, free: 6.699 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.1292, allocations: 4 kB / 0.4927 GB, free: 6.695 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.139e-05/0.1293, allocations: 4 kB / 0.4928 GB, free: 6.691 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.27e-05/0.1293, allocations: 24.55 kB / 0.4928 GB, free: 6.668 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001256/0.1306, allocations: 0.5837 MB / 0.4933 GB, free: 6.086 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002704/0.1333, allocations: 1.185 MB / 0.4945 GB, free: 4.809 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006415/0.134, allocations: 170.4 kB / 0.4947 GB, free: 4.633 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003291/0.1343, allocations: 84.75 kB / 0.4947 GB, free: 4.547 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.263e-05/0.1343, allocations: 4 kB / 0.4947 GB, free: 4.543 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.794e-05/0.1344, allocations: 34.56 kB / 0.4948 GB, free: 4.5 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.453e-06/0.1344, allocations: 0 / 0.4948 GB, free: 4.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.00125/0.1356, allocations: 305.1 kB / 0.4951 GB, free: 4.195 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.897e-05/0.1357, allocations: 51.41 kB / 0.4951 GB, free: 4.133 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003138/0.136, allocations: 274.6 kB / 0.4954 GB, free: 3.859 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.085e-05/0.136, allocations: 25.7 kB / 0.4954 GB, free: 3.828 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001573/0.1362, allocations: 171.6 kB / 0.4956 GB, free: 3.656 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.16e-05/0.1363, allocations: 31.56 kB / 0.4956 GB, free: 3.625 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001118/0.1364, allocations: 37.69 kB / 0.4956 GB, free: 3.582 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001849/0.1366, allocations: 330.8 kB / 0.496 GB, free: 3.25 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003475/0.1369, allocations: 91.89 kB / 0.496 GB, free: 3.16 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003721/0.1373, allocations: 111.3 kB / 0.4961 GB, free: 3.039 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006721/0.138, allocations: 211.1 kB / 0.4963 GB, free: 2.82 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.138, allocations: 0 / 0.4963 GB, free: 2.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0007995/0.1388, allocations: 269.2 kB / 0.4966 GB, free: 2.551 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.1388, allocations: 6.656 kB / 0.4966 GB, free: 2.547 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/0.1388, allocations: 0 / 0.4966 GB, free: 2.547 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.827e-05/0.1389, allocations: 4.094 kB / 0.4966 GB, free: 2.543 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006029/0.1449, allocations: 467.2 kB / 0.4971 GB, free: 2.086 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002861/0.1478, allocations: 1.945 MB / 0.499 GB, free: 72 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004113/0.1482, allocations: 43.59 kB / 0.499 GB, free: 28 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.74e-05/0.1482, allocations: 8.297 kB / 0.499 GB, free: 20 kB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (13): * Single equations (assignments): 10 * 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.0002024/0.1485, allocations: 169.8 kB / 0.4992 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.929e-05/0.1485, allocations: 23.75 kB / 0.4992 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.031e-05/0.1486, allocations: 25.7 kB / 0.4992 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.1486, allocations: 0 / 0.4992 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.1486, allocations: 0 / 0.4992 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.1486, allocations: 0 / 0.4992 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003902/0.149, allocations: 305.3 kB / 0.4995 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.149, allocations: 0 / 0.4995 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006131/0.1552, allocations: 463.2 kB / 0.5 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.611e-06/0.1552, allocations: 0 / 0.5 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.38e-05/0.1552, allocations: 0 / 0.5 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002853/0.1581, allocations: 1.945 MB / 0.5019 GB, free: 12.97 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.1581, allocations: 0 / 0.5019 GB, free: 12.97 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008337/0.1589, allocations: 327.2 kB / 0.5022 GB, free: 12.64 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.972e-05/0.159, allocations: 92.91 kB / 0.5023 GB, free: 12.53 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.939e-05/0.1591, allocations: 0 / 0.5023 GB, free: 12.53 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003863/0.1595, allocations: 23.97 kB / 0.5023 GB, free: 12.5 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.788e-05/0.1596, allocations: 11.91 kB / 0.5023 GB, free: 12.49 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.377e-05/0.1596, allocations: 7.938 kB / 0.5023 GB, free: 12.48 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002252/0.1598, allocations: 213.9 kB / 0.5025 GB, free: 12.27 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1598, allocations: 0 / 0.5025 GB, free: 12.27 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003883/0.1602, allocations: 71.84 kB / 0.5026 GB, free: 12.2 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 (7): * Single equations (assignments): 4 * 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.00126/0.1615, allocations: 0.8605 MB / 0.5034 GB, free: 11.32 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.006459/0.168, allocations: 0.5928 MB / 0.504 GB, free: 10.72 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.168, allocations: 4 kB / 0.504 GB, free: 10.72 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005968/0.174, allocations: 0.4955 MB / 0.5045 GB, free: 10.22 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004714/0.1745, allocations: 44.61 kB / 0.5045 GB, free: 10.18 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004594/0.1791, allocations: 2.968 MB / 0.5074 GB, free: 7.113 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003268/0.1794, allocations: 0.7714 MB / 0.5082 GB, free: 6.316 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001706/0.1796, allocations: 57.89 kB / 0.5082 GB, free: 6.262 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001204/0.1797, allocations: 67.41 kB / 0.5083 GB, free: 6.195 MB / 398.1 MB Notification: Performance of SimCode: time 6.31e-07/0.1797, allocations: 0 / 0.5083 GB, free: 6.195 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02768/0.2074, allocations: 8.106 MB / 0.5162 GB, free: 14.09 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/11.48, allocations: 17.84 kB / 0.5162 GB, free: 14.07 MB / 414.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_DPMFLOW.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_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_nominalDensityViscosity_DPMFLOW/dp_nominalDensityViscosity_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches