Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/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.2_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects") Notification: Performance of loadModel(Modelica): time 1.799/1.799, allocations: 194.8 MB / 212.3 MB, free: 3.012 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004247/0.0004248, allocations: 12 kB / 264.5 MB, free: 13.62 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1345, allocations: 44.5 MB / 309 MB, free: 1.051 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects): time 0.4412/0.5758, allocations: 77.48 MB / 386.5 MB, free: 7.152 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.04859/0.6245, allocations: 17.83 MB / 404.3 MB, free: 6.031 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01976/0.6443, allocations: 412.3 kB / 404.7 MB, free: 5.961 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0148/0.6592, allocations: 3.983 MB / 408.7 MB, free: 3.602 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.04853/0.7077, allocations: 11.29 MB / 420 MB, free: 180 kB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008165/0.716, allocations: 1.301 MB / 421.3 MB, free: 15.94 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.1066/0.8226, allocations: 34.77 MB / 456 MB, free: 3.844 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01691/0.8396, allocations: 7.774 MB / 463.8 MB, free: 12.59 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005479/0.8451, allocations: 2.11 MB / 465.9 MB, free: 10.47 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006135/0.8513, allocations: 2.695 MB / 468.6 MB, free: 7.766 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001415/0.8527, allocations: 236 kB / 468.9 MB, free: 7.535 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004793/0.8575, allocations: 1.389 MB / 470.2 MB, free: 6.145 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005297/0.8629, allocations: 3.094 MB / 473.3 MB, free: 3.043 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002702/0.8656, allocations: 1.462 MB / 474.8 MB, free: 1.57 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01751/0.8832, allocations: 9.824 MB / 484.6 MB, free: 7.723 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.8832, allocations: 0 / 484.6 MB, free: 7.723 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.497e-06/0.8833, allocations: 0 / 484.6 MB, free: 7.723 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0004112/0.8837, allocations: 4 kB / 484.6 MB, free: 7.719 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2273 * Number of variables: 2273 Notification: Performance of Generate backend data structure: time 0.07551/0.9592, allocations: 9.012 MB / 493.6 MB, free: 14.62 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.096e-05/0.9593, allocations: 12.02 kB / 493.7 MB, free: 14.61 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2174/1.177, allocations: 19.39 MB / 0.501 GB, free: 11.18 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02812/1.205, allocations: 8 MB / 0.5088 GB, free: 3.113 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005856/1.206, allocations: 377.7 kB / 0.5092 GB, free: 2.742 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004391/1.21, allocations: 0.6906 MB / 0.5099 GB, free: 2.051 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05779/1.268, allocations: 16.72 MB / 0.5262 GB, free: 224 kB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004375/1.268, allocations: 87.23 kB / 0.5263 GB, free: 136 kB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.5387/1.807, allocations: 239.1 kB / 0.5265 GB, free: 158 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007727/1.815, allocations: 2.651 MB / 0.5291 GB, free: 158 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04958/1.864, allocations: 13.96 MB / 0.5427 GB, free: 154.2 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.127/1.992, allocations: 66.41 MB / 0.6076 GB, free: 89.76 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0454/2.037, allocations: 8.71 MB / 0.6161 GB, free: 80.94 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002222/2.039, allocations: 1.046 MB / 0.6171 GB, free: 79.75 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.713e-05/2.039, allocations: 70.47 kB / 0.6172 GB, free: 79.67 MB / 426.8 MB Notification: Performance of pre-optimization done (n=268): time 6.882e-06/2.039, allocations: 0 / 0.6172 GB, free: 79.67 MB / 426.8 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