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.00308/0.00308, allocations: 181.4 kB / 17.41 MB, free: 4.387 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.675/3.675, allocations: 205.4 MB / 223.6 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.001557/0.001557, allocations: 81.44 kB / 271.9 MB, free: 8.258 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005996/0.0005998, allocations: 15.98 kB / 328.2 MB, free: 15.94 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5621/0.5627, allocations: 47.57 MB / 375.7 MB, free: 45.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3498/0.9127, allocations: 124.9 MB / 0.4889 GB, free: 3.605 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000568/0.9133, allocations: 83.97 kB / 0.489 GB, free: 3.523 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9812/1.895, allocations: 79 MB / 0.5662 GB, free: 52.42 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.344e-06/1.895, allocations: 0 / 0.5662 GB, free: 52.42 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0008377/1.896, allocations: 91.92 kB / 0.5663 GB, free: 52.33 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.03275/1.928, allocations: 3.655 MB / 0.5698 GB, free: 48.61 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.9e-05/1.928, allocations: 12.03 kB / 0.5698 GB, free: 48.59 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005462/1.934, allocations: 468 kB / 0.5703 GB, free: 48.13 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01926/1.953, allocations: 2.643 MB / 0.5729 GB, free: 45.44 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001467/1.955, allocations: 360.4 kB / 0.5732 GB, free: 45.07 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003469/1.958, allocations: 315.9 kB / 0.5735 GB, free: 44.76 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03432/1.993, allocations: 4.256 MB / 0.5777 GB, free: 40.36 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004663/1.993, allocations: 15.89 kB / 0.5777 GB, free: 40.34 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002886/1.996, allocations: 128 kB / 0.5778 GB, free: 40.22 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003715/1.997, allocations: 138.1 kB / 0.5779 GB, free: 40.08 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02233/2.019, allocations: 3.709 MB / 0.5816 GB, free: 36.36 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.073/2.092, allocations: 14.06 MB / 0.5953 GB, free: 21.93 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01405/2.106, allocations: 2.221 MB / 0.5975 GB, free: 19.64 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006079/2.113, allocations: 1.296 MB / 0.5987 GB, free: 18.34 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00106/2.114, allocations: 236.1 kB / 0.5989 GB, free: 18.07 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006346/2.12, allocations: 1.342 MB / 0.6003 GB, free: 16.7 MB / 378.7 MB Notification: Performance of pre-optimization done (n=193): time 2.151e-05/2.12, allocations: 0 / 0.6003 GB, free: 16.7 MB / 378.7 MB Notification: Performance of matching and sorting (n=244): time 0.09408/2.214, allocations: 13.22 MB / 0.6132 GB, free: 3.375 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01281/2.227, allocations: 3.536 MB / 0.6166 GB, free: 15.66 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01685/2.244, allocations: 2.218 MB / 0.6188 GB, free: 13.41 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.005452/2.25, allocations: 77.7 kB / 0.6189 GB, free: 13.33 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00431/2.254, allocations: 1.482 MB / 0.6203 GB, free: 11.82 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002861/2.257, allocations: 0.8203 MB / 0.6211 GB, free: 10.99 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001236/2.258, allocations: 56 kB / 0.6212 GB, free: 10.94 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0006912/2.259, allocations: 407.5 kB / 0.6215 GB, free: 10.54 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01025/2.27, allocations: 1.313 MB / 0.6228 GB, free: 9.219 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01191/2.282, allocations: 1.946 MB / 0.6247 GB, free: 7.02 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02303/2.305, allocations: 3.347 MB / 0.628 GB, free: 3.406 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.551e-05/2.305, allocations: 4 kB / 0.628 GB, free: 3.402 MB / 394.7 MB Notification: Performance of matching and sorting (n=347) (initialization): time 0.02484/2.33, allocations: 3.945 MB / 0.6319 GB, free: 15.39 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001186/2.33, allocations: 15.94 kB / 0.6319 GB, free: 15.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001273/2.33, allocations: 20 kB / 0.6319 GB, free: 15.36 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002322/2.332, allocations: 0.4959 MB / 0.6324 GB, free: 14.86 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009083/2.342, allocations: 0.6864 MB / 0.633 GB, free: 14.17 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0115/2.353, allocations: 4.65 MB / 0.6376 GB, free: 9.238 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005982/2.359, allocations: 215.7 kB / 0.6378 GB, free: 9.027 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001523/2.361, allocations: 119.9 kB / 0.6379 GB, free: 8.91 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.01196/2.373, allocations: 1.086 MB / 0.639 GB, free: 7.809 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002305/2.375, allocations: 260.7 kB / 0.6392 GB, free: 7.551 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02358/2.399, allocations: 3.753 MB / 0.6429 GB, free: 3.77 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.138e-05/2.399, allocations: 24.05 kB / 0.6429 GB, free: 3.746 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.773e-05/2.399, allocations: 3.984 kB / 0.6429 GB, free: 3.742 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001094/2.399, allocations: 19.95 kB / 0.6429 GB, free: 3.723 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.7171/3.116, allocations: 9.463 MB / 0.6522 GB, free: 87.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.147e-05/3.117, allocations: 2.688 kB / 0.6522 GB, free: 87.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01643/3.133, allocations: 478.7 kB / 0.6526 GB, free: 87.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003558/3.137, allocations: 0.6531 MB / 0.6533 GB, free: 87.27 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001193/3.138, allocations: 55.61 kB / 0.6533 GB, free: 87.27 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01468/3.153, allocations: 7.732 MB / 0.6609 GB, free: 83.45 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.007482/3.16, allocations: 3.294 MB / 0.6641 GB, free: 82.09 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02059/3.181, allocations: 5.584 MB / 0.6695 GB, free: 81.77 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0034/3.184, allocations: 0.6486 MB / 0.6702 GB, free: 81.68 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001763/3.186, allocations: 52.42 kB / 0.6702 GB, free: 81.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004491/3.191, allocations: 162.5 kB / 0.6704 GB, free: 81.68 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001309/3.192, allocations: 208.1 kB / 0.6706 GB, free: 81.67 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003806/3.193, allocations: 71.16 kB / 0.6706 GB, free: 81.67 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.007174/3.2, allocations: 1.508 MB / 0.6721 GB, free: 81.53 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.82e-07/3.2, allocations: 2.25 kB / 0.6721 GB, free: 81.53 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.008454/3.208, allocations: 0.8596 MB / 0.673 GB, free: 81.53 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.00302/3.211, allocations: 0.5886 MB / 0.6735 GB, free: 81.42 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.02125/3.233, allocations: 3.788 MB / 0.6772 GB, free: 80.9 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.811e-05/3.233, allocations: 1.219 kB / 0.6772 GB, free: 80.9 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008734/3.242, allocations: 2.308 MB / 0.6795 GB, free: 80.43 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009559/3.251, allocations: 0.6217 MB / 0.6801 GB, free: 80.4 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04098/3.292, allocations: 8.65 MB / 0.6885 GB, free: 76.37 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00636/3.299, allocations: 2.373 MB / 0.6909 GB, free: 75.3 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006641/3.305, allocations: 220.7 kB / 0.6911 GB, free: 75.29 MB / 410.7 MB Notification: Performance of SimCode: time 4.328e-06/3.306, allocations: 0 / 0.6911 GB, free: 75.29 MB / 410.7 MB Notification: Performance of Templates: time 0.3102/3.616, allocations: 116.9 MB / 0.8053 GB, free: 10.24 MB / 442.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/jenkins1/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