Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.SphericalDoublePendulum.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/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_ModelicaTest.MultiBody.SphericalDoublePendulum") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00269/0.00269, allocations: 364.4 kB / 15.96 MB, free: 6.199 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 3.96/3.96, allocations: 388.9 MB / 405.6 MB, free: 10.33 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.005566/0.005566, allocations: 222.9 kB / 451 MB, free: 145.1 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.539/0.539, allocations: 80.03 MB / 0.5627 GB, free: 19.86 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000455/0.0004551, allocations: 16 kB / 0.6265 GB, free: 96.57 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09991/0.1004, allocations: 54.87 MB / 0.6801 GB, free: 41.68 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.SphericalDoublePendulum): time 0.4562/0.5567, allocations: 89.49 MB / 0.7675 GB, free: 12.58 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.06058/0.6173, allocations: 18.81 MB / 0.7859 GB, free: 13.24 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02334/0.6407, allocations: 454.8 kB / 0.7863 GB, free: 12.79 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01746/0.6582, allocations: 4.425 MB / 0.7906 GB, free: 8.348 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.05623/0.7145, allocations: 15.52 MB / 0.8058 GB, free: 8.766 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00967/0.7242, allocations: 1.596 MB / 0.8073 GB, free: 7.168 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.1977/0.922, allocations: 80.41 MB / 0.8858 GB, free: 6.641 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02008/0.9422, allocations: 9.037 MB / 0.8947 GB, free: 13.52 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00737/0.9496, allocations: 2.891 MB / 0.8975 GB, free: 10.62 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01091/0.9606, allocations: 4.662 MB / 0.902 GB, free: 5.941 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00244/0.963, allocations: 276 kB / 0.9023 GB, free: 5.672 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006818/0.9699, allocations: 1.564 MB / 0.9038 GB, free: 4.105 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.8223/1.792, allocations: 4.213 MB / 0.908 GB, free: 84.71 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.004822/1.797, allocations: 1.685 MB / 0.9096 GB, free: 84.68 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.01877/1.816, allocations: 11.22 MB / 0.9206 GB, free: 83.96 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 8.767e-06/1.816, allocations: 0 / 0.9206 GB, free: 83.96 MB / 490.8 MB Notification: Performance of FrontEnd: time 2.675e-06/1.816, allocations: 0 / 0.9206 GB, free: 83.96 MB / 490.8 MB Notification: Performance of Transformations before backend: time 0.000601/1.817, allocations: 0 / 0.9206 GB, free: 83.96 MB / 490.8 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.05194/1.869, allocations: 9.736 MB / 0.9301 GB, free: 80.34 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.866e-05/1.869, allocations: 8.094 kB / 0.9301 GB, free: 80.34 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1685/2.037, allocations: 12.93 MB / 0.9427 GB, free: 78.6 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04008/2.077, allocations: 9.848 MB / 0.9523 GB, free: 75.72 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005792/2.078, allocations: 439.3 kB / 0.9527 GB, free: 75.71 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006834/2.085, allocations: 0.9605 MB / 0.9537 GB, free: 75.59 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0626/2.147, allocations: 19.53 MB / 0.9728 GB, free: 64.19 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006165/2.148, allocations: 106.9 kB / 0.9729 GB, free: 64.13 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003706/2.152, allocations: 282.4 kB / 0.9731 GB, free: 64.05 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007267/2.159, allocations: 2.91 MB / 0.976 GB, free: 61.68 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05768/2.217, allocations: 17.42 MB / 0.993 GB, free: 49.18 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1634/2.38, allocations: 79.64 MB / 1.071 GB, free: 6.945 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05034/2.431, allocations: 9.457 MB / 1.08 GB, free: 13.35 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01388/2.445, allocations: 5.455 MB / 1.085 GB, free: 7.887 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002374/2.447, allocations: 0.9995 MB / 1.086 GB, free: 6.734 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.708e-05/2.447, allocations: 75.42 kB / 1.086 GB, free: 6.652 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=322): time 8.305e-06/2.447, allocations: 0 / 1.086 GB, free: 6.652 MB / 0.5262 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:7863:5-7863:89:writable] Error: Internal error Transformation module sort components failed