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: "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence,fileNamePrefix="Modelica_3_2_2_Modelica_Blocks_Examples_NoiseExamples_DrydenContinuousTurbulence",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.144/2.144, allocations: 194.8 MB / 211.1 MB, free: 7.594 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004899/0.00049, allocations: 12 kB / 264.1 MB, free: 2.516 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3293/0.3298, allocations: 44.5 MB / 308.6 MB, free: 12.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1415/0.4714, allocations: 74.2 MB / 382.8 MB, free: 2.355 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003192/0.4718, allocations: 83.94 kB / 382.8 MB, free: 2.273 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03805/0.5098, allocations: 6.362 MB / 389.2 MB, free: 11.89 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.5099, allocations: 0 / 389.2 MB, free: 11.89 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.852e-05/0.5099, allocations: 8 kB / 389.2 MB, free: 11.89 MB / 330.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.006071/0.516, allocations: 0.5378 MB / 389.7 MB, free: 11.3 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.942e-05/0.5161, allocations: 8.031 kB / 389.8 MB, free: 11.29 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.436e-05/0.5162, allocations: 38.56 kB / 389.8 MB, free: 11.25 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003483/0.5166, allocations: 31.7 kB / 389.8 MB, free: 11.21 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009687/0.5176, allocations: 275.6 kB / 390.1 MB, free: 10.9 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.133e-05/0.5176, allocations: 8 kB / 390.1 MB, free: 10.89 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.429e-05/0.5177, allocations: 12 kB / 390.1 MB, free: 10.88 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004502/0.5222, allocations: 101.6 kB / 390.2 MB, free: 10.78 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.96e-05/0.5223, allocations: 0 / 390.2 MB, free: 10.78 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.024e-05/0.5223, allocations: 4 kB / 390.2 MB, free: 10.77 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.5223, allocations: 0 / 390.2 MB, free: 10.77 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004665/0.5228, allocations: 83.94 kB / 390.3 MB, free: 10.69 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001578/0.5244, allocations: 456.3 kB / 390.7 MB, free: 10.2 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005669/0.525, allocations: 126.5 kB / 390.9 MB, free: 10.06 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.19e-05/0.5251, allocations: 0 / 390.9 MB, free: 10.06 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004294/0.5255, allocations: 119.4 kB / 391 MB, free: 9.934 MB / 330.7 MB Notification: Performance of pre-optimization done (n=14): time 2.435e-06/0.5255, allocations: 0 / 391 MB, free: 9.934 MB / 330.7 MB Notification: Performance of matching and sorting (n=14): time 0.001083/0.5266, allocations: 322.5 kB / 391.3 MB, free: 9.594 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.579e-05/0.5267, allocations: 59.41 kB / 391.4 MB, free: 9.523 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008131/0.5275, allocations: 226.9 kB / 391.6 MB, free: 9.297 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.534e-05/0.5276, allocations: 37.69 kB / 391.6 MB, free: 9.254 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001447/0.5278, allocations: 120.2 kB / 391.7 MB, free: 9.133 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.748e-05/0.5279, allocations: 47.52 kB / 391.8 MB, free: 9.086 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.687e-05/0.528, allocations: 7.938 kB / 391.8 MB, free: 9.078 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002236/0.5282, allocations: 338.8 kB / 392.1 MB, free: 8.738 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000359/0.5286, allocations: 75.95 kB / 392.2 MB, free: 8.664 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003974/0.529, allocations: 105.7 kB / 392.3 MB, free: 8.551 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004042/0.5294, allocations: 96.25 kB / 392.4 MB, free: 8.457 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.254e-06/0.5294, allocations: 3.984 kB / 392.4 MB, free: 8.453 MB / 330.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.009176/0.5386, allocations: 250.2 kB / 392.6 MB, free: 8.203 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.9e-05/0.5387, allocations: 14.44 kB / 392.6 MB, free: 8.191 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.585e-05/0.5388, allocations: 0 / 392.6 MB, free: 8.191 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.259e-05/0.5388, allocations: 0 / 392.6 MB, free: 8.191 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004051/0.5392, allocations: 31.97 kB / 392.7 MB, free: 8.16 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.136e-05/0.5392, allocations: 0 / 392.7 MB, free: 8.16 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004853/0.5397, allocations: 31.91 kB / 392.7 MB, free: 8.129 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.462e-05/0.5398, allocations: 8 kB / 392.7 MB, free: 8.121 MB / 330.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.0002838/0.5401, allocations: 149.5 kB / 392.9 MB, free: 7.965 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.393e-05/0.5402, allocations: 11.81 kB / 392.9 MB, free: 7.953 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.686e-05/0.5403, allocations: 21.53 kB / 392.9 MB, free: 7.934 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.795e-06/0.5403, allocations: 3.984 kB / 392.9 MB, free: 7.93 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.5403, allocations: 0 / 392.9 MB, free: 7.93 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.5404, allocations: 0 / 392.9 MB, free: 7.93 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004628/0.5408, allocations: 253.4 kB / 393.1 MB, free: 7.633 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.5409, allocations: 0 / 393.1 MB, free: 7.633 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002785/0.5412, allocations: 15.98 kB / 393.2 MB, free: 7.617 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.207e-06/0.5412, allocations: 4 kB / 393.2 MB, free: 7.613 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.316e-05/0.5412, allocations: 4 kB / 393.2 MB, free: 7.609 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.5412, allocations: 3.938 kB / 393.2 MB, free: 7.605 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/0.5413, allocations: 3.938 kB / 393.2 MB, free: 7.602 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005195/0.5465, allocations: 284.8 kB / 393.5 MB, free: 7.305 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002334/0.5468, allocations: 100.9 kB / 393.6 MB, free: 7.188 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.588e-05/0.5469, allocations: 11.98 kB / 393.6 MB, free: 7.176 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004188/0.5473, allocations: 19.97 kB / 393.6 MB, free: 7.156 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.688e-05/0.5474, allocations: 15.97 kB / 393.6 MB, free: 7.141 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.202e-05/0.5475, allocations: 4 kB / 393.6 MB, free: 7.137 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007218/0.5482, allocations: 184.2 kB / 393.8 MB, free: 6.957 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.31e-07/0.5482, allocations: 0 / 393.8 MB, free: 6.957 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0009473/0.5492, allocations: 123.8 kB / 393.9 MB, free: 6.836 MB / 330.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.00715/0.5563, allocations: 1.04 MB / 394.9 MB, free: 5.805 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008718/0.5573, allocations: 212.9 kB / 395.2 MB, free: 5.594 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5e-06/0.5573, allocations: 0 / 395.2 MB, free: 5.594 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002936/0.5576, allocations: 64.03 kB / 395.2 MB, free: 5.531 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003578/0.558, allocations: 23.75 kB / 395.2 MB, free: 5.512 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006332/0.5643, allocations: 0.8326 MB / 396.1 MB, free: 4.625 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004444/0.5648, allocations: 0.7322 MB / 396.8 MB, free: 3.867 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002318/0.5651, allocations: 29.41 kB / 396.8 MB, free: 3.84 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001914/0.5653, allocations: 47.42 kB / 396.9 MB, free: 3.793 MB / 330.7 MB Notification: Performance of SimCode: time 1.363e-06/0.5653, allocations: 0 / 396.9 MB, free: 3.793 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03526/0.6006, allocations: 4.936 MB / 401.8 MB, free: 14.86 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003091/0.601, allocations: 240 kB / 402.1 MB, free: 14.61 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.956/3.557, allocations: 0 / 402.1 MB, free: 14.61 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence_res.mat does not exist to compare? outputFormat=mat