Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.SphericalDoublePendulum.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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.3_ModelicaTest.MultiBody.SphericalDoublePendulum") 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.3_ModelicaTest.MultiBody.SphericalDoublePendulum") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001137/0.001137, allocations: 110.5 kB / 17.09 MB, free: 5.988 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001222/0.001223, allocations: 196.3 kB / 18.02 MB, free: 5.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.422/1.422, allocations: 205.1 MB / 223.9 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.213/0.213, allocations: 43.52 MB / 314.8 MB, free: 448 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001521/0.001521, allocations: 69.45 kB / 442.5 MB, free: 5.656 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1235/0.1251, allocations: 57.79 MB / 0.4885 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.SphericalDoublePendulum): time 0.02198/0.1471, allocations: 18.94 MB / 0.507 GB, free: 8.766 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01642/0.1635, allocations: 6.4 MB / 0.5133 GB, free: 2.348 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005478/0.1691, allocations: 159.4 kB / 0.5134 GB, free: 2.191 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01228/0.1814, allocations: 5.872 MB / 0.5192 GB, free: 12.3 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01113/0.1926, allocations: 3.693 MB / 0.5228 GB, free: 8.594 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005298/0.1979, allocations: 1.806 MB / 0.5245 GB, free: 6.785 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.398/0.596, allocations: 14.28 MB / 0.5385 GB, free: 7.961 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01418/0.6102, allocations: 7.562 MB / 0.5459 GB, free: 6.965 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01121/0.6214, allocations: 3.611 MB / 0.5494 GB, free: 6.703 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01095/0.6324, allocations: 4.897 MB / 0.5542 GB, free: 6.258 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004765/0.6372, allocations: 0.6964 MB / 0.5549 GB, free: 6.258 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00878/0.646, allocations: 2.169 MB / 0.557 GB, free: 6.254 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009198/0.6553, allocations: 4.747 MB / 0.5616 GB, free: 5.266 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01356/0.6689, allocations: 4.761 MB / 0.5663 GB, free: 2.059 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02382/0.6927, allocations: 14.53 MB / 0.5804 GB, free: 7.574 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.6928, allocations: 0 / 0.5804 GB, free: 7.574 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.6928, allocations: 0 / 0.5804 GB, free: 7.574 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0006713/0.6934, allocations: 0 / 0.5804 GB, free: 7.574 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2557 * Number of variables: 2557 Notification: Performance of Generate backend data structure: time 0.0397/0.7332, allocations: 11.25 MB / 0.5914 GB, free: 12.39 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.991e-05/0.7332, allocations: 11.89 kB / 0.5914 GB, free: 12.38 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09028/0.8235, allocations: 11.79 MB / 0.603 GB, free: 0.5664 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02947/0.8531, allocations: 10.21 MB / 0.6129 GB, free: 6.645 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005262/0.8536, allocations: 444.5 kB / 0.6134 GB, free: 6.266 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004432/0.8581, allocations: 0.9585 MB / 0.6143 GB, free: 5.383 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05003/0.9081, allocations: 19.25 MB / 0.6331 GB, free: 1.191 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008147/0.909, allocations: 113 kB / 0.6332 GB, free: 1.117 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004328/0.9134, allocations: 281.5 kB / 0.6335 GB, free: 0.8945 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005691/0.9191, allocations: 2.912 MB / 0.6363 GB, free: 14.02 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04266/0.9618, allocations: 17.14 MB / 0.6531 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1381/1.1, allocations: 79.61 MB / 0.7308 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02959/1.13, allocations: 9.431 MB / 0.74 GB, free: 2.805 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008485/1.138, allocations: 5.464 MB / 0.7453 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001774/1.14, allocations: 1.005 MB / 0.7463 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.691e-05/1.14, allocations: 75.92 kB / 0.7464 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=322): time 9.899e-06/1.14, allocations: 0 / 0.7464 GB, free: 12.08 MB / 0.5919 GB [/var/lib/jenkins1/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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:346:7-346:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:107:7-107:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:8011:5-8011:89:writable] Error: Internal error Transformation module sort components failed Error: Internal error SimCode DAEmode: The model ModelicaTest.MultiBody.SphericalDoublePendulum could not be translated