Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ActuatorWithNoise.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Blocks.Examples.Noise.ActuatorWithNoise") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00115/0.00115, allocations: 180.2 kB / 16.38 MB, free: 5.758 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.285/1.285, allocations: 223.2 MB / 240.3 MB, free: 10.13 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008112/0.000811, allocations: 90.53 kB / 291.5 MB, free: 10.69 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002723/0.0002724, allocations: 11.94 kB / 351.1 MB, free: 15.09 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2644/0.2647, allocations: 50.4 MB / 401.5 MB, free: 32.56 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4148/0.6796, allocations: 125.1 MB / 0.5142 GB, free: 52.36 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002814/0.68, allocations: 88.5 kB / 0.5143 GB, free: 52.36 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1787/0.8586, allocations: 79.56 MB / 0.592 GB, free: 11.66 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.998e-06/0.8587, allocations: 0 / 0.592 GB, free: 11.66 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003953/0.8591, allocations: 87.88 kB / 0.5921 GB, free: 11.58 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.01235/0.8715, allocations: 3.717 MB / 0.5957 GB, free: 7.789 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.498e-05/0.8716, allocations: 8.031 kB / 0.5957 GB, free: 7.781 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002598/0.8742, allocations: 463.1 kB / 0.5962 GB, free: 7.324 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005454/0.8796, allocations: 2.573 MB / 0.5987 GB, free: 4.699 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003855/0.88, allocations: 367.1 kB / 0.599 GB, free: 4.32 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000657/0.8807, allocations: 328.1 kB / 0.5993 GB, free: 4 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006537/0.8873, allocations: 4.21 MB / 0.6034 GB, free: 15.65 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.797e-05/0.8874, allocations: 7.906 kB / 0.6035 GB, free: 15.64 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003256/0.8877, allocations: 136 kB / 0.6036 GB, free: 15.51 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001372/0.8878, allocations: 146.1 kB / 0.6037 GB, free: 15.36 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006753/0.8946, allocations: 3.701 MB / 0.6073 GB, free: 11.65 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03081/0.9254, allocations: 14.03 MB / 0.621 GB, free: 13.25 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0075/0.933, allocations: 2.219 MB / 0.6232 GB, free: 10.95 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006119/0.9336, allocations: 232.1 kB / 0.6234 GB, free: 10.69 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004387/0.938, allocations: 1.338 MB / 0.6247 GB, free: 9.328 MB / 410.7 MB Notification: Performance of pre-optimization done (n=193): time 6.041e-06/0.9381, allocations: 0 / 0.6247 GB, free: 9.328 MB / 410.7 MB Notification: Performance of matching and sorting (n=244): time 0.03972/0.9778, allocations: 13.38 MB / 0.6378 GB, free: 11.82 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004429/0.9823, allocations: 3.641 MB / 0.6414 GB, free: 8.004 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003456/0.9857, allocations: 1.976 MB / 0.6433 GB, free: 6.004 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005251/0.9863, allocations: 77.7 kB / 0.6434 GB, free: 5.922 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001551/0.9879, allocations: 1.486 MB / 0.6448 GB, free: 4.414 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008937/0.9888, allocations: 0.8203 MB / 0.6456 GB, free: 3.582 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001667/0.9889, allocations: 56.03 kB / 0.6457 GB, free: 3.527 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002127/0.9892, allocations: 411.5 kB / 0.6461 GB, free: 3.121 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002276/0.9914, allocations: 1.313 MB / 0.6473 GB, free: 1.805 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002527/0.994, allocations: 1.95 MB / 0.6493 GB, free: 15.6 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002412/0.9964, allocations: 1.585 MB / 0.6508 GB, free: 14 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.026e-05/0.9964, allocations: 4 kB / 0.6508 GB, free: 13.99 MB / 442.7 MB Notification: Performance of matching and sorting (n=347) (initialization): time 0.006583/1.003, allocations: 3.957 MB / 0.6547 GB, free: 9.973 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.759e-05/1.003, allocations: 12 kB / 0.6547 GB, free: 9.961 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.416e-05/1.003, allocations: 24 kB / 0.6547 GB, free: 9.938 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001241/1.004, allocations: 0.4956 MB / 0.6552 GB, free: 9.43 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002612/1.007, allocations: 0.6864 MB / 0.6559 GB, free: 8.742 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005361/1.012, allocations: 4.737 MB / 0.6605 GB, free: 3.73 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002782/1.015, allocations: 207.7 kB / 0.6607 GB, free: 3.527 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002954/1.015, allocations: 112 kB / 0.6608 GB, free: 3.418 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.002908/1.018, allocations: 1.1 MB / 0.6619 GB, free: 2.312 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007063/1.019, allocations: 260.8 kB / 0.6621 GB, free: 2.055 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2323/1.251, allocations: 3.759 MB / 0.6658 GB, free: 93.68 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.119e-05/1.251, allocations: 23.22 kB / 0.6658 GB, free: 93.68 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.218e-06/1.251, allocations: 3.719 kB / 0.6658 GB, free: 93.68 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.854e-05/1.252, allocations: 14.58 kB / 0.6658 GB, free: 93.68 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.01761/1.269, allocations: 9.469 MB / 0.6751 GB, free: 92.95 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.171e-05/1.269, allocations: 3.469 kB / 0.6751 GB, free: 92.95 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002022/1.271, allocations: 477.7 kB / 0.6755 GB, free: 92.95 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001706/1.273, allocations: 0.6504 MB / 0.6762 GB, free: 92.92 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001903/1.273, allocations: 55.52 kB / 0.6762 GB, free: 92.91 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008886/1.282, allocations: 7.944 MB / 0.684 GB, free: 89.09 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003337/1.285, allocations: 3.388 MB / 0.6873 GB, free: 87.73 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008946/1.294, allocations: 5.705 MB / 0.6929 GB, free: 87.27 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001607/1.296, allocations: 0.6485 MB / 0.6935 GB, free: 87.17 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004153/1.296, allocations: 58.75 kB / 0.6935 GB, free: 87.17 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001478/1.298, allocations: 168.6 kB / 0.6937 GB, free: 87.17 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004396/1.298, allocations: 201.6 kB / 0.6939 GB, free: 87.17 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001488/1.299, allocations: 68.25 kB / 0.694 GB, free: 87.17 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002152/1.301, allocations: 1.51 MB / 0.6954 GB, free: 87.02 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.1e-07/1.301, allocations: 0 / 0.6954 GB, free: 87.02 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002907/1.304, allocations: 0.8514 MB / 0.6963 GB, free: 87.02 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.001294/1.305, allocations: 0.5915 MB / 0.6968 GB, free: 86.93 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00581/1.311, allocations: 3.809 MB / 0.7006 GB, free: 86.41 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/1.311, allocations: 0 / 0.7006 GB, free: 86.41 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003485/1.314, allocations: 2.331 MB / 0.7028 GB, free: 85.66 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003602/1.318, allocations: 0.5812 MB / 0.7034 GB, free: 85.5 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01473/1.333, allocations: 8.564 MB / 0.7118 GB, free: 81.05 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00295/1.336, allocations: 2.453 MB / 0.7142 GB, free: 79.99 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002949/1.339, allocations: 0.6207 MB / 0.7148 GB, free: 79.92 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007679/1.339, allocations: 207.5 kB / 0.715 GB, free: 79.91 MB / 442.7 MB Notification: Performance of SimCode: time 8.11e-07/1.339, allocations: 0 / 0.715 GB, free: 79.91 MB / 442.7 MB Notification: Performance of Templates: time 0.07048/1.41, allocations: 44.44 MB / 0.7584 GB, free: 62 MB / 442.7 MB make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ActuatorWithNoise.makefile (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ActuatorWithNoise.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ActuatorWithNoise.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ActuatorWithNoise.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ActuatorWithNoise.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ActuatorWithNoise -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ActuatorWithNoise.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ActuatorWithNoise_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/ActuatorWithNoise/ActuatorWithNoise.csv","../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ActuatorWithNoise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches