Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/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_3.2.1_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects") Notification: Performance of loadModel(Modelica): time 1.782/1.782, allocations: 171.1 MB / 187.3 MB, free: 1.145 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003465/0.000347, allocations: 8 kB / 233.8 MB, free: 3.086 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08185/0.08222, allocations: 38.78 MB / 272.6 MB, free: 12.22 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects): time 0.3421/0.4244, allocations: 77.49 MB / 350.1 MB, free: 15.89 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.05246/0.4769, allocations: 17.8 MB / 367.9 MB, free: 14.04 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01725/0.4942, allocations: 406.9 kB / 368.3 MB, free: 13.64 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0148/0.5091, allocations: 3.993 MB / 372.3 MB, free: 9.629 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.04601/0.5551, allocations: 11.28 MB / 383.5 MB, free: 14.32 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007643/0.5628, allocations: 1.28 MB / 384.8 MB, free: 13.04 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.1048/0.6677, allocations: 34.78 MB / 419.6 MB, free: 10.22 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01698/0.6847, allocations: 7.767 MB / 427.4 MB, free: 2.383 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005405/0.6902, allocations: 2.103 MB / 429.5 MB, free: 280 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006043/0.6963, allocations: 2.699 MB / 432.2 MB, free: 13.57 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00167/0.698, allocations: 240 kB / 432.4 MB, free: 13.33 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004777/0.7028, allocations: 1.393 MB / 433.8 MB, free: 11.94 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005719/0.7086, allocations: 3.09 MB / 436.9 MB, free: 8.84 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003251/0.7119, allocations: 1.466 MB / 438.3 MB, free: 7.363 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2981/1.01, allocations: 9.818 MB / 448.2 MB, free: 45.24 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/1.01, allocations: 0 / 448.2 MB, free: 45.24 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.465e-06/1.01, allocations: 2.906 kB / 448.2 MB, free: 45.24 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0004467/1.011, allocations: 0.8125 kB / 448.2 MB, free: 45.24 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2272 * Number of variables: 2272 Notification: Performance of Generate backend data structure: time 0.04604/1.057, allocations: 9.015 MB / 457.2 MB, free: 42 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.512e-05/1.057, allocations: 9.156 kB / 457.2 MB, free: 42 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.193/1.25, allocations: 19.4 MB / 476.6 MB, free: 38.03 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02618/1.276, allocations: 8.003 MB / 484.6 MB, free: 35.71 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004978/1.276, allocations: 380.1 kB / 485 MB, free: 35.7 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004507/1.281, allocations: 0.6873 MB / 485.6 MB, free: 35.65 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05368/1.335, allocations: 16.71 MB / 0.4906 GB, free: 22.41 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004286/1.335, allocations: 85.39 kB / 0.4907 GB, free: 22.36 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003089/1.338, allocations: 237.6 kB / 0.4909 GB, free: 22.29 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006242/1.345, allocations: 2.659 MB / 0.4935 GB, free: 20.13 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04644/1.391, allocations: 13.95 MB / 0.5071 GB, free: 10.13 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1294/1.52, allocations: 66.4 MB / 0.572 GB, free: 2.547 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04919/1.57, allocations: 8.719 MB / 0.5805 GB, free: 9.707 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00275/1.573, allocations: 1.049 MB / 0.5815 GB, free: 8.512 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.813e-05/1.573, allocations: 63.84 kB / 0.5816 GB, free: 8.441 MB / 426.7 MB Notification: Performance of pre-optimization done (n=268): time 7.734e-06/1.573, allocations: 0 / 0.5816 GB, free: 8.441 MB / 426.7 MB [/var/lib/jenkins/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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:346:7-346:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:107:7-107:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:7904:5-7904:89:writable] Error: Internal error Transformation module sort components failed