Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Noise.ActuatorWithNoise.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Blocks.Examples.Noise.ActuatorWithNoise") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001312/0.001312, allocations: 200 kB / 18.11 MB, free: 3.613 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.445/1.445, allocations: 226.5 MB / 245.4 MB, free: 6.508 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008342/0.000834, allocations: 107.9 kB / 297.5 MB, free: 6.68 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002181/0.0002182, allocations: 4 kB / 358.1 MB, free: 10.06 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2223/0.2225, allocations: 51.29 MB / 409.4 MB, free: 27.6 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3683/0.5909, allocations: 127.1 MB / 0.5239 GB, free: 90.03 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002202/0.5911, allocations: 92.83 kB / 0.524 GB, free: 89.98 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1897/0.7808, allocations: 87.33 MB / 0.6093 GB, free: 2.789 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.7808, allocations: 0 / 0.6093 GB, free: 2.789 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003915/0.7812, allocations: 87.92 kB / 0.6094 GB, free: 2.703 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.01009/0.7914, allocations: 3.71 MB / 0.613 GB, free: 14.92 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.992e-05/0.7914, allocations: 8.031 kB / 0.613 GB, free: 14.91 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002575/0.794, allocations: 468 kB / 0.6135 GB, free: 14.45 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006929/0.801, allocations: 2.678 MB / 0.6161 GB, free: 11.72 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006469/0.8016, allocations: 368.3 kB / 0.6164 GB, free: 11.34 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001275/0.8029, allocations: 319.9 kB / 0.6167 GB, free: 11.03 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01131/0.8143, allocations: 4.259 MB / 0.6209 GB, free: 6.629 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001455/0.8144, allocations: 11.91 kB / 0.6209 GB, free: 6.617 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006658/0.8151, allocations: 132 kB / 0.621 GB, free: 6.488 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001434/0.8153, allocations: 138.1 kB / 0.6212 GB, free: 6.352 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008607/0.8239, allocations: 3.717 MB / 0.6248 GB, free: 2.625 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03261/0.8566, allocations: 14.16 MB / 0.6386 GB, free: 4.09 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004394/0.861, allocations: 2.23 MB / 0.6408 GB, free: 1.777 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0027/0.8637, allocations: 1.304 MB / 0.6421 GB, free: 492 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004838/0.8643, allocations: 236.1 kB / 0.6423 GB, free: 220 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002958/0.8672, allocations: 1.35 MB / 0.6436 GB, free: 14.84 MB / 426.7 MB Notification: Performance of pre-optimization done (n=193): time 5.049e-06/0.8673, allocations: 0 / 0.6436 GB, free: 14.84 MB / 426.7 MB Notification: Performance of matching and sorting (n=244): time 0.03205/0.8993, allocations: 13.3 MB / 0.6566 GB, free: 1.43 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004285/0.9037, allocations: 3.532 MB / 0.66 GB, free: 13.72 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005176/0.9089, allocations: 2.264 MB / 0.6623 GB, free: 11.43 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006052/0.9095, allocations: 81.69 kB / 0.6623 GB, free: 11.34 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001642/0.9112, allocations: 1.486 MB / 0.6638 GB, free: 9.832 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001168/0.9124, allocations: 0.8202 MB / 0.6646 GB, free: 9 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004146/0.9128, allocations: 52 kB / 0.6646 GB, free: 8.949 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002794/0.9131, allocations: 415.5 kB / 0.665 GB, free: 8.539 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002942/0.916, allocations: 1.317 MB / 0.6663 GB, free: 7.219 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003152/0.9192, allocations: 1.954 MB / 0.6682 GB, free: 5.008 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005483/0.9247, allocations: 3.362 MB / 0.6715 GB, free: 1.379 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.781e-05/0.9247, allocations: 4 kB / 0.6715 GB, free: 1.375 MB / 442.7 MB Notification: Performance of matching and sorting (n=347) (initialization): time 0.2387/1.163, allocations: 3.966 MB / 0.6754 GB, free: 88.97 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.603e-05/1.164, allocations: 13.72 kB / 0.6754 GB, free: 88.97 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.903e-05/1.164, allocations: 15.72 kB / 0.6754 GB, free: 88.97 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001338/1.165, allocations: 0.5102 MB / 0.6759 GB, free: 88.94 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002844/1.168, allocations: 0.6866 MB / 0.6766 GB, free: 88.94 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004813/1.173, allocations: 4.679 MB / 0.6812 GB, free: 86.37 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002653/1.175, allocations: 205.8 kB / 0.6814 GB, free: 86.37 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005508/1.176, allocations: 114.1 kB / 0.6815 GB, free: 86.37 MB / 442.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.002528/1.178, allocations: 1.094 MB / 0.6825 GB, free: 86.25 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008713/1.179, allocations: 264.9 kB / 0.6828 GB, free: 86.25 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007137/1.186, allocations: 3.765 MB / 0.6865 GB, free: 86.1 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.782e-05/1.186, allocations: 25 kB / 0.6865 GB, free: 86.1 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.817e-05/1.187, allocations: 3.781 kB / 0.6865 GB, free: 86.1 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.498e-05/1.187, allocations: 11.3 kB / 0.6865 GB, free: 86.1 MB / 442.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.01814/1.205, allocations: 9.555 MB / 0.6958 GB, free: 85.35 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.307e-05/1.205, allocations: 0 / 0.6958 GB, free: 85.35 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001983/1.207, allocations: 479 kB / 0.6963 GB, free: 85.35 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001729/1.208, allocations: 0.6699 MB / 0.6969 GB, free: 85.32 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000326/1.209, allocations: 59.94 kB / 0.697 GB, free: 85.32 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008178/1.217, allocations: 7.764 MB / 0.7046 GB, free: 81.49 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003361/1.22, allocations: 3.299 MB / 0.7078 GB, free: 80.14 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009693/1.23, allocations: 5.612 MB / 0.7133 GB, free: 77.88 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001684/1.232, allocations: 0.6758 MB / 0.7139 GB, free: 77.44 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008181/1.233, allocations: 53.41 kB / 0.714 GB, free: 77.4 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001994/1.235, allocations: 170.7 kB / 0.7142 GB, free: 77.37 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005644/1.235, allocations: 207.7 kB / 0.7144 GB, free: 77.34 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002263/1.236, allocations: 72.28 kB / 0.7144 GB, free: 77.32 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002907/1.238, allocations: 1.533 MB / 0.7159 GB, free: 76.71 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.2e-07/1.239, allocations: 3.531 kB / 0.7159 GB, free: 76.71 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00478/1.243, allocations: 0.8519 MB / 0.7168 GB, free: 76.61 MB / 442.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.002011/1.245, allocations: 0.8151 MB / 0.7176 GB, free: 76.44 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.007096/1.252, allocations: 3.812 MB / 0.7213 GB, free: 74.82 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.314e-06/1.253, allocations: 3.375 kB / 0.7213 GB, free: 74.82 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004355/1.257, allocations: 2.334 MB / 0.7236 GB, free: 73.73 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005371/1.262, allocations: 0.6185 MB / 0.7242 GB, free: 73.54 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01581/1.278, allocations: 8.578 MB / 0.7325 GB, free: 68.98 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002988/1.281, allocations: 2.394 MB / 0.7349 GB, free: 67.92 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003035/1.284, allocations: 0.6228 MB / 0.7355 GB, free: 67.85 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001123/1.285, allocations: 215.8 kB / 0.7357 GB, free: 67.84 MB / 442.7 MB Notification: Performance of SimCode: time 6.91e-07/1.285, allocations: 3.625 kB / 0.7357 GB, free: 67.84 MB / 442.7 MB Notification: Performance of Templates: time 0.06954/1.355, allocations: 45.95 MB / 0.7806 GB, free: 43.57 MB / 442.7 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Noise.ActuatorWithNoise.makefile (rm -f Modelica_trunk_Modelica.Blocks.Examples.Noise.ActuatorWithNoise.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Noise.ActuatorWithNoise.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Noise.ActuatorWithNoise.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.ActuatorWithNoise.sim & ./Modelica_trunk_Modelica.Blocks.Examples.Noise.ActuatorWithNoise -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Noise.ActuatorWithNoise.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.Noise.ActuatorWithNoise_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/ActuatorWithNoise/ActuatorWithNoise.csv","../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.ActuatorWithNoise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches