Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Noise.ActuatorWithNoise.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001331/0.001331, allocations: 114 kB / 21.18 MB, free: 0.7422 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001765/0.001765, allocations: 214.1 kB / 24.48 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.406/1.406, allocations: 230.4 MB / 258.1 MB, free: 8.129 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_Modelica.Blocks.Examples.Noise.ActuatorWithNoise") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002056/0.002056, allocations: 63.88 kB / 378.8 MB, free: 2.855 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2207/0.2228, allocations: 53.31 MB / 432.1 MB, free: 7.336 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.ActuatorWithNoise): time 0.01688/0.2397, allocations: 13.83 MB / 445.9 MB, free: 9.461 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0099/0.2496, allocations: 5.412 MB / 451.3 MB, free: 4.027 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002194/0.2517, allocations: 75.69 kB / 451.4 MB, free: 3.953 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00275/0.2545, allocations: 1.032 MB / 452.4 MB, free: 2.914 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003808/0.2583, allocations: 1.22 MB / 453.6 MB, free: 1.688 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.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.00247/0.2608, allocations: 0.9828 MB / 454.6 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005629/0.2664, allocations: 4.331 MB / 458.9 MB, free: 12.36 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003004/0.2694, allocations: 1.849 MB / 460.8 MB, free: 10.43 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002807/0.2722, allocations: 1.912 MB / 462.7 MB, free: 8.516 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004067/0.2763, allocations: 2.378 MB / 465.1 MB, free: 6.133 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009915/0.2773, allocations: 0.5664 MB / 465.6 MB, free: 5.566 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001677/0.279, allocations: 0.8785 MB / 466.5 MB, free: 4.688 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001505/0.2805, allocations: 1.442 MB / 468 MB, free: 3.242 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002554/0.283, allocations: 2.287 MB / 470.3 MB, free: 0.9453 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008551/0.2916, allocations: 7.541 MB / 477.8 MB, free: 9.379 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.2916, allocations: 4 kB / 477.8 MB, free: 9.375 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.2916, allocations: 0 / 477.8 MB, free: 9.375 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001293/0.2917, allocations: 0 / 477.8 MB, free: 9.375 MB / 382.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.009597/0.3013, allocations: 4.492 MB / 482.3 MB, free: 4.809 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.3013, allocations: 12.03 kB / 482.3 MB, free: 4.797 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001433/0.3028, allocations: 482.2 kB / 482.8 MB, free: 4.324 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004409/0.3072, allocations: 2.484 MB / 485.3 MB, free: 1.789 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000346/0.3075, allocations: 343.3 kB / 485.6 MB, free: 1.434 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005083/0.308, allocations: 319.9 kB / 485.9 MB, free: 1.121 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007287/0.3153, allocations: 4.25 MB / 490.2 MB, free: 12.8 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.434e-05/0.3154, allocations: 23.81 kB / 490.2 MB, free: 12.78 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000307/0.3157, allocations: 128 kB / 490.3 MB, free: 12.65 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001469/0.3159, allocations: 150 kB / 490.4 MB, free: 12.5 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006924/0.3228, allocations: 3.83 MB / 494.3 MB, free: 8.664 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02235/0.3451, allocations: 14.08 MB / 0.4964 GB, free: 10.2 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003618/0.3488, allocations: 2.043 MB / 0.4984 GB, free: 8.082 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002366/0.3511, allocations: 1.173 MB / 0.4996 GB, free: 6.91 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003424/0.3515, allocations: 220.2 kB / 0.4998 GB, free: 6.656 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002369/0.3538, allocations: 1.303 MB / 0.5011 GB, free: 5.328 MB / 414.1 MB Notification: Performance of pre-optimization done (n=186): time 4.278e-06/0.3538, allocations: 0 / 0.5011 GB, free: 5.328 MB / 414.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:342:7-342:48:writable] Error: Internal error BackendDAETransform.analyseStrongComponentBlock failed variables: equations: motor.smpm.lssigma.i_[1] = motor.smpm.airGap.RotationMatrix[2,2] * motor.smpm.idq_sr[1] - motor.smpm.airGap.RotationMatrix[2,1] * motor.smpm.idq_sr[2] [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:346:7-346:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:107:7-107:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:8016:5-8016:89:writable] Error: Internal error Transformation module sort components failed Error: Internal error SimCode DAEmode: The model Modelica.Blocks.Examples.Noise.ActuatorWithNoise could not be translated " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.4500747709535062] 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.3902396219782531 0.412523907 0.116143433 Calling exit ...