Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Blocks.Examples.NoiseExamples.Densities.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: translateModel(Modelica.Blocks.Examples.NoiseExamples.Densities,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|uniformDensity_y|normalDensity_y|weibullDensity_y",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Blocks.Examples.NoiseExamples.Densities") Notification: Performance of loadModel(Modelica): time 1.752/1.752, allocations: 194.9 MB / 211.7 MB, free: 2.984 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003571/0.0003571, allocations: 8 kB / 263.9 MB, free: 13.57 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07697/0.07735, allocations: 44.51 MB / 308.5 MB, free: 0.9844 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3296/0.407, allocations: 71.92 MB / 380.4 MB, free: 18.78 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002197/0.4072, allocations: 77.39 kB / 380.4 MB, free: 18.78 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006341/0.4136, allocations: 1.669 MB / 382.1 MB, free: 18.39 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.419e-06/0.4136, allocations: 0 / 382.1 MB, free: 18.39 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.834e-06/0.4136, allocations: 1.25 kB / 382.1 MB, free: 18.39 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0003178/0.414, allocations: 379.2 kB / 382.5 MB, free: 18.02 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.414, allocations: 10.22 kB / 382.5 MB, free: 18.02 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003821/0.4144, allocations: 55.06 kB / 382.6 MB, free: 18.01 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001016/0.4145, allocations: 181 kB / 382.7 MB, free: 17.8 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.852e-05/0.4146, allocations: 6.938 kB / 382.7 MB, free: 17.8 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.074e-05/0.4146, allocations: 3.156 kB / 382.7 MB, free: 17.8 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002484/0.4149, allocations: 88.84 kB / 382.8 MB, free: 17.77 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.734e-06/0.4149, allocations: 0 / 382.8 MB, free: 17.77 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.466e-05/0.4149, allocations: 8.25 kB / 382.8 MB, free: 17.77 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.413e-06/0.4149, allocations: 1.062 kB / 382.8 MB, free: 17.77 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002798/0.4152, allocations: 72.83 kB / 382.9 MB, free: 17.77 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008561/0.4161, allocations: 377.9 kB / 383.3 MB, free: 17.48 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003905/0.4165, allocations: 81.67 kB / 383.4 MB, free: 17.45 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.636e-05/0.4166, allocations: 0 / 383.4 MB, free: 17.45 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.006e-05/0.4166, allocations: 38.64 kB / 383.4 MB, free: 17.41 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 2.962e-06/0.4166, allocations: 0 / 383.4 MB, free: 17.41 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006305/0.4173, allocations: 137.9 kB / 383.5 MB, free: 17.37 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.716e-05/0.4173, allocations: 54.66 kB / 383.6 MB, free: 17.3 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.027e-05/0.4174, allocations: 114.1 kB / 383.7 MB, free: 17.21 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.344e-05/0.4174, allocations: 25.7 kB / 383.7 MB, free: 17.18 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.108e-05/0.4175, allocations: 166.4 kB / 383.9 MB, free: 17.02 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.385e-05/0.4175, allocations: 13.31 kB / 383.9 MB, free: 17.01 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.608e-06/0.4175, allocations: 1.125 kB / 383.9 MB, free: 17.01 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.993e-05/0.4176, allocations: 317.4 kB / 384.2 MB, free: 16.7 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001308/0.4177, allocations: 36.14 kB / 384.2 MB, free: 16.69 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001287/0.4179, allocations: 35.58 kB / 384.3 MB, free: 16.69 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001254/0.418, allocations: 33.78 kB / 384.3 MB, free: 16.69 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.27e-06/0.418, allocations: 3.938 kB / 384.3 MB, free: 16.68 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002987/0.4183, allocations: 108.9 kB / 384.4 MB, free: 16.64 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.228e-05/0.4184, allocations: 5.312 kB / 384.4 MB, free: 16.64 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.576e-06/0.4184, allocations: 0 / 384.4 MB, free: 16.64 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.4185, allocations: 0 / 384.4 MB, free: 16.64 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002051/0.4187, allocations: 27.33 kB / 384.4 MB, free: 16.64 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.261e-06/0.4187, allocations: 3.953 kB / 384.5 MB, free: 16.64 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001058/0.4188, allocations: 19.02 kB / 384.5 MB, free: 16.63 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.176e-05/0.4188, allocations: 1.469 kB / 384.5 MB, free: 16.63 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.179e-05/0.4189, allocations: 114.6 kB / 384.6 MB, free: 16.52 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.154e-05/0.419, allocations: 6.844 kB / 384.6 MB, free: 16.52 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003737/0.4194, allocations: 124.2 kB / 384.7 MB, free: 16.47 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.829e-06/0.4194, allocations: 3.656 kB / 384.7 MB, free: 16.47 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.175e-06/0.4194, allocations: 0 / 384.7 MB, free: 16.47 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.56e-06/0.4194, allocations: 7.953 kB / 384.7 MB, free: 16.46 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002047/0.4196, allocations: 192 kB / 384.9 MB, free: 16.28 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.527e-06/0.4197, allocations: 0.5 kB / 384.9 MB, free: 16.28 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001487/0.4198, allocations: 24.02 kB / 384.9 MB, free: 16.28 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.4198, allocations: 0 / 384.9 MB, free: 16.28 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.147e-05/0.4199, allocations: 1.375 kB / 384.9 MB, free: 16.28 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.4199, allocations: 4 kB / 384.9 MB, free: 16.27 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.796e-06/0.4199, allocations: 1.375 kB / 384.9 MB, free: 16.27 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003355/0.4202, allocations: 217.4 kB / 385.2 MB, free: 16.13 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.653e-05/0.4203, allocations: 79.86 kB / 385.2 MB, free: 16.04 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.001e-05/0.4203, allocations: 0 / 385.2 MB, free: 16.04 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001482/0.4204, allocations: 21.97 kB / 385.3 MB, free: 16.03 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.774e-05/0.4205, allocations: 4.609 kB / 385.3 MB, free: 16.03 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.837e-06/0.4205, allocations: 1.375 kB / 385.3 MB, free: 16.03 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.277e-05/0.4206, allocations: 97.98 kB / 385.4 MB, free: 15.95 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.88e-07/0.4206, allocations: 0 / 385.4 MB, free: 15.95 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003114/0.4209, allocations: 21.34 kB / 385.4 MB, free: 15.95 MB / 314.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 (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.424e-05/0.421, allocations: 95.97 kB / 385.5 MB, free: 15.86 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003059/0.4213, allocations: 80.62 kB / 385.5 MB, free: 15.85 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.586e-06/0.4213, allocations: 3.938 kB / 385.6 MB, free: 15.84 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001423/0.4215, allocations: 44.81 kB / 385.6 MB, free: 15.84 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002324/0.4217, allocations: 8.672 kB / 385.6 MB, free: 15.84 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005285/0.4223, allocations: 242.8 kB / 385.8 MB, free: 15.66 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001358/0.4224, allocations: 0.6966 MB / 386.5 MB, free: 14.96 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.521e-05/0.4225, allocations: 11.41 kB / 386.5 MB, free: 14.95 MB / 314.7 MB Notification: Performance of SimCode: time 1.38e-06/0.4225, allocations: 0 / 386.5 MB, free: 14.95 MB / 314.7 MB Notification: Performance of Templates: time 0.002678/0.4252, allocations: 0.9477 MB / 387.5 MB, free: 14.89 MB / 314.7 MB