Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.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.ImpureGenerator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|impureRandom_y",fileNamePrefix="Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator") Notification: Performance of loadModel(Modelica): time 2.097/2.097, allocations: 194.8 MB / 211.7 MB, free: 3.008 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003628/0.0003628, allocations: 11.94 kB / 264.5 MB, free: 12.95 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.1158, allocations: 44.51 MB / 309 MB, free: 380 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5572/0.6731, allocations: 71.07 MB / 380.1 MB, free: 15.4 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002706/0.6734, allocations: 76.56 kB / 380.2 MB, free: 15.4 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01249/0.6859, allocations: 1.996 MB / 382.2 MB, free: 14.98 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.976e-06/0.686, allocations: 0 / 382.2 MB, free: 14.98 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.119e-05/0.686, allocations: 0 / 382.2 MB, free: 14.98 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0005909/0.6866, allocations: 359.8 kB / 382.5 MB, free: 14.61 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.016e-05/0.6867, allocations: 8.938 kB / 382.5 MB, free: 14.61 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.541e-05/0.6868, allocations: 1.188 kB / 382.5 MB, free: 14.61 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001422/0.687, allocations: 174.2 kB / 382.7 MB, free: 14.41 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.818e-05/0.687, allocations: 1.031 kB / 382.7 MB, free: 14.41 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.454e-05/0.6871, allocations: 1.188 kB / 382.7 MB, free: 14.41 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000144/0.6872, allocations: 36.97 kB / 382.8 MB, free: 14.38 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.6873, allocations: 4 kB / 382.8 MB, free: 14.37 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.414e-05/0.6873, allocations: 1.031 kB / 382.8 MB, free: 14.37 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.6873, allocations: 1.453 kB / 382.8 MB, free: 14.37 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.613e-05/0.6874, allocations: 3.156 kB / 382.8 MB, free: 14.37 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004182/0.6878, allocations: 243.3 kB / 383 MB, free: 14.11 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.742e-05/0.6879, allocations: 32.17 kB / 383 MB, free: 14.08 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.796e-06/0.6879, allocations: 4 kB / 383 MB, free: 14.07 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001561/0.6881, allocations: 52.72 kB / 383.1 MB, free: 14.03 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 3.166e-06/0.6881, allocations: 0 / 383.1 MB, free: 14.03 MB / 314.7 MB Notification: Performance of matching and sorting (n=3): time 0.000278/0.6884, allocations: 62.97 kB / 383.1 MB, free: 13.98 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.978e-05/0.6885, allocations: 52.44 kB / 383.2 MB, free: 13.92 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001082/0.6886, allocations: 106.1 kB / 383.3 MB, free: 13.82 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.553e-05/0.6886, allocations: 26.8 kB / 383.3 MB, free: 13.79 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.082e-05/0.6887, allocations: 87.42 kB / 383.4 MB, free: 13.71 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.708e-05/0.6887, allocations: 7.406 kB / 383.4 MB, free: 13.7 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.233e-06/0.6888, allocations: 1.281 kB / 383.4 MB, free: 13.7 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.607e-05/0.6888, allocations: 323.4 kB / 383.7 MB, free: 13.38 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.669e-05/0.6889, allocations: 8.266 kB / 383.7 MB, free: 13.38 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.629e-05/0.689, allocations: 20.48 kB / 383.8 MB, free: 13.37 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.222e-05/0.689, allocations: 9.75 kB / 383.8 MB, free: 13.37 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.6891, allocations: 0 / 383.8 MB, free: 13.37 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001935/0.6893, allocations: 62.39 kB / 383.8 MB, free: 13.33 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.469e-05/0.6893, allocations: 5.938 kB / 383.8 MB, free: 13.33 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.084e-06/0.6893, allocations: 3.938 kB / 383.8 MB, free: 13.32 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.018e-05/0.6894, allocations: 1.406 kB / 383.8 MB, free: 13.32 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001189/0.6895, allocations: 9.344 kB / 383.9 MB, free: 13.32 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/0.6895, allocations: 2.016 kB / 383.9 MB, free: 13.32 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.155e-05/0.6896, allocations: 5.031 kB / 383.9 MB, free: 13.32 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.282e-05/0.6896, allocations: 1.219 kB / 383.9 MB, free: 13.32 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,impureRandom.y,globalSeed.seed,globalSeed.id_impure) * 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 0.0001025/0.6897, allocations: 125.3 kB / 384 MB, free: 13.2 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.097e-05/0.6898, allocations: 4.812 kB / 384 MB, free: 13.19 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.096e-05/0.6898, allocations: 6.469 kB / 384 MB, free: 13.18 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.6899, allocations: 0 / 384 MB, free: 13.18 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.6899, allocations: 1.375 kB / 384 MB, free: 13.18 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.6899, allocations: 0 / 384 MB, free: 13.18 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003608/0.6903, allocations: 284.5 kB / 384.3 MB, free: 12.89 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.6903, allocations: 1.219 kB / 384.3 MB, free: 12.89 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.139e-05/0.6904, allocations: 1 kB / 384.3 MB, free: 12.89 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.997e-06/0.6904, allocations: 5.188 kB / 384.3 MB, free: 12.88 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/0.6904, allocations: 1.266 kB / 384.3 MB, free: 12.88 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.6904, allocations: 1.344 kB / 384.3 MB, free: 12.88 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.6904, allocations: 0 / 384.3 MB, free: 12.88 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002127/0.6907, allocations: 150.3 kB / 384.4 MB, free: 12.75 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.712e-05/0.6907, allocations: 80.23 kB / 384.5 MB, free: 12.65 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.342e-05/0.6908, allocations: 0 / 384.5 MB, free: 12.65 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001035/0.6909, allocations: 1.156 kB / 384.5 MB, free: 12.65 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.322e-05/0.6909, allocations: 7.609 kB / 384.5 MB, free: 12.65 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.623e-05/0.691, allocations: 1.406 kB / 384.5 MB, free: 12.65 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.741e-05/0.691, allocations: 89.81 kB / 384.6 MB, free: 12.57 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.91e-07/0.6911, allocations: 0 / 384.6 MB, free: 12.57 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006643/0.6917, allocations: 30.73 kB / 384.6 MB, free: 12.57 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: 2 ($whenCondition1,impureRandom.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0007114/0.6925, allocations: 203.5 kB / 384.8 MB, free: 12.43 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001859/0.6927, allocations: 30.34 kB / 384.9 MB, free: 12.43 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.6927, allocations: 0 / 384.9 MB, free: 12.43 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.049e-05/0.6928, allocations: 5.844 kB / 384.9 MB, free: 12.43 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002496/0.6931, allocations: 9.734 kB / 384.9 MB, free: 12.42 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003946/0.6935, allocations: 116 kB / 385 MB, free: 12.31 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001576/0.6937, allocations: 0.6852 MB / 385.7 MB, free: 11.61 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.038e-05/0.6937, allocations: 5.5 kB / 385.7 MB, free: 11.61 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.821e-05/0.6938, allocations: 10.88 kB / 385.7 MB, free: 11.61 MB / 314.7 MB Notification: Performance of SimCode: time 1.313e-06/0.6938, allocations: 0 / 385.7 MB, free: 11.61 MB / 314.7 MB Notification: Performance of Templates: time 0.006854/0.7007, allocations: 1.099 MB / 386.8 MB, free: 11.48 MB / 314.7 MB