Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_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.Channel.dp_internalFlowOverall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Channel_dp_internalFlowOverall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Channel_dp_internalFlowOverall_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.001323/0.001323, 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.001324/0.001324, 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.44/1.44, allocations: 205.1 MB / 223.2 MB, free: 12.22 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.2206/0.2206, allocations: 43.52 MB / 314.1 MB, free: 452 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.002197/0.002197, allocations: 77.45 kB / 441.4 MB, free: 6.113 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.1253, allocations: 57.79 MB / 499.1 MB, free: 12.26 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW): time 0.003872/0.1292, allocations: 2.193 MB / 0.4896 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005239/0.1345, allocations: 3.303 MB / 0.4928 GB, free: 6.73 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001773/0.1347, allocations: 0 / 0.4928 GB, free: 6.73 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003957/0.1351, allocations: 87.48 kB / 0.4929 GB, free: 6.645 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000463/0.1356, allocations: 147.2 kB / 0.493 GB, free: 6.5 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002248/0.1379, allocations: 0.8797 MB / 0.4939 GB, free: 5.617 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007159/0.1386, allocations: 0.567 MB / 0.4944 GB, free: 5.047 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001794/0.1388, allocations: 81.67 kB / 0.4945 GB, free: 4.961 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005168/0.1393, allocations: 242.5 kB / 0.4948 GB, free: 4.723 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000537/0.1399, allocations: 278.4 kB / 0.495 GB, free: 4.449 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.59e-05/0.1399, allocations: 16 kB / 0.495 GB, free: 4.434 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003155/0.1431, allocations: 1.945 MB / 0.4969 GB, free: 2.484 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001857/0.1433, allocations: 143.2 kB / 0.4971 GB, free: 2.344 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003665/0.1437, allocations: 281.9 kB / 0.4973 GB, free: 2.066 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002784/0.1465, allocations: 1.69 MB / 0.499 GB, free: 380 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.1465, allocations: 0 / 0.499 GB, free: 380 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.1465, allocations: 0 / 0.499 GB, free: 380 kB / 382.1 MB Notification: Performance of Transformations before backend: time 1.983e-05/0.1465, allocations: 0 / 0.499 GB, free: 380 kB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.002008/0.1486, allocations: 1.052 MB / 0.5 GB, free: 15.27 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.1486, allocations: 8.031 kB / 0.5 GB, free: 15.26 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001789/0.1488, allocations: 144.1 kB / 0.5002 GB, free: 15.11 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001551/0.149, allocations: 88.34 kB / 0.5002 GB, free: 15.02 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004927/0.1495, allocations: 350.4 kB / 0.5006 GB, free: 14.64 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.156e-05/0.1495, allocations: 57.98 kB / 0.5006 GB, free: 14.58 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001095/0.1496, allocations: 72 kB / 0.5007 GB, free: 14.51 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001765/0.1514, allocations: 1.229 MB / 0.5019 GB, free: 13.28 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.928e-05/0.1514, allocations: 0 / 0.5019 GB, free: 13.28 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.152e-05/0.1515, allocations: 32 kB / 0.5019 GB, free: 13.25 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.846e-05/0.1516, allocations: 81.95 kB / 0.502 GB, free: 13.17 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002643/0.1543, allocations: 1.718 MB / 0.5037 GB, free: 11.45 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004541/0.1588, allocations: 2.936 MB / 0.5066 GB, free: 8.363 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009142/0.1598, allocations: 431.5 kB / 0.507 GB, free: 7.938 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002808/0.1601, allocations: 145.3 kB / 0.5071 GB, free: 7.793 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.597e-05/0.1601, allocations: 12.27 kB / 0.5071 GB, free: 7.781 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.977e-05/0.1602, allocations: 34.84 kB / 0.5072 GB, free: 7.738 MB / 398.1 MB Notification: Performance of pre-optimization done (n=34): time 2.445e-06/0.1602, allocations: 0 / 0.5072 GB, free: 7.738 MB / 398.1 MB Notification: Performance of matching and sorting (n=34): time 0.00106/0.1612, allocations: 490.4 kB / 0.5076 GB, free: 7.254 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.868e-05/0.1613, allocations: 55.41 kB / 0.5077 GB, free: 7.188 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002294/0.1615, allocations: 214.5 kB / 0.5079 GB, free: 6.965 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.285e-05/0.1616, allocations: 29.7 kB / 0.5079 GB, free: 6.93 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003285/0.1619, allocations: 403.5 kB / 0.5083 GB, free: 6.527 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001225/0.162, allocations: 126.9 kB / 0.5084 GB, free: 6.402 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000169/0.1622, allocations: 118.2 kB / 0.5085 GB, free: 6.281 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001597/0.1624, allocations: 334.8 kB / 0.5088 GB, free: 5.945 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002963/0.1627, allocations: 149 kB / 0.509 GB, free: 5.797 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005079/0.1632, allocations: 354.3 kB / 0.5093 GB, free: 5.363 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008334/0.164, allocations: 0.5249 MB / 0.5098 GB, free: 4.75 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.1641, allocations: 0 / 0.5098 GB, free: 4.75 MB / 398.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0009636/0.165, allocations: 0.5435 MB / 0.5104 GB, free: 4.199 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.379e-05/0.1651, allocations: 8 kB / 0.5104 GB, free: 4.191 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.393e-05/0.1651, allocations: 12.78 kB / 0.5104 GB, free: 4.18 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.534e-05/0.1651, allocations: 11.94 kB / 0.5104 GB, free: 4.168 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007216/0.1658, allocations: 211.8 kB / 0.5106 GB, free: 3.961 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002094/0.168, allocations: 2.996 MB / 0.5135 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003323/0.1683, allocations: 55.61 kB / 0.5136 GB, free: 0.793 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.01e-05/0.1684, allocations: 32.28 kB / 0.5136 GB, free: 0.7617 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 6 (geometry[5],roughness,geometry[4],geometry[3],geometry[2],geometry[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 5 * 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): 5 systems {1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006029/0.169, allocations: 285.2 kB / 0.5139 GB, free: 484 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.354e-05/0.1691, allocations: 19.89 kB / 0.5139 GB, free: 464 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001336/0.1704, allocations: 0.5503 MB / 0.5144 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.965e-06/0.1705, allocations: 4 kB / 0.5144 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.784e-06/0.1705, allocations: 0 / 0.5144 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.1705, allocations: 0 / 0.5144 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002215/0.1727, allocations: 1.177 MB / 0.5156 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.008e-05/0.1727, allocations: 7.938 kB / 0.5156 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006165/0.1733, allocations: 171.9 kB / 0.5158 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.887e-06/0.1734, allocations: 4 kB / 0.5158 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.089e-05/0.1734, allocations: 19.98 kB / 0.5158 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001881/0.1753, allocations: 2.962 MB / 0.5187 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.113e-06/0.1753, allocations: 8 kB / 0.5187 GB, free: 11.35 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008523/0.1762, allocations: 494.3 kB / 0.5192 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001261/0.1763, allocations: 116.8 kB / 0.5193 GB, free: 10.69 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.814e-05/0.1764, allocations: 8 kB / 0.5193 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001848/0.1766, allocations: 15.98 kB / 0.5193 GB, free: 10.67 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001188/0.1767, allocations: 39.91 kB / 0.5193 GB, free: 10.63 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.709e-05/0.1767, allocations: 20 kB / 0.5193 GB, free: 10.61 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001385/0.1769, allocations: 127.2 kB / 0.5195 GB, free: 10.48 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1769, allocations: 0 / 0.5195 GB, free: 10.48 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001276/0.1782, allocations: 358.3 kB / 0.5198 GB, free: 10.13 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (39): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 5 * 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): 5 systems {1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001855/0.18, allocations: 1.297 MB / 0.5211 GB, free: 8.785 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001212/0.1813, allocations: 479.7 kB / 0.5215 GB, free: 8.316 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.1813, allocations: 0 / 0.5215 GB, free: 8.316 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006464/0.1819, allocations: 269.5 kB / 0.5218 GB, free: 8.055 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003898/0.1823, allocations: 27.98 kB / 0.5218 GB, free: 8.027 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005622/0.188, allocations: 3.976 MB / 0.5257 GB, free: 3.75 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006736/0.1887, allocations: 0.979 MB / 0.5267 GB, free: 2.742 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004355/0.1891, allocations: 166.5 kB / 0.5268 GB, free: 2.578 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002918/0.1894, allocations: 207.4 kB / 0.527 GB, free: 2.375 MB / 414.1 MB Notification: Performance of SimCode: time 6.81e-07/0.1894, allocations: 0 / 0.527 GB, free: 2.375 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2425/0.4319, allocations: 12.6 MB / 0.5393 GB, free: 39.53 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.85/12.28, allocations: 6.844 kB / 0.5393 GB, free: 39.53 MB / 414.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Channel_dp_internalFlowOverall_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Channel_dp_internalFlowOverall_DPMFLOW.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_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/Channel/dp_internalFlowOverall_DPMFLOW/dp_internalFlowOverall_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches