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.001217/0.001217, allocations: 183 kB / 17.91 MB, free: 3.855 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.237/1.237, allocations: 205.1 MB / 223.7 MB, free: 8.496 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.0009844/0.0009844, allocations: 92.95 kB / 271.1 MB, free: 8.469 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008018/0.0008019, allocations: 43.94 kB / 327.2 MB, free: 344 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1984/0.1993, allocations: 46.61 MB / 373.8 MB, free: 45.63 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise): time 0.01259/0.2119, allocations: 13.39 MB / 387.2 MB, free: 35.27 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.009848/0.2218, allocations: 5.188 MB / 392.4 MB, free: 30.89 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0031/0.225, allocations: 67.69 kB / 392.5 MB, free: 30.82 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002856/0.2279, allocations: 0.8128 MB / 393.3 MB, free: 30.01 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004241/0.2322, allocations: 1.002 MB / 394.3 MB, free: 29 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00241/0.2346, allocations: 0.8887 MB / 395.2 MB, free: 28.11 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.004678/0.2393, allocations: 4.525 MB / 399.7 MB, free: 23.57 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003269/0.2426, allocations: 2.601 MB / 402.3 MB, free: 20.91 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002266/0.2449, allocations: 1.568 MB / 403.9 MB, free: 19.33 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002997/0.2479, allocations: 2.129 MB / 406 MB, free: 17.2 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00109/0.249, allocations: 296 kB / 406.3 MB, free: 16.91 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001887/0.2509, allocations: 0.5776 MB / 406.9 MB, free: 16.33 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009243/0.2518, allocations: 1.125 MB / 408 MB, free: 15.2 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00175/0.2536, allocations: 1.971 MB / 410 MB, free: 13.22 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00455/0.2581, allocations: 7.178 MB / 417.1 MB, free: 6.02 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.917e-06/0.2582, allocations: 4 kB / 417.1 MB, free: 6.016 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.2582, allocations: 0 / 417.1 MB, free: 6.016 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001908/0.2584, allocations: 0 / 417.1 MB, free: 6.016 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.008653/0.2671, allocations: 4.352 MB / 421.5 MB, free: 1.594 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.2671, allocations: 8.031 kB / 421.5 MB, free: 1.586 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001201/0.2683, allocations: 456 kB / 421.9 MB, free: 1.137 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003567/0.2719, allocations: 2.281 MB / 424.2 MB, free: 14.8 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000665/0.2726, allocations: 403.1 kB / 424.6 MB, free: 14.39 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004676/0.2731, allocations: 315.8 kB / 424.9 MB, free: 14.08 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006901/0.28, allocations: 4.242 MB / 429.2 MB, free: 9.77 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.362e-05/0.2801, allocations: 15.84 kB / 429.2 MB, free: 9.754 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002715/0.2804, allocations: 128 kB / 429.3 MB, free: 9.629 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001289/0.2805, allocations: 146.1 kB / 429.5 MB, free: 9.484 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006243/0.2868, allocations: 3.822 MB / 433.3 MB, free: 5.652 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02039/0.3072, allocations: 14.16 MB / 447.4 MB, free: 7.102 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003062/0.3103, allocations: 2.141 MB / 449.6 MB, free: 4.883 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002015/0.3123, allocations: 1.291 MB / 450.9 MB, free: 3.59 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002988/0.3126, allocations: 212.2 kB / 451.1 MB, free: 3.348 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00197/0.3146, allocations: 1.303 MB / 452.4 MB, free: 2.02 MB / 330.7 MB Notification: Performance of pre-optimization done (n=186): time 3.827e-06/0.3146, allocations: 0 / 452.4 MB, free: 2.02 MB / 330.7 MB Notification: Performance of matching and sorting (n=234): time 0.02685/0.3415, allocations: 12.78 MB / 465.2 MB, free: 5.133 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003599/0.3451, allocations: 3.256 MB / 468.4 MB, free: 1.691 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003339/0.3485, allocations: 2.283 MB / 470.7 MB, free: 15.38 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003915/0.3489, allocations: 81.69 kB / 470.8 MB, free: 15.29 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001285/0.3502, allocations: 1.493 MB / 472.3 MB, free: 13.78 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008064/0.351, allocations: 0.7856 MB / 473.1 MB, free: 12.98 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007871/0.3518, allocations: 481.3 kB / 473.5 MB, free: 12.5 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.876e-05/0.3519, allocations: 305.2 kB / 473.8 MB, free: 12.2 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002042/0.354, allocations: 1.286 MB / 475.1 MB, free: 10.91 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002477/0.3565, allocations: 1.937 MB / 477.1 MB, free: 8.715 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004533/0.361, allocations: 3.288 MB / 480.3 MB, free: 5.152 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.029e-05/0.361, allocations: 4 kB / 480.3 MB, free: 5.148 MB / 362.7 MB Notification: Performance of matching and sorting (n=339) (initialization): time 0.00633/0.3674, allocations: 3.881 MB / 484.2 MB, free: 1.203 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.201e-05/0.3674, allocations: 19.27 kB / 484.2 MB, free: 1.188 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.874e-05/0.3675, allocations: 20 kB / 484.3 MB, free: 1.168 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00124/0.3687, allocations: 0.4963 MB / 484.8 MB, free: 0.6602 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002396/0.3711, allocations: 0.6513 MB / 485.4 MB, free: 8 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005186/0.3763, allocations: 4.646 MB / 490.1 MB, free: 11.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002299/0.3786, allocations: 195.8 kB / 490.3 MB, free: 10.9 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002283/0.3789, allocations: 104 kB / 490.4 MB, free: 10.8 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,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.001921/0.3808, allocations: 1.086 MB / 491.4 MB, free: 9.699 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005137/0.3813, allocations: 256.8 kB / 491.7 MB, free: 9.445 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006159/0.3875, allocations: 3.612 MB / 495.3 MB, free: 5.801 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.891e-05/0.3876, allocations: 27.94 kB / 495.3 MB, free: 5.773 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.3876, allocations: 4 kB / 495.3 MB, free: 5.77 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.161e-05/0.3876, allocations: 15.98 kB / 495.3 MB, free: 5.754 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.01539/0.403, allocations: 9.322 MB / 0.4928 GB, free: 12.29 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.056e-05/0.4031, allocations: 0 / 0.4928 GB, free: 12.29 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001761/0.4048, allocations: 419.4 kB / 0.4932 GB, free: 11.88 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001566/0.4064, allocations: 0.6362 MB / 0.4939 GB, free: 11.23 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001715/0.4066, allocations: 55.97 kB / 0.4939 GB, free: 11.17 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008058/0.4147, allocations: 7.484 MB / 0.5012 GB, free: 3.293 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00316/0.4179, allocations: 3.016 MB / 0.5042 GB, free: 132 kB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1905/0.6084, allocations: 29.07 MB / 0.5326 GB, free: 104.3 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009064/0.6094, allocations: 0.6286 MB / 0.5332 GB, free: 103.6 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002742/0.6096, allocations: 52.72 kB / 0.5332 GB, free: 103.6 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001264/0.6109, allocations: 147.4 kB / 0.5334 GB, free: 103.4 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003739/0.6113, allocations: 188.6 kB / 0.5335 GB, free: 103.2 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001182/0.6114, allocations: 63.97 kB / 0.5336 GB, free: 103.2 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001637/0.6131, allocations: 1.559 MB / 0.5351 GB, free: 101.6 MB / 394.7 MB Notification: Performance of sort global known variables: time 2e-07/0.6131, allocations: 0 / 0.5351 GB, free: 101.6 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00227/0.6154, allocations: 1.078 MB / 0.5362 GB, free: 100.5 MB / 394.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 (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.0006777/0.616, allocations: 405.2 kB / 0.5366 GB, free: 100.2 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004437/0.6205, allocations: 3.669 MB / 0.5402 GB, free: 96.5 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.6205, allocations: 7.188 kB / 0.5402 GB, free: 96.5 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002725/0.6232, allocations: 2.239 MB / 0.5423 GB, free: 94.2 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002312/0.6256, allocations: 0.6124 MB / 0.5429 GB, free: 93.61 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01078/0.6364, allocations: 10.53 MB / 0.5532 GB, free: 83.01 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001489/0.6379, allocations: 2.444 MB / 0.5556 GB, free: 80.54 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001776/0.6396, allocations: 0.6304 MB / 0.5562 GB, free: 79.9 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007546/0.6404, allocations: 219.3 kB / 0.5564 GB, free: 79.68 MB / 394.7 MB Notification: Performance of SimCode: time 9.42e-07/0.6404, allocations: 0 / 0.5564 GB, free: 79.68 MB / 394.7 MB Notification: Performance of Templates: time 0.0572/0.6976, allocations: 51.73 MB / 0.607 GB, free: 27.91 MB / 394.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@2/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