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.ActuatorWithNoise.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.ActuatorWithNoise,fileNamePrefix="Modelica_3_2_2_Modelica_Blocks_Examples_NoiseExamples_ActuatorWithNoise",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.951/1.951, allocations: 194.9 MB / 211.1 MB, free: 7.59 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003403/0.0003404, allocations: 12 kB / 264.1 MB, free: 2.508 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3073/0.3077, allocations: 44.5 MB / 308.6 MB, free: 12.63 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise): time 0.01906/0.3268, allocations: 11.06 MB / 319.6 MB, free: 1.531 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01283/0.3397, allocations: 5.032 MB / 324.7 MB, free: 12.49 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002396/0.3421, allocations: 63.69 kB / 324.7 MB, free: 12.43 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003405/0.3456, allocations: 0.7538 MB / 325.5 MB, free: 11.67 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004873/0.3505, allocations: 1.027 MB / 326.5 MB, free: 10.64 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003138/0.3537, allocations: 0.6121 MB / 327.1 MB, free: 10.03 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.006553/0.3602, allocations: 2.649 MB / 329.8 MB, free: 7.367 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004388/0.3647, allocations: 2.113 MB / 331.9 MB, free: 5.219 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002645/0.3674, allocations: 1.269 MB / 333.1 MB, free: 3.945 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00382/0.3712, allocations: 1.634 MB / 334.8 MB, free: 2.305 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001002/0.3723, allocations: 208 kB / 335 MB, free: 2.102 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001994/0.3743, allocations: 435.6 kB / 335.4 MB, free: 1.676 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001657/0.376, allocations: 0.9308 MB / 336.3 MB, free: 0.7422 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001382/0.3774, allocations: 0.7576 MB / 337.1 MB, free: 15.97 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009471/0.3869, allocations: 5.988 MB / 343.1 MB, free: 9.973 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.387, allocations: 4 kB / 343.1 MB, free: 9.969 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.387, allocations: 0 / 343.1 MB, free: 9.969 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0002017/0.3872, allocations: 0 / 343.1 MB, free: 9.969 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 811 * Number of variables: 811 Notification: Performance of Generate backend data structure: time 0.0137/0.4009, allocations: 3.635 MB / 346.7 MB, free: 6.266 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.02e-05/0.401, allocations: 12.03 kB / 346.7 MB, free: 6.254 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001662/0.4026, allocations: 438.7 kB / 347.2 MB, free: 5.812 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002305/0.405, allocations: 455.2 kB / 347.6 MB, free: 5.363 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006645/0.4116, allocations: 2.23 MB / 349.8 MB, free: 3.082 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001327/0.413, allocations: 411.2 kB / 350.2 MB, free: 2.66 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001306/0.4143, allocations: 319.8 kB / 350.5 MB, free: 2.348 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01413/0.4285, allocations: 4.206 MB / 354.8 MB, free: 14.07 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001563/0.4287, allocations: 11.86 kB / 354.8 MB, free: 14.06 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005186/0.4293, allocations: 128 kB / 354.9 MB, free: 13.93 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002417/0.4295, allocations: 146 kB / 355 MB, free: 13.79 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01367/0.4432, allocations: 3.822 MB / 358.9 MB, free: 9.957 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03824/0.4815, allocations: 14.1 MB / 373 MB, free: 11.47 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006002/0.4875, allocations: 2.142 MB / 375.1 MB, free: 9.246 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004737/0.4881, allocations: 220.1 kB / 375.3 MB, free: 8.996 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003781/0.4918, allocations: 1.303 MB / 376.6 MB, free: 7.668 MB / 314.7 MB Notification: Performance of pre-optimization done (n=185): time 5.09e-06/0.4919, allocations: 0 / 376.6 MB, free: 7.668 MB / 314.7 MB Notification: Performance of matching and sorting (n=233): time 0.05152/0.5434, allocations: 13.05 MB / 389.7 MB, free: 10.5 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.006451/0.5499, allocations: 3.356 MB / 393 MB, free: 6.957 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004906/0.5549, allocations: 2.189 MB / 395.2 MB, free: 4.738 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005385/0.5554, allocations: 81.69 kB / 395.3 MB, free: 4.652 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001878/0.5573, allocations: 1.481 MB / 396.8 MB, free: 3.152 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001198/0.5585, allocations: 0.7818 MB / 397.6 MB, free: 2.359 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000261/0.5588, allocations: 52.94 kB / 397.6 MB, free: 2.309 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0003363/0.5592, allocations: 411.4 kB / 398 MB, free: 1.902 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00404/0.5632, allocations: 1.282 MB / 399.3 MB, free: 0.6172 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004812/0.5681, allocations: 1.921 MB / 401.2 MB, free: 14.43 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004714/0.5729, allocations: 1.541 MB / 402.7 MB, free: 12.87 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.391e-05/0.5729, allocations: 4 kB / 402.8 MB, free: 12.87 MB / 346.7 MB Notification: Performance of matching and sorting (n=338) (initialization): time 0.01222/0.5852, allocations: 3.873 MB / 406.6 MB, free: 8.93 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.232e-05/0.5853, allocations: 12 kB / 406.6 MB, free: 8.918 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.753e-05/0.5853, allocations: 20 kB / 406.7 MB, free: 8.898 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002185/0.5875, allocations: 0.5031 MB / 407.2 MB, free: 8.383 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005343/0.5929, allocations: 0.6668 MB / 407.8 MB, free: 7.715 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009473/0.6024, allocations: 4.757 MB / 412.6 MB, free: 2.688 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003665/0.6061, allocations: 199.8 kB / 412.8 MB, free: 2.492 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005273/0.6067, allocations: 108 kB / 412.9 MB, free: 2.387 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 79 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition1,$PRE.motor.uniformNoise.state[1],motor.uniformNoise.state[1],$PRE.motor.uniformNoise.state[2],motor.uniformNoise.state[2],$PRE.motor.uniformNoise.state[3],motor.uniformNoise.state[3],$PRE.motor.uniformNoise.state[4],motor.uniformNoise.state[4],$PRE.motor.uniformNoise.r,motor.uniformNoise.r,$PRE.motor.uniformNoise.r_raw,motor.uniformNoise.r_raw,gearbox.lossyGear.tau_aPos,gearbox.lossyGear.startForward,gearbox.lossyGear.startBackward,gearbox.lossyGear.locked,$PRE.gearbox.lossyGear.mode,gearbox.lossyGear.mode,gearbox.lossyGear.ideal,motor.uniformNoise.localSeed,motor.uniformNoise.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 (307): * Single equations (assignments): 302 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 1 {2 23} Notification: Performance of prepare postOptimizeDAE: time 0.003287/0.61, allocations: 1.082 MB / 414 MB, free: 1.293 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008668/0.6108, allocations: 252.8 kB / 414.2 MB, free: 1.043 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2654/0.8763, allocations: 3.64 MB / 417.9 MB, free: 89.06 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.621e-05/0.8764, allocations: 23.66 kB / 417.9 MB, free: 89.06 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.163e-05/0.8764, allocations: 7.688 kB / 417.9 MB, free: 89.06 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.578e-05/0.8765, allocations: 11.58 kB / 417.9 MB, free: 89.06 MB / 346.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0246/0.9011, allocations: 9.298 MB / 427.2 MB, free: 85.09 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.647e-05/0.9011, allocations: 3.688 kB / 427.2 MB, free: 85.09 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003711/0.9049, allocations: 433 kB / 427.6 MB, free: 85.05 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002766/0.9077, allocations: 0.625 MB / 428.2 MB, free: 84.87 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004139/0.9081, allocations: 50.88 kB / 428.3 MB, free: 84.84 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01277/0.9209, allocations: 7.673 MB / 436 MB, free: 78.14 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.005023/0.926, allocations: 3.11 MB / 439.1 MB, free: 74.93 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01443/0.9405, allocations: 5.396 MB / 444.5 MB, free: 69.64 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002014/0.9425, allocations: 0.6231 MB / 445.1 MB, free: 69.13 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007824/0.9433, allocations: 51.98 kB / 445.1 MB, free: 69.08 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003008/0.9464, allocations: 158.3 kB / 445.3 MB, free: 68.93 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007294/0.9471, allocations: 201.6 kB / 445.5 MB, free: 68.73 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000214/0.9474, allocations: 63.97 kB / 445.6 MB, free: 68.67 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.00316/0.9506, allocations: 1.488 MB / 447 MB, free: 67.17 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.9506, allocations: 0 / 447 MB, free: 67.17 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00385/0.9545, allocations: 0.7779 MB / 447.8 MB, free: 66.4 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 11 ($STATESET1.x,controller.speed_PI.x,controller.positionToSpeed.x,controller.position_PI.x,gearbox.phi_rel,gearbox.w_rel,slewRateLimiter.y,rodMass.s,rodMass.v,elastoGap.s_rel,elastoGap.v_rel) * Number of discrete variables: 12 ($whenCondition1,motor.uniformNoise.state[1],motor.uniformNoise.state[2],motor.uniformNoise.state[3],motor.uniformNoise.state[4],motor.uniformNoise.r,motor.uniformNoise.r_raw,gearbox.lossyGear.tau_aPos,gearbox.lossyGear.startForward,gearbox.lossyGear.startBackward,gearbox.lossyGear.locked,gearbox.lossyGear.mode) * Number of discrete states: 5 (motor.uniformNoise.state[1],motor.uniformNoise.state[2],motor.uniformNoise.state[3],motor.uniformNoise.state[4],gearbox.lossyGear.mode) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (196): * Single equations (assignments): 190 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 1,(3,100.0%) 8} * Non-linear torn systems: 1 {2 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.01564/0.9701, allocations: 6.195 MB / 454 MB, free: 60.26 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.009322/0.9795, allocations: 3.69 MB / 457.7 MB, free: 56.5 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.384e-06/0.9796, allocations: 4 kB / 457.7 MB, free: 56.5 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006037/0.9856, allocations: 2.259 MB / 460 MB, free: 54.18 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004507/0.9902, allocations: 0.5641 MB / 460.5 MB, free: 53.61 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02261/1.013, allocations: 10.43 MB / 471 MB, free: 42.79 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002826/1.016, allocations: 2.437 MB / 473.4 MB, free: 40.32 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.003318/1.019, allocations: 0.5871 MB / 474 MB, free: 39.72 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003051/1.022, allocations: 1.327 MB / 475.3 MB, free: 38.39 MB / 346.7 MB Notification: Performance of SimCode: time 1.542e-06/1.022, allocations: 0 / 475.3 MB, free: 38.39 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1559/1.178, allocations: 64.84 MB / 0.5275 GB, free: 5.445 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004002/1.179, allocations: 257.9 kB / 0.5277 GB, free: 5.086 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.781/5.96, allocations: 0 / 0.5277 GB, free: 5.086 MB / 378.7 MB