Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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.3_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise") 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.3_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001179/0.001179, allocations: 176.2 kB / 8.696 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.55/1.55, allocations: 205.3 MB / 214.4 MB, free: 1.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001062/0.001062, allocations: 82.7 kB / 262.4 MB, free: 1.688 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.743e-05/1.746e-05, allocations: 4 kB / 315.5 MB, free: 22.72 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08872/0.08875, allocations: 47.58 MB / 363.1 MB, free: 7.074 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3608/0.4496, allocations: 124.1 MB / 487.2 MB, free: 4.129 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002592/0.4499, allocations: 80.58 kB / 487.3 MB, free: 4.09 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4099/0.8598, allocations: 78.28 MB / 0.5523 GB, free: 95.15 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.8599, allocations: 5.859 kB / 0.5523 GB, free: 95.15 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000292/0.8602, allocations: 87.78 kB / 0.5524 GB, free: 95.14 MB / 410.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.00719/0.8674, allocations: 3.289 MB / 0.5556 GB, free: 93.75 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.274e-05/0.8674, allocations: 8.969 kB / 0.5556 GB, free: 93.75 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001309/0.8687, allocations: 461.5 kB / 0.556 GB, free: 93.55 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003718/0.8724, allocations: 2.554 MB / 0.5585 GB, free: 93.01 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003441/0.8728, allocations: 263.5 kB / 0.5588 GB, free: 92.91 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003678/0.8732, allocations: 185.8 kB / 0.559 GB, free: 92.9 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004996/0.8782, allocations: 3.297 MB / 0.5622 GB, free: 92.89 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005095/0.8833, allocations: 3.643 MB / 0.5657 GB, free: 92.46 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.774e-05/0.8834, allocations: 13.03 kB / 0.5658 GB, free: 92.46 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002478/0.8837, allocations: 6.906 kB / 0.5658 GB, free: 92.46 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.841e-05/0.8838, allocations: 141.9 kB / 0.5659 GB, free: 92.45 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01663/0.9004, allocations: 13.42 MB / 0.579 GB, free: 86.5 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002097/0.9025, allocations: 2.049 MB / 0.581 GB, free: 85.4 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001238/0.9038, allocations: 1.154 MB / 0.5821 GB, free: 84.93 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003011/0.9041, allocations: 232.6 kB / 0.5824 GB, free: 84.74 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001431/0.9055, allocations: 1.203 MB / 0.5835 GB, free: 84.22 MB / 410.7 MB Notification: Performance of pre-optimization done (n=197): time 3.827e-06/0.9056, allocations: 0 / 0.5835 GB, free: 84.22 MB / 410.7 MB Notification: Performance of matching and sorting (n=250): time 0.01498/0.9205, allocations: 9.485 MB / 0.5928 GB, free: 80.21 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.914e-05/0.9206, allocations: 190.1 kB / 0.593 GB, free: 80.02 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001973/0.9226, allocations: 1.638 MB / 0.5946 GB, free: 79.31 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001546/0.9228, allocations: 40.17 kB / 0.5946 GB, free: 79.27 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009024/0.9237, allocations: 1.474 MB / 0.596 GB, free: 78.15 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004371/0.9241, allocations: 0.8062 MB / 0.5968 GB, free: 77.51 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001388/0.9243, allocations: 4 kB / 0.5968 GB, free: 77.51 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001211/0.9244, allocations: 417.7 kB / 0.5972 GB, free: 77.16 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001396/0.9258, allocations: 1.228 MB / 0.5984 GB, free: 76.63 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001618/0.9274, allocations: 1.84 MB / 0.6002 GB, free: 75.36 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001833/0.9293, allocations: 1.501 MB / 0.6017 GB, free: 74.7 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.268e-06/0.9293, allocations: 6.438 kB / 0.6017 GB, free: 74.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=353) (initialization): time 0.004598/0.9339, allocations: 3.621 MB / 0.6052 GB, free: 72.46 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.338e-05/0.9339, allocations: 16 kB / 0.6053 GB, free: 72.44 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.453e-05/0.934, allocations: 16 kB / 0.6053 GB, free: 72.43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001003/0.935, allocations: 498.6 kB / 0.6057 GB, free: 72.01 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00236/0.9374, allocations: 0.6986 MB / 0.6064 GB, free: 71.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00398/0.9413, allocations: 4.492 MB / 0.6108 GB, free: 67.01 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002362/0.9437, allocations: 149.7 kB / 0.611 GB, free: 66.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002166/0.944, allocations: 111.7 kB / 0.6111 GB, free: 66.8 MB / 410.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.0005514/0.9445, allocations: 200 kB / 0.6113 GB, free: 66.62 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003991/0.9449, allocations: 245 kB / 0.6115 GB, free: 66.38 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004971/0.9499, allocations: 3.395 MB / 0.6148 GB, free: 63.46 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.389e-05/0.9499, allocations: 28 kB / 0.6148 GB, free: 63.43 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.655e-06/0.95, allocations: 4 kB / 0.6148 GB, free: 63.43 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.131e-05/0.95, allocations: 17.69 kB / 0.6149 GB, free: 63.43 MB / 410.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.01216/0.9622, allocations: 8.906 MB / 0.6236 GB, free: 56.17 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.108e-05/0.9622, allocations: 4 kB / 0.6236 GB, free: 56.17 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001859/0.9641, allocations: 477.7 kB / 0.624 GB, free: 55.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001409/0.9655, allocations: 0.6461 MB / 0.6246 GB, free: 55.25 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001464/0.9657, allocations: 30.64 kB / 0.6247 GB, free: 55.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006468/0.9721, allocations: 7.494 MB / 0.632 GB, free: 48.03 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002846/0.975, allocations: 3.255 MB / 0.6352 GB, free: 44.98 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006409/0.9814, allocations: 5.279 MB / 0.6403 GB, free: 40.08 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001102/0.9826, allocations: 0.63 MB / 0.6409 GB, free: 39.51 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003304/0.9829, allocations: 19.95 kB / 0.641 GB, free: 39.49 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001333/0.9842, allocations: 139.8 kB / 0.6411 GB, free: 39.4 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003693/0.9846, allocations: 197.1 kB / 0.6413 GB, free: 39.29 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001478/0.9848, allocations: 70.75 kB / 0.6413 GB, free: 39.23 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001556/0.9863, allocations: 1.223 MB / 0.6425 GB, free: 38.11 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.9863, allocations: 0 / 0.6425 GB, free: 38.11 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002439/0.9888, allocations: 0.7337 MB / 0.6433 GB, free: 37.38 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) * 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.001038/0.9898, allocations: 0.548 MB / 0.6438 GB, free: 36.93 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004369/0.9942, allocations: 3.501 MB / 0.6472 GB, free: 33.61 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/0.9942, allocations: 0 / 0.6472 GB, free: 33.61 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002789/0.997, allocations: 2.157 MB / 0.6493 GB, free: 31.58 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002813/0.9999, allocations: 495.3 kB / 0.6498 GB, free: 31.2 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009585/1.009, allocations: 5.83 MB / 0.6555 GB, free: 25.95 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001777/1.011, allocations: 2.459 MB / 0.6579 GB, free: 23.83 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002376/1.014, allocations: 0.6094 MB / 0.6585 GB, free: 23.23 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007684/1.014, allocations: 199.4 kB / 0.6587 GB, free: 23.03 MB / 410.7 MB Notification: Performance of SimCode: time 6.81e-07/1.014, allocations: 0 / 0.6587 GB, free: 23.03 MB / 410.7 MB Notification: Performance of Templates: time 0.2796/1.294, allocations: 37.47 MB / 0.6953 GB, free: 78.98 MB / 410.7 MB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise.makefile (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/ActuatorWithNoise/ActuatorWithNoise.csv","../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches