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: translateModel(Modelica.Blocks.Examples.NoiseExamples.Distributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|uniformNoise_y|truncatedNormalNoise_y",fileNamePrefix="Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.Distributions") Notification: Performance of loadModel(Modelica): time 2.334/2.334, allocations: 194.8 MB / 211.7 MB, free: 3.016 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003779/0.0003781, allocations: 8 kB / 264.5 MB, free: 12.96 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1042, allocations: 44.51 MB / 309 MB, free: 388 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4574/0.5617, allocations: 74.05 MB / 383.1 MB, free: 15.36 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002873/0.5621, allocations: 78.28 kB / 383.2 MB, free: 15.36 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03417/0.5963, allocations: 7.559 MB / 390.7 MB, free: 14.56 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.5963, allocations: 0 / 390.7 MB, free: 14.56 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.045e-05/0.5964, allocations: 3.875 kB / 390.7 MB, free: 14.56 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001129/0.5975, allocations: 0.5194 MB / 391.3 MB, free: 14.1 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.5975, allocations: 11.81 kB / 391.3 MB, free: 14.1 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000297/0.5979, allocations: 32.06 kB / 391.3 MB, free: 14.09 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00019/0.5981, allocations: 204.3 kB / 391.5 MB, free: 13.88 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.243e-05/0.5981, allocations: 7.062 kB / 391.5 MB, free: 13.88 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.13e-05/0.5982, allocations: 7.844 kB / 391.5 MB, free: 13.88 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003749/0.5985, allocations: 132.9 kB / 391.6 MB, free: 13.81 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.5986, allocations: 0 / 391.6 MB, free: 13.81 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.819e-05/0.5986, allocations: 0 / 391.6 MB, free: 13.81 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.877e-06/0.5986, allocations: 3.75 kB / 391.6 MB, free: 13.81 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003311/0.599, allocations: 73.58 kB / 391.7 MB, free: 13.81 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009434/0.5999, allocations: 0.5669 MB / 392.3 MB, free: 13.37 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005234/0.6005, allocations: 162.8 kB / 392.4 MB, free: 13.29 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.893e-05/0.6005, allocations: 7.938 kB / 392.5 MB, free: 13.28 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003692/0.6009, allocations: 163.5 kB / 392.6 MB, free: 13.2 MB / 314.7 MB Notification: Performance of pre-optimization done (n=17): time 2.565e-06/0.6009, allocations: 0 / 392.6 MB, free: 13.2 MB / 314.7 MB Notification: Performance of matching and sorting (n=17): time 0.0009568/0.6019, allocations: 426.7 kB / 393 MB, free: 12.96 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.271e-05/0.602, allocations: 119.7 kB / 393.1 MB, free: 12.84 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002212/0.6022, allocations: 197.4 kB / 393.3 MB, free: 12.73 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.394e-05/0.6023, allocations: 39.83 kB / 393.4 MB, free: 12.7 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.861e-05/0.6024, allocations: 115.4 kB / 393.5 MB, free: 12.62 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.253e-05/0.6024, allocations: 37.86 kB / 393.5 MB, free: 12.6 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.937e-05/0.6025, allocations: 3.938 kB / 393.5 MB, free: 12.6 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.59e-05/0.6026, allocations: 338.3 kB / 393.9 MB, free: 12.29 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003281/0.6029, allocations: 93.17 kB / 394 MB, free: 12.29 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000336/0.6032, allocations: 130.6 kB / 394.1 MB, free: 12.25 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003379/0.6036, allocations: 111.8 kB / 394.2 MB, free: 12.24 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.6036, allocations: 4 kB / 394.2 MB, free: 12.24 MB / 314.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0008404/0.6045, allocations: 294.9 kB / 394.5 MB, free: 12.18 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/0.6045, allocations: 9.406 kB / 394.5 MB, free: 12.18 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.452e-05/0.6045, allocations: 0 / 394.5 MB, free: 12.18 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.26e-05/0.6046, allocations: 3.938 kB / 394.5 MB, free: 12.18 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002343/0.6048, allocations: 36.77 kB / 394.5 MB, free: 12.18 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.099e-05/0.6048, allocations: 3.812 kB / 394.5 MB, free: 12.18 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001578/0.605, allocations: 29.8 kB / 394.6 MB, free: 12.16 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.638e-05/0.6051, allocations: 11.62 kB / 394.6 MB, free: 12.16 MB / 314.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.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,$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,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): 25 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * 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.0002105/0.6053, allocations: 153 kB / 394.7 MB, free: 12.03 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.322e-05/0.6053, allocations: 23.06 kB / 394.7 MB, free: 12.02 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.415e-05/0.6054, allocations: 16.03 kB / 394.8 MB, free: 12.02 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.618e-06/0.6054, allocations: 0 / 394.8 MB, free: 12.02 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.6054, allocations: 3.844 kB / 394.8 MB, free: 12.02 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.6054, allocations: 0 / 394.8 MB, free: 12.02 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000243/0.6057, allocations: 222.7 kB / 395 MB, free: 11.82 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.6057, allocations: 3.906 kB / 395 MB, free: 11.82 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.884e-05/0.6058, allocations: 10.67 kB / 395 MB, free: 11.82 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.169e-06/0.6058, allocations: 3.906 kB / 395 MB, free: 11.82 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.75e-05/0.6059, allocations: 4 kB / 395 MB, free: 11.82 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.6059, allocations: 3.875 kB / 395 MB, free: 11.82 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.6059, allocations: 0 / 395 MB, free: 11.82 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005995/0.6065, allocations: 256.6 kB / 395.3 MB, free: 11.71 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.304e-05/0.6066, allocations: 98.83 kB / 395.4 MB, free: 11.61 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.283e-05/0.6067, allocations: 14.52 kB / 395.4 MB, free: 11.61 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001164/0.6068, allocations: 3.875 kB / 395.4 MB, free: 11.61 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.966e-05/0.6069, allocations: 17.81 kB / 395.4 MB, free: 11.61 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.247e-05/0.6069, allocations: 7.062 kB / 395.4 MB, free: 11.61 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001402/0.6071, allocations: 140 kB / 395.5 MB, free: 11.53 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.3e-07/0.6071, allocations: 4 kB / 395.5 MB, free: 11.52 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000833/0.6079, allocations: 155.3 kB / 395.7 MB, free: 11.48 MB / 314.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,uniformNoise.state[1],uniformNoise.state[2],uniformNoise.state[3],uniformNoise.state[4],uniformNoise.r,uniformNoise.r_raw,$whenCondition1,truncatedNormalNoise.state[1],truncatedNormalNoise.state[2],truncatedNormalNoise.state[3],truncatedNormalNoise.state[4],truncatedNormalNoise.r,truncatedNormalNoise.r_raw,n) * Number of discrete states: 8 (truncatedNormalNoise.state[1],truncatedNormalNoise.state[2],truncatedNormalNoise.state[3],truncatedNormalNoise.state[4],uniformNoise.state[1],uniformNoise.state[2],uniformNoise.state[3],uniformNoise.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.001334/0.6093, allocations: 413.6 kB / 396.1 MB, free: 11.27 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0008061/0.6101, allocations: 264.6 kB / 396.4 MB, free: 11.2 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.6101, allocations: 0 / 396.4 MB, free: 11.2 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002472/0.6104, allocations: 68.72 kB / 396.4 MB, free: 11.2 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002267/0.6106, allocations: 14.77 kB / 396.4 MB, free: 11.19 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006684/0.6113, allocations: 303.1 kB / 396.7 MB, free: 10.99 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001799/0.6115, allocations: 0.7261 MB / 397.5 MB, free: 10.29 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000118/0.6117, allocations: 24.59 kB / 397.5 MB, free: 10.28 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.4e-05/0.6117, allocations: 15.06 kB / 397.5 MB, free: 10.27 MB / 314.7 MB Notification: Performance of SimCode: time 9.11e-07/0.6117, allocations: 0 / 397.5 MB, free: 10.27 MB / 314.7 MB Notification: Performance of Templates: time 0.01077/0.6225, allocations: 3.745 MB / 401.2 MB, free: 9.91 MB / 314.7 MB