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.DrydenContinuousTurbulence.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.DrydenContinuousTurbulence,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Hw.x_scaled.1.|Hw.x_scaled.2.",fileNamePrefix="Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence") Notification: Performance of loadModel(Modelica): time 2.248/2.248, allocations: 194.8 MB / 211.7 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000567/0.0005671, allocations: 8 kB / 264.5 MB, free: 12.95 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1345/0.1351, allocations: 44.5 MB / 309 MB, free: 388 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5114/0.6466, allocations: 74.2 MB / 383.2 MB, free: 15.34 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002895/0.647, allocations: 79.97 kB / 383.3 MB, free: 15.34 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03226/0.6793, allocations: 6.36 MB / 389.7 MB, free: 14.65 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.6793, allocations: 3.938 kB / 389.7 MB, free: 14.65 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.955e-05/0.6794, allocations: 3.906 kB / 389.7 MB, free: 14.65 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.001689/0.6811, allocations: 0.5393 MB / 390.2 MB, free: 14.2 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.6811, allocations: 7.781 kB / 390.2 MB, free: 14.2 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003502/0.6815, allocations: 34.27 kB / 390.3 MB, free: 14.19 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00073/0.6822, allocations: 278.6 kB / 390.5 MB, free: 13.97 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.107e-05/0.6823, allocations: 10.55 kB / 390.5 MB, free: 13.96 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.621e-05/0.6823, allocations: 6.906 kB / 390.6 MB, free: 13.96 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000306/0.6827, allocations: 102.4 kB / 390.7 MB, free: 13.93 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.556e-05/0.6827, allocations: 0 / 390.7 MB, free: 13.93 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.187e-05/0.6827, allocations: 0 / 390.7 MB, free: 13.93 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.6827, allocations: 4 kB / 390.7 MB, free: 13.93 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003021/0.6831, allocations: 82.08 kB / 390.7 MB, free: 13.93 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001125/0.6842, allocations: 452.4 kB / 391.2 MB, free: 13.65 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003885/0.6846, allocations: 128.7 kB / 391.3 MB, free: 13.62 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.411e-05/0.6847, allocations: 3.781 kB / 391.3 MB, free: 13.62 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004592/0.6851, allocations: 118.2 kB / 391.4 MB, free: 13.57 MB / 314.7 MB Notification: Performance of pre-optimization done (n=14): time 4.449e-06/0.6852, allocations: 4 kB / 391.4 MB, free: 13.57 MB / 314.7 MB Notification: Performance of matching and sorting (n=14): time 0.001367/0.6866, allocations: 312.9 kB / 391.7 MB, free: 13.43 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.781e-05/0.6867, allocations: 61.61 kB / 391.8 MB, free: 13.37 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001037/0.6878, allocations: 251.2 kB / 392 MB, free: 13.26 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001378/0.688, allocations: 43.56 kB / 392.1 MB, free: 13.22 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001358/0.6881, allocations: 117.6 kB / 392.2 MB, free: 13.14 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001203/0.6883, allocations: 40.55 kB / 392.2 MB, free: 13.11 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.947e-05/0.6883, allocations: 7.438 kB / 392.2 MB, free: 13.11 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001277/0.6884, allocations: 333.6 kB / 392.6 MB, free: 12.8 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004898/0.689, allocations: 77.89 kB / 392.6 MB, free: 12.8 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005453/0.6895, allocations: 109.9 kB / 392.8 MB, free: 12.77 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005404/0.6901, allocations: 97.67 kB / 392.8 MB, free: 12.76 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.235e-06/0.6901, allocations: 0 / 392.8 MB, free: 12.76 MB / 314.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001244/0.6914, allocations: 244.8 kB / 393.1 MB, free: 12.71 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.017e-05/0.6915, allocations: 10.39 kB / 393.1 MB, free: 12.71 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.841e-05/0.6915, allocations: 0 / 393.1 MB, free: 12.71 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.637e-05/0.6916, allocations: 4.031 kB / 393.1 MB, free: 12.71 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004423/0.692, allocations: 36.2 kB / 393.1 MB, free: 12.71 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.474e-05/0.6921, allocations: 3.781 kB / 393.1 MB, free: 12.71 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005827/0.6927, allocations: 20.97 kB / 393.2 MB, free: 12.7 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.923e-05/0.6928, allocations: 14.16 kB / 393.2 MB, free: 12.7 MB / 314.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: 17 ($whenCondition1,$PRE.whiteNoise.state[1],whiteNoise.state[1],$PRE.whiteNoise.state[2],whiteNoise.state[2],$PRE.whiteNoise.state[3],whiteNoise.state[3],$PRE.whiteNoise.state[4],whiteNoise.state[4],$PRE.whiteNoise.r,whiteNoise.r,$PRE.whiteNoise.r_raw,whiteNoise.r_raw,whiteNoise.localSeed,whiteNoise.actualGlobalSeed,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 (23): * Single equations (assignments): 21 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * 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.0003112/0.6932, allocations: 142.1 kB / 393.3 MB, free: 12.58 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001119/0.6933, allocations: 21.92 kB / 393.3 MB, free: 12.57 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001296/0.6934, allocations: 16.62 kB / 393.3 MB, free: 12.56 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.3e-05/0.6935, allocations: 6.562 kB / 393.4 MB, free: 12.56 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.6935, allocations: 0 / 393.4 MB, free: 12.56 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.263e-06/0.6935, allocations: 0 / 393.4 MB, free: 12.56 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005129/0.694, allocations: 250.2 kB / 393.6 MB, free: 12.36 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.6941, allocations: 0 / 393.6 MB, free: 12.36 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004203/0.6945, allocations: 21.64 kB / 393.6 MB, free: 12.36 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.708e-06/0.6946, allocations: 0 / 393.6 MB, free: 12.36 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.459e-05/0.6946, allocations: 0 / 393.6 MB, free: 12.36 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.165e-06/0.6946, allocations: 7.938 kB / 393.6 MB, free: 12.36 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/0.6947, allocations: 7.969 kB / 393.6 MB, free: 12.35 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001084/0.6958, allocations: 279.3 kB / 393.9 MB, free: 12.27 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001824/0.696, allocations: 116.7 kB / 394 MB, free: 12.16 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.842e-05/0.6961, allocations: 9.484 kB / 394 MB, free: 12.16 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005244/0.6966, allocations: 21.03 kB / 394.1 MB, free: 12.16 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001181/0.6968, allocations: 10.66 kB / 394.1 MB, free: 12.16 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.066e-05/0.6969, allocations: 6.969 kB / 394.1 MB, free: 12.16 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001125/0.698, allocations: 177.3 kB / 394.2 MB, free: 12.09 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.333e-06/0.6981, allocations: 3.938 kB / 394.2 MB, free: 12.08 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001125/0.6992, allocations: 119.4 kB / 394.4 MB, free: 12.05 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Hw.x_scaled[1],Hw.x_scaled[2]) * Number of discrete variables: 7 ($whenCondition1,whiteNoise.state[1],whiteNoise.state[2],whiteNoise.state[3],whiteNoise.state[4],whiteNoise.r,whiteNoise.r_raw) * Number of discrete states: 4 (whiteNoise.state[1],whiteNoise.state[2],whiteNoise.state[3],whiteNoise.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001633/0.7009, allocations: 328.7 kB / 394.7 MB, free: 11.88 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000942/0.7018, allocations: 197 kB / 394.9 MB, free: 11.84 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.7019, allocations: 0 / 394.9 MB, free: 11.84 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003226/0.7022, allocations: 66.52 kB / 394.9 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.0003996/0.7026, allocations: 25.3 kB / 395 MB, free: 11.83 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001175/0.7038, allocations: 396 kB / 395.4 MB, free: 11.61 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002451/0.7041, allocations: 0.7278 MB / 396.1 MB, free: 10.92 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002197/0.7043, allocations: 29.31 kB / 396.1 MB, free: 10.92 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001198/0.7045, allocations: 19.19 kB / 396.1 MB, free: 10.91 MB / 314.7 MB Notification: Performance of SimCode: time 1.402e-06/0.7045, allocations: 0 / 396.1 MB, free: 10.91 MB / 314.7 MB Notification: Performance of Templates: time 0.01247/0.717, allocations: 3.209 MB / 399.3 MB, free: 10.62 MB / 314.7 MB