Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.002049/0.002049, allocations: 175.5 kB / 16.72 MB, free: 5.082 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.375/1.375, allocations: 205.4 MB / 222.9 MB, free: 9.031 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.0007213/0.0007214, allocations: 94.34 kB / 271.2 MB, free: 8.246 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003429/0.000343, allocations: 15.98 kB / 327.5 MB, free: 15.89 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2218/0.2221, allocations: 47.57 MB / 375.1 MB, free: 45.44 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise): time 0.01103/0.2332, allocations: 11.97 MB / 387.1 MB, free: 36.09 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.009361/0.2426, allocations: 4.942 MB / 392 MB, free: 31.77 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002916/0.2456, allocations: 67.69 kB / 392.1 MB, free: 31.7 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002631/0.2483, allocations: 0.7297 MB / 392.8 MB, free: 30.96 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004002/0.2523, allocations: 0.9359 MB / 393.7 MB, free: 30.02 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002309/0.2546, allocations: 0.6006 MB / 394.3 MB, free: 29.42 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.005058/0.2597, allocations: 4.17 MB / 398.5 MB, free: 25.24 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003081/0.2628, allocations: 2.594 MB / 401.1 MB, free: 22.58 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002244/0.2651, allocations: 1.342 MB / 402.4 MB, free: 21.23 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002699/0.2678, allocations: 1.802 MB / 404.2 MB, free: 19.43 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007112/0.2685, allocations: 208 kB / 404.4 MB, free: 19.22 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001501/0.27, allocations: 0.4955 MB / 404.9 MB, free: 18.73 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008544/0.2709, allocations: 0.9734 MB / 405.9 MB, free: 17.75 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001987/0.2729, allocations: 1.751 MB / 407.7 MB, free: 15.98 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00471/0.2776, allocations: 6.085 MB / 413.7 MB, free: 9.883 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.254e-06/0.2777, allocations: 0 / 413.7 MB, free: 9.883 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.2777, allocations: 0 / 413.7 MB, free: 9.883 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0002004/0.2779, allocations: 0 / 413.7 MB, free: 9.883 MB / 298.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.008241/0.2861, allocations: 3.639 MB / 417.4 MB, free: 6.176 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.2862, allocations: 12.03 kB / 417.4 MB, free: 6.164 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001728/0.2879, allocations: 456 kB / 417.8 MB, free: 5.715 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003727/0.2917, allocations: 2.288 MB / 420.1 MB, free: 3.375 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006356/0.2924, allocations: 427.2 kB / 420.5 MB, free: 2.938 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006577/0.293, allocations: 319.8 kB / 420.9 MB, free: 2.625 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00772/0.3008, allocations: 4.246 MB / 425.1 MB, free: 14.31 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.527e-05/0.3009, allocations: 11.91 kB / 425.1 MB, free: 14.3 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003067/0.3012, allocations: 128 kB / 425.2 MB, free: 14.17 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001461/0.3014, allocations: 146.1 kB / 425.4 MB, free: 14.03 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008011/0.3094, allocations: 3.854 MB / 429.2 MB, free: 10.16 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02593/0.3354, allocations: 14.25 MB / 443.5 MB, free: 11.53 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003579/0.339, allocations: 2.161 MB / 445.6 MB, free: 9.293 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002341/0.3414, allocations: 1.302 MB / 446.9 MB, free: 7.988 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003496/0.3417, allocations: 216.2 kB / 447.2 MB, free: 7.742 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002428/0.3442, allocations: 1.326 MB / 448.5 MB, free: 6.395 MB / 330.7 MB Notification: Performance of pre-optimization done (n=186): time 4.338e-06/0.3442, allocations: 4 kB / 448.5 MB, free: 6.391 MB / 330.7 MB Notification: Performance of matching and sorting (n=234): time 0.02971/0.3739, allocations: 13.01 MB / 461.5 MB, free: 9.27 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003782/0.3778, allocations: 3.268 MB / 464.8 MB, free: 5.82 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003744/0.3815, allocations: 2.268 MB / 467 MB, free: 3.523 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005373/0.3821, allocations: 77.7 kB / 467.1 MB, free: 3.441 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00132/0.3834, allocations: 1.497 MB / 468.6 MB, free: 1.922 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001/0.3845, allocations: 0.7818 MB / 469.4 MB, free: 1.129 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001665/0.3846, allocations: 52 kB / 469.4 MB, free: 1.078 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000196/0.3848, allocations: 415.4 kB / 469.8 MB, free: 0.668 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002297/0.3871, allocations: 1.286 MB / 471.1 MB, free: 15.38 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002811/0.39, allocations: 1.937 MB / 473.1 MB, free: 13.18 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005363/0.3954, allocations: 3.296 MB / 476.4 MB, free: 9.609 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.16e-05/0.3954, allocations: 8 kB / 476.4 MB, free: 9.602 MB / 362.7 MB Notification: Performance of matching and sorting (n=339) (initialization): time 0.007643/0.4031, allocations: 3.881 MB / 480.3 MB, free: 5.656 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.842e-05/0.4031, allocations: 16 kB / 480.3 MB, free: 5.641 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.113e-05/0.4032, allocations: 16 kB / 480.3 MB, free: 5.625 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001317/0.4045, allocations: 0.5079 MB / 480.8 MB, free: 5.105 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002694/0.4072, allocations: 0.6631 MB / 481.5 MB, free: 4.441 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005642/0.4129, allocations: 4.651 MB / 486.1 MB, free: 15.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002467/0.4154, allocations: 199.8 kB / 486.3 MB, free: 15.32 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003817/0.4158, allocations: 104 kB / 486.4 MB, free: 15.22 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 79 * 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 (308): * Single equations (assignments): 303 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * 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.002465/0.4183, allocations: 1.094 MB / 487.5 MB, free: 14.12 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006765/0.4189, allocations: 252.8 kB / 487.7 MB, free: 13.87 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007049/0.426, allocations: 3.655 MB / 491.4 MB, free: 10.18 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.328e-05/0.4261, allocations: 24 kB / 491.4 MB, free: 10.16 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.186e-05/0.4261, allocations: 4 kB / 491.4 MB, free: 10.15 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.723e-05/0.4261, allocations: 7.969 kB / 491.4 MB, free: 10.14 MB / 378.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.01792/0.4441, allocations: 9.395 MB / 0.4891 GB, free: 0.6016 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.17e-05/0.4441, allocations: 0 / 0.4891 GB, free: 0.6016 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001862/0.446, allocations: 435.6 kB / 0.4895 GB, free: 180 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.2037/0.6497, allocations: 0.6219 MB / 0.4901 GB, free: 106.2 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004521/0.6502, allocations: 50.05 kB / 0.4902 GB, free: 106.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008442/0.6587, allocations: 7.478 MB / 0.4975 GB, free: 101.5 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003369/0.6621, allocations: 3.016 MB / 0.5004 GB, free: 99.53 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01021/0.6724, allocations: 5.438 MB / 0.5057 GB, free: 97.37 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001666/0.6741, allocations: 0.632 MB / 0.5063 GB, free: 97.08 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004836/0.6746, allocations: 50.66 kB / 0.5064 GB, free: 97.05 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00151/0.6761, allocations: 171.5 kB / 0.5066 GB, free: 97.02 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004853/0.6766, allocations: 194.3 kB / 0.5067 GB, free: 96.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001389/0.6767, allocations: 65.06 kB / 0.5068 GB, free: 96.96 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002417/0.6792, allocations: 1.543 MB / 0.5083 GB, free: 96.35 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.263e-06/0.6792, allocations: 0 / 0.5083 GB, free: 96.35 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002713/0.6819, allocations: 0.7827 MB / 0.5091 GB, free: 96.27 MB / 378.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 (197): * Single equations (assignments): 191 * 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%) 8} * Non-linear torn systems: 1 {2 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008745/0.6828, allocations: 364.9 kB / 0.5094 GB, free: 96.1 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.005419/0.6882, allocations: 3.707 MB / 0.513 GB, free: 93.55 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.896e-06/0.6883, allocations: 3.891 kB / 0.513 GB, free: 93.55 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003214/0.6915, allocations: 2.261 MB / 0.5153 GB, free: 91.32 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003519/0.695, allocations: 0.6043 MB / 0.5158 GB, free: 90.73 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01197/0.707, allocations: 8.524 MB / 0.5242 GB, free: 82.19 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001706/0.7088, allocations: 2.354 MB / 0.5265 GB, free: 79.8 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001168/0.71, allocations: 215.4 kB / 0.5267 GB, free: 79.59 MB / 378.7 MB Notification: Performance of SimCode: time 1.462e-06/0.71, allocations: 0 / 0.5267 GB, free: 79.59 MB / 378.7 MB Notification: Performance of Templates: time 0.1146/0.8245, allocations: 115 MB / 0.639 GB, free: 12.32 MB / 426.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise.sim & ./Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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_cpp_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches