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: translateModel(Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1600,variableFilter="time|controller.busdelay.y|controller.positionToSpeed.x|controller.position_PI.x|controller.speed_PI.x|elastoGap.s_rel|elastoGap.v_rel|gearbox.phi_rel|gearbox.w_rel|rodMass.s|rodMass.v|slewRateLimiter.y",fileNamePrefix="Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise") Notification: Performance of loadModel(Modelica): time 2.202/2.202, allocations: 194.8 MB / 211.7 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004123/0.0004124, allocations: 16 kB / 264.5 MB, free: 12.92 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.1017, allocations: 44.51 MB / 309.1 MB, free: 348 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5432/0.6449, allocations: 119.2 MB / 428.3 MB, free: 3.801 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004298/0.6454, allocations: 85.22 kB / 428.4 MB, free: 3.758 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4005/1.046, allocations: 78.72 MB / 0.4952 GB, free: 12.95 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.156e-06/1.046, allocations: 0 / 0.4952 GB, free: 12.95 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0005307/1.047, allocations: 91.81 kB / 0.4953 GB, free: 12.86 MB / 394.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.01721/1.064, allocations: 3.67 MB / 0.4989 GB, free: 9.117 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.091e-05/1.064, allocations: 12.03 kB / 0.4989 GB, free: 9.105 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003346/1.067, allocations: 455.5 kB / 0.4993 GB, free: 8.656 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01029/1.078, allocations: 2.569 MB / 0.5018 GB, free: 6.035 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009941/1.079, allocations: 363.2 kB / 0.5022 GB, free: 5.66 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001767/1.08, allocations: 311.9 kB / 0.5025 GB, free: 5.355 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01665/1.097, allocations: 4.2 MB / 0.5066 GB, free: 1.012 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002126/1.097, allocations: 7.906 kB / 0.5066 GB, free: 1.004 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009903/1.098, allocations: 128 kB / 0.5067 GB, free: 0.8789 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000236/1.099, allocations: 146 kB / 0.5068 GB, free: 0.7344 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01495/1.114, allocations: 3.678 MB / 0.5104 GB, free: 13.04 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4756/1.589, allocations: 13.98 MB / 0.5241 GB, free: 85.29 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01675/1.606, allocations: 2.2 MB / 0.5262 GB, free: 84.86 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008232/1.607, allocations: 233.2 kB / 0.5264 GB, free: 84.67 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01203/1.619, allocations: 1.325 MB / 0.5277 GB, free: 84.56 MB / 410.7 MB Notification: Performance of pre-optimization done (n=192): time 8.115e-06/1.619, allocations: 1.438 kB / 0.5277 GB, free: 84.56 MB / 410.7 MB Notification: Performance of matching and sorting (n=243): time 0.06818/1.687, allocations: 13.33 MB / 0.5408 GB, free: 83.03 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.006537/1.694, allocations: 3.648 MB / 0.5443 GB, free: 81.51 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005885/1.7, allocations: 2.202 MB / 0.5465 GB, free: 81.29 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007645/1.701, allocations: 77.62 kB / 0.5465 GB, free: 81.26 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002034/1.703, allocations: 1.477 MB / 0.548 GB, free: 80.79 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00146/1.704, allocations: 0.8129 MB / 0.5488 GB, free: 80.38 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003169/1.705, allocations: 56.16 kB / 0.5488 GB, free: 80.38 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001947/1.705, allocations: 411 kB / 0.5492 GB, free: 80.07 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003484/1.708, allocations: 1.309 MB / 0.5505 GB, free: 80.07 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004111/1.712, allocations: 1.938 MB / 0.5524 GB, free: 79.39 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004677/1.717, allocations: 1.573 MB / 0.5539 GB, free: 79.35 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.703e-05/1.717, allocations: 7.438 kB / 0.5539 GB, free: 79.35 MB / 410.7 MB Notification: Performance of matching and sorting (n=346) (initialization): time 0.01288/1.73, allocations: 3.925 MB / 0.5578 GB, free: 79.06 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.323e-05/1.73, allocations: 18.08 kB / 0.5578 GB, free: 79.05 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-05/1.73, allocations: 19.72 kB / 0.5578 GB, free: 79.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001971/1.732, allocations: 0.503 MB / 0.5583 GB, free: 79.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005139/1.737, allocations: 0.6747 MB / 0.559 GB, free: 79.02 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007847/1.745, allocations: 4.738 MB / 0.5636 GB, free: 76.38 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004045/1.749, allocations: 208.2 kB / 0.5638 GB, free: 76.38 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003974/1.75, allocations: 109.1 kB / 0.5639 GB, free: 76.38 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.002872/1.753, allocations: 1.085 MB / 0.5649 GB, free: 76.25 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000882/1.754, allocations: 263.2 kB / 0.5652 GB, free: 76.12 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01615/1.77, allocations: 3.757 MB / 0.5689 GB, free: 75.3 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.201e-05/1.77, allocations: 26.06 kB / 0.5689 GB, free: 75.3 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.292e-05/1.77, allocations: 3.969 kB / 0.5689 GB, free: 75.3 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-05/1.77, allocations: 14.67 kB / 0.5689 GB, free: 75.3 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.04342/1.813, allocations: 9.443 MB / 0.5781 GB, free: 71.22 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.777e-05/1.813, allocations: 3.125 kB / 0.5781 GB, free: 71.22 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004136/1.818, allocations: 472.5 kB / 0.5786 GB, free: 71.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003038/1.821, allocations: 0.656 MB / 0.5792 GB, free: 71.01 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006566/1.821, allocations: 56.28 kB / 0.5793 GB, free: 70.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01566/1.837, allocations: 7.937 MB / 0.587 GB, free: 65.3 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.005921/1.843, allocations: 3.398 MB / 0.5904 GB, free: 63.09 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01673/1.86, allocations: 5.589 MB / 0.5958 GB, free: 60.69 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002425/1.862, allocations: 0.6417 MB / 0.5964 GB, free: 60.27 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001046/1.863, allocations: 52.41 kB / 0.5965 GB, free: 60.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003098/1.867, allocations: 163.5 kB / 0.5966 GB, free: 60.2 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007043/1.867, allocations: 210 kB / 0.5968 GB, free: 60.17 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002421/1.868, allocations: 67.52 kB / 0.5969 GB, free: 60.16 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003626/1.871, allocations: 1.501 MB / 0.5984 GB, free: 59.55 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.022e-06/1.871, allocations: 0 / 0.5984 GB, free: 59.55 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004888/1.876, allocations: 0.8555 MB / 0.5992 GB, free: 59.45 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.002846/1.879, allocations: 0.5978 MB / 0.5998 GB, free: 59.28 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01083/1.89, allocations: 3.793 MB / 0.6035 GB, free: 57.66 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.975e-06/1.89, allocations: 0 / 0.6035 GB, free: 57.66 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007015/1.897, allocations: 2.322 MB / 0.6058 GB, free: 56.55 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005558/1.903, allocations: 0.5708 MB / 0.6063 GB, free: 56.38 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02213/1.925, allocations: 8.543 MB / 0.6147 GB, free: 49.04 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003468/1.928, allocations: 2.447 MB / 0.6171 GB, free: 47.12 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.005487/1.934, allocations: 0.6063 MB / 0.6176 GB, free: 46.68 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002161/1.936, allocations: 205.9 kB / 0.6178 GB, free: 46.5 MB / 410.7 MB Notification: Performance of SimCode: time 1.583e-06/1.936, allocations: 0 / 0.6178 GB, free: 46.5 MB / 410.7 MB Notification: Performance of Templates: time 0.1819/2.118, allocations: 44.31 MB / 0.6611 GB, free: 13.1 MB / 410.7 MB