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.00129/0.00129, allocations: 110.4 kB / 21.19 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.001414/0.001414, allocations: 208.7 kB / 24.48 MB, free: 3.969 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.396/1.396, 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 - loaded program: time 0.001575/0.001575, allocations: 51.92 kB / 379 MB, free: 2.461 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2373/0.2389, allocations: 53.36 MB / 432.3 MB, free: 6.703 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.ActuatorWithNoise): time 0.01572/0.2546, allocations: 12.03 MB / 444.4 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01009/0.2647, allocations: 5.136 MB / 449.5 MB, free: 5.473 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001862/0.2665, allocations: 103.3 kB / 449.6 MB, free: 5.371 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002294/0.2688, allocations: 0.9698 MB / 450.6 MB, free: 4.398 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00317/0.272, allocations: 1.234 MB / 451.8 MB, free: 3.16 MB / 350.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.001971/0.274, allocations: 0.9946 MB / 452.8 MB, free: 2.164 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004386/0.2784, allocations: 4.334 MB / 457.1 MB, free: 13.81 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002552/0.2809, allocations: 1.843 MB / 459 MB, free: 11.89 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002263/0.2832, allocations: 1.959 MB / 460.9 MB, free: 9.93 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00317/0.2863, allocations: 2.389 MB / 463.3 MB, free: 7.539 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007416/0.2871, allocations: 0.5664 MB / 463.9 MB, free: 6.973 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001491/0.2886, allocations: 0.9018 MB / 464.8 MB, free: 6.07 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001377/0.2899, allocations: 1.438 MB / 466.2 MB, free: 4.629 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001916/0.2919, allocations: 1.817 MB / 468.1 MB, free: 2.805 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007852/0.2997, allocations: 7.587 MB / 475.6 MB, free: 11.2 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.2997, allocations: 0 / 475.6 MB, free: 11.2 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.2997, allocations: 0 / 475.6 MB, free: 11.2 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001114/0.2998, allocations: 0 / 475.6 MB, free: 11.2 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.009315/0.3091, allocations: 4.412 MB / 480.1 MB, free: 6.727 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.3092, allocations: 15.97 kB / 480.1 MB, free: 6.711 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001513/0.3107, allocations: 490.2 kB / 480.6 MB, free: 6.23 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004676/0.3154, allocations: 2.412 MB / 483 MB, free: 3.777 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004124/0.3158, allocations: 416.4 kB / 483.4 MB, free: 3.332 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005462/0.3163, allocations: 319.9 kB / 483.7 MB, free: 3.02 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007897/0.3242, allocations: 4.358 MB / 488 MB, free: 14.57 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.432e-05/0.3243, allocations: 7.953 kB / 488.1 MB, free: 14.56 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003274/0.3247, allocations: 127.9 kB / 488.2 MB, free: 14.43 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001701/0.3248, allocations: 150.1 kB / 488.3 MB, free: 14.29 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007331/0.3322, allocations: 3.815 MB / 492.1 MB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02147/0.3536, allocations: 12.2 MB / 0.4925 GB, free: 13.88 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003358/0.357, allocations: 1.733 MB / 0.4942 GB, free: 12.14 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002241/0.3592, allocations: 1.17 MB / 0.4954 GB, free: 10.98 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002536/0.3595, allocations: 61.95 kB / 0.4954 GB, free: 10.92 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002406/0.3619, allocations: 1.366 MB / 0.4967 GB, free: 9.508 MB / 414.1 MB Notification: Performance of pre-optimization done (n=186): time 4.468e-06/0.3619, allocations: 3.938 kB / 0.4968 GB, free: 9.504 MB / 414.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:346:7-346:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:8018:5-8018: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.4306390950005152] 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.39755500799947185 0.411464484 0.108721048 Calling exit ...