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.001084/0.001084, allocations: 183.8 kB / 18.04 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.335/1.335, allocations: 205.4 MB / 224.2 MB, free: 9.023 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007564/0.0007564, allocations: 92.98 kB / 272.5 MB, free: 8.246 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003046/0.0003047, allocations: 12 kB / 329.5 MB, free: 15.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1975/0.1978, allocations: 47.57 MB / 377 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1327/0.3306, allocations: 124.9 MB / 0.4902 GB, free: 3.52 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002773/0.3309, allocations: 91.95 kB / 0.4903 GB, free: 3.43 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3335/0.6644, allocations: 79.01 MB / 0.5674 GB, free: 52.38 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.304e-06/0.6645, allocations: 0 / 0.5674 GB, free: 52.38 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003682/0.6649, allocations: 83.94 kB / 0.5675 GB, free: 52.29 MB / 378.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.009215/0.6741, allocations: 3.666 MB / 0.5711 GB, free: 48.55 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.6741, allocations: 8.031 kB / 0.5711 GB, free: 48.55 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001798/0.6759, allocations: 460 kB / 0.5716 GB, free: 48.09 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005083/0.681, allocations: 2.647 MB / 0.5741 GB, free: 45.39 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004004/0.6815, allocations: 368.4 kB / 0.5745 GB, free: 45.02 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007835/0.6823, allocations: 311.9 kB / 0.5748 GB, free: 44.71 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006563/0.6888, allocations: 4.248 MB / 0.5789 GB, free: 40.32 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.985e-05/0.689, allocations: 11.91 kB / 0.5789 GB, free: 40.31 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002985/0.6893, allocations: 132 kB / 0.5791 GB, free: 40.18 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001087/0.6894, allocations: 146 kB / 0.5792 GB, free: 40.04 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006441/0.6959, allocations: 3.702 MB / 0.5828 GB, free: 36.32 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02108/0.717, allocations: 14.06 MB / 0.5966 GB, free: 21.89 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002941/0.72, allocations: 2.229 MB / 0.5987 GB, free: 19.59 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001819/0.7218, allocations: 1.288 MB / 0.6 GB, free: 18.3 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003028/0.7221, allocations: 236.1 kB / 0.6002 GB, free: 18.03 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001849/0.724, allocations: 1.338 MB / 0.6015 GB, free: 16.67 MB / 378.7 MB Notification: Performance of pre-optimization done (n=193): time 4.088e-06/0.724, allocations: 4 kB / 0.6015 GB, free: 16.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=244): time 0.02575/0.7498, allocations: 13.23 MB / 0.6144 GB, free: 3.328 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003412/0.7532, allocations: 3.533 MB / 0.6179 GB, free: 15.61 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003632/0.7569, allocations: 2.214 MB / 0.6201 GB, free: 13.37 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004753/0.7574, allocations: 81.69 kB / 0.6201 GB, free: 13.29 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001269/0.7587, allocations: 1.478 MB / 0.6216 GB, free: 11.79 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007986/0.7595, allocations: 0.8203 MB / 0.6224 GB, free: 10.95 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001554/0.7596, allocations: 56.03 kB / 0.6224 GB, free: 10.9 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001732/0.7598, allocations: 415.5 kB / 0.6228 GB, free: 10.49 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002212/0.762, allocations: 1.313 MB / 0.6241 GB, free: 9.172 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00254/0.7646, allocations: 1.942 MB / 0.626 GB, free: 6.977 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005018/0.7696, allocations: 3.347 MB / 0.6293 GB, free: 3.363 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.389e-05/0.7697, allocations: 4 kB / 0.6293 GB, free: 3.359 MB / 394.7 MB Notification: Performance of matching and sorting (n=347) (initialization): time 0.007654/0.7773, allocations: 3.949 MB / 0.6331 GB, free: 15.35 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.36e-05/0.7774, allocations: 15.94 kB / 0.6332 GB, free: 15.33 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.52e-05/0.7774, allocations: 20 kB / 0.6332 GB, free: 15.31 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001224/0.7787, allocations: 0.4884 MB / 0.6336 GB, free: 14.81 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002871/0.7816, allocations: 0.6865 MB / 0.6343 GB, free: 14.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005686/0.7873, allocations: 4.654 MB / 0.6389 GB, free: 9.191 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002564/0.7899, allocations: 199.8 kB / 0.6391 GB, free: 8.996 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003708/0.7903, allocations: 123.8 kB / 0.6392 GB, free: 8.875 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 (316): * Single equations (assignments): 310 * 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.002196/0.7925, allocations: 1.094 MB / 0.6402 GB, free: 7.766 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005874/0.7931, allocations: 264.8 kB / 0.6405 GB, free: 7.504 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006791/0.7999, allocations: 3.753 MB / 0.6442 GB, free: 3.723 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.89e-05/0.7999, allocations: 24 kB / 0.6442 GB, free: 3.699 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.167e-06/0.7999, allocations: 4 kB / 0.6442 GB, free: 3.695 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.437e-05/0.8, allocations: 11.95 kB / 0.6442 GB, free: 3.684 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.1986/0.9986, allocations: 9.47 MB / 0.6534 GB, free: 87.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.119e-05/0.9987, allocations: 2.844 kB / 0.6534 GB, free: 87.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001857/1.001, allocations: 475.4 kB / 0.6539 GB, free: 87.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001439/1.002, allocations: 0.6559 MB / 0.6545 GB, free: 87.27 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002171/1.002, allocations: 52.98 kB / 0.6546 GB, free: 87.27 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007261/1.01, allocations: 7.736 MB / 0.6621 GB, free: 83.45 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003166/1.013, allocations: 3.296 MB / 0.6654 GB, free: 82.09 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008848/1.022, allocations: 5.58 MB / 0.6708 GB, free: 81.77 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001555/1.023, allocations: 0.6478 MB / 0.6714 GB, free: 81.68 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005545/1.024, allocations: 50.88 kB / 0.6715 GB, free: 81.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00156/1.025, allocations: 165.9 kB / 0.6717 GB, free: 81.68 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00045/1.026, allocations: 207.8 kB / 0.6719 GB, free: 81.67 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001466/1.026, allocations: 72.33 kB / 0.6719 GB, free: 81.67 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002855/1.029, allocations: 1.509 MB / 0.6734 GB, free: 81.53 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.7e-07/1.029, allocations: 0 / 0.6734 GB, free: 81.53 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003501/1.032, allocations: 0.8503 MB / 0.6742 GB, free: 81.53 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 (204): * Single equations (assignments): 198 * 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.001306/1.034, allocations: 0.5889 MB / 0.6748 GB, free: 81.42 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.007122/1.041, allocations: 3.801 MB / 0.6785 GB, free: 80.9 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.614e-06/1.041, allocations: 1.094 kB / 0.6785 GB, free: 80.9 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004422/1.045, allocations: 2.315 MB / 0.6808 GB, free: 80.43 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00439/1.05, allocations: 0.6201 MB / 0.6814 GB, free: 80.4 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01466/1.064, allocations: 8.555 MB / 0.6897 GB, free: 76.42 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002299/1.067, allocations: 2.384 MB / 0.6921 GB, free: 75.36 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002696/1.07, allocations: 0.6109 MB / 0.6927 GB, free: 75.29 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008285/1.07, allocations: 207 kB / 0.6929 GB, free: 75.27 MB / 410.7 MB Notification: Performance of SimCode: time 1.112e-06/1.07, allocations: 0 / 0.6929 GB, free: 75.27 MB / 410.7 MB Notification: Performance of Templates: time 0.0707/1.141, allocations: 44.92 MB / 0.7367 GB, free: 49.89 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/jenkins1/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