Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Noise.ActuatorWithNoise.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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=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_trunk_Modelica.Blocks.Examples.Noise.ActuatorWithNoise") translateModel(Modelica.Blocks.Examples.Noise.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_trunk_Modelica.Blocks.Examples.Noise.ActuatorWithNoise") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001352/0.001352, allocations: 114.8 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001548/0.001548, allocations: 208 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.329/1.329, allocations: 227.4 MB / 247.6 MB, free: 10.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 63.91 kB / 359.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2331/0.2344, allocations: 50.54 MB / 409.9 MB, free: 1.555 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.ActuatorWithNoise): time 0.01421/0.2486, allocations: 13.67 MB / 423.6 MB, free: 3.824 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00979/0.2585, allocations: 5.369 MB / 429 MB, free: 14.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002356/0.2609, allocations: 79.69 kB / 429.1 MB, free: 14.35 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002912/0.2638, allocations: 1.017 MB / 430.1 MB, free: 13.33 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00468/0.2685, allocations: 1.22 MB / 431.3 MB, free: 12.1 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.002728/0.2713, allocations: 0.9824 MB / 432.3 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005424/0.2767, allocations: 4.341 MB / 436.6 MB, free: 6.773 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004623/0.2814, allocations: 3.164 MB / 439.8 MB, free: 3.535 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002877/0.2843, allocations: 1.912 MB / 441.7 MB, free: 1.617 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003771/0.288, allocations: 2.328 MB / 444 MB, free: 15.28 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00134/0.2894, allocations: 0.5664 MB / 444.6 MB, free: 14.71 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002174/0.2916, allocations: 0.8707 MB / 445.5 MB, free: 13.84 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001794/0.2934, allocations: 1.422 MB / 446.9 MB, free: 12.42 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003338/0.2967, allocations: 2.276 MB / 449.2 MB, free: 10.13 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008301/0.3051, allocations: 7.532 MB / 456.7 MB, free: 2.578 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.351e-06/0.3051, allocations: 0 / 456.7 MB, free: 2.578 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3051, allocations: 4 kB / 456.7 MB, free: 2.574 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002174/0.3053, allocations: 0 / 456.7 MB, free: 2.574 MB / 366.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.01265/0.318, allocations: 4.387 MB / 461.1 MB, free: 14.12 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.385e-05/0.3181, allocations: 12.03 kB / 461.1 MB, free: 14.11 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002075/0.3201, allocations: 464 kB / 461.6 MB, free: 13.65 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005376/0.3255, allocations: 2.467 MB / 464 MB, free: 11.13 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004024/0.326, allocations: 351.2 kB / 464.4 MB, free: 10.77 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008632/0.3268, allocations: 315.8 kB / 464.7 MB, free: 10.46 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009015/0.3359, allocations: 4.254 MB / 468.9 MB, free: 6.133 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000108/0.336, allocations: 11.89 kB / 468.9 MB, free: 6.121 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004419/0.3365, allocations: 132 kB / 469.1 MB, free: 5.992 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001446/0.3366, allocations: 146.1 kB / 469.2 MB, free: 5.848 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007261/0.3439, allocations: 3.83 MB / 473 MB, free: 2.008 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02155/0.3655, allocations: 14.05 MB / 487.1 MB, free: 3.57 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003383/0.3689, allocations: 2.13 MB / 489.2 MB, free: 1.363 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002151/0.371, allocations: 1.259 MB / 490.5 MB, free: 104 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003018/0.3714, allocations: 220.1 kB / 490.7 MB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002183/0.3736, allocations: 1.31 MB / 492 MB, free: 14.51 MB / 414.1 MB Notification: Performance of pre-optimization done (n=186): time 4.669e-06/0.3736, allocations: 3.984 kB / 492 MB, free: 14.51 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:8011:5-8011: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