Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.SphericalDoublePendulum.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) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/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.1_cpp_ModelicaTest.MultiBody.SphericalDoublePendulum") Notification: Performance of loadModel(ModelicaTest): time 1.97/1.97, allocations: 209.2 MB / 225.4 MB, free: 0.5352 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006381/0.0006383, allocations: 11.94 kB / 283.1 MB, free: 9.695 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3809/0.3816, allocations: 48.7 MB / 331.8 MB, free: 6.473 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.SphericalDoublePendulum): time 0.1306/0.5122, allocations: 84.3 MB / 416.1 MB, free: 10.04 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.05572/0.568, allocations: 19.7 MB / 435.8 MB, free: 6.273 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01794/0.586, allocations: 450.8 kB / 436.2 MB, free: 5.832 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01558/0.6016, allocations: 4.367 MB / 440.6 MB, free: 1.445 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.04572/0.6474, allocations: 12.34 MB / 453 MB, free: 5.078 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008536/0.656, allocations: 1.611 MB / 454.6 MB, free: 3.465 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.4637/1.12, allocations: 51.47 MB / 0.4942 GB, free: 18.3 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01654/1.136, allocations: 8.983 MB / 0.5029 GB, free: 14.81 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005375/1.142, allocations: 2.413 MB / 0.5053 GB, free: 13.25 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006122/1.148, allocations: 3.235 MB / 0.5085 GB, free: 10.92 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001938/1.15, allocations: 272.8 kB / 0.5087 GB, free: 10.65 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004837/1.155, allocations: 1.514 MB / 0.5102 GB, free: 9.402 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005449/1.16, allocations: 3.871 MB / 0.514 GB, free: 6.52 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003138/1.163, allocations: 1.721 MB / 0.5157 GB, free: 5.887 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01771/1.181, allocations: 12.21 MB / 0.5276 GB, free: 11.27 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/1.181, allocations: 0 / 0.5276 GB, free: 11.27 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.775e-06/1.181, allocations: 0 / 0.5276 GB, free: 11.27 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000451/1.182, allocations: 0 / 0.5276 GB, free: 11.27 MB / 410.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.05361/1.235, allocations: 10.51 MB / 0.5378 GB, free: 1.605 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.192e-05/1.235, allocations: 8.031 kB / 0.5379 GB, free: 1.598 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.076/2.312, allocations: 45.48 MB / 0.5823 GB, free: 6.07 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04335/2.355, allocations: 12.21 MB / 0.5942 GB, free: 13.01 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005561/2.356, allocations: 440.3 kB / 0.5946 GB, free: 12.77 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005494/2.361, allocations: 0.9585 MB / 0.5955 GB, free: 12.1 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06011/2.421, allocations: 19.28 MB / 0.6144 GB, free: 12.85 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005539/2.422, allocations: 116.2 kB / 0.6145 GB, free: 12.78 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00276/2.425, allocations: 279.8 kB / 0.6148 GB, free: 12.7 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007911/2.433, allocations: 2.907 MB / 0.6176 GB, free: 10.33 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05815/2.491, allocations: 16.9 MB / 0.6341 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.724/3.215, allocations: 79.14 MB / 0.7114 GB, free: 156.7 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04388/3.259, allocations: 9.21 MB / 0.7204 GB, free: 151.4 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001916/3.261, allocations: 1.007 MB / 0.7214 GB, free: 150.2 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.027e-05/3.261, allocations: 72.28 kB / 0.7214 GB, free: 150.2 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=322): time 7.584e-06/3.261, allocations: 0 / 0.7214 GB, free: 150.2 MB / 0.4949 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