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: 172.9 kB / 14.1 MB, free: 1.223 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.707/1.707, allocations: 205.2 MB / 219.8 MB, free: 14.2 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.000789/0.0007891, allocations: 78.72 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.376e-05/2.379e-05, allocations: 4 kB / 322.4 MB, free: 17.36 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1086, allocations: 47.58 MB / 370 MB, free: 1.711 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.35/0.4587, allocations: 124.5 MB / 494.5 MB, free: 1.32 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001899/0.4589, allocations: 83.92 kB / 494.6 MB, free: 1.281 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4536/0.9125, allocations: 79.18 MB / 0.5603 GB, free: 97.23 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.9126, allocations: 0 / 0.5603 GB, free: 97.23 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003299/0.9129, allocations: 87.98 kB / 0.5604 GB, free: 97.21 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.009547/0.9225, allocations: 3.296 MB / 0.5637 GB, free: 95.82 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.9225, allocations: 7.875 kB / 0.5637 GB, free: 95.82 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002067/0.9246, allocations: 462.6 kB / 0.5641 GB, free: 95.62 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005049/0.9297, allocations: 2.545 MB / 0.5666 GB, free: 95.09 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004823/0.9302, allocations: 373.8 kB / 0.5669 GB, free: 94.98 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007047/0.9309, allocations: 312.7 kB / 0.5672 GB, free: 94.97 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007592/0.9385, allocations: 4.092 MB / 0.5712 GB, free: 93.7 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001053/0.9386, allocations: 11.84 kB / 0.5712 GB, free: 93.7 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003116/0.939, allocations: 139.8 kB / 0.5714 GB, free: 93.59 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001173/0.9391, allocations: 144.3 kB / 0.5715 GB, free: 93.57 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005499/0.9446, allocations: 3.494 MB / 0.5749 GB, free: 92.17 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02151/0.9661, allocations: 14.04 MB / 0.5886 GB, free: 84.55 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002968/0.9691, allocations: 2.098 MB / 0.5907 GB, free: 83.43 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001625/0.9708, allocations: 1.191 MB / 0.5919 GB, free: 82.95 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000348/0.9712, allocations: 230.9 kB / 0.5921 GB, free: 82.75 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001683/0.9729, allocations: 1.243 MB / 0.5933 GB, free: 82.22 MB / 410.7 MB Notification: Performance of pre-optimization done (n=193): time 4.117e-06/0.9729, allocations: 0 / 0.5933 GB, free: 82.22 MB / 410.7 MB Notification: Performance of matching and sorting (n=244): time 0.02256/0.9955, allocations: 10.96 MB / 0.604 GB, free: 75.73 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003414/0.9989, allocations: 3.534 MB / 0.6074 GB, free: 72.36 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003192/1.002, allocations: 1.945 MB / 0.6093 GB, free: 70.57 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006534/1.003, allocations: 85.17 kB / 0.6094 GB, free: 70.48 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001143/1.004, allocations: 1.473 MB / 0.6109 GB, free: 69.15 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009015/1.005, allocations: 0.8148 MB / 0.6117 GB, free: 68.42 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002004/1.005, allocations: 58.16 kB / 0.6117 GB, free: 68.36 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001351/1.005, allocations: 418.5 kB / 0.6121 GB, free: 67.98 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001811/1.007, allocations: 1.263 MB / 0.6133 GB, free: 66.8 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001875/1.009, allocations: 1.888 MB / 0.6152 GB, free: 64.79 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001903/1.011, allocations: 1.529 MB / 0.6167 GB, free: 63.41 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.177e-06/1.011, allocations: 8 kB / 0.6167 GB, free: 63.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=347) (initialization): time 0.005867/1.017, allocations: 3.846 MB / 0.6204 GB, free: 59.85 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.288e-05/1.017, allocations: 12 kB / 0.6205 GB, free: 59.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.513e-05/1.017, allocations: 20 kB / 0.6205 GB, free: 59.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001224/1.018, allocations: 496.1 kB / 0.6209 GB, free: 59.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002851/1.021, allocations: 0.6899 MB / 0.6216 GB, free: 58.83 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004912/1.026, allocations: 4.636 MB / 0.6261 GB, free: 54.22 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00297/1.029, allocations: 201.6 kB / 0.6263 GB, free: 54.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005571/1.03, allocations: 115.2 kB / 0.6265 GB, free: 53.97 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 () * 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.0005879/1.03, allocations: 279.8 kB / 0.6267 GB, free: 53.69 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000757/1.031, allocations: 260.7 kB / 0.627 GB, free: 53.43 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005823/1.037, allocations: 3.566 MB / 0.6304 GB, free: 50.34 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-05/1.037, allocations: 23.7 kB / 0.6305 GB, free: 50.32 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.929e-06/1.037, allocations: 9.25 kB / 0.6305 GB, free: 50.31 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.935e-05/1.037, allocations: 14.08 kB / 0.6305 GB, free: 50.31 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.01521/1.052, allocations: 9.283 MB / 0.6396 GB, free: 41.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.759e-06/1.052, allocations: 4.188 kB / 0.6396 GB, free: 41.22 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001969/1.054, allocations: 475.3 kB / 0.64 GB, free: 40.76 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001648/1.056, allocations: 0.6508 MB / 0.6407 GB, free: 40.1 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003472/1.056, allocations: 51.97 kB / 0.6407 GB, free: 40.05 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007522/1.064, allocations: 7.708 MB / 0.6482 GB, free: 31.95 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00317/1.067, allocations: 3.278 MB / 0.6514 GB, free: 28.54 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008912/1.076, allocations: 5.371 MB / 0.6567 GB, free: 23.06 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002132/1.078, allocations: 0.6577 MB / 0.6573 GB, free: 22.38 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001015/1.079, allocations: 51.98 kB / 0.6574 GB, free: 22.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002627/1.082, allocations: 167.8 kB / 0.6575 GB, free: 22.17 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006847/1.082, allocations: 213.2 kB / 0.6577 GB, free: 21.97 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002473/1.083, allocations: 70.88 kB / 0.6578 GB, free: 21.9 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003648/1.086, allocations: 1.475 MB / 0.6592 GB, free: 20.41 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.71e-07/1.086, allocations: 4 kB / 0.6592 GB, free: 20.4 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004856/1.091, allocations: 0.8553 MB / 0.6601 GB, free: 19.55 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 (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.001888/1.093, allocations: 0.562 MB / 0.6606 GB, free: 19.04 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005923/1.099, allocations: 3.608 MB / 0.6642 GB, free: 15.36 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.065e-06/1.099, allocations: 0.875 kB / 0.6642 GB, free: 15.36 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003364/1.103, allocations: 2.202 MB / 0.6663 GB, free: 13.1 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003713/1.106, allocations: 0.5909 MB / 0.6669 GB, free: 12.52 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01301/1.119, allocations: 5.953 MB / 0.6727 GB, free: 6.52 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002331/1.122, allocations: 2.459 MB / 0.6751 GB, free: 4.023 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002489/1.124, allocations: 0.607 MB / 0.6757 GB, free: 3.414 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007045/1.125, allocations: 203.4 kB / 0.6759 GB, free: 3.215 MB / 410.7 MB Notification: Performance of SimCode: time 7.01e-07/1.125, allocations: 4 kB / 0.6759 GB, free: 3.211 MB / 410.7 MB Notification: Performance of Templates: time 0.3418/1.467, allocations: 44.98 MB / 0.7198 GB, free: 98.85 MB / 426.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