Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.SphericalDoublePendulum.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_ModelicaTest.MultiBody.SphericalDoublePendulum") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001359/0.001359, allocations: 180.2 kB / 17.39 MB, free: 4.301 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.371/1.371, allocations: 205.4 MB / 223.5 MB, free: 9.012 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007718/0.0007718, allocations: 81.44 kB / 271.9 MB, free: 8.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3313/0.3313, allocations: 43.56 MB / 363.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003283/0.0003283, allocations: 12 kB / 432.6 MB, free: 5.832 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1116, allocations: 58.85 MB / 491.5 MB, free: 10.89 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.SphericalDoublePendulum): time 0.2967/0.4084, allocations: 93.39 MB / 0.5712 GB, free: 15.89 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.04635/0.4548, allocations: 19.5 MB / 0.5902 GB, free: 2.574 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01971/0.4745, allocations: 473.5 kB / 0.5907 GB, free: 2.492 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01692/0.4915, allocations: 4.918 MB / 0.5955 GB, free: 15.77 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.04004/0.5315, allocations: 14.85 MB / 0.61 GB, free: 0.875 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007326/0.5389, allocations: 1.658 MB / 0.6116 GB, free: 15.22 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.3651/0.904, allocations: 99.92 MB / 0.7092 GB, free: 61.19 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01303/0.9171, allocations: 10.06 MB / 0.719 GB, free: 56.58 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006155/0.9233, allocations: 2.964 MB / 0.7219 GB, free: 54.55 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006657/0.93, allocations: 4.675 MB / 0.7264 GB, free: 51.15 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001833/0.9319, allocations: 272 kB / 0.7267 GB, free: 50.88 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004657/0.9365, allocations: 1.822 MB / 0.7285 GB, free: 49.44 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005183/0.9417, allocations: 4.218 MB / 0.7326 GB, free: 46.25 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006248/0.948, allocations: 3.958 MB / 0.7365 GB, free: 44.78 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01031/0.9583, allocations: 11.23 MB / 0.7474 GB, free: 35.01 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.974e-06/0.9584, allocations: 0 / 0.7474 GB, free: 35.01 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.9584, allocations: 0 / 0.7474 GB, free: 35.01 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0004303/0.9588, allocations: 1.406 kB / 0.7474 GB, free: 35.01 MB / 490.7 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.02237/0.9812, allocations: 9.414 MB / 0.7566 GB, free: 26.29 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.071e-05/0.9813, allocations: 8.031 kB / 0.7566 GB, free: 26.28 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.073/1.054, allocations: 11.96 MB / 0.7683 GB, free: 14.55 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02067/1.075, allocations: 10.04 MB / 0.7781 GB, free: 7.246 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002888/1.075, allocations: 438.1 kB / 0.7785 GB, free: 7.008 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002827/1.078, allocations: 0.9552 MB / 0.7795 GB, free: 6.34 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0313/1.109, allocations: 19.28 MB / 0.7983 GB, free: 7.117 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000258/1.11, allocations: 103.4 kB / 0.7984 GB, free: 7.055 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007652/1.111, allocations: 286.2 kB / 0.7987 GB, free: 6.965 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003909/1.114, allocations: 2.915 MB / 0.8015 GB, free: 4.602 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0332/1.148, allocations: 17.15 MB / 0.8183 GB, free: 8.305 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5513/1.699, allocations: 79.78 MB / 0.8962 GB, free: 156.3 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02557/1.725, allocations: 9.411 MB / 0.9054 GB, free: 155.6 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007462/1.732, allocations: 5.448 MB / 0.9107 GB, free: 155.6 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001368/1.734, allocations: 0.9989 MB / 0.9117 GB, free: 154.7 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.163e-05/1.734, allocations: 68.41 kB / 0.9117 GB, free: 154.7 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=322): time 7.204e-06/1.734, allocations: 0 / 0.9117 GB, free: 154.7 MB / 0.5574 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:7938:5-7938:89:writable] Error: Internal error Transformation module sort components failed