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.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: "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.Densities,fileNamePrefix="Modelica_3_2_2_Modelica_Blocks_Examples_NoiseExamples_Densities",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: 8.555 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000342/0.000342, allocations: 16 kB / 264.1 MB, free: 3.477 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2799/0.2803, allocations: 44.5 MB / 308.6 MB, free: 12.77 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Densities): time 0.00212/0.2825, allocations: 1.247 MB / 309.8 MB, free: 11.52 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001132/0.2836, allocations: 0.5234 MB / 310.3 MB, free: 10.98 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.834e-05/0.2837, allocations: 4 kB / 310.3 MB, free: 10.98 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 1.746e-05/0.2837, allocations: 3.938 kB / 310.3 MB, free: 10.98 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 9.239e-05/0.2838, allocations: 15.92 kB / 310.4 MB, free: 10.96 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002172/0.284, allocations: 35.95 kB / 310.4 MB, free: 10.93 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 8.283e-05/0.2841, allocations: 27.91 kB / 310.4 MB, free: 10.9 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/0.2843, allocations: 19.97 kB / 310.4 MB, free: 10.88 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.757e-05/0.2843, allocations: 19.92 kB / 310.5 MB, free: 10.86 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.282e-05/0.2844, allocations: 19.86 kB / 310.5 MB, free: 10.84 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.2844, allocations: 4 kB / 310.5 MB, free: 10.84 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001837/0.2846, allocations: 39.89 kB / 310.5 MB, free: 10.8 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.157e-05/0.2846, allocations: 15.92 kB / 310.5 MB, free: 10.78 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.769e-05/0.2847, allocations: 29.7 kB / 310.6 MB, free: 10.75 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001392/0.2848, allocations: 55.89 kB / 310.6 MB, free: 10.69 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.2849, allocations: 0 / 310.6 MB, free: 10.69 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.2849, allocations: 0 / 310.6 MB, free: 10.69 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.418e-06/0.2849, allocations: 0 / 310.6 MB, free: 10.69 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.000485/0.2854, allocations: 368.1 kB / 311 MB, free: 10.29 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.2854, allocations: 12.03 kB / 311 MB, free: 10.27 MB / 250.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.363e-05/0.2855, allocations: 46.48 kB / 311 MB, free: 10.22 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005289/0.286, allocations: 51.86 kB / 311.1 MB, free: 10.17 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001517/0.2862, allocations: 174.9 kB / 311.3 MB, free: 9.957 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.828e-05/0.2863, allocations: 4 kB / 311.3 MB, free: 9.953 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.687e-05/0.2863, allocations: 8 kB / 311.3 MB, free: 9.945 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003431/0.2866, allocations: 101.6 kB / 311.4 MB, free: 9.84 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.2867, allocations: 0 / 311.4 MB, free: 9.84 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.884e-05/0.2867, allocations: 4 kB / 311.4 MB, free: 9.836 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.293e-06/0.2867, allocations: 3.938 kB / 311.4 MB, free: 9.832 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003964/0.2871, allocations: 87.89 kB / 311.5 MB, free: 9.746 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008169/0.2879, allocations: 368.5 kB / 311.8 MB, free: 9.336 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003433/0.2883, allocations: 82.48 kB / 311.9 MB, free: 9.246 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.894e-05/0.2883, allocations: 4 kB / 311.9 MB, free: 9.242 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.677e-05/0.2884, allocations: 34.56 kB / 311.9 MB, free: 9.199 MB / 250.7 MB Notification: Performance of pre-optimization done (n=5): time 1.703e-06/0.2884, allocations: 0 / 311.9 MB, free: 9.199 MB / 250.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006764/0.2891, allocations: 141.8 kB / 312.1 MB, free: 9.055 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.631e-05/0.2891, allocations: 51.41 kB / 312.1 MB, free: 8.992 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001183/0.2893, allocations: 122.1 kB / 312.2 MB, free: 8.863 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.368e-05/0.2893, allocations: 29.7 kB / 312.3 MB, free: 8.828 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.293e-05/0.2894, allocations: 99.97 kB / 312.4 MB, free: 8.727 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.036e-05/0.2894, allocations: 23.72 kB / 312.4 MB, free: 8.703 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.116e-06/0.2894, allocations: 0 / 312.4 MB, free: 8.703 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.000125/0.2896, allocations: 322.8 kB / 312.7 MB, free: 8.379 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001755/0.2897, allocations: 35.97 kB / 312.7 MB, free: 8.344 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001691/0.2899, allocations: 27.98 kB / 312.8 MB, free: 8.316 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001765/0.2901, allocations: 35.98 kB / 312.8 MB, free: 8.281 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.2901, allocations: 0 / 312.8 MB, free: 8.281 MB / 250.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0004489/0.2906, allocations: 113.4 kB / 312.9 MB, free: 8.164 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/0.2906, allocations: 13.72 kB / 312.9 MB, free: 8.152 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.2906, allocations: 0 / 312.9 MB, free: 8.152 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.2907, allocations: 0 / 312.9 MB, free: 8.152 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002249/0.2909, allocations: 19.98 kB / 312.9 MB, free: 8.133 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.2909, allocations: 0 / 312.9 MB, free: 8.133 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001402/0.2911, allocations: 11.98 kB / 313 MB, free: 8.121 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.811e-05/0.2911, allocations: 4 kB / 313 MB, free: 8.117 MB / 250.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 0.0001263/0.2912, allocations: 113.8 kB / 313.1 MB, free: 7.996 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.134e-05/0.2913, allocations: 11.86 kB / 313.1 MB, free: 7.984 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005297/0.2918, allocations: 129.5 kB / 313.2 MB, free: 7.848 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.2918, allocations: 0 / 313.2 MB, free: 7.848 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.2919, allocations: 0 / 313.2 MB, free: 7.848 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.2919, allocations: 0 / 313.2 MB, free: 7.848 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003274/0.2922, allocations: 197.5 kB / 313.4 MB, free: 7.605 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.2922, allocations: 0.5 kB / 313.4 MB, free: 7.605 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002005/0.2924, allocations: 19.98 kB / 313.4 MB, free: 7.586 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.043e-06/0.2924, allocations: 7.922 kB / 313.4 MB, free: 7.578 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.908e-05/0.2925, allocations: 11.94 kB / 313.4 MB, free: 7.566 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.092e-06/0.2925, allocations: 4 kB / 313.5 MB, free: 7.562 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.2925, allocations: 4 kB / 313.5 MB, free: 7.559 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000519/0.293, allocations: 195.5 kB / 313.6 MB, free: 7.352 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.874e-05/0.2931, allocations: 88.95 kB / 313.7 MB, free: 7.246 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.593e-05/0.2931, allocations: 7.984 kB / 313.7 MB, free: 7.238 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001765/0.2933, allocations: 15.95 kB / 313.8 MB, free: 7.223 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.159e-05/0.2934, allocations: 3.984 kB / 313.8 MB, free: 7.219 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.183e-05/0.2934, allocations: 4 kB / 313.8 MB, free: 7.215 MB / 250.7 MB Notification: Performance of sorting global known variables: time 7.095e-05/0.2935, allocations: 91.27 kB / 313.9 MB, free: 7.125 MB / 250.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.2935, allocations: 0 / 313.9 MB, free: 7.125 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003027/0.2938, allocations: 15.94 kB / 313.9 MB, free: 7.109 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: 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.001013/0.2948, allocations: 0.7827 MB / 314.7 MB, free: 6.301 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0004144/0.2953, allocations: 83.92 kB / 314.7 MB, free: 6.219 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2953, allocations: 0 / 314.7 MB, free: 6.219 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001959/0.2955, allocations: 39.98 kB / 314.8 MB, free: 6.18 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002453/0.2957, allocations: 14.69 kB / 314.8 MB, free: 6.168 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001671/0.2974, allocations: 0.6172 MB / 315.4 MB, free: 5.5 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002973/0.2977, allocations: 0.7004 MB / 316.1 MB, free: 4.773 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 8.868e-05/0.2978, allocations: 4 kB / 316.1 MB, free: 4.77 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.302e-05/0.2979, allocations: 27.42 kB / 316.1 MB, free: 4.742 MB / 250.7 MB Notification: Performance of SimCode: time 8.41e-07/0.298, allocations: 4 kB / 316.1 MB, free: 4.738 MB / 250.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02278/0.3207, allocations: 1.637 MB / 317.8 MB, free: 3.145 MB / 250.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002997/0.3211, allocations: 197.4 kB / 318 MB, free: 2.887 MB / 250.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.35/2.671, allocations: 0 / 318 MB, free: 2.887 MB / 250.7 MB "" Variables in the reference:time,uniformDensity_y,normalDensity_y,weibullDensity_y Variables in the result:add.k1,add.k2,add.u1,add.u2,add.y,clock.offset,clock.startTime,clock.y,const.k,const.y,normalDensity.mu,normalDensity.sigma,normalDensity.u,normalDensity.y,normalDensity_y,time,uniformDensity.u,uniformDensity.u_max,uniformDensity.u_min,uniformDensity.y,uniformDensity_y,weibullDensity.k,weibullDensity.lambda,weibullDensity.u,weibullDensity.y,weibullDensity_y