Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eta.1.|eta.2.|eta.3.|rho.1.|rho.2.|rho.3.|input_mdot.1.|input_mdot.2.|input_mdot.3.|input_dp.1.|input_dp.2.|input_dp.3.|M_FLOW.1.|M_FLOW.2.|M_FLOW.3.|DP.1.|DP.2.|DP.3.|DP_plot.1.|DP_plot.2.|DP_plot.3.|input_DP.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW") Notification: Performance of loadModel(ModelicaTest): time 1.894/1.894, allocations: 209.4 MB / 217.3 MB, free: 4.172 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.761e-05/1.767e-05, allocations: 4 kB / 271.3 MB, free: 14.1 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2566/0.2566, allocations: 48.68 MB / 320 MB, free: 14.4 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1155/0.3721, allocations: 78.83 MB / 398.9 MB, free: 1.609 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002979/0.3725, allocations: 87.94 kB / 398.9 MB, free: 1.523 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02368/0.3962, allocations: 5.845 MB / 404.8 MB, free: 11.57 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.189e-06/0.3962, allocations: 4 kB / 404.8 MB, free: 11.57 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.518e-05/0.3963, allocations: 8 kB / 404.8 MB, free: 11.56 MB / 346.7 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.0006593/0.3969, allocations: 487.6 kB / 405.3 MB, free: 11.04 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.397, allocations: 8.031 kB / 405.3 MB, free: 11.04 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001596/0.3986, allocations: 203.3 kB / 405.5 MB, free: 10.84 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004318/0.399, allocations: 278.6 kB / 405.8 MB, free: 10.52 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.502e-05/0.3991, allocations: 16 kB / 405.8 MB, free: 10.51 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.672e-05/0.3992, allocations: 12 kB / 405.8 MB, free: 10.5 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001032/0.4002, allocations: 0.493 MB / 406.3 MB, free: 10 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008469/0.4011, allocations: 411.5 kB / 406.7 MB, free: 9.594 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.853e-05/0.4011, allocations: 7.984 kB / 406.7 MB, free: 9.586 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.273e-05/0.4012, allocations: 0 / 406.7 MB, free: 9.586 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.461e-05/0.4012, allocations: 24.56 kB / 406.7 MB, free: 9.562 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002505/0.4038, allocations: 1.071 MB / 407.8 MB, free: 8.414 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003345/0.4041, allocations: 110.5 kB / 407.9 MB, free: 8.297 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001658/0.4043, allocations: 52.81 kB / 407.9 MB, free: 8.242 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.341e-05/0.4043, allocations: 4 kB / 407.9 MB, free: 8.238 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.319e-05/0.4044, allocations: 34.56 kB / 408 MB, free: 8.195 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 4.734e-06/0.4044, allocations: 0 / 408 MB, free: 8.195 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005124/0.4049, allocations: 137.5 kB / 408.1 MB, free: 8.055 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.842e-05/0.405, allocations: 51.41 kB / 408.2 MB, free: 7.992 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001455/0.4051, allocations: 132.7 kB / 408.3 MB, free: 7.855 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.618e-05/0.4052, allocations: 25.7 kB / 408.3 MB, free: 7.824 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001559/0.4053, allocations: 242.1 kB / 408.5 MB, free: 7.586 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.4e-05/0.4054, allocations: 27.64 kB / 408.6 MB, free: 7.559 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.052e-05/0.4054, allocations: 0 / 408.6 MB, free: 7.559 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.4056, allocations: 326.8 kB / 408.9 MB, free: 7.23 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001683/0.4058, allocations: 51.91 kB / 408.9 MB, free: 7.18 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001987/0.406, allocations: 80.39 kB / 409 MB, free: 7.09 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001833/0.4062, allocations: 63.89 kB / 409.1 MB, free: 7.027 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.729e-06/0.4062, allocations: 0 / 409.1 MB, free: 7.027 MB / 346.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005024/0.4067, allocations: 161.5 kB / 409.2 MB, free: 6.863 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.4067, allocations: 8.875 kB / 409.3 MB, free: 6.855 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.4068, allocations: 3.938 kB / 409.3 MB, free: 6.852 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.505e-05/0.4068, allocations: 3.984 kB / 409.3 MB, free: 6.848 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006006/0.4128, allocations: 455.5 kB / 409.7 MB, free: 6.402 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003346/0.4162, allocations: 1.918 MB / 411.6 MB, free: 4.414 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004501/0.4167, allocations: 36.03 kB / 411.7 MB, free: 4.379 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.914e-05/0.4167, allocations: 7.984 kB / 411.7 MB, free: 4.371 MB / 346.7 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 () * 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 (linear and non-linear blocks): 3 * 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: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001355/0.4169, allocations: 108.9 kB / 411.8 MB, free: 4.258 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.425e-05/0.417, allocations: 7.906 kB / 411.8 MB, free: 4.25 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.671e-05/0.417, allocations: 12.61 kB / 411.8 MB, free: 4.242 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.156e-06/0.417, allocations: 4 kB / 411.8 MB, free: 4.238 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.966e-06/0.417, allocations: 0 / 411.8 MB, free: 4.238 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.417, allocations: 4 kB / 411.8 MB, free: 4.234 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000447/0.4175, allocations: 242.1 kB / 412 MB, free: 3.961 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.198e-06/0.4175, allocations: 7.984 kB / 412 MB, free: 3.953 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005896/0.4234, allocations: 436 kB / 412.5 MB, free: 3.527 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.132e-06/0.4235, allocations: 0 / 412.5 MB, free: 3.527 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.975e-05/0.4235, allocations: 4 kB / 412.5 MB, free: 3.523 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003297/0.4268, allocations: 1.926 MB / 414.4 MB, free: 1.527 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.913e-06/0.4268, allocations: 0 / 414.4 MB, free: 1.527 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005038/0.4274, allocations: 235.7 kB / 414.6 MB, free: 1.281 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.237e-05/0.4274, allocations: 88.91 kB / 414.7 MB, free: 1.176 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.378e-05/0.4275, allocations: 0 / 414.7 MB, free: 1.176 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000423/0.4279, allocations: 19.97 kB / 414.7 MB, free: 1.156 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.805e-05/0.428, allocations: 7.984 kB / 414.7 MB, free: 1.148 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.407e-05/0.4281, allocations: 7.984 kB / 414.8 MB, free: 1.141 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.812e-05/0.4282, allocations: 105.5 kB / 414.9 MB, free: 1.039 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.82e-07/0.4282, allocations: 4 kB / 414.9 MB, free: 1.035 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005106/0.4287, allocations: 83.69 kB / 414.9 MB, free: 0.9531 MB / 346.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 () * 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 (linear and non-linear blocks): 3 * 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: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002625/0.429, allocations: 141.3 kB / 415.1 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00558/0.4346, allocations: 459.3 kB / 415.5 MB, free: 364 kB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.82e-06/0.4346, allocations: 0 / 415.5 MB, free: 364 kB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005346/0.44, allocations: 395.5 kB / 415.9 MB, free: 15.97 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002805/0.4403, allocations: 17.3 kB / 415.9 MB, free: 15.95 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007426/0.441, allocations: 297.1 kB / 416.2 MB, free: 15.64 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004894/0.4415, allocations: 0.7861 MB / 417 MB, free: 14.82 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001112/0.4417, allocations: 15.42 kB / 417 MB, free: 14.81 MB / 362.7 MB Notification: Performance of SimCode: time 1.842e-06/0.4417, allocations: 3.938 kB / 417 MB, free: 14.8 MB / 362.7 MB Notification: Performance of Templates: time 0.01063/0.4523, allocations: 5.979 MB / 423 MB, free: 8.828 MB / 362.7 MB