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.Distributions.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.Distributions,fileNamePrefix="Modelica_3_2_2_Modelica_Blocks_Examples_NoiseExamples_Distributions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.917/1.917, allocations: 194.9 MB / 211.1 MB, free: 7.602 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003474/0.0003475, allocations: 12 kB / 264.1 MB, free: 2.527 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2831/0.2835, allocations: 44.51 MB / 308.6 MB, free: 12.66 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Distributions): time 0.002168/0.2857, allocations: 1.238 MB / 309.8 MB, free: 11.41 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003217/0.289, allocations: 1.365 MB / 311.2 MB, free: 10.04 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.626e-05/0.2891, allocations: 0 / 311.2 MB, free: 10.04 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 9.498e-05/0.2892, allocations: 3.938 kB / 311.2 MB, free: 10.03 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001205/0.2893, allocations: 27.89 kB / 311.2 MB, free: 10 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001187/0.2905, allocations: 307.1 kB / 311.5 MB, free: 9.703 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001591/0.2907, allocations: 79.84 kB / 311.6 MB, free: 9.625 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.934e-05/0.2908, allocations: 13.48 kB / 311.6 MB, free: 9.605 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.953e-05/0.2909, allocations: 43.78 kB / 311.6 MB, free: 9.562 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.967e-05/0.291, allocations: 63.73 kB / 311.7 MB, free: 9.5 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.817e-05/0.291, allocations: 4 kB / 311.7 MB, free: 9.496 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009921/0.292, allocations: 447.3 kB / 312.1 MB, free: 9.059 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.824e-05/0.2921, allocations: 27.91 kB / 312.2 MB, free: 9.031 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.551e-05/0.2922, allocations: 49.58 kB / 312.2 MB, free: 8.977 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006626/0.2928, allocations: 280.5 kB / 312.5 MB, free: 8.703 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.2929, allocations: 0 / 312.5 MB, free: 8.703 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.2929, allocations: 0 / 312.5 MB, free: 8.703 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.2929, allocations: 0 / 312.5 MB, free: 8.703 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0009467/0.2938, allocations: 0.4985 MB / 313 MB, free: 8.156 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.2939, allocations: 8.031 kB / 313 MB, free: 8.148 MB / 250.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.047e-05/0.294, allocations: 42.55 kB / 313 MB, free: 8.098 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002852/0.2943, allocations: 39.66 kB / 313.1 MB, free: 8.059 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002158/0.2945, allocations: 195.7 kB / 313.3 MB, free: 7.828 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.982e-05/0.2946, allocations: 11.94 kB / 313.3 MB, free: 7.816 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.373e-05/0.2946, allocations: 15.94 kB / 313.3 MB, free: 7.801 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000382/0.295, allocations: 132.2 kB / 313.4 MB, free: 7.656 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.295, allocations: 0 / 313.4 MB, free: 7.656 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.107e-05/0.2951, allocations: 7.984 kB / 313.4 MB, free: 7.648 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.958e-06/0.2951, allocations: 7.953 kB / 313.4 MB, free: 7.641 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003627/0.2954, allocations: 75.89 kB / 313.5 MB, free: 7.566 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001096/0.2966, allocations: 0.5635 MB / 314.1 MB, free: 6.945 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005909/0.2972, allocations: 163.8 kB / 314.2 MB, free: 6.758 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.737e-05/0.2972, allocations: 4.062 kB / 314.2 MB, free: 6.754 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004442/0.2977, allocations: 157.8 kB / 314.4 MB, free: 6.578 MB / 250.7 MB Notification: Performance of pre-optimization done (n=17): time 1.894e-06/0.2977, allocations: 0 / 314.4 MB, free: 6.578 MB / 250.7 MB Notification: Performance of matching and sorting (n=17): time 0.001046/0.2987, allocations: 427.6 kB / 314.8 MB, free: 6.117 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.143e-05/0.2988, allocations: 122.9 kB / 314.9 MB, free: 5.973 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002716/0.2991, allocations: 195 kB / 315.1 MB, free: 5.773 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 6.311e-05/0.2992, allocations: 45.69 kB / 315.2 MB, free: 5.723 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.691e-05/0.2993, allocations: 112.5 kB / 315.3 MB, free: 5.609 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.782e-05/0.2994, allocations: 47.61 kB / 315.3 MB, free: 5.562 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.876e-05/0.2994, allocations: 4 kB / 315.3 MB, free: 5.559 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001416/0.2996, allocations: 330.8 kB / 315.6 MB, free: 5.227 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003528/0.2999, allocations: 104 kB / 315.7 MB, free: 5.125 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003836/0.3003, allocations: 143.3 kB / 315.9 MB, free: 4.973 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003966/0.3007, allocations: 119.9 kB / 316 MB, free: 4.855 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.3007, allocations: 0 / 316 MB, free: 4.855 MB / 250.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0009023/0.3017, allocations: 321.2 kB / 316.3 MB, free: 4.535 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.204e-05/0.3017, allocations: 9.672 kB / 316.3 MB, free: 4.527 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.3017, allocations: 4 kB / 316.3 MB, free: 4.523 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.3017, allocations: 0 / 316.3 MB, free: 4.523 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000278/0.302, allocations: 35.91 kB / 316.4 MB, free: 4.488 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.149e-05/0.3021, allocations: 4 kB / 316.4 MB, free: 4.484 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001557/0.3022, allocations: 23.94 kB / 316.4 MB, free: 4.461 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.941e-05/0.3023, allocations: 8 kB / 316.4 MB, free: 4.453 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 33 ($whenCondition2,$whenCondition1,n,$PRE.uniformNoise.state[1],uniformNoise.state[1],$PRE.uniformNoise.state[2],uniformNoise.state[2],$PRE.uniformNoise.state[3],uniformNoise.state[3],$PRE.uniformNoise.state[4],uniformNoise.state[4],$PRE.uniformNoise.r,uniformNoise.r,$PRE.uniformNoise.r_raw,uniformNoise.r_raw,$PRE.truncatedNormalNoise.state[1],truncatedNormalNoise.state[1],$PRE.truncatedNormalNoise.state[2],truncatedNormalNoise.state[2],$PRE.truncatedNormalNoise.state[3],truncatedNormalNoise.state[3],$PRE.truncatedNormalNoise.state[4],truncatedNormalNoise.state[4],$PRE.truncatedNormalNoise.r,truncatedNormalNoise.r,$PRE.truncatedNormalNoise.r_raw,truncatedNormalNoise.r_raw,globalSeed.id_impure,uniformNoise.localSeed,uniformNoise.actualGlobalSeed,truncatedNormalNoise.localSeed,truncatedNormalNoise.actualGlobalSeed,globalSeed.seed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 27 * Array equations: 2 * 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.0002035/0.3025, allocations: 149.8 kB / 316.5 MB, free: 4.297 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.139e-05/0.3025, allocations: 19.8 kB / 316.6 MB, free: 4.277 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.432e-05/0.3026, allocations: 17.36 kB / 316.6 MB, free: 4.262 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.3026, allocations: 3.938 kB / 316.6 MB, free: 4.258 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/0.3026, allocations: 4 kB / 316.6 MB, free: 4.254 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.698e-06/0.3026, allocations: 4 kB / 316.6 MB, free: 4.25 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002821/0.3029, allocations: 213.5 kB / 316.8 MB, free: 3.992 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.3029, allocations: 3.984 kB / 316.8 MB, free: 3.988 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001021/0.303, allocations: 12 kB / 316.8 MB, free: 3.977 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.3031, allocations: 0 / 316.8 MB, free: 3.977 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.814e-05/0.3031, allocations: 11.98 kB / 316.8 MB, free: 3.965 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.452e-06/0.3031, allocations: 7.891 kB / 316.8 MB, free: 3.957 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.3031, allocations: 0 / 316.8 MB, free: 3.957 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006395/0.3038, allocations: 234.7 kB / 317.1 MB, free: 3.703 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.622e-05/0.3039, allocations: 100.8 kB / 317.2 MB, free: 3.586 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.731e-05/0.3039, allocations: 15.98 kB / 317.2 MB, free: 3.57 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001189/0.3041, allocations: 12 kB / 317.2 MB, free: 3.559 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.881e-05/0.3041, allocations: 23.86 kB / 317.2 MB, free: 3.535 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.568e-05/0.3042, allocations: 4 kB / 317.2 MB, free: 3.531 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001752/0.3044, allocations: 137.2 kB / 317.4 MB, free: 3.398 MB / 250.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.3044, allocations: 0 / 317.4 MB, free: 3.398 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0006301/0.305, allocations: 135.9 kB / 317.5 MB, free: 3.266 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition2,truncatedNormalNoise.state[1],truncatedNormalNoise.state[2],truncatedNormalNoise.state[3],truncatedNormalNoise.state[4],truncatedNormalNoise.r,truncatedNormalNoise.r_raw,$whenCondition1,uniformNoise.state[1],uniformNoise.state[2],uniformNoise.state[3],uniformNoise.state[4],uniformNoise.r,uniformNoise.r_raw,n) * Number of discrete states: 8 (uniformNoise.state[1],uniformNoise.state[2],uniformNoise.state[3],uniformNoise.state[4],truncatedNormalNoise.state[1],truncatedNormalNoise.state[2],truncatedNormalNoise.state[3],truncatedNormalNoise.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002267/0.3073, allocations: 1.095 MB / 318.6 MB, free: 2.176 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0007115/0.308, allocations: 195.8 kB / 318.8 MB, free: 1.984 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.308, allocations: 4.188 kB / 318.8 MB, free: 1.98 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002766/0.3083, allocations: 75.89 kB / 318.8 MB, free: 1.906 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002052/0.3085, allocations: 16.31 kB / 318.9 MB, free: 1.891 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001181/0.3097, allocations: 0.6016 MB / 319.5 MB, free: 1.227 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003389/0.3101, allocations: 0.7201 MB / 320.2 MB, free: 492 kB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001131/0.3102, allocations: 25.39 kB / 320.2 MB, free: 464 kB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001195/0.3104, allocations: 51.42 kB / 320.3 MB, free: 412 kB / 250.7 MB Notification: Performance of SimCode: time 9.52e-07/0.3104, allocations: 0 / 320.3 MB, free: 412 kB / 250.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02813/0.3385, allocations: 5.135 MB / 325.4 MB, free: 11.27 MB / 266.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003655/0.3389, allocations: 225.2 kB / 325.6 MB, free: 11.03 MB / 266.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.463/2.802, allocations: 4.062 kB / 325.6 MB, free: 11.02 MB / 266.7 MB