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.ImpureGenerator.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.ImpureGenerator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|impureRandom_y",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator") Notification: Performance of loadModel(Modelica): time 1.882/1.882, allocations: 194.8 MB / 211.6 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003555/0.0003557, allocations: 8 kB / 263.8 MB, free: 13.62 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08167/0.08205, allocations: 44.5 MB / 308.3 MB, free: 1.051 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator): time 0.001596/0.08369, allocations: 1.057 MB / 309.4 MB, free: 15.98 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008028/0.08452, allocations: 339.9 kB / 309.7 MB, free: 15.65 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.324e-05/0.08457, allocations: 4 kB / 309.7 MB, free: 15.64 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 1.537e-05/0.0846, allocations: 0 / 309.7 MB, free: 15.64 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 4.605e-05/0.08466, allocations: 3.984 kB / 309.7 MB, free: 15.64 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004042/0.08507, allocations: 63.8 kB / 309.8 MB, free: 15.58 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 5.037e-05/0.08514, allocations: 15.92 kB / 309.8 MB, free: 15.56 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.364e-05/0.0852, allocations: 3.984 kB / 309.8 MB, free: 15.56 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.555e-05/0.08524, allocations: 4 kB / 309.8 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.049e-05/0.08528, allocations: 15.91 kB / 309.8 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.289e-05/0.0853, allocations: 4 kB / 309.8 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001852/0.0855, allocations: 67.86 kB / 309.9 MB, free: 15.47 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.674e-05/0.08553, allocations: 4 kB / 309.9 MB, free: 15.46 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.634e-05/0.08558, allocations: 25.7 kB / 309.9 MB, free: 15.43 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000151/0.08574, allocations: 59.89 kB / 310 MB, free: 15.38 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.169e-06/0.08576, allocations: 0 / 310 MB, free: 15.38 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.868e-06/0.08577, allocations: 3.938 kB / 310 MB, free: 15.37 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.065e-06/0.08579, allocations: 0 / 310 MB, free: 15.37 MB / 266.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.0004228/0.08622, allocations: 343.3 kB / 310.3 MB, free: 14.99 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.08627, allocations: 8.031 kB / 310.3 MB, free: 14.98 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.265e-05/0.08632, allocations: 8 kB / 310.4 MB, free: 14.97 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001475/0.08647, allocations: 167 kB / 310.5 MB, free: 14.77 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.745e-05/0.08651, allocations: 0 / 310.5 MB, free: 14.77 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.823e-05/0.08653, allocations: 4 kB / 310.5 MB, free: 14.77 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.67e-05/0.08664, allocations: 33.69 kB / 310.6 MB, free: 14.73 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.131e-06/0.08666, allocations: 0 / 310.6 MB, free: 14.73 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.238e-06/0.08668, allocations: 4 kB / 310.6 MB, free: 14.72 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.31e-06/0.0867, allocations: 0 / 310.6 MB, free: 14.72 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.148e-05/0.08673, allocations: 0 / 310.6 MB, free: 14.72 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003741/0.08712, allocations: 256.8 kB / 310.8 MB, free: 14.42 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.96e-05/0.08721, allocations: 30.56 kB / 310.8 MB, free: 14.38 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.648e-06/0.08723, allocations: 0 / 310.8 MB, free: 14.38 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001351/0.08737, allocations: 47.47 kB / 310.9 MB, free: 14.32 MB / 266.7 MB Notification: Performance of pre-optimization done (n=3): time 2.235e-06/0.08739, allocations: 0 / 310.9 MB, free: 14.32 MB / 266.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001953/0.0876, allocations: 65.53 kB / 311 MB, free: 14.25 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.599e-05/0.08766, allocations: 51.41 kB / 311 MB, free: 14.19 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/0.08777, allocations: 105.8 kB / 311.1 MB, free: 14.08 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.267e-05/0.08781, allocations: 25.7 kB / 311.1 MB, free: 14.05 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.015e-05/0.08791, allocations: 154.6 kB / 311.3 MB, free: 13.89 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.37e-05/0.08795, allocations: 20.05 kB / 311.3 MB, free: 13.88 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.036e-06/0.08796, allocations: 0 / 311.3 MB, free: 13.88 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001636/0.08813, allocations: 318.8 kB / 311.6 MB, free: 13.55 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.11e-05/0.08818, allocations: 12 kB / 311.6 MB, free: 13.54 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.091e-05/0.08823, allocations: 17.72 kB / 311.6 MB, free: 13.52 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.735e-05/0.08828, allocations: 8 kB / 311.6 MB, free: 13.51 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.69e-06/0.0883, allocations: 0 / 311.6 MB, free: 13.51 MB / 266.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001362/0.08844, allocations: 61.61 kB / 311.7 MB, free: 13.45 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.08847, allocations: 4 kB / 311.7 MB, free: 13.44 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.535e-06/0.08849, allocations: 0 / 311.7 MB, free: 13.44 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.08851, allocations: 0 / 311.7 MB, free: 13.44 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.576e-05/0.08859, allocations: 12.03 kB / 311.7 MB, free: 13.43 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.591e-06/0.08861, allocations: 3.938 kB / 311.7 MB, free: 13.43 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.371e-05/0.08864, allocations: 0 / 311.7 MB, free: 13.43 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.05e-05/0.08866, allocations: 4 kB / 311.7 MB, free: 13.42 MB / 266.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.0001092/0.08878, allocations: 117.8 kB / 311.8 MB, free: 13.3 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.824e-05/0.08881, allocations: 7.891 kB / 311.9 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.824e-05/0.08885, allocations: 3.906 kB / 311.9 MB, free: 13.28 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.997e-06/0.08886, allocations: 0 / 311.9 MB, free: 13.28 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.022e-06/0.08888, allocations: 240 / 311.9 MB, free: 13.28 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.0889, allocations: 8 kB / 311.9 MB, free: 13.27 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003442/0.08925, allocations: 286.6 kB / 312.1 MB, free: 12.93 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.48e-06/0.08927, allocations: 0 / 312.1 MB, free: 12.93 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.37e-05/0.0893, allocations: 8.312 kB / 312.2 MB, free: 12.93 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.107e-06/0.08932, allocations: 0 / 312.2 MB, free: 12.93 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.08934, allocations: 3.984 kB / 312.2 MB, free: 12.92 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.24e-06/0.08935, allocations: 4 kB / 312.2 MB, free: 12.92 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.642e-06/0.08936, allocations: 0 / 312.2 MB, free: 12.92 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001633/0.08953, allocations: 151.4 kB / 312.3 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.101e-05/0.0896, allocations: 77.11 kB / 312.4 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.856e-05/0.08963, allocations: 4 kB / 312.4 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.311e-05/0.0897, allocations: 0 / 312.4 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.069e-05/0.08974, allocations: 11.92 kB / 312.4 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.214e-05/0.08976, allocations: 0 / 312.4 MB, free: 12.64 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.146e-05/0.08983, allocations: 79.28 kB / 312.5 MB, free: 12.57 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.18e-07/0.08985, allocations: 0 / 312.5 MB, free: 12.57 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003693/0.09022, allocations: 31.98 kB / 312.5 MB, free: 12.54 MB / 266.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.0004747/0.09071, allocations: 188.7 kB / 312.7 MB, free: 12.37 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001184/0.09085, allocations: 23.92 kB / 312.7 MB, free: 12.34 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.842e-06/0.09087, allocations: 4.062 kB / 312.7 MB, free: 12.34 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.82e-05/0.09092, allocations: 12 kB / 312.7 MB, free: 12.33 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001563/0.09109, allocations: 7.938 kB / 312.7 MB, free: 12.32 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003014/0.0914, allocations: 130.4 kB / 312.9 MB, free: 12.16 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003646/0.09179, allocations: 0.6887 MB / 313.6 MB, free: 11.45 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.728e-05/0.09182, allocations: 7.438 kB / 313.6 MB, free: 11.44 MB / 266.7 MB Notification: Performance of SimCode: time 1.395e-06/0.09183, allocations: 4 kB / 313.6 MB, free: 11.44 MB / 266.7 MB Notification: Performance of Templates: time 0.003494/0.09533, allocations: 1.203 MB / 314.8 MB, free: 10.23 MB / 266.7 MB