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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001595/0.001595, allocations: 114.5 kB / 17.94 MB, free: 5.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001933/0.001934, allocations: 193.8 kB / 18.86 MB, free: 4.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.365/1.365, allocations: 205.1 MB / 224.7 MB, free: 12.37 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001334, allocations: 47.94 kB / 280.8 MB, free: 3.492 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09154/0.09289, allocations: 46.64 MB / 327.4 MB, free: 4.785 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise): time 0.01778/0.1108, allocations: 13.4 MB / 340.8 MB, free: 7.316 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01122/0.122, allocations: 5.14 MB / 346 MB, free: 2.16 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003467/0.1256, allocations: 67.69 kB / 346 MB, free: 2.094 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003387/0.129, allocations: 0.8196 MB / 346.9 MB, free: 1.27 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005149/0.1342, allocations: 1.018 MB / 347.9 MB, free: 252 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002843/0.1371, allocations: 0.8935 MB / 348.8 MB, free: 15.35 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.006628/0.1437, allocations: 4.261 MB / 353 MB, free: 11.07 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004176/0.1479, allocations: 3.107 MB / 356.1 MB, free: 7.895 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003463/0.1514, allocations: 1.869 MB / 358 MB, free: 6.02 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004317/0.1558, allocations: 2.316 MB / 360.3 MB, free: 3.695 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001608/0.1574, allocations: 0.5625 MB / 360.9 MB, free: 3.133 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002539/0.16, allocations: 0.8588 MB / 361.8 MB, free: 2.273 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001818/0.1618, allocations: 1.407 MB / 363.2 MB, free: 0.8633 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003549/0.1654, allocations: 2.275 MB / 365.4 MB, free: 14.58 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007806/0.1732, allocations: 6.302 MB / 371.7 MB, free: 8.262 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/0.1733, allocations: 0 / 371.7 MB, free: 8.262 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.236e-06/0.1733, allocations: 0 / 371.7 MB, free: 8.262 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002014/0.1735, allocations: 0 / 371.7 MB, free: 8.262 MB / 318.1 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.01296/0.1864, allocations: 4.355 MB / 376.1 MB, free: 3.836 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.675e-05/0.1865, allocations: 12.03 kB / 376.1 MB, free: 3.824 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001697/0.1882, allocations: 444.1 kB / 376.5 MB, free: 3.387 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00465/0.1929, allocations: 2.292 MB / 378.8 MB, free: 1.043 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007593/0.1937, allocations: 399.2 kB / 379.2 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008052/0.1945, allocations: 319.9 kB / 379.5 MB, free: 328 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1681/0.3626, allocations: 4.239 MB / 383.8 MB, free: 47.51 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001391/0.3628, allocations: 8.953 kB / 383.8 MB, free: 47.51 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004318/0.3633, allocations: 126.3 kB / 383.9 MB, free: 47.41 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001706/0.3634, allocations: 155.5 kB / 384.1 MB, free: 47.4 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009381/0.3728, allocations: 3.816 MB / 387.9 MB, free: 46 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02637/0.3992, allocations: 14.15 MB / 402 MB, free: 36.8 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003117/0.4024, allocations: 2.149 MB / 404.2 MB, free: 35.49 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002047/0.4045, allocations: 1.282 MB / 405.5 MB, free: 34.86 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002919/0.4048, allocations: 222.6 kB / 405.7 MB, free: 34.65 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002164/0.407, allocations: 1.297 MB / 407 MB, free: 33.68 MB / 318.1 MB Notification: Performance of pre-optimization done (n=186): time 4.608e-06/0.407, allocations: 0 / 407 MB, free: 33.68 MB / 318.1 MB Notification: Performance of matching and sorting (n=234): time 0.02601/0.433, allocations: 12.79 MB / 419.8 MB, free: 20.82 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002964/0.436, allocations: 3.346 MB / 423.1 MB, free: 17.29 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00304/0.4391, allocations: 2.287 MB / 425.4 MB, free: 14.97 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004961/0.4396, allocations: 73.7 kB / 425.5 MB, free: 14.89 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009951/0.4406, allocations: 1.493 MB / 427 MB, free: 13.39 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007145/0.4413, allocations: 0.7926 MB / 427.7 MB, free: 12.6 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007084/0.4421, allocations: 481.3 kB / 428.2 MB, free: 12.12 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.105e-05/0.4421, allocations: 301.1 kB / 428.5 MB, free: 11.83 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001888/0.444, allocations: 1.286 MB / 429.8 MB, free: 10.54 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002095/0.4461, allocations: 1.933 MB / 431.7 MB, free: 8.344 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003995/0.4501, allocations: 3.294 MB / 435 MB, free: 4.777 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.468e-05/0.4502, allocations: 4 kB / 435 MB, free: 4.773 MB / 318.1 MB Notification: Performance of matching and sorting (n=339) (initialization): time 0.006031/0.4562, allocations: 3.886 MB / 438.9 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.391e-05/0.4563, allocations: 16 kB / 438.9 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.813e-05/0.4563, allocations: 16 kB / 438.9 MB, free: 0.793 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001129/0.4575, allocations: 0.5034 MB / 439.4 MB, free: 284 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002597/0.4601, allocations: 0.6474 MB / 440.1 MB, free: 15.63 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006215/0.4663, allocations: 5.046 MB / 445.1 MB, free: 10.3 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002556/0.4689, allocations: 195.7 kB / 445.3 MB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004107/0.4693, allocations: 104 kB / 445.4 MB, free: 10.01 MB / 334.1 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,globalSeed.id_impure,globalSeed.seed,motor.uniformNoise.actualGlobalSeed,motor.uniformNoise.localSeed,gearbox.lossyGear.ideal,gearbox.lossyGear.mode,$PRE.gearbox.lossyGear.mode,gearbox.lossyGear.locked,gearbox.lossyGear.startBackward,gearbox.lossyGear.startForward,gearbox.lossyGear.tau_aPos,motor.uniformNoise.r_raw,$PRE.motor.uniformNoise.r_raw,motor.uniformNoise.r,$PRE.motor.uniformNoise.r,motor.uniformNoise.state[4],$PRE.motor.uniformNoise.state[4],motor.uniformNoise.state[3],$PRE.motor.uniformNoise.state[3],motor.uniformNoise.state[2],$PRE.motor.uniformNoise.state[2],motor.uniformNoise.state[1],$PRE.motor.uniformNoise.state[1]) * 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 (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,23)} Notification: Performance of prepare postOptimizeDAE: time 0.002361/0.4717, allocations: 1.09 MB / 446.5 MB, free: 8.91 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007351/0.4724, allocations: 252.8 kB / 446.8 MB, free: 8.66 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007196/0.4797, allocations: 3.62 MB / 450.4 MB, free: 5.008 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.27e-05/0.4797, allocations: 20 kB / 450.4 MB, free: 4.988 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.545e-05/0.4797, allocations: 7.938 kB / 450.4 MB, free: 4.98 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.049e-05/0.4798, allocations: 15.78 kB / 450.4 MB, free: 4.969 MB / 334.1 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.01914/0.4989, allocations: 9.315 MB / 459.7 MB, free: 11.56 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-05/0.499, allocations: 4 kB / 459.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002011/0.501, allocations: 415.6 kB / 460.2 MB, free: 11.15 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00184/0.5029, allocations: 0.635 MB / 460.8 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003898/0.5033, allocations: 51.97 kB / 460.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009943/0.5133, allocations: 8.14 MB / 469 MB, free: 1.906 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003683/0.517, allocations: 3.114 MB / 472.1 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01045/0.5275, allocations: 5.363 MB / 477.5 MB, free: 9.234 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001856/0.5294, allocations: 0.6227 MB / 478.1 MB, free: 8.59 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007808/0.5302, allocations: 48 kB / 478.1 MB, free: 8.543 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001948/0.5322, allocations: 143.8 kB / 478.3 MB, free: 8.402 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005745/0.5328, allocations: 193.6 kB / 478.5 MB, free: 8.215 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001827/0.533, allocations: 67.97 kB / 478.5 MB, free: 8.148 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.003062/0.536, allocations: 1.559 MB / 480.1 MB, free: 6.574 MB / 366.1 MB Notification: Performance of sort global known variables: time 5.91e-07/0.5361, allocations: 0 / 480.1 MB, free: 6.574 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.004067/0.5401, allocations: 0.7878 MB / 480.9 MB, free: 5.797 MB / 366.1 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 (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,1,100.0%), (3,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,22)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001247/0.5414, allocations: 361.8 kB / 481.2 MB, free: 5.465 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0122/0.5536, allocations: 4.941 MB / 486.2 MB, free: 488 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.008e-05/0.5537, allocations: 0 / 486.2 MB, free: 488 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004371/0.5581, allocations: 2.256 MB / 488.4 MB, free: 14.16 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00388/0.562, allocations: 0.6472 MB / 489.1 MB, free: 13.51 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01605/0.5781, allocations: 8.685 MB / 497.8 MB, free: 4.777 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002684/0.5808, allocations: 2.36 MB / 0.4884 GB, free: 2.383 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00127/0.5821, allocations: 223.3 kB / 0.4886 GB, free: 2.164 MB / 382.1 MB Notification: Performance of SimCode: time 1.062e-06/0.5821, allocations: 3.938 kB / 0.4886 GB, free: 2.16 MB / 382.1 MB Notification: Performance of Templates: time 0.2918/0.874, allocations: 115.5 MB / 0.6014 GB, free: 98.97 MB / 430.1 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/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_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches