Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Blocks.Examples.Noise.ActuatorWithNoise.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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_cpp_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_cpp_Modelica.Blocks.Examples.Noise.ActuatorWithNoise") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00181/0.001809, allocations: 197.6 kB / 18.05 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.506/1.506, allocations: 226.5 MB / 245.3 MB, free: 8.223 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007889/0.0007889, allocations: 107 kB / 297.4 MB, free: 6.902 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002184/0.0002185, allocations: 11.98 kB / 357.4 MB, free: 10.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3025/0.3027, allocations: 51.29 MB / 408.7 MB, free: 27.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.ActuatorWithNoise): time 0.01035/0.3131, allocations: 12.1 MB / 420.8 MB, free: 15.57 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.009196/0.3224, allocations: 5.061 MB / 425.9 MB, free: 10.51 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002356/0.3248, allocations: 75.62 kB / 425.9 MB, free: 10.43 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002284/0.3271, allocations: 0.7453 MB / 426.7 MB, free: 9.684 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003515/0.3306, allocations: 0.9651 MB / 427.6 MB, free: 8.719 MB / 298.7 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.001854/0.3325, allocations: 0.5928 MB / 428.2 MB, free: 8.125 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.004224/0.3367, allocations: 4.178 MB / 432.4 MB, free: 3.926 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002979/0.3397, allocations: 2.644 MB / 435.1 MB, free: 1.211 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002233/0.342, allocations: 1.358 MB / 436.4 MB, free: 15.85 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003183/0.3452, allocations: 1.834 MB / 438.3 MB, free: 14.01 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006316/0.3458, allocations: 204 kB / 438.5 MB, free: 13.81 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001478/0.3473, allocations: 495.6 kB / 438.9 MB, free: 13.32 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009802/0.3483, allocations: 0.9812 MB / 439.9 MB, free: 12.34 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002161/0.3505, allocations: 1.763 MB / 441.7 MB, free: 10.56 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006768/0.3572, allocations: 6.14 MB / 447.8 MB, free: 4.406 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.536e-06/0.3573, allocations: 0 / 447.8 MB, free: 4.406 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.975e-06/0.3573, allocations: 0 / 447.8 MB, free: 4.406 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0003009/0.3576, allocations: 0 / 447.8 MB, free: 4.406 MB / 314.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.01058/0.3682, allocations: 3.678 MB / 451.5 MB, free: 0.6602 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.811e-05/0.3683, allocations: 8.031 kB / 451.5 MB, free: 0.6523 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002184/0.3705, allocations: 464 kB / 452 MB, free: 200 kB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004697/0.3752, allocations: 2.408 MB / 454.4 MB, free: 13.73 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007295/0.3759, allocations: 423.2 kB / 454.8 MB, free: 13.3 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008087/0.3768, allocations: 319.8 kB / 455.1 MB, free: 12.99 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008975/0.3857, allocations: 4.261 MB / 459.4 MB, free: 8.652 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001029/0.3859, allocations: 11.89 kB / 459.4 MB, free: 8.641 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003047/0.3862, allocations: 120 kB / 459.5 MB, free: 8.523 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001436/0.3864, allocations: 158.1 kB / 459.6 MB, free: 8.367 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007829/0.3942, allocations: 3.857 MB / 463.5 MB, free: 4.5 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02844/0.4227, allocations: 14.26 MB / 477.8 MB, free: 5.859 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003972/0.4267, allocations: 2.173 MB / 479.9 MB, free: 3.605 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002513/0.4293, allocations: 1.306 MB / 481.2 MB, free: 2.301 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003652/0.4297, allocations: 228.1 kB / 481.5 MB, free: 2.043 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002693/0.4324, allocations: 1.326 MB / 482.8 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of pre-optimization done (n=186): time 6.622e-06/0.4324, allocations: 0 / 482.8 MB, free: 0.6914 MB / 346.7 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:7938:5-7938:89:writable] Error: Internal error Transformation module sort components failed