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.001133/0.001133, allocations: 181 kB / 17.01 MB, free: 5.125 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.734/1.734, allocations: 205.4 MB / 223.1 MB, free: 9.129 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.001287/0.001287, allocations: 88.22 kB / 271.5 MB, free: 8.375 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003122/0.0003123, allocations: 8 kB / 328.2 MB, free: 15.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3503/0.3506, allocations: 47.57 MB / 375.8 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1799/0.5306, allocations: 124.6 MB / 0.4887 GB, free: 3.969 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003286/0.531, allocations: 87.95 kB / 0.4888 GB, free: 3.883 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4528/0.9839, allocations: 79.13 MB / 0.566 GB, free: 52.72 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.9839, allocations: 0 / 0.566 GB, free: 52.72 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0004425/0.9844, allocations: 95.86 kB / 0.5661 GB, free: 52.62 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.01403/0.9984, allocations: 3.697 MB / 0.5698 GB, free: 48.86 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.04e-05/0.9985, allocations: 12.03 kB / 0.5698 GB, free: 48.84 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002868/1.001, allocations: 459.1 kB / 0.5702 GB, free: 48.39 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00811/1.009, allocations: 2.565 MB / 0.5727 GB, free: 45.77 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000562/1.01, allocations: 371.6 kB / 0.5731 GB, free: 45.39 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001457/1.012, allocations: 311.9 kB / 0.5734 GB, free: 45.09 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008576/1.02, allocations: 4.221 MB / 0.5775 GB, free: 40.72 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.985e-05/1.02, allocations: 19.89 kB / 0.5775 GB, free: 40.7 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003074/1.021, allocations: 132 kB / 0.5776 GB, free: 40.57 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001179/1.021, allocations: 142.1 kB / 0.5778 GB, free: 40.43 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006682/1.027, allocations: 3.705 MB / 0.5814 GB, free: 36.72 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02503/1.053, allocations: 14.05 MB / 0.5951 GB, free: 22.3 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003451/1.056, allocations: 2.226 MB / 0.5973 GB, free: 19.99 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004057/1.056, allocations: 232.1 kB / 0.5975 GB, free: 19.73 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002162/1.059, allocations: 1.342 MB / 0.5988 GB, free: 18.36 MB / 378.7 MB Notification: Performance of pre-optimization done (n=193): time 5.601e-06/1.059, allocations: 0 / 0.5988 GB, free: 18.36 MB / 378.7 MB Notification: Performance of matching and sorting (n=244): time 0.03046/1.089, allocations: 13.35 MB / 0.6119 GB, free: 4.883 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004572/1.094, allocations: 3.642 MB / 0.6154 GB, free: 1.062 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005322/1.099, allocations: 1.972 MB / 0.6173 GB, free: 15.07 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006781/1.1, allocations: 73.7 kB / 0.6174 GB, free: 14.99 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002088/1.102, allocations: 1.486 MB / 0.6189 GB, free: 13.48 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001517/1.104, allocations: 0.8164 MB / 0.6197 GB, free: 12.65 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000537/1.104, allocations: 56 kB / 0.6197 GB, free: 12.6 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003325/1.104, allocations: 407.5 kB / 0.6201 GB, free: 12.2 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003237/1.108, allocations: 1.325 MB / 0.6214 GB, free: 10.87 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003808/1.111, allocations: 1.942 MB / 0.6233 GB, free: 8.672 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003799/1.115, allocations: 1.585 MB / 0.6248 GB, free: 7.066 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-05/1.115, allocations: 4 kB / 0.6248 GB, free: 7.062 MB / 394.7 MB Notification: Performance of matching and sorting (n=347) (initialization): time 0.009879/1.125, allocations: 3.961 MB / 0.6287 GB, free: 3.039 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.22e-05/1.125, allocations: 13.44 kB / 0.6287 GB, free: 3.027 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.576e-05/1.125, allocations: 24 kB / 0.6287 GB, free: 3.004 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0017/1.127, allocations: 0.4959 MB / 0.6292 GB, free: 2.496 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003411/1.131, allocations: 0.6826 MB / 0.6299 GB, free: 1.812 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007503/1.138, allocations: 4.741 MB / 0.6345 GB, free: 12.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003853/1.142, allocations: 215.8 kB / 0.6347 GB, free: 12.58 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006926/1.143, allocations: 112 kB / 0.6348 GB, free: 12.47 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.004222/1.147, allocations: 1.086 MB / 0.6359 GB, free: 11.38 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001224/1.148, allocations: 268.7 kB / 0.6362 GB, free: 11.11 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008065/1.156, allocations: 3.765 MB / 0.6398 GB, free: 7.312 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.117e-05/1.156, allocations: 27.94 kB / 0.6399 GB, free: 7.285 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.177e-06/1.156, allocations: 4 kB / 0.6399 GB, free: 7.281 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.131e-05/1.156, allocations: 11.95 kB / 0.6399 GB, free: 7.27 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.3361/1.492, allocations: 9.488 MB / 0.6491 GB, free: 88.08 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-05/1.492, allocations: 0 / 0.6491 GB, free: 88.08 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002013/1.495, allocations: 470.7 kB / 0.6496 GB, free: 88.08 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001773/1.496, allocations: 0.6579 MB / 0.6502 GB, free: 88.05 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000225/1.497, allocations: 53.44 kB / 0.6503 GB, free: 88.05 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008784/1.505, allocations: 7.932 MB / 0.658 GB, free: 84.24 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003514/1.509, allocations: 3.397 MB / 0.6613 GB, free: 82.89 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01002/1.519, allocations: 5.718 MB / 0.6669 GB, free: 82.42 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002656/1.522, allocations: 0.6453 MB / 0.6676 GB, free: 82.32 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009906/1.523, allocations: 53.41 kB / 0.6676 GB, free: 82.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001945/1.525, allocations: 168.1 kB / 0.6678 GB, free: 82.32 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005943/1.525, allocations: 208.3 kB / 0.668 GB, free: 82.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001712/1.525, allocations: 68.47 kB / 0.668 GB, free: 82.32 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00297/1.528, allocations: 1.507 MB / 0.6695 GB, free: 82.18 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.61e-07/1.528, allocations: 0 / 0.6695 GB, free: 82.18 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004157/1.533, allocations: 0.8521 MB / 0.6703 GB, free: 82.18 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.001519/1.534, allocations: 0.6027 MB / 0.6709 GB, free: 82.06 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.007586/1.542, allocations: 3.815 MB / 0.6746 GB, free: 81.54 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.466e-06/1.542, allocations: 0 / 0.6746 GB, free: 81.54 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004508/1.546, allocations: 2.326 MB / 0.6769 GB, free: 81.07 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004238/1.551, allocations: 0.568 MB / 0.6775 GB, free: 81.05 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01881/1.569, allocations: 8.555 MB / 0.6858 GB, free: 77.76 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002753/1.572, allocations: 2.46 MB / 0.6882 GB, free: 76.96 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002983/1.575, allocations: 0.61 MB / 0.6888 GB, free: 76.89 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009812/1.576, allocations: 211.4 kB / 0.689 GB, free: 76.87 MB / 410.7 MB Notification: Performance of SimCode: time 1.222e-06/1.576, allocations: 0 / 0.689 GB, free: 76.87 MB / 410.7 MB Notification: Performance of Templates: time 0.07604/1.652, allocations: 44.46 MB / 0.7324 GB, free: 54.25 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