Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ActuatorWithNoise.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Blocks.Examples.Noise.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_4.0.0_Modelica.Blocks.Examples.Noise.ActuatorWithNoise") translateModel(Modelica.Blocks.Examples.Noise.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_4.0.0_Modelica.Blocks.Examples.Noise.ActuatorWithNoise") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009533/0.0009534, allocations: 177.1 kB / 8.35 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.386/1.386, allocations: 221.5 MB / 230.3 MB, free: 7.551 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008562/0.0008563, allocations: 90.81 kB / 281.2 MB, free: 5.285 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.893e-05/1.9e-05, allocations: 4 kB / 337 MB, free: 10.03 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.1135, allocations: 50.42 MB / 387.5 MB, free: 7.574 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3994/0.5129, allocations: 124.3 MB / 0.4998 GB, free: 2.449 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002891/0.5133, allocations: 83.95 kB / 0.4999 GB, free: 2.367 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4671/0.9804, allocations: 78.7 MB / 0.5767 GB, free: 102.2 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.725e-06/0.9805, allocations: 0 / 0.5767 GB, free: 102.2 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.000408/0.9809, allocations: 88.27 kB / 0.5768 GB, free: 102.2 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 814 * Number of variables: 814 Notification: Performance of Generate backend data structure: time 0.01019/0.9911, allocations: 3.306 MB / 0.5801 GB, free: 100.8 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.586e-05/0.9912, allocations: 11.64 kB / 0.5801 GB, free: 100.8 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002864/0.9941, allocations: 463.2 kB / 0.5805 GB, free: 100.6 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006965/1.001, allocations: 2.562 MB / 0.583 GB, free: 100 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000547/1.002, allocations: 259.1 kB / 0.5833 GB, free: 99.94 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001336/1.003, allocations: 191.3 kB / 0.5834 GB, free: 99.94 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00747/1.011, allocations: 3.291 MB / 0.5867 GB, free: 99.34 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006897/1.017, allocations: 3.64 MB / 0.5902 GB, free: 97.67 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001043/1.018, allocations: 14.59 kB / 0.5902 GB, free: 97.67 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002696/1.018, allocations: 3.781 kB / 0.5902 GB, free: 97.67 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001124/1.018, allocations: 145.2 kB / 0.5904 GB, free: 97.65 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01985/1.038, allocations: 13.42 MB / 0.6035 GB, free: 90.35 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002412/1.04, allocations: 2.04 MB / 0.6055 GB, free: 89.25 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001378/1.042, allocations: 1.161 MB / 0.6066 GB, free: 88.78 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003415/1.042, allocations: 227.5 kB / 0.6068 GB, free: 88.59 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001621/1.044, allocations: 1.204 MB / 0.608 GB, free: 88.06 MB / 426.7 MB Notification: Performance of pre-optimization done (n=197): time 6.082e-06/1.044, allocations: 0 / 0.608 GB, free: 88.06 MB / 426.7 MB Notification: Performance of matching and sorting (n=250): time 0.01647/1.06, allocations: 9.489 MB / 0.6173 GB, free: 84.03 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.638e-05/1.06, allocations: 187.9 kB / 0.6174 GB, free: 83.84 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002345/1.063, allocations: 1.644 MB / 0.619 GB, free: 83.12 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001918/1.063, allocations: 36.92 kB / 0.6191 GB, free: 83.09 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001121/1.064, allocations: 1.484 MB / 0.6205 GB, free: 81.96 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005605/1.065, allocations: 0.8078 MB / 0.6213 GB, free: 81.32 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000144/1.065, allocations: 3.938 kB / 0.6213 GB, free: 81.32 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001291/1.065, allocations: 416.9 kB / 0.6217 GB, free: 80.97 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001592/1.066, allocations: 1.225 MB / 0.6229 GB, free: 80.08 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001776/1.068, allocations: 1.846 MB / 0.6247 GB, free: 78.11 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002001/1.07, allocations: 1.507 MB / 0.6262 GB, free: 76.77 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.114e-05/1.07, allocations: 8 kB / 0.6262 GB, free: 76.76 MB / 426.7 MB Notification: Performance of matching and sorting (n=353) (initialization): time 0.005421/1.076, allocations: 3.603 MB / 0.6297 GB, free: 73.45 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.182e-05/1.076, allocations: 13.09 kB / 0.6297 GB, free: 73.44 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.23e-05/1.076, allocations: 20 kB / 0.6297 GB, free: 73.42 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001099/1.077, allocations: 0.4967 MB / 0.6302 GB, free: 72.99 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002523/1.079, allocations: 0.6866 MB / 0.6309 GB, free: 72.42 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004627/1.084, allocations: 4.485 MB / 0.6353 GB, free: 68.02 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00247/1.087, allocations: 146.5 kB / 0.6354 GB, free: 67.92 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002305/1.087, allocations: 118.9 kB / 0.6355 GB, free: 67.81 MB / 426.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: gearbox.flange_a.tau:VARIABLE(flow=true unit = "N.m" ) "Cut torque in the flange" type: Real gearbox.lossyGear.sa:VARIABLE(unit = "1" ) "Path parameter for acceleration and torque loss" type: Real 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (322): * Single equations (assignments): 316 * 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.0005781/1.087, allocations: 193.8 kB / 0.6357 GB, free: 67.62 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004242/1.088, allocations: 241 kB / 0.6359 GB, free: 67.39 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005364/1.093, allocations: 3.394 MB / 0.6393 GB, free: 64.47 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.459e-05/1.093, allocations: 28 kB / 0.6393 GB, free: 64.44 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/1.093, allocations: 4 kB / 0.6393 GB, free: 64.44 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.067e-05/1.093, allocations: 10.73 kB / 0.6393 GB, free: 64.44 MB / 426.7 MB Warning: The model contains alias variables with conflicting start and/or 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.01291/1.106, allocations: 8.897 MB / 0.648 GB, free: 56.9 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.827e-06/1.106, allocations: 4 kB / 0.648 GB, free: 56.89 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001971/1.108, allocations: 475.5 kB / 0.6484 GB, free: 56.43 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001472/1.11, allocations: 0.6505 MB / 0.6491 GB, free: 55.77 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001586/1.11, allocations: 27.97 kB / 0.6491 GB, free: 55.75 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007181/1.117, allocations: 7.509 MB / 0.6564 GB, free: 47.91 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003136/1.12, allocations: 3.23 MB / 0.6596 GB, free: 44.57 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00721/1.127, allocations: 5.266 MB / 0.6647 GB, free: 39.19 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001503/1.129, allocations: 0.6306 MB / 0.6654 GB, free: 38.54 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003573/1.129, allocations: 11.98 kB / 0.6654 GB, free: 38.53 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001486/1.131, allocations: 131.8 kB / 0.6655 GB, free: 38.4 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005626/1.131, allocations: 205.6 kB / 0.6657 GB, free: 38.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000156/1.132, allocations: 71.97 kB / 0.6658 GB, free: 38.12 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00185/1.133, allocations: 1.222 MB / 0.667 GB, free: 36.88 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.5e-07/1.133, allocations: 4 kB / 0.667 GB, free: 36.88 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00278/1.136, allocations: 0.7343 MB / 0.6677 GB, free: 36.14 MB / 426.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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (208): * Single equations (assignments): 202 * 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.001144/1.137, allocations: 0.5442 MB / 0.6682 GB, free: 35.7 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004986/1.142, allocations: 3.509 MB / 0.6716 GB, free: 32.12 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/1.142, allocations: 0 / 0.6716 GB, free: 32.12 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002697/1.145, allocations: 2.161 MB / 0.6737 GB, free: 29.91 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002648/1.148, allocations: 487.5 kB / 0.6742 GB, free: 29.46 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01027/1.158, allocations: 5.844 MB / 0.6799 GB, free: 23.55 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001801/1.16, allocations: 2.455 MB / 0.6823 GB, free: 21.06 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002463/1.162, allocations: 0.6098 MB / 0.6829 GB, free: 20.45 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007585/1.163, allocations: 199.4 kB / 0.6831 GB, free: 20.25 MB / 426.7 MB Notification: Performance of SimCode: time 1.292e-06/1.163, allocations: 0 / 0.6831 GB, free: 20.25 MB / 426.7 MB Notification: Performance of Templates: time 0.3231/1.486, allocations: 37.44 MB / 0.7197 GB, free: 107.1 MB / 442.7 MB make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ActuatorWithNoise.makefile (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ActuatorWithNoise.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ActuatorWithNoise.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ActuatorWithNoise.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ActuatorWithNoise.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ActuatorWithNoise -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ActuatorWithNoise.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ActuatorWithNoise_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/ActuatorWithNoise/ActuatorWithNoise.csv","../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ActuatorWithNoise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches