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.00121/0.00121, allocations: 107.2 kB / 16.41 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.001303/0.001304, allocations: 189.5 kB / 17.34 MB, free: 5.766 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.499/1.499, 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.2177/0.2177, allocations: 43.53 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.001626/0.001626, allocations: 71.89 kB / 441.3 MB, free: 6.133 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1267, allocations: 57.79 MB / 499.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW): time 0.004092/0.1308, allocations: 2.196 MB / 0.4896 GB, free: 10.06 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005304/0.1362, allocations: 3.299 MB / 0.4928 GB, free: 6.75 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002501/0.1364, allocations: 4 kB / 0.4928 GB, free: 6.746 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004786/0.137, allocations: 95.41 kB / 0.4929 GB, free: 6.652 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000592/0.1376, allocations: 139.2 kB / 0.493 GB, free: 6.516 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002672/0.1403, allocations: 0.8797 MB / 0.4939 GB, free: 5.633 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006753/0.141, allocations: 0.5709 MB / 0.4944 GB, free: 5.059 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001448/0.1411, allocations: 81.73 kB / 0.4945 GB, free: 4.973 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003629/0.1415, allocations: 234.6 kB / 0.4947 GB, free: 4.742 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004397/0.1419, allocations: 278.5 kB / 0.495 GB, free: 4.469 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.453e-05/0.142, allocations: 20 kB / 0.495 GB, free: 4.449 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003027/0.145, allocations: 1.945 MB / 0.4969 GB, free: 2.5 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001719/0.1452, allocations: 147.2 kB / 0.4971 GB, free: 2.355 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003223/0.1456, allocations: 278 kB / 0.4973 GB, free: 2.082 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002579/0.1482, allocations: 1.679 MB / 0.499 GB, free: 408 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.1482, allocations: 0 / 0.499 GB, free: 408 kB / 382.1 MB Notification: Performance of FrontEnd: time 4.398e-06/0.1482, allocations: 4 kB / 0.499 GB, free: 404 kB / 382.1 MB Notification: Performance of Transformations before backend: time 2.623e-05/0.1482, allocations: 0 / 0.499 GB, free: 404 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.001954/0.1502, allocations: 1.023 MB / 0.5 GB, free: 15.32 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.1502, allocations: 16.03 kB / 0.5 GB, free: 15.3 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001544/0.1504, allocations: 148.1 kB / 0.5001 GB, free: 15.15 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001295/0.1505, allocations: 72 kB / 0.5002 GB, free: 15.08 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005405/0.1511, allocations: 354.4 kB / 0.5005 GB, free: 14.7 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.677e-05/0.1511, allocations: 58 kB / 0.5006 GB, free: 14.64 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001006/0.1512, allocations: 75.98 kB / 0.5007 GB, free: 14.56 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001662/0.1529, allocations: 1.221 MB / 0.5019 GB, free: 13.34 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.225e-05/0.1529, allocations: 0 / 0.5019 GB, free: 13.34 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.055e-05/0.153, allocations: 35.98 kB / 0.5019 GB, free: 13.3 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.99e-05/0.1531, allocations: 89.94 kB / 0.502 GB, free: 13.21 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002873/0.156, allocations: 1.718 MB / 0.5037 GB, free: 11.49 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005306/0.1613, allocations: 2.915 MB / 0.5065 GB, free: 8.434 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009954/0.1624, allocations: 427.8 kB / 0.5069 GB, free: 8.008 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002885/0.1627, allocations: 145.3 kB / 0.5071 GB, free: 7.863 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.486e-05/0.1627, allocations: 16.27 kB / 0.5071 GB, free: 7.848 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.179e-05/0.1628, allocations: 34.84 kB / 0.5071 GB, free: 7.805 MB / 398.1 MB Notification: Performance of pre-optimization done (n=34): time 2.104e-06/0.1628, allocations: 0 / 0.5071 GB, free: 7.805 MB / 398.1 MB Notification: Performance of matching and sorting (n=34): time 0.0009828/0.1638, allocations: 486.3 kB / 0.5076 GB, free: 7.324 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.073e-05/0.1638, allocations: 55.41 kB / 0.5076 GB, free: 7.258 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001842/0.164, allocations: 210.3 kB / 0.5078 GB, free: 7.039 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.546e-05/0.164, allocations: 37.7 kB / 0.5079 GB, free: 6.996 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002147/0.1643, allocations: 386.2 kB / 0.5082 GB, free: 6.609 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.973e-05/0.1644, allocations: 122.3 kB / 0.5083 GB, free: 6.488 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000153/0.1645, allocations: 118.1 kB / 0.5085 GB, free: 6.367 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001201/0.1647, allocations: 334.8 kB / 0.5088 GB, free: 6.031 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002847/0.1649, allocations: 153 kB / 0.5089 GB, free: 5.879 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004109/0.1654, allocations: 342.4 kB / 0.5092 GB, free: 5.457 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007481/0.1661, allocations: 0.5287 MB / 0.5098 GB, free: 4.84 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.084e-05/0.1661, allocations: 7.984 kB / 0.5098 GB, free: 4.832 MB / 398.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0009325/0.1671, allocations: 0.5357 MB / 0.5103 GB, free: 4.289 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.44e-05/0.1671, allocations: 11.98 kB / 0.5103 GB, free: 4.277 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.165e-05/0.1671, allocations: 4 kB / 0.5103 GB, free: 4.273 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.711e-05/0.1672, allocations: 12.72 kB / 0.5103 GB, free: 4.262 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006983/0.1679, allocations: 223.6 kB / 0.5105 GB, free: 4.043 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001542/0.1694, allocations: 2.989 MB / 0.5134 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003019/0.1697, allocations: 55.47 kB / 0.5135 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.941e-05/0.1698, allocations: 31.98 kB / 0.5135 GB, free: 0.8516 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.0003928/0.1702, allocations: 285.5 kB / 0.5138 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.141e-05/0.1703, allocations: 27.66 kB / 0.5138 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001156/0.1714, allocations: 0.5426 MB / 0.5144 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.613e-06/0.1715, allocations: 4 kB / 0.5144 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.1715, allocations: 4 kB / 0.5144 GB, free: 15.97 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.126e-06/0.1715, allocations: 3.984 kB / 0.5144 GB, free: 15.97 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002064/0.1736, allocations: 1.169 MB / 0.5155 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/0.1736, allocations: 4.031 kB / 0.5155 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006369/0.1742, allocations: 187.7 kB / 0.5157 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-05/0.1743, allocations: 4 kB / 0.5157 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.753e-05/0.1743, allocations: 12 kB / 0.5157 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00158/0.1759, allocations: 2.965 MB / 0.5186 GB, free: 11.44 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/0.1759, allocations: 0 / 0.5186 GB, free: 11.44 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007578/0.1767, allocations: 498.3 kB / 0.5191 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.021e-05/0.1768, allocations: 100.8 kB / 0.5192 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.828e-05/0.1768, allocations: 15.94 kB / 0.5192 GB, free: 10.78 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001994/0.177, allocations: 15.98 kB / 0.5192 GB, free: 10.76 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.065e-05/0.1771, allocations: 35.97 kB / 0.5192 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.088e-05/0.1772, allocations: 23.98 kB / 0.5193 GB, free: 10.7 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001043/0.1773, allocations: 127.2 kB / 0.5194 GB, free: 10.58 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1773, allocations: 0 / 0.5194 GB, free: 10.58 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00109/0.1784, allocations: 350.8 kB / 0.5197 GB, free: 10.23 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.001792/0.1802, allocations: 1.278 MB / 0.521 GB, free: 8.906 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001168/0.1814, allocations: 488 kB / 0.5214 GB, free: 8.43 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.1814, allocations: 0 / 0.5214 GB, free: 8.43 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006052/0.182, allocations: 261.2 kB / 0.5217 GB, free: 8.176 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003975/0.1824, allocations: 34.48 kB / 0.5217 GB, free: 8.145 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005139/0.1876, allocations: 3.952 MB / 0.5256 GB, free: 3.887 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005719/0.1882, allocations: 0.9907 MB / 0.5265 GB, free: 2.867 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000422/0.1886, allocations: 166.5 kB / 0.5267 GB, free: 2.703 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002675/0.1889, allocations: 211.3 kB / 0.5269 GB, free: 2.496 MB / 414.1 MB Notification: Performance of SimCode: time 6.91e-07/0.1889, allocations: 0 / 0.5269 GB, free: 2.496 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2805/0.4694, allocations: 12.68 MB / 0.5393 GB, free: 39.45 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/11.84, allocations: 12.81 kB / 0.5393 GB, free: 39.44 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