Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bodyCylinder2.body.w_a.1.|bodyCylinder2.body.w_a.2.|bodyCylinder2.body.w_a.3.|bodyCylinder3.body.w_a.1.|bodyCylinder3.body.w_a.2.|bodyCylinder3.body.w_a.3.|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects") translateModel(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bodyCylinder2.body.w_a.1.|bodyCylinder2.body.w_a.2.|bodyCylinder2.body.w_a.3.|bodyCylinder3.body.w_a.1.|bodyCylinder3.body.w_a.2.|bodyCylinder3.body.w_a.3.|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001056/0.001056, allocations: 110.2 kB / 17.75 MB, free: 5.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001041/0.001041, allocations: 185.4 kB / 18.67 MB, free: 4.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.293/1.293, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009726/0.0009727, allocations: 59.91 kB / 352 MB, free: 3.238 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2063/0.2073, allocations: 49.42 MB / 401.4 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects): time 0.0167/0.2241, allocations: 17.51 MB / 418.9 MB, free: 7.285 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009771/0.2338, allocations: 5.757 MB / 424.7 MB, free: 1.512 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001947/0.2358, allocations: 143.5 kB / 424.8 MB, free: 1.371 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008796/0.2446, allocations: 5.206 MB / 430 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006018/0.2507, allocations: 3.229 MB / 433.2 MB, free: 8.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00247/0.2532, allocations: 1.42 MB / 434.7 MB, free: 7.488 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01208/0.2652, allocations: 10.76 MB / 445.4 MB, free: 12.71 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006714/0.272, allocations: 6.165 MB / 451.6 MB, free: 6.465 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003997/0.276, allocations: 3.049 MB / 454.6 MB, free: 3.406 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005083/0.2811, allocations: 4.054 MB / 458.7 MB, free: 15.34 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009661/0.2821, allocations: 0.582 MB / 459.3 MB, free: 14.76 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002975/0.285, allocations: 1.904 MB / 461.2 MB, free: 12.85 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00301/0.2881, allocations: 3.764 MB / 464.9 MB, free: 9.078 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003404/0.2915, allocations: 4.004 MB / 468.9 MB, free: 5.051 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01054/0.302, allocations: 12.37 MB / 481.3 MB, free: 8.637 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.3021, allocations: 4 kB / 481.3 MB, free: 8.633 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3021, allocations: 0 / 481.3 MB, free: 8.633 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.000156/0.3022, allocations: 0 / 481.3 MB, free: 8.633 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2276 * Number of variables: 2276 Notification: Performance of Generate backend data structure: time 0.02474/0.327, allocations: 9.497 MB / 490.8 MB, free: 15.04 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.327, allocations: 8.031 kB / 490.8 MB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03475/0.3618, allocations: 8.714 MB / 499.5 MB, free: 6.297 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01488/0.3767, allocations: 7.21 MB / 0.4949 GB, free: 15.02 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000247/0.3769, allocations: 377.8 kB / 0.4952 GB, free: 14.64 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001661/0.3786, allocations: 0.6867 MB / 0.4959 GB, free: 13.96 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0322/0.4108, allocations: 17.15 MB / 0.5127 GB, free: 11.68 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002492/0.4111, allocations: 87.2 kB / 0.5127 GB, free: 11.6 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00113/0.4122, allocations: 243.8 kB / 0.513 GB, free: 11.36 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004424/0.4167, allocations: 2.774 MB / 0.5157 GB, free: 8.578 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03068/0.4474, allocations: 14.96 MB / 0.5303 GB, free: 9.574 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3695/0.8169, allocations: 68.05 MB / 0.5967 GB, free: 72.07 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02753/0.8445, allocations: 9.248 MB / 0.6058 GB, free: 62.71 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004169/0.8487, allocations: 4.747 MB / 0.6104 GB, free: 57.95 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000999/0.8497, allocations: 1.038 MB / 0.6114 GB, free: 56.77 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.047e-05/0.8497, allocations: 68.34 kB / 0.6115 GB, free: 56.7 MB / 462.1 MB Notification: Performance of pre-optimization done (n=268): time 4.879e-06/0.8497, allocations: 0 / 0.6115 GB, free: 56.7 MB / 462.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: spherical2.frame_b.R.T[3,1] = 2.0 * (bodyCylinder3.body.Q[3] * bodyCylinder3.body.Q[1] + bodyCylinder3.body.Q[2] * bodyCylinder3.body.Q[4]) [/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.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects could not be translated