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: "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator,fileNamePrefix="Modelica_3_2_2_Modelica_Blocks_Examples_NoiseExamples_ImpureGenerator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.857/1.857, allocations: 194.9 MB / 211.1 MB, free: 8.562 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003421/0.0003424, allocations: 12 kB / 264 MB, free: 3.504 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2821/0.2825, allocations: 44.52 MB / 308.6 MB, free: 12.68 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator): time 0.001773/0.2843, allocations: 1.062 MB / 309.6 MB, free: 11.61 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009166/0.2853, allocations: 340 kB / 309.9 MB, free: 11.28 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.115e-05/0.2853, allocations: 0 / 309.9 MB, free: 11.28 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 1.364e-05/0.2853, allocations: 0 / 309.9 MB, free: 11.28 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 5.627e-05/0.2854, allocations: 3.984 kB / 310 MB, free: 11.27 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000445/0.2859, allocations: 63.8 kB / 310 MB, free: 11.21 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 5.496e-05/0.2859, allocations: 23.86 kB / 310 MB, free: 11.19 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.222e-05/0.286, allocations: 0 / 310 MB, free: 11.19 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.789e-05/0.286, allocations: 7.984 kB / 310 MB, free: 11.18 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.355e-05/0.2861, allocations: 7.938 kB / 310.1 MB, free: 11.17 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.031e-05/0.2861, allocations: 0 / 310.1 MB, free: 11.17 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000205/0.2863, allocations: 67.91 kB / 310.1 MB, free: 11.11 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.763e-05/0.2863, allocations: 8 kB / 310.1 MB, free: 11.1 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.551e-05/0.2864, allocations: 25.7 kB / 310.2 MB, free: 11.07 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001533/0.2865, allocations: 55.91 kB / 310.2 MB, free: 11.01 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.2866, allocations: 0 / 310.2 MB, free: 11.01 MB / 250.7 MB Notification: Performance of FrontEnd: time 4.208e-06/0.2866, allocations: 0 / 310.2 MB, free: 11.01 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.162e-06/0.2866, allocations: 3.938 kB / 310.2 MB, free: 11.01 MB / 250.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.000424/0.287, allocations: 343.3 kB / 310.5 MB, free: 10.62 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/0.2871, allocations: 16.02 kB / 310.6 MB, free: 10.61 MB / 250.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.021e-05/0.2871, allocations: 30.56 kB / 310.6 MB, free: 10.57 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.65e-05/0.2872, allocations: 0 / 310.6 MB, free: 10.57 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001467/0.2873, allocations: 172 kB / 310.8 MB, free: 10.36 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.612e-05/0.2874, allocations: 0 / 310.8 MB, free: 10.36 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.39e-05/0.2874, allocations: 0 / 310.8 MB, free: 10.36 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001031/0.2875, allocations: 37.69 kB / 310.8 MB, free: 10.32 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.2875, allocations: 3.938 kB / 310.8 MB, free: 10.32 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.2875, allocations: 4 kB / 310.8 MB, free: 10.31 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.2875, allocations: 0 / 310.8 MB, free: 10.31 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.436e-05/0.2876, allocations: 11.94 kB / 310.8 MB, free: 10.3 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004289/0.288, allocations: 260.8 kB / 311.1 MB, free: 9.996 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.541e-05/0.2881, allocations: 30.56 kB / 311.1 MB, free: 9.957 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.022e-05/0.2881, allocations: 0 / 311.1 MB, free: 9.957 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001318/0.2883, allocations: 55.41 kB / 311.2 MB, free: 9.891 MB / 250.7 MB Notification: Performance of pre-optimization done (n=3): time 5.159e-06/0.2883, allocations: 3.984 kB / 311.2 MB, free: 9.887 MB / 250.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001898/0.2885, allocations: 53.69 kB / 311.2 MB, free: 9.828 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.337e-05/0.2886, allocations: 55.34 kB / 311.3 MB, free: 9.762 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.299e-05/0.2887, allocations: 105.8 kB / 311.4 MB, free: 9.648 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.435e-05/0.2887, allocations: 25.7 kB / 311.4 MB, free: 9.617 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.468e-05/0.2888, allocations: 88.12 kB / 311.5 MB, free: 9.527 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.399e-05/0.2888, allocations: 7.906 kB / 311.5 MB, free: 9.52 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.988e-06/0.2888, allocations: 0 / 311.5 MB, free: 9.52 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001366/0.2889, allocations: 326.8 kB / 311.8 MB, free: 9.191 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.094e-05/0.289, allocations: 4 kB / 311.8 MB, free: 9.188 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.198e-05/0.2891, allocations: 21.7 kB / 311.8 MB, free: 9.16 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.24e-05/0.2891, allocations: 15.94 kB / 311.8 MB, free: 9.145 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.2891, allocations: 0 / 311.8 MB, free: 9.145 MB / 250.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001295/0.2893, allocations: 53.59 kB / 311.9 MB, free: 9.086 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.2893, allocations: 4 kB / 311.9 MB, free: 9.082 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.2893, allocations: 4.031 kB / 311.9 MB, free: 9.078 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.2893, allocations: 4 kB / 311.9 MB, free: 9.074 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.309e-05/0.2894, allocations: 11.94 kB / 311.9 MB, free: 9.062 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.2894, allocations: 0 / 311.9 MB, free: 9.062 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.669e-05/0.2895, allocations: 4 kB / 311.9 MB, free: 9.059 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.195e-06/0.2895, allocations: 0 / 311.9 MB, free: 9.059 MB / 250.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 9.706e-05/0.2896, allocations: 117.8 kB / 312 MB, free: 8.934 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.057e-05/0.2896, allocations: 0 / 312 MB, free: 8.934 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.401e-05/0.2897, allocations: 7.906 kB / 312.1 MB, free: 8.918 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.2897, allocations: 8 kB / 312.1 MB, free: 8.91 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.2897, allocations: 0 / 312.1 MB, free: 8.91 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.2897, allocations: 0 / 312.1 MB, free: 8.91 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002996/0.29, allocations: 286.5 kB / 312.3 MB, free: 8.574 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.29, allocations: 0 / 312.3 MB, free: 8.574 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.05e-05/0.29, allocations: 4 kB / 312.3 MB, free: 8.57 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.443e-06/0.2901, allocations: 3.938 kB / 312.3 MB, free: 8.566 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.2901, allocations: 3.938 kB / 312.4 MB, free: 8.562 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.2901, allocations: 0 / 312.4 MB, free: 8.562 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.2901, allocations: 0 / 312.4 MB, free: 8.562 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000154/0.2903, allocations: 155.4 kB / 312.5 MB, free: 8.395 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.516e-05/0.2903, allocations: 77.11 kB / 312.6 MB, free: 8.301 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.725e-05/0.2904, allocations: 7.984 kB / 312.6 MB, free: 8.293 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.593e-05/0.2904, allocations: 384 / 312.6 MB, free: 8.293 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.302e-05/0.2905, allocations: 0 / 312.6 MB, free: 8.293 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.487e-05/0.2905, allocations: 4 kB / 312.6 MB, free: 8.289 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.099e-05/0.2905, allocations: 87.28 kB / 312.7 MB, free: 8.203 MB / 250.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.2905, allocations: 4 kB / 312.7 MB, free: 8.199 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000356/0.2909, allocations: 27.98 kB / 312.7 MB, free: 8.172 MB / 250.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.0008427/0.2918, allocations: 0.7694 MB / 313.5 MB, free: 7.406 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001129/0.2919, allocations: 27.92 kB / 313.5 MB, free: 7.379 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.2919, allocations: 0 / 313.5 MB, free: 7.379 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.463e-05/0.292, allocations: 8 kB / 313.5 MB, free: 7.371 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001505/0.2921, allocations: 0 / 313.5 MB, free: 7.371 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006029/0.2927, allocations: 335.4 kB / 313.8 MB, free: 6.992 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003265/0.2931, allocations: 0.6848 MB / 314.5 MB, free: 6.281 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.399e-05/0.2931, allocations: 4 kB / 314.5 MB, free: 6.277 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.58e-05/0.2932, allocations: 15.42 kB / 314.5 MB, free: 6.266 MB / 250.7 MB Notification: Performance of SimCode: time 1.082e-06/0.2932, allocations: 0 / 314.5 MB, free: 6.266 MB / 250.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02258/0.3158, allocations: 1.667 MB / 316.2 MB, free: 4.617 MB / 250.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000282/0.3162, allocations: 223.5 kB / 316.4 MB, free: 4.379 MB / 250.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.339/2.656, allocations: 0 / 316.4 MB, free: 4.379 MB / 250.7 MB