Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.SphericalDoublePendulum.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) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.MultiBody.SphericalDoublePendulum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Spherical1.phi.1.|Spherical1.phi.2.|Spherical1.phi.3.|Spherical1.phi_d.1.|Spherical1.phi_d.2.|Spherical1.phi_d.3.|Spherical2.phi.1.|Spherical2.phi.2.|Spherical2.phi.3.|Spherical2.phi_d.1.|Spherical2.phi_d.2.|Spherical2.phi_d.3.|Spherical3.Q.1.|Spherical3.Q.2.|Spherical3.Q.3.|Spherical3.Q.4.|Spherical3.w_rel.1.|Spherical3.w_rel.2.|Spherical3.w_rel.3.|Spherical4.Q.1.|Spherical4.Q.2.|Spherical4.Q.3.|Spherical4.Q.4.|Spherical4.w_rel.1.|Spherical4.w_rel.2.|Spherical4.w_rel.3.|boxBody5.body.Q.1.|boxBody5.body.Q.2.|boxBody5.body.Q.3.|boxBody5.body.Q.4.|boxBody5.body.w_a.1.|boxBody5.body.w_a.2.|boxBody5.body.w_a.3.|boxBody6.body.Q.1.|boxBody6.body.Q.2.|boxBody6.body.Q.3.|boxBody6.body.Q.4.|boxBody6.body.w_a.1.|boxBody6.body.w_a.2.|boxBody6.body.w_a.3.",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.SphericalDoublePendulum") Notification: Performance of loadModel(ModelicaTest): time 2.46/2.46, allocations: 234.9 MB / 251.1 MB, free: 9.695 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005256/0.000526, allocations: 12 kB / 314.9 MB, free: 9.754 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.441/0.4415, allocations: 54.86 MB / 369.8 MB, free: 12.79 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.SphericalDoublePendulum): time 0.1462/0.5878, allocations: 84.31 MB / 454.1 MB, free: 8.258 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.05973/0.6476, allocations: 19.71 MB / 473.8 MB, free: 4.492 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02179/0.6695, allocations: 450.8 kB / 474.3 MB, free: 4.051 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01789/0.6874, allocations: 4.363 MB / 478.6 MB, free: 15.66 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.05187/0.7394, allocations: 12.34 MB / 491 MB, free: 3.297 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00982/0.7493, allocations: 1.588 MB / 492.6 MB, free: 1.707 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.5414/1.291, allocations: 51.49 MB / 0.5313 GB, free: 16.95 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01818/1.309, allocations: 8.977 MB / 0.5401 GB, free: 13.5 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00653/1.316, allocations: 2.413 MB / 0.5424 GB, free: 11.93 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007122/1.323, allocations: 3.233 MB / 0.5456 GB, free: 9.605 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002498/1.325, allocations: 272 kB / 0.5458 GB, free: 9.34 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006111/1.331, allocations: 1.525 MB / 0.5473 GB, free: 8.082 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00696/1.338, allocations: 3.872 MB / 0.5511 GB, free: 5.195 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004637/1.343, allocations: 1.72 MB / 0.5528 GB, free: 4.566 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0208/1.364, allocations: 12.21 MB / 0.5647 GB, free: 9.93 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/1.364, allocations: 0 / 0.5647 GB, free: 9.93 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.626e-06/1.364, allocations: 0 / 0.5647 GB, free: 9.93 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0006761/1.365, allocations: 4 kB / 0.5647 GB, free: 9.926 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2554 * Number of variables: 2554 Notification: Performance of Generate backend data structure: time 0.0588/1.424, allocations: 10.52 MB / 0.575 GB, free: 264 kB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.478e-05/1.424, allocations: 8.031 kB / 0.575 GB, free: 256 kB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.058/2.481, allocations: 45.53 MB / 0.6195 GB, free: 4.684 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04852/2.53, allocations: 12.22 MB / 0.6314 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006381/2.531, allocations: 445.9 kB / 0.6318 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005983/2.537, allocations: 0.9581 MB / 0.6327 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06495/2.602, allocations: 19.28 MB / 0.6516 GB, free: 11.46 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005912/2.602, allocations: 111.7 kB / 0.6517 GB, free: 11.39 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002949/2.605, allocations: 281.5 kB / 0.6519 GB, free: 11.31 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007981/2.613, allocations: 2.906 MB / 0.6548 GB, free: 8.945 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05945/2.673, allocations: 16.9 MB / 0.6713 GB, free: 12.77 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.857/3.53, allocations: 79.19 MB / 0.7486 GB, free: 179.2 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04363/3.574, allocations: 9.217 MB / 0.7576 GB, free: 176.6 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002067/3.576, allocations: 1.006 MB / 0.7586 GB, free: 175.7 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.304e-05/3.576, allocations: 65.5 kB / 0.7587 GB, free: 175.6 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=322): time 8.626e-06/3.576, allocations: 3.062 kB / 0.7587 GB, free: 175.6 MB / 0.5418 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:342:7-342:48:writable] Error: Internal error BackendDAETransform.analyseStrongComponentBlock failed variables: equations: 0.0 = Spherical4.Q[1] ^ 2.0 + Spherical4.Q[2] ^ 2.0 + Spherical4.Q[3] ^ 2.0 + Spherical4.Q[4] ^ 2.0 - 1.0 [/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