Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.Noise.ActuatorWithNoise.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001376/0.001376, allocations: 107.6 kB / 21.2 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001437/0.001437, allocations: 205.2 kB / 24.49 MB, free: 3.961 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.587/1.587, allocations: 230.6 MB / 258.3 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Blocks.Examples.Noise.ActuatorWithNoise,tolerance=1e-05,outputFormat="mat",numberOfIntervals=800,variableFilter="time|controller.speed_PI.x|controller.positionToSpeed.x|controller.position_PI.x|controller.busdelay.y|gearbox.phi_rel|gearbox.w_rel|slewRateLimiter.y|rodMass.s|rodMass.v|elastoGap.s_rel|elastoGap.v_rel",fileNamePrefix="Modelica_4.1.0_Modelica.Blocks.Examples.Noise.ActuatorWithNoise") translateModel(Modelica.Blocks.Examples.Noise.ActuatorWithNoise,tolerance=1e-05,outputFormat="mat",numberOfIntervals=800,variableFilter="time|controller.speed_PI.x|controller.positionToSpeed.x|controller.position_PI.x|controller.busdelay.y|gearbox.phi_rel|gearbox.w_rel|slewRateLimiter.y|rodMass.s|rodMass.v|elastoGap.s_rel|elastoGap.v_rel",fileNamePrefix="Modelica_4.1.0_Modelica.Blocks.Examples.Noise.ActuatorWithNoise") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.605e-05/2.605e-05, allocations: 6.281 kB / 378.9 MB, free: 2.512 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.ActuatorWithNoise): time 0.2259/0.2259, allocations: 12.02 MB / 391 MB, free: 8.273 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01042/0.2363, allocations: 5.148 MB / 396.1 MB, free: 4.684 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002792/0.2391, allocations: 102.4 kB / 396.2 MB, free: 4.641 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002683/0.2418, allocations: 0.9579 MB / 397.2 MB, free: 4.129 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003448/0.2453, allocations: 1.241 MB / 398.4 MB, free: 3.316 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initializeImpureRandom' contains a call to impure function 'Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState'. Notification: Performance of NFTyping.typeClassSections: time 0.002121/0.2474, allocations: 0.9959 MB / 399.4 MB, free: 2.691 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005786/0.2532, allocations: 4.942 MB / 404.3 MB, free: 216 kB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002148/0.2553, allocations: 1.136 MB / 405.5 MB, free: 15.36 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003631/0.2589, allocations: 1.837 MB / 407.3 MB, free: 14.25 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004184/0.2631, allocations: 1.968 MB / 409.3 MB, free: 12.92 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008788/0.264, allocations: 389.2 kB / 409.7 MB, free: 12.92 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002934/0.2669, allocations: 0.9982 MB / 410.7 MB, free: 12.61 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.007481/0.2744, allocations: 6.499 MB / 417.2 MB, free: 7.035 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.004484/0.2789, allocations: 3.799 MB / 421 MB, free: 3.191 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001024/0.2799, allocations: 232 kB / 421.2 MB, free: 2.965 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.001054/0.281, allocations: 95.53 kB / 421.3 MB, free: 2.871 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 (565) * Number of variables: 814 (527) Notification: Performance of [SIM] Bindings: time 0.02087/0.3018, allocations: 16.53 MB / 437.8 MB, free: 1.906 MB / 334.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.002977/0.3048, allocations: 1.967 MB / 439.8 MB, free: 15.9 MB / 350.1 MB Notification: Performance of [SIM] Early Inline: time 0.01202/0.3168, allocations: 9.434 MB / 449.2 MB, free: 6.363 MB / 350.1 MB Notification: Performance of [SIM] Simplify 1: time 0.004003/0.3208, allocations: 1.508 MB / 450.7 MB, free: 4.703 MB / 350.1 MB Notification: Performance of [SIM] Alias: time 0.0213/0.3421, allocations: 12.6 MB / 463.3 MB, free: 6.957 MB / 366.1 MB Notification: Performance of [SIM] Simplify 2: time 0.001874/0.344, allocations: 1.05 MB / 464.4 MB, free: 5.801 MB / 366.1 MB Notification: Performance of [SIM] Remove Stream: time 0.000766/0.3448, allocations: 0.5965 MB / 465 MB, free: 5.145 MB / 366.1 MB Notification: Performance of [SIM] Detect States: time 0.001959/0.3467, allocations: 1.65 MB / 466.6 MB, free: 3.41 MB / 366.1 MB Notification: Performance of [SIM] Events: time 0.000853/0.3476, allocations: 0.5122 MB / 467.1 MB, free: 2.891 MB / 366.1 MB Notification: Performance of [SIM] Partitioning: time 0.003258/0.3509, allocations: 2.608 MB / 469.7 MB, free: 200 kB / 366.1 MB Error: Internal error NBResolveSingularities.indexReduction failed because slicing during index reduction is not yet supported. needed sliced dummy: [STAT] (2) final Real[2] motor.smpm.idq_sr = motor.smpm.idq_sr (StateSelect = prefer) slice: {1} " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.7489525438286364] Failed to read output from testmodel.py, exit status != 0: ['time', 'controller.speed_PI.x', 'controller.positionToSpeed.x', 'controller.position_PI.x', 'controller.busdelay.y', 'gearbox.phi_rel', 'gearbox.w_rel', 'slewRateLimiter.y', 'rodMass.s', 'rodMass.v', 'elastoGap.s_rel', 'elastoGap.v_rel'] 0.3793675801716745 0.393099725 0.10912395800000001 Calling exit ...