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.001096/0.001096, allocations: 110.9 kB / 18.46 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001168/0.001168, allocations: 211.9 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.357/1.357, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001353, allocations: 67.89 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2603/0.2617, allocations: 50.54 MB / 409.9 MB, free: 1.598 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.ActuatorWithNoise): time 0.01544/0.2772, allocations: 13.68 MB / 423.6 MB, free: 3.867 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01029/0.2875, allocations: 5.369 MB / 429 MB, free: 14.47 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002971/0.2905, allocations: 79.62 kB / 429.1 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002775/0.2933, allocations: 0.9622 MB / 430 MB, free: 13.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004253/0.2976, allocations: 1.165 MB / 431.2 MB, free: 12.26 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.002434/0.3001, allocations: 0.9828 MB / 432.2 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005057/0.3051, allocations: 4.335 MB / 436.5 MB, free: 6.926 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003593/0.3087, allocations: 3.16 MB / 439.7 MB, free: 3.691 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00261/0.3114, allocations: 1.924 MB / 441.6 MB, free: 1.762 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003497/0.3149, allocations: 2.32 MB / 443.9 MB, free: 15.43 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001208/0.3161, allocations: 0.5664 MB / 444.5 MB, free: 14.87 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00187/0.318, allocations: 0.8707 MB / 445.4 MB, free: 14 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001384/0.3194, allocations: 1.411 MB / 446.8 MB, free: 12.58 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002719/0.3221, allocations: 2.283 MB / 449.1 MB, free: 10.29 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008128/0.3303, allocations: 7.525 MB / 456.6 MB, free: 2.742 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/0.3303, allocations: 7.938 kB / 456.6 MB, free: 2.734 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.3303, allocations: 4 kB / 456.6 MB, free: 2.73 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001825/0.3305, allocations: 0 / 456.6 MB, free: 2.73 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.01076/0.3413, allocations: 4.391 MB / 461 MB, free: 14.27 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.87e-05/0.3413, allocations: 16.03 kB / 461 MB, free: 14.25 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001542/0.3429, allocations: 460 kB / 461.4 MB, free: 13.8 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004762/0.3477, allocations: 2.471 MB / 463.9 MB, free: 11.28 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003466/0.348, allocations: 339.3 kB / 464.2 MB, free: 10.93 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006273/0.3487, allocations: 319.8 kB / 464.6 MB, free: 10.61 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007582/0.3563, allocations: 4.261 MB / 468.8 MB, free: 6.281 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.876e-05/0.3564, allocations: 11.89 kB / 468.8 MB, free: 6.27 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003083/0.3567, allocations: 128 kB / 469 MB, free: 6.145 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001389/0.3569, allocations: 150.1 kB / 469.1 MB, free: 5.996 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007555/0.3644, allocations: 3.826 MB / 472.9 MB, free: 2.16 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02643/0.3909, allocations: 14.05 MB / 487 MB, free: 3.727 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003842/0.3948, allocations: 2.13 MB / 489.1 MB, free: 1.516 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002379/0.3972, allocations: 1.263 MB / 490.4 MB, free: 256 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003882/0.3976, allocations: 220.2 kB / 490.6 MB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002715/0.4004, allocations: 1.306 MB / 491.9 MB, free: 14.66 MB / 414.1 MB Notification: Performance of pre-optimization done (n=186): time 8.476e-06/0.4004, allocations: 4 kB / 491.9 MB, free: 14.66 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