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.001073/0.001073, allocations: 100.8 kB / 17.08 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.001075/0.001075, allocations: 199.3 kB / 18.02 MB, free: 5.07 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.4/1.4, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.2171/0.2171, allocations: 43.51 MB / 314.8 MB, free: 476 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.001881/0.001881, allocations: 68.44 kB / 442.5 MB, free: 5.699 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.1228, allocations: 57.78 MB / 0.4885 GB, free: 11.84 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.SphericalDoublePendulum): time 0.01853/0.1414, allocations: 18.94 MB / 0.507 GB, free: 8.812 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0144/0.1558, allocations: 6.389 MB / 0.5133 GB, free: 2.406 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00427/0.1601, allocations: 163.4 kB / 0.5134 GB, free: 2.246 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01067/0.1708, allocations: 5.876 MB / 0.5192 GB, free: 12.35 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01005/0.181, allocations: 3.591 MB / 0.5227 GB, free: 8.746 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003908/0.1849, allocations: 1.798 MB / 0.5244 GB, free: 6.945 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.2992/0.4842, allocations: 14.28 MB / 0.5384 GB, free: 8.016 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.014/0.4982, allocations: 7.56 MB / 0.5457 GB, free: 7.008 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01041/0.5087, allocations: 3.608 MB / 0.5493 GB, free: 6.75 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01007/0.5188, allocations: 4.898 MB / 0.5541 GB, free: 6.301 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002956/0.5218, allocations: 0.6962 MB / 0.5547 GB, free: 6.301 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005109/0.5269, allocations: 2.164 MB / 0.5568 GB, free: 6.301 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004967/0.5319, allocations: 4.75 MB / 0.5615 GB, free: 5.293 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005089/0.537, allocations: 4.762 MB / 0.5661 GB, free: 2.082 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01684/0.5538, allocations: 14.54 MB / 0.5803 GB, free: 7.684 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.323e-06/0.5539, allocations: 4 kB / 0.5803 GB, free: 7.68 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.5539, allocations: 0 / 0.5803 GB, free: 7.68 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005252/0.5544, allocations: 0 / 0.5803 GB, free: 7.68 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.03514/0.5896, allocations: 11.26 MB / 0.5913 GB, free: 12.5 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.864e-05/0.5897, allocations: 11.89 kB / 0.5913 GB, free: 12.49 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08037/0.67, allocations: 11.78 MB / 0.6028 GB, free: 0.6797 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02664/0.6967, allocations: 10.2 MB / 0.6128 GB, free: 6.766 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005521/0.6973, allocations: 450.6 kB / 0.6132 GB, free: 6.379 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004292/0.7016, allocations: 0.9639 MB / 0.6142 GB, free: 5.492 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04319/0.7448, allocations: 19.25 MB / 0.633 GB, free: 1.305 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005539/0.7454, allocations: 114.3 kB / 0.6331 GB, free: 1.227 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002837/0.7483, allocations: 278.6 kB / 0.6334 GB, free: 1.008 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004505/0.7528, allocations: 2.917 MB / 0.6362 GB, free: 14.13 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03603/0.7889, allocations: 17.14 MB / 0.6529 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1127/0.9016, allocations: 79.6 MB / 0.7307 GB, free: 12.53 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02513/0.9267, allocations: 9.441 MB / 0.7399 GB, free: 2.945 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007089/0.9338, allocations: 5.458 MB / 0.7452 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001303/0.9352, allocations: 0.9995 MB / 0.7462 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.447e-05/0.9353, allocations: 80.55 kB / 0.7463 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=322): time 6.993e-06/0.9353, allocations: 0 / 0.7463 GB, free: 12.23 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