Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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 2.029/2.029, allocations: 194.8 MB / 212.3 MB, free: 3.023 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003603/0.0003604, allocations: 16 kB / 264.5 MB, free: 13.64 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.1229, allocations: 44.5 MB / 309 MB, free: 1.07 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4273/0.5503, allocations: 71.91 MB / 380.9 MB, free: 14.93 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002736/0.5507, allocations: 80.08 kB / 381 MB, free: 14.93 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007284/0.558, allocations: 1.674 MB / 382.6 MB, free: 14.54 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.476e-06/0.558, allocations: 1.375 kB / 382.6 MB, free: 14.54 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.785e-06/0.558, allocations: 0.875 kB / 382.6 MB, free: 14.54 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.000418/0.5585, allocations: 378.1 kB / 383 MB, free: 14.16 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.5585, allocations: 9.281 kB / 383 MB, free: 14.16 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005037/0.559, allocations: 53.5 kB / 383.1 MB, free: 14.15 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001146/0.5592, allocations: 175.9 kB / 383.2 MB, free: 13.95 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.243e-05/0.5592, allocations: 2.25 kB / 383.2 MB, free: 13.95 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.129e-05/0.5592, allocations: 6.406 kB / 383.2 MB, free: 13.95 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003449/0.5596, allocations: 96.92 kB / 383.3 MB, free: 13.91 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.5596, allocations: 0 / 383.3 MB, free: 13.91 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.727e-05/0.5596, allocations: 9.188 kB / 383.3 MB, free: 13.91 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.328e-06/0.5597, allocations: 0 / 383.3 MB, free: 13.91 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003826/0.5601, allocations: 81.56 kB / 383.4 MB, free: 13.9 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008175/0.5609, allocations: 376.5 kB / 383.8 MB, free: 13.62 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003369/0.5612, allocations: 76.67 kB / 383.9 MB, free: 13.59 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.736e-05/0.5613, allocations: 1.312 kB / 383.9 MB, free: 13.59 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.563e-05/0.5613, allocations: 36.2 kB / 383.9 MB, free: 13.55 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 2.255e-06/0.5613, allocations: 1.219 kB / 383.9 MB, free: 13.55 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.000673/0.562, allocations: 144.1 kB / 384 MB, free: 13.51 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.297e-05/0.5621, allocations: 53.12 kB / 384.1 MB, free: 13.45 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001048/0.5622, allocations: 124.2 kB / 384.2 MB, free: 13.34 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.437e-05/0.5622, allocations: 29.27 kB / 384.3 MB, free: 13.31 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.954e-05/0.5623, allocations: 160.1 kB / 384.4 MB, free: 13.16 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.958e-05/0.5623, allocations: 23.64 kB / 384.4 MB, free: 13.14 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.985e-06/0.5623, allocations: 0 / 384.4 MB, free: 13.14 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.94e-05/0.5624, allocations: 314.1 kB / 384.7 MB, free: 12.83 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001721/0.5626, allocations: 35.62 kB / 384.8 MB, free: 12.82 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001677/0.5627, allocations: 32.39 kB / 384.8 MB, free: 12.82 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000179/0.5629, allocations: 35.23 kB / 384.8 MB, free: 12.82 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.563, allocations: 0 / 384.8 MB, free: 12.82 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0004437/0.5634, allocations: 104.9 kB / 384.9 MB, free: 12.78 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.5634, allocations: 5.594 kB / 384.9 MB, free: 12.78 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.5635, allocations: 5.406 kB / 385 MB, free: 12.78 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.5635, allocations: 0 / 385 MB, free: 12.78 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002335/0.5637, allocations: 25.78 kB / 385 MB, free: 12.77 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.5637, allocations: 5.328 kB / 385 MB, free: 12.77 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001534/0.5639, allocations: 14.98 kB / 385 MB, free: 12.77 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.392e-05/0.5639, allocations: 5 kB / 385 MB, free: 12.77 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.984e-05/0.564, allocations: 117.3 kB / 385.1 MB, free: 12.65 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.678e-05/0.5641, allocations: 6.656 kB / 385.1 MB, free: 12.65 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004996/0.5646, allocations: 123.7 kB / 385.2 MB, free: 12.61 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.5646, allocations: 1.125 kB / 385.2 MB, free: 12.61 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.5646, allocations: 2.375 kB / 385.2 MB, free: 12.61 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.85e-06/0.5646, allocations: 3.953 kB / 385.3 MB, free: 12.6 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000231/0.5649, allocations: 191.8 kB / 385.4 MB, free: 12.41 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.5649, allocations: 1.625 kB / 385.4 MB, free: 12.41 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002019/0.5651, allocations: 22.03 kB / 385.5 MB, free: 12.41 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.5651, allocations: 0 / 385.5 MB, free: 12.41 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.471e-05/0.5651, allocations: 2.938 kB / 385.5 MB, free: 12.41 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.5652, allocations: 4.562 kB / 385.5 MB, free: 12.41 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.5652, allocations: 1.219 kB / 385.5 MB, free: 12.41 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00045/0.5656, allocations: 213.9 kB / 385.7 MB, free: 12.27 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.335e-05/0.5657, allocations: 79.3 kB / 385.8 MB, free: 12.18 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.576e-05/0.5657, allocations: 5.312 kB / 385.8 MB, free: 12.17 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001779/0.5659, allocations: 20.56 kB / 385.8 MB, free: 12.17 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.107e-05/0.566, allocations: 4.391 kB / 385.8 MB, free: 12.17 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.108e-05/0.566, allocations: 2.125 kB / 385.8 MB, free: 12.17 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.211e-05/0.566, allocations: 97.5 kB / 385.9 MB, free: 12.09 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.653e-06/0.5661, allocations: 1.312 kB / 385.9 MB, free: 12.09 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002951/0.5664, allocations: 27.72 kB / 385.9 MB, free: 12.07 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 0.00011/0.5665, allocations: 99.3 kB / 386 MB, free: 11.98 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004253/0.5669, allocations: 73.06 kB / 386.1 MB, free: 11.98 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.5669, allocations: 5.062 kB / 386.1 MB, free: 11.98 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001964/0.5671, allocations: 44.56 kB / 386.1 MB, free: 11.98 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000259/0.5674, allocations: 6.938 kB / 386.1 MB, free: 11.98 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006969/0.5681, allocations: 242 kB / 386.4 MB, free: 11.8 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001479/0.5683, allocations: 0.6967 MB / 387.1 MB, free: 11.1 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.21e-05/0.5684, allocations: 12.59 kB / 387.1 MB, free: 11.09 MB / 314.7 MB Notification: Performance of SimCode: time 1.443e-06/0.5684, allocations: 0 / 387.1 MB, free: 11.09 MB / 314.7 MB Notification: Performance of Templates: time 0.003128/0.5715, allocations: 0.9452 MB / 388 MB, free: 11.03 MB / 314.7 MB