Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.SphericalDoublePendulum.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.SphericalDoublePendulum") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002086/0.002086, allocations: 113.2 kB / 18.46 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002711/0.002711, allocations: 207.9 kB / 19.41 MB, free: 3.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.189/2.189, allocations: 227.4 MB / 247.6 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3369/0.3369, allocations: 46.09 MB / 345 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002696/0.002696, allocations: 79.88 kB / 482 MB, free: 4.113 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5064/0.5091, allocations: 62.43 MB / 0.5316 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.SphericalDoublePendulum): time 0.03011/0.5393, allocations: 18.83 MB / 0.55 GB, free: 14.79 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02045/0.5598, allocations: 6.39 MB / 0.5563 GB, free: 8.477 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006397/0.5662, allocations: 163.4 kB / 0.5564 GB, free: 8.316 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01716/0.5835, allocations: 5.86 MB / 0.5622 GB, free: 2.438 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01443/0.598, allocations: 3.642 MB / 0.5657 GB, free: 14.78 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006004/0.604, allocations: 1.802 MB / 0.5675 GB, free: 12.98 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.03137/0.6355, allocations: 15.93 MB / 0.583 GB, free: 13.02 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01721/0.6527, allocations: 7.569 MB / 0.5904 GB, free: 5.367 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01127/0.6641, allocations: 3.575 MB / 0.5939 GB, free: 1.781 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01161/0.6757, allocations: 4.861 MB / 0.5987 GB, free: 12.9 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004287/0.6801, allocations: 0.6992 MB / 0.5993 GB, free: 12.2 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009421/0.6895, allocations: 2.165 MB / 0.6015 GB, free: 10.04 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01148/0.701, allocations: 4.7 MB / 0.606 GB, free: 5.324 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0157/0.7168, allocations: 4.727 MB / 0.6107 GB, free: 0.5703 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03071/0.7476, allocations: 14.51 MB / 0.6248 GB, free: 2.004 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.033e-05/0.7476, allocations: 0 / 0.6248 GB, free: 2.004 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.345e-06/0.7477, allocations: 0 / 0.6248 GB, free: 2.004 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0006569/0.7483, allocations: 0 / 0.6248 GB, free: 2.004 MB / 478.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.05404/0.8024, allocations: 11.69 MB / 0.6363 GB, free: 6.203 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.877e-05/0.8025, allocations: 8.031 kB / 0.6363 GB, free: 6.195 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1191/0.9216, allocations: 12.89 MB / 0.6488 GB, free: 9.285 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03621/0.9579, allocations: 9.613 MB / 0.6582 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006612/0.9586, allocations: 447.8 kB / 0.6587 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005408/0.964, allocations: 0.9558 MB / 0.6596 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06316/1.027, allocations: 19.26 MB / 0.6784 GB, free: 9.68 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006789/1.028, allocations: 111.2 kB / 0.6785 GB, free: 9.57 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003248/1.031, allocations: 279.8 kB / 0.6788 GB, free: 9.297 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007025/1.038, allocations: 2.92 MB / 0.6816 GB, free: 6.375 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05886/1.097, allocations: 17.14 MB / 0.6984 GB, free: 5.207 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.9803/2.078, allocations: 79.7 MB / 0.7762 GB, free: 102.1 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0247/2.102, allocations: 9.434 MB / 0.7854 GB, free: 92.92 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007167/2.109, allocations: 5.451 MB / 0.7907 GB, free: 87.45 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001324/2.111, allocations: 1.007 MB / 0.7917 GB, free: 86.29 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.879e-05/2.111, allocations: 78.52 kB / 0.7918 GB, free: 86.21 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=322): time 6.122e-06/2.111, allocations: 0 / 0.7918 GB, free: 86.21 MB / 0.5607 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