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 2.237/2.237, allocations: 194.9 MB / 211.1 MB, free: 7.594 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003776/0.0003776, allocations: 8 kB / 264.1 MB, free: 2.508 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3055/0.306, allocations: 44.5 MB / 308.6 MB, free: 12.54 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5652/0.8712, allocations: 119.2 MB / 427.8 MB, free: 51.4 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004437/0.8717, allocations: 88.27 kB / 427.9 MB, free: 51.4 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3645/1.236, allocations: 78.72 MB / 0.4947 GB, free: 10.16 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.176e-06/1.236, allocations: 0 / 0.4947 GB, free: 10.16 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0004927/1.237, allocations: 95.8 kB / 0.4948 GB, free: 10.07 MB / 346.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.01763/1.254, allocations: 3.676 MB / 0.4984 GB, free: 6.32 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.639e-05/1.255, allocations: 8.031 kB / 0.4984 GB, free: 6.312 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002015/1.257, allocations: 446.7 kB / 0.4988 GB, free: 5.863 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002956/1.26, allocations: 459.5 kB / 0.4993 GB, free: 5.41 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01116/1.271, allocations: 2.569 MB / 0.5018 GB, free: 2.789 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000797/1.272, allocations: 355.2 kB / 0.5021 GB, free: 2.422 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001551/1.273, allocations: 323.9 kB / 0.5024 GB, free: 2.105 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01477/1.288, allocations: 4.196 MB / 0.5065 GB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000208/1.288, allocations: 15.91 kB / 0.5065 GB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009693/1.289, allocations: 124 kB / 0.5067 GB, free: 13.63 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002568/1.29, allocations: 150 kB / 0.5068 GB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01438/1.304, allocations: 3.678 MB / 0.5104 GB, free: 9.793 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0421/1.346, allocations: 13.98 MB / 0.5241 GB, free: 11.44 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01096/1.357, allocations: 2.207 MB / 0.5262 GB, free: 9.152 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001059/1.358, allocations: 236.1 kB / 0.5264 GB, free: 8.887 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005421/1.364, allocations: 1.326 MB / 0.5277 GB, free: 7.539 MB / 378.7 MB Notification: Performance of pre-optimization done (n=192): time 6.272e-06/1.364, allocations: 0 / 0.5277 GB, free: 7.539 MB / 378.7 MB Notification: Performance of matching and sorting (n=243): time 0.05411/1.418, allocations: 13.31 MB / 0.5407 GB, free: 10.09 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.007598/1.425, allocations: 3.646 MB / 0.5443 GB, free: 6.266 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005738/1.431, allocations: 1.964 MB / 0.5462 GB, free: 4.277 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006862/1.432, allocations: 77.69 kB / 0.5463 GB, free: 4.195 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002881/1.435, allocations: 1.474 MB / 0.5477 GB, free: 2.699 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001649/1.437, allocations: 0.8203 MB / 0.5485 GB, free: 1.867 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003769/1.437, allocations: 52 kB / 0.5486 GB, free: 1.816 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003174/1.437, allocations: 419.5 kB / 0.549 GB, free: 1.402 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004541/1.442, allocations: 1.305 MB / 0.5502 GB, free: 96 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005393/1.447, allocations: 1.935 MB / 0.5521 GB, free: 13.89 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00532/1.453, allocations: 1.577 MB / 0.5537 GB, free: 12.3 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.151e-05/1.453, allocations: 8 kB / 0.5537 GB, free: 12.29 MB / 410.7 MB Notification: Performance of matching and sorting (n=346) (initialization): time 0.0195/1.472, allocations: 3.925 MB / 0.5575 GB, free: 8.301 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.755e-05/1.472, allocations: 12.34 kB / 0.5575 GB, free: 8.289 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.699e-05/1.473, allocations: 23.94 kB / 0.5576 GB, free: 8.266 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002383/1.475, allocations: 0.4991 MB / 0.558 GB, free: 7.754 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005732/1.481, allocations: 0.6826 MB / 0.5587 GB, free: 7.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009865/1.491, allocations: 4.725 MB / 0.5633 GB, free: 2.078 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00434/1.495, allocations: 203.8 kB / 0.5635 GB, free: 1.879 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008389/1.496, allocations: 115.9 kB / 0.5636 GB, free: 1.766 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 77 * 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 (315): * Single equations (assignments): 309 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * 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.003926/1.5, allocations: 1.086 MB / 0.5647 GB, free: 0.6719 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001053/1.501, allocations: 256.8 kB / 0.5649 GB, free: 428 kB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3095/1.81, allocations: 3.754 MB / 0.5686 GB, free: 91.75 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-05/1.811, allocations: 22.28 kB / 0.5686 GB, free: 91.75 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.641e-05/1.811, allocations: 5.391 kB / 0.5686 GB, free: 91.75 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-05/1.811, allocations: 11.58 kB / 0.5686 GB, free: 91.75 MB / 410.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.03697/1.848, allocations: 9.445 MB / 0.5779 GB, free: 91.02 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.272e-05/1.848, allocations: 2.5 kB / 0.5779 GB, free: 91.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006413/1.854, allocations: 469.5 kB / 0.5783 GB, free: 91.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004896/1.859, allocations: 0.653 MB / 0.5789 GB, free: 90.99 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007351/1.86, allocations: 60.23 kB / 0.579 GB, free: 90.99 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02088/1.881, allocations: 7.935 MB / 0.5868 GB, free: 87.16 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.009299/1.89, allocations: 3.397 MB / 0.5901 GB, free: 85.8 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02444/1.915, allocations: 5.687 MB / 0.5956 GB, free: 85.34 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003439/1.918, allocations: 0.646 MB / 0.5963 GB, free: 85.25 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001398/1.92, allocations: 57 kB / 0.5963 GB, free: 85.24 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005783/1.926, allocations: 162.2 kB / 0.5965 GB, free: 85.24 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009359/1.926, allocations: 204.3 kB / 0.5967 GB, free: 85.24 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002567/1.927, allocations: 75.64 kB / 0.5967 GB, free: 85.24 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00387/1.931, allocations: 1.498 MB / 0.5982 GB, free: 85.09 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.212e-06/1.931, allocations: 0 / 0.5982 GB, free: 85.09 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00473/1.935, allocations: 0.8594 MB / 0.599 GB, free: 85.09 MB / 410.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 (203): * Single equations (assignments): 197 * 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%) 11} * Non-linear torn systems: 1 {2 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.01811/1.954, allocations: 7.126 MB / 0.606 GB, free: 82.45 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01038/1.964, allocations: 3.79 MB / 0.6097 GB, free: 80.84 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.594e-06/1.964, allocations: 0 / 0.6097 GB, free: 80.84 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006563/1.971, allocations: 2.32 MB / 0.612 GB, free: 79.75 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004788/1.976, allocations: 0.5751 MB / 0.6125 GB, free: 79.59 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02771/2.003, allocations: 21.95 MB / 0.634 GB, free: 62.06 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004561/2.008, allocations: 2.446 MB / 0.6363 GB, free: 61 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.004034/2.012, allocations: 0.6054 MB / 0.6369 GB, free: 60.93 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004086/2.016, allocations: 1.331 MB / 0.6382 GB, free: 59.88 MB / 410.7 MB Notification: Performance of SimCode: time 2.745e-06/2.016, allocations: 0 / 0.6382 GB, free: 59.88 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.259/2.275, allocations: 70.59 MB / 0.7072 GB, free: 7.863 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000186/2.275, allocations: 262 kB / 0.7074 GB, free: 7.504 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.778/8.053, allocations: 0 / 0.7074 GB, free: 7.504 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise_res.mat does not exist to compare? outputFormat=mat