Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Valve.dp_severalGeometryOverall_DPMFLOW.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Valve.dp_severalGeometryOverall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_2_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.2/package.mo): time 0.01543/0.01543, allocations: 107.2 kB / 15.06 MB, free: 5.949 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001758/0.001758, allocations: 185.5 kB / 15.95 MB, free: 5.902 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.265/2.265, allocations: 194.5 MB / 211.3 MB, free: 11.06 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo): time 0.2745/0.2745, allocations: 40.04 MB / 296.5 MB, free: 6.289 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004829/0.0004831, allocations: 12 kB / 361.2 MB, free: 9.535 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1366/0.1371, allocations: 54.88 MB / 416 MB, free: 2.555 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Valve.dp_severalGeometryOverall_DPMFLOW): time 0.003531/0.1407, allocations: 1.972 MB / 418 MB, free: 0.5547 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003829/0.1446, allocations: 1.541 MB / 419.6 MB, free: 15.01 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003249/0.145, allocations: 4 kB / 419.6 MB, free: 15 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004709/0.1455, allocations: 83.52 kB / 419.6 MB, free: 14.92 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00059/0.1461, allocations: 167.4 kB / 419.8 MB, free: 14.76 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001234/0.1473, allocations: 287.3 kB / 420.1 MB, free: 14.48 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001445/0.1488, allocations: 0.7831 MB / 420.9 MB, free: 13.69 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003957/0.1492, allocations: 215.6 kB / 421.1 MB, free: 13.47 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006975/0.1499, allocations: 377.9 kB / 421.5 MB, free: 13.1 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008384/0.1508, allocations: 497.3 kB / 421.9 MB, free: 12.61 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001499/0.1509, allocations: 32 kB / 422 MB, free: 12.58 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002079/0.153, allocations: 0.866 MB / 422.8 MB, free: 11.71 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005412/0.1536, allocations: 242.8 kB / 423.1 MB, free: 11.48 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004034/0.154, allocations: 232.8 kB / 423.3 MB, free: 11.24 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002545/0.1566, allocations: 1.252 MB / 424.6 MB, free: 9.988 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.1566, allocations: 0 / 424.6 MB, free: 9.988 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.209e-06/0.1567, allocations: 4 kB / 424.6 MB, free: 9.984 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.81e-05/0.1567, allocations: 3.938 kB / 424.6 MB, free: 9.98 MB / 362.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.003207/0.1599, allocations: 1.465 MB / 426 MB, free: 8.461 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.894e-05/0.16, allocations: 12.03 kB / 426 MB, free: 8.449 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005424/0.1605, allocations: 312.4 kB / 426.3 MB, free: 8.133 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004027/0.1609, allocations: 177.8 kB / 426.5 MB, free: 7.957 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001525/0.1625, allocations: 0.6217 MB / 427.1 MB, free: 7.293 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001563/0.1627, allocations: 139.8 kB / 427.3 MB, free: 7.156 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003933/0.1631, allocations: 183.9 kB / 427.5 MB, free: 6.977 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006558/0.1696, allocations: 2.766 MB / 430.2 MB, free: 4.18 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.151e-05/0.1698, allocations: 0 / 430.2 MB, free: 4.18 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002443/0.17, allocations: 79.98 kB / 430.3 MB, free: 4.102 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002865/0.1703, allocations: 164.4 kB / 430.5 MB, free: 3.938 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009904/0.1802, allocations: 3.757 MB / 434.2 MB, free: 168 kB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02001/0.2003, allocations: 6.692 MB / 440.9 MB, free: 9.242 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002178/0.2025, allocations: 0.6841 MB / 441.6 MB, free: 8.547 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001216/0.2027, allocations: 28.52 kB / 441.6 MB, free: 8.52 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.533e-05/0.2028, allocations: 39.12 kB / 441.7 MB, free: 8.473 MB / 378.7 MB Notification: Performance of pre-optimization done (n=63): time 3.877e-06/0.2028, allocations: 0 / 441.7 MB, free: 8.473 MB / 378.7 MB Notification: Performance of matching and sorting (n=63): time 0.003568/0.2064, allocations: 0.9853 MB / 442.6 MB, free: 7.48 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.11e-05/0.2065, allocations: 59.97 kB / 442.7 MB, free: 7.41 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002667/0.2092, allocations: 1.383 MB / 444.1 MB, free: 6.016 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001448/0.2094, allocations: 41.64 kB / 444.1 MB, free: 5.969 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001236/0.2106, allocations: 1.28 MB / 445.4 MB, free: 4.664 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004317/0.2111, allocations: 276.7 kB / 445.7 MB, free: 4.391 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001649/0.2112, allocations: 60 kB / 445.7 MB, free: 4.332 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003204/0.2116, allocations: 441.3 kB / 446.2 MB, free: 3.891 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002206/0.2138, allocations: 0.693 MB / 446.9 MB, free: 3.195 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3291/0.5429, allocations: 2.741 MB / 449.6 MB, free: 54.9 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003145/0.5461, allocations: 1.276 MB / 450.9 MB, free: 54.81 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-05/0.5462, allocations: 25.95 kB / 450.9 MB, free: 54.81 MB / 378.7 MB Notification: Performance of matching and sorting (n=397) (initialization): time 0.008409/0.5546, allocations: 3.266 MB / 454.2 MB, free: 54.27 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.644e-05/0.5547, allocations: 38.88 kB / 454.2 MB, free: 54.27 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.757e-05/0.5548, allocations: 72.56 kB / 454.3 MB, free: 54.27 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001295/0.555, allocations: 113 kB / 454.4 MB, free: 54.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004735/0.5597, allocations: 0.8759 MB / 455.3 MB, free: 54.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00267/0.5624, allocations: 6.056 MB / 461.3 MB, free: 48.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003015/0.5655, allocations: 432.9 kB / 461.7 MB, free: 48.31 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000454/0.566, allocations: 217.7 kB / 462 MB, free: 48.31 MB / 378.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.001343/0.5674, allocations: 0.7083 MB / 462.7 MB, free: 48.07 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002389/0.5676, allocations: 121.9 kB / 462.8 MB, free: 48.05 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005012/0.5727, allocations: 1.303 MB / 464.1 MB, free: 47.82 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.279e-05/0.5727, allocations: 17.25 kB / 464.1 MB, free: 47.82 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.578e-06/0.5727, allocations: 3.953 kB / 464.1 MB, free: 47.81 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.213e-05/0.5728, allocations: 5.531 kB / 464.1 MB, free: 47.81 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001886/0.5746, allocations: 0.9422 MB / 465 MB, free: 47.61 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.67e-06/0.5747, allocations: 0 / 465 MB, free: 47.61 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002129/0.5768, allocations: 322.3 kB / 465.4 MB, free: 47.6 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.226e-05/0.5769, allocations: 3.094 kB / 465.4 MB, free: 47.6 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000103/0.577, allocations: 37.36 kB / 465.4 MB, free: 47.6 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002455/0.5794, allocations: 5.923 MB / 471.3 MB, free: 41.72 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.5795, allocations: 0 / 471.3 MB, free: 41.72 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002357/0.5819, allocations: 0.9064 MB / 472.2 MB, free: 41.5 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005598/0.5825, allocations: 299 kB / 472.5 MB, free: 41.32 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000215/0.5827, allocations: 14.75 kB / 472.5 MB, free: 41.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007446/0.5834, allocations: 41.92 kB / 472.6 MB, free: 41.32 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000228/0.5837, allocations: 63.55 kB / 472.6 MB, free: 41.32 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001011/0.5838, allocations: 42.38 kB / 472.7 MB, free: 41.32 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001493/0.5853, allocations: 0.7783 MB / 473.5 MB, free: 41.21 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.71e-07/0.5853, allocations: 0 / 473.5 MB, free: 41.21 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003096/0.5884, allocations: 495.6 kB / 473.9 MB, free: 41.16 MB / 378.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.00305/0.5915, allocations: 1.547 MB / 475.5 MB, free: 40.4 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.005742/0.5973, allocations: 1.914 MB / 477.4 MB, free: 40.04 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.149e-06/0.5974, allocations: 0 / 477.4 MB, free: 40.04 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002203/0.5996, allocations: 0.5195 MB / 477.9 MB, free: 39.96 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005746/0.6002, allocations: 91.31 kB / 478 MB, free: 39.9 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0441/0.6443, allocations: 60.28 MB / 0.5257 GB, free: 14.5 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001927/0.6463, allocations: 1.484 MB / 0.5271 GB, free: 13.71 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.006688/0.653, allocations: 0.9637 MB / 0.5281 GB, free: 13.49 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001527/0.6546, allocations: 0.5563 MB / 0.5286 GB, free: 13.09 MB / 410.7 MB Notification: Performance of SimCode: time 1.162e-06/0.6546, allocations: 1.094 kB / 0.5286 GB, free: 13.09 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09377/0.7484, allocations: 25.84 MB / 0.5538 GB, free: 1.281 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002894/0.7488, allocations: 268.3 kB / 0.5541 GB, free: 0.9258 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.846/4.595, allocations: 3.953 kB / 0.5541 GB, free: 0.9219 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Valve.dp_severalGeometryOverall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat