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.UniformNoise.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.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|uniformNoise2_y",fileNamePrefix="Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.UniformNoise") Notification: Performance of loadModel(Modelica): time 2.408/2.408, allocations: 194.9 MB / 211.7 MB, free: 2.996 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003847/0.0003847, allocations: 15.92 kB / 264.5 MB, free: 12.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.1054, allocations: 44.5 MB / 309 MB, free: 368 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4344/0.5398, allocations: 71.97 MB / 381 MB, free: 15.35 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002852/0.5402, allocations: 73.38 kB / 381.1 MB, free: 15.35 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01794/0.5582, allocations: 4.171 MB / 385.3 MB, free: 14.8 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.5582, allocations: 0 / 385.3 MB, free: 14.8 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.798e-06/0.5582, allocations: 2.438 kB / 385.3 MB, free: 14.8 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007907/0.559, allocations: 452.4 kB / 385.7 MB, free: 14.39 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.5591, allocations: 9.188 kB / 385.7 MB, free: 14.39 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004169/0.5595, allocations: 44.92 kB / 385.8 MB, free: 14.38 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001674/0.5597, allocations: 195.2 kB / 385.9 MB, free: 14.16 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.078e-05/0.5597, allocations: 2.75 kB / 385.9 MB, free: 14.16 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.117e-05/0.5598, allocations: 5.25 kB / 386 MB, free: 14.16 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003263/0.5601, allocations: 118.1 kB / 386.1 MB, free: 14.11 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.5601, allocations: 1.438 kB / 386.1 MB, free: 14.11 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.056e-05/0.5602, allocations: 10.14 kB / 386.1 MB, free: 14.11 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.5602, allocations: 5.344 kB / 386.1 MB, free: 14.11 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002981/0.5605, allocations: 65.7 kB / 386.1 MB, free: 14.1 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008325/0.5614, allocations: 390.3 kB / 386.5 MB, free: 13.82 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005045/0.5619, allocations: 142.9 kB / 386.7 MB, free: 13.77 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.55e-05/0.5619, allocations: 1.281 kB / 386.7 MB, free: 13.77 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003892/0.5623, allocations: 141 kB / 386.8 MB, free: 13.7 MB / 314.7 MB Notification: Performance of pre-optimization done (n=16): time 3.125e-06/0.5623, allocations: 0 / 386.8 MB, free: 13.7 MB / 314.7 MB Notification: Performance of matching and sorting (n=16): time 0.0009589/0.5633, allocations: 412.1 kB / 387.2 MB, free: 13.46 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.652e-05/0.5634, allocations: 96.22 kB / 387.3 MB, free: 13.37 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002303/0.5636, allocations: 183.6 kB / 387.5 MB, free: 13.26 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.358e-05/0.5637, allocations: 47.11 kB / 387.5 MB, free: 13.23 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.575e-05/0.5638, allocations: 109 kB / 387.6 MB, free: 13.14 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.975e-05/0.5639, allocations: 34.45 kB / 387.7 MB, free: 13.12 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.115e-05/0.5639, allocations: 5.688 kB / 387.7 MB, free: 13.12 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.383e-05/0.564, allocations: 331.5 kB / 388 MB, free: 12.81 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003315/0.5644, allocations: 95.44 kB / 388.1 MB, free: 12.8 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003502/0.5647, allocations: 119.2 kB / 388.2 MB, free: 12.77 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003458/0.5651, allocations: 101.5 kB / 388.3 MB, free: 12.77 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.5651, allocations: 5.156 kB / 388.3 MB, free: 12.77 MB / 314.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0008734/0.566, allocations: 289.4 kB / 388.6 MB, free: 12.71 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/0.566, allocations: 5.156 kB / 388.6 MB, free: 12.71 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.415e-05/0.5661, allocations: 2.531 kB / 388.6 MB, free: 12.71 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.254e-05/0.5661, allocations: 2.594 kB / 388.6 MB, free: 12.71 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002293/0.5663, allocations: 35.95 kB / 388.6 MB, free: 12.71 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.358e-05/0.5664, allocations: 3.344 kB / 388.6 MB, free: 12.71 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001497/0.5665, allocations: 28.64 kB / 388.7 MB, free: 12.69 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.984e-05/0.5666, allocations: 9.297 kB / 388.7 MB, free: 12.69 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 32 ($whenCondition2,$whenCondition1,$PRE.uniformNoise2.state[1],uniformNoise2.state[1],$PRE.uniformNoise2.state[2],uniformNoise2.state[2],$PRE.uniformNoise2.state[3],uniformNoise2.state[3],$PRE.uniformNoise2.state[4],uniformNoise2.state[4],$PRE.uniformNoise2.r,uniformNoise2.r,$PRE.uniformNoise2.r_raw,uniformNoise2.r_raw,$PRE.uniformNoise1.state[1],uniformNoise1.state[1],$PRE.uniformNoise1.state[2],uniformNoise1.state[2],$PRE.uniformNoise1.state[3],uniformNoise1.state[3],$PRE.uniformNoise1.state[4],uniformNoise1.state[4],$PRE.uniformNoise1.r,uniformNoise1.r,$PRE.uniformNoise1.r_raw,uniformNoise1.r_raw,globalSeed.id_impure,uniformNoise1.localSeed,uniformNoise1.actualGlobalSeed,uniformNoise2.localSeed,uniformNoise2.actualGlobalSeed,globalSeed.seed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 24 * 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.0002013/0.5668, allocations: 154.1 kB / 388.8 MB, free: 12.56 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.17e-05/0.5668, allocations: 14.03 kB / 388.8 MB, free: 12.55 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.177e-05/0.5669, allocations: 21.28 kB / 388.9 MB, free: 12.55 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.5669, allocations: 1.156 kB / 388.9 MB, free: 12.55 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.5669, allocations: 5.219 kB / 388.9 MB, free: 12.55 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.78e-06/0.5669, allocations: 1.078 kB / 388.9 MB, free: 12.55 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002309/0.5672, allocations: 209.2 kB / 389.1 MB, free: 12.35 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.5672, allocations: 1.312 kB / 389.1 MB, free: 12.35 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.992e-05/0.5673, allocations: 13.19 kB / 389.1 MB, free: 12.35 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.932e-06/0.5673, allocations: 2.5 kB / 389.1 MB, free: 12.35 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.87e-05/0.5673, allocations: 3.406 kB / 389.1 MB, free: 12.35 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.5673, allocations: 5.219 kB / 389.1 MB, free: 12.35 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.5674, allocations: 0 / 389.1 MB, free: 12.35 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005768/0.5679, allocations: 238 kB / 389.3 MB, free: 12.26 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.941e-05/0.568, allocations: 92.64 kB / 389.4 MB, free: 12.15 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.905e-05/0.5681, allocations: 17.06 kB / 389.4 MB, free: 12.15 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.982e-05/0.5682, allocations: 6.875 kB / 389.4 MB, free: 12.15 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.666e-05/0.5683, allocations: 14.58 kB / 389.5 MB, free: 12.15 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.652e-05/0.5683, allocations: 6.609 kB / 389.5 MB, free: 12.15 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001352/0.5685, allocations: 122.9 kB / 389.6 MB, free: 12.07 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.5685, allocations: 0 / 389.6 MB, free: 12.07 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005438/0.569, allocations: 61.69 kB / 389.7 MB, free: 12.06 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition2,uniformNoise1.state[1],uniformNoise1.state[2],uniformNoise1.state[3],uniformNoise1.state[4],uniformNoise1.r,uniformNoise1.r_raw,$whenCondition1,uniformNoise2.state[1],uniformNoise2.state[2],uniformNoise2.state[3],uniformNoise2.state[4],uniformNoise2.r,uniformNoise2.r_raw) * Number of discrete states: 8 (uniformNoise2.state[1],uniformNoise2.state[2],uniformNoise2.state[3],uniformNoise2.state[4],uniformNoise1.state[1],uniformNoise1.state[2],uniformNoise1.state[3],uniformNoise1.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * 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.0006604/0.5697, allocations: 254.2 kB / 389.9 MB, free: 11.91 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007032/0.5704, allocations: 248.4 kB / 390.1 MB, free: 11.84 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.5704, allocations: 0 / 390.1 MB, free: 11.84 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002119/0.5707, allocations: 71.31 kB / 390.2 MB, free: 11.84 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001728/0.5708, allocations: 17.36 kB / 390.2 MB, free: 11.83 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00059/0.5714, allocations: 267.6 kB / 390.5 MB, free: 11.65 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001806/0.5716, allocations: 0.7247 MB / 391.2 MB, free: 10.94 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 8.48e-05/0.5717, allocations: 14.14 kB / 391.2 MB, free: 10.94 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.22e-05/0.5718, allocations: 15.22 kB / 391.2 MB, free: 10.93 MB / 314.7 MB Notification: Performance of SimCode: time 9.72e-07/0.5718, allocations: 0 / 391.2 MB, free: 10.93 MB / 314.7 MB Notification: Performance of Templates: time 0.007322/0.5791, allocations: 2.205 MB / 393.4 MB, free: 10.72 MB / 314.7 MB