Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Valve.dp_severalGeometryOverall_DPMFLOW.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Valve.dp_severalGeometryOverall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Valve_dp_severalGeometryOverall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo): time 0.01646/0.01646, allocations: 102.6 kB / 15.05 MB, free: 6.031 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo): time 0.001208/0.001208, allocations: 170.8 kB / 15.93 MB, free: 5.965 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo): time 1.793/1.793, allocations: 170.9 MB / 187.6 MB, free: 1.004 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo): time 0.2834/0.2834, allocations: 38.09 MB / 265.1 MB, free: 3.977 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004707/0.000471, allocations: 12 kB / 323.6 MB, free: 29.63 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09197/0.09248, allocations: 48.71 MB / 372.3 MB, free: 12.84 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Valve.dp_severalGeometryOverall_DPMFLOW): time 0.003595/0.09613, allocations: 1.96 MB / 374.3 MB, free: 10.86 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003756/0.09995, allocations: 1.524 MB / 375.8 MB, free: 9.336 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003018/0.1003, allocations: 4 kB / 375.8 MB, free: 9.332 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004546/0.1008, allocations: 95.44 kB / 375.9 MB, free: 9.238 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005647/0.1014, allocations: 163.5 kB / 376 MB, free: 9.078 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001188/0.1026, allocations: 287.2 kB / 376.3 MB, free: 8.797 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001443/0.104, allocations: 0.7909 MB / 377.1 MB, free: 8.004 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000556/0.1046, allocations: 207.6 kB / 377.3 MB, free: 7.789 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001451/0.1061, allocations: 389.9 kB / 377.7 MB, free: 7.406 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009897/0.1071, allocations: 493.3 kB / 378.2 MB, free: 6.922 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001611/0.1073, allocations: 28 kB / 378.2 MB, free: 6.895 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002142/0.1095, allocations: 0.8699 MB / 379.1 MB, free: 6.023 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005642/0.1101, allocations: 246.8 kB / 379.3 MB, free: 5.781 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004375/0.1105, allocations: 228.8 kB / 379.5 MB, free: 5.551 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002656/0.1132, allocations: 1.255 MB / 380.8 MB, free: 4.293 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.1133, allocations: 4 kB / 380.8 MB, free: 4.289 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.795e-06/0.1133, allocations: 0 / 380.8 MB, free: 4.289 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.623e-05/0.1133, allocations: 0 / 380.8 MB, free: 4.289 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 568 * Number of variables: 568 Notification: Performance of Generate backend data structure: time 0.003496/0.1168, allocations: 1.462 MB / 382.3 MB, free: 2.773 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.026e-05/0.1169, allocations: 8.031 kB / 382.3 MB, free: 2.766 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007102/0.1176, allocations: 312.4 kB / 382.6 MB, free: 2.449 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000478/0.1181, allocations: 173.8 kB / 382.7 MB, free: 2.277 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001732/0.1199, allocations: 0.6255 MB / 383.4 MB, free: 1.609 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001745/0.1201, allocations: 143.8 kB / 383.5 MB, free: 1.469 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004469/0.1205, allocations: 180 kB / 383.7 MB, free: 1.293 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006895/0.1275, allocations: 2.766 MB / 386.5 MB, free: 14.5 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.564e-05/0.1276, allocations: 0 / 386.5 MB, free: 14.5 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000235/0.1278, allocations: 76 kB / 386.5 MB, free: 14.42 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000278/0.1281, allocations: 172.3 kB / 386.7 MB, free: 14.25 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009804/0.1379, allocations: 3.753 MB / 390.5 MB, free: 10.48 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01995/0.158, allocations: 6.688 MB / 397.1 MB, free: 3.562 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002265/0.1603, allocations: 0.6879 MB / 397.8 MB, free: 2.863 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001231/0.1604, allocations: 24.52 kB / 397.9 MB, free: 2.84 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.157e-05/0.1605, allocations: 43.12 kB / 397.9 MB, free: 2.789 MB / 298.7 MB Notification: Performance of pre-optimization done (n=63): time 3.416e-06/0.1605, allocations: 0 / 397.9 MB, free: 2.789 MB / 298.7 MB Notification: Performance of matching and sorting (n=63): time 0.00371/0.1642, allocations: 0.9736 MB / 398.9 MB, free: 1.809 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.351e-05/0.1643, allocations: 60.06 kB / 398.9 MB, free: 1.738 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002776/0.1671, allocations: 1.395 MB / 400.3 MB, free: 340 kB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001468/0.1673, allocations: 33.7 kB / 400.4 MB, free: 300 kB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001351/0.1687, allocations: 1.288 MB / 401.6 MB, free: 14.98 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004584/0.1692, allocations: 276.8 kB / 401.9 MB, free: 14.71 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001826/0.1694, allocations: 60 kB / 402 MB, free: 14.65 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0003228/0.1697, allocations: 449.4 kB / 402.4 MB, free: 14.2 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002244/0.172, allocations: 0.693 MB / 403.1 MB, free: 13.5 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004227/0.1762, allocations: 2.733 MB / 405.8 MB, free: 9.73 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003752/0.18, allocations: 1.287 MB / 407.1 MB, free: 8.449 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.1e-05/0.1802, allocations: 20 kB / 407.1 MB, free: 8.43 MB / 314.7 MB Notification: Performance of matching and sorting (n=397) (initialization): time 0.009922/0.1901, allocations: 3.272 MB / 410.4 MB, free: 5.152 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.05e-05/0.1902, allocations: 36.97 kB / 410.5 MB, free: 5.117 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001133/0.1903, allocations: 72 kB / 410.5 MB, free: 5.047 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001621/0.1905, allocations: 112 kB / 410.6 MB, free: 4.938 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005144/0.1957, allocations: 0.8735 MB / 411.5 MB, free: 4.062 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004401/0.2001, allocations: 6.055 MB / 417.6 MB, free: 13.77 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003096/0.2033, allocations: 439.9 kB / 418 MB, free: 13.34 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005466/0.2039, allocations: 223.9 kB / 418.2 MB, free: 13.12 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 337 * Number of states: 0 () * Number of discrete variables: 35 (dp_IN_con_3[5].valveCoefficient,geometry[5],dp_IN_con_3[4].valveCoefficient,geometry[4],dp_IN_con_3[3].valveCoefficient,geometry[3],dp_IN_con_3[2].valveCoefficient,geometry[2],dp_IN_con_3[1].valveCoefficient,geometry[1],m_flow_IN_con_3[5].valveCoefficient,m_flow_IN_con_3[4].valveCoefficient,m_flow_IN_con_3[3].valveCoefficient,m_flow_IN_con_3[2].valveCoefficient,m_flow_IN_con_3[1].valveCoefficient,dp_IN_con_2[5].valveCoefficient,dp_IN_con_2[4].valveCoefficient,dp_IN_con_2[3].valveCoefficient,dp_IN_con_2[2].valveCoefficient,dp_IN_con_2[1].valveCoefficient,m_flow_IN_con_2[5].valveCoefficient,m_flow_IN_con_2[4].valveCoefficient,m_flow_IN_con_2[3].valveCoefficient,m_flow_IN_con_2[2].valveCoefficient,m_flow_IN_con_2[1].valveCoefficient,dp_IN_con_1[5].valveCoefficient,dp_IN_con_1[4].valveCoefficient,dp_IN_con_1[3].valveCoefficient,dp_IN_con_1[2].valveCoefficient,dp_IN_con_1[1].valveCoefficient,m_flow_IN_con_1[5].valveCoefficient,m_flow_IN_con_1[4].valveCoefficient,m_flow_IN_con_1[3].valveCoefficient,m_flow_IN_con_1[2].valveCoefficient,m_flow_IN_con_1[1].valveCoefficient) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (397): * Single equations (assignments): 387 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001524/0.2054, allocations: 0.7088 MB / 418.9 MB, free: 12.4 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002674/0.2057, allocations: 118.5 kB / 419 MB, free: 12.29 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005567/0.2113, allocations: 1.293 MB / 420.3 MB, free: 10.98 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.558e-05/0.2113, allocations: 11.94 kB / 420.3 MB, free: 10.96 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.278e-06/0.2113, allocations: 0 / 420.3 MB, free: 10.96 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.304e-05/0.2114, allocations: 3.984 kB / 420.3 MB, free: 10.96 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002157/0.2135, allocations: 0.9553 MB / 421.3 MB, free: 9.961 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.833e-06/0.2136, allocations: 0 / 421.3 MB, free: 9.961 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002382/0.216, allocations: 327.7 kB / 421.6 MB, free: 9.641 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.455e-05/0.2161, allocations: 4 kB / 421.6 MB, free: 9.637 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001439/0.2162, allocations: 31.98 kB / 421.7 MB, free: 9.605 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004244/0.2205, allocations: 5.919 MB / 427.6 MB, free: 3.453 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.2205, allocations: 0 / 427.6 MB, free: 3.453 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002754/0.2233, allocations: 0.9093 MB / 428.5 MB, free: 2.531 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007035/0.224, allocations: 295.2 kB / 428.8 MB, free: 2.223 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002312/0.2243, allocations: 12 kB / 428.8 MB, free: 2.211 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007841/0.2251, allocations: 43.97 kB / 428.8 MB, free: 2.168 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002712/0.2254, allocations: 60.58 kB / 428.9 MB, free: 2.109 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001176/0.2255, allocations: 43.97 kB / 428.9 MB, free: 2.066 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001821/0.2273, allocations: 0.7807 MB / 429.7 MB, free: 1.281 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.72e-07/0.2274, allocations: 0 / 429.7 MB, free: 1.281 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.003266/0.2307, allocations: 494.9 kB / 430.2 MB, free: 0.7969 MB / 330.7 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 (74): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.3463/0.577, allocations: 1.546 MB / 431.7 MB, free: 58.5 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.006728/0.5837, allocations: 1.918 MB / 433.7 MB, free: 58.33 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.822e-06/0.5838, allocations: 0.5625 kB / 433.7 MB, free: 58.33 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00243/0.5862, allocations: 0.5134 MB / 434.2 MB, free: 58.32 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006014/0.5869, allocations: 89.75 kB / 434.3 MB, free: 58.32 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02854/0.6155, allocations: 60.28 MB / 494.5 MB, free: 1.434 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001276/0.6168, allocations: 1.475 MB / 496 MB, free: 0.6602 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.004973/0.6218, allocations: 0.9812 MB / 497 MB, free: 440 kB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001074/0.6229, allocations: 0.5609 MB / 497.6 MB, free: 24 kB / 330.7 MB Notification: Performance of SimCode: time 2.124e-06/0.623, allocations: 0 / 497.6 MB, free: 24 kB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1034/0.7263, allocations: 25.84 MB / 0.5111 GB, free: 10.01 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003378/0.7267, allocations: 272.1 kB / 0.5114 GB, free: 9.652 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.763/4.49, allocations: 0 / 0.5114 GB, free: 9.652 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Valve.dp_severalGeometryOverall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat