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.001573/0.001573, allocations: 117.8 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.002003/0.002003, allocations: 210.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.382/1.382, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2084/0.2084, allocations: 46.1 MB / 345 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001405/0.001405, allocations: 71.88 kB / 482 MB, free: 4.074 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3303/0.3317, allocations: 62.43 MB / 0.5316 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.SphericalDoublePendulum): time 0.01762/0.3494, allocations: 18.84 MB / 0.55 GB, free: 14.74 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01647/0.3659, allocations: 6.397 MB / 0.5563 GB, free: 8.414 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004896/0.3708, allocations: 163.4 kB / 0.5564 GB, free: 8.254 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01073/0.3816, allocations: 5.852 MB / 0.5622 GB, free: 2.383 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008774/0.3904, allocations: 3.536 MB / 0.5656 GB, free: 14.84 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003691/0.3941, allocations: 1.802 MB / 0.5674 GB, free: 13.03 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01894/0.4131, allocations: 15.92 MB / 0.5829 GB, free: 13.08 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01007/0.4232, allocations: 7.571 MB / 0.5903 GB, free: 5.422 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007692/0.4309, allocations: 3.579 MB / 0.5938 GB, free: 1.832 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007725/0.4387, allocations: 4.868 MB / 0.5986 GB, free: 12.95 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002412/0.4411, allocations: 0.6953 MB / 0.5992 GB, free: 12.25 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005152/0.4463, allocations: 2.154 MB / 0.6013 GB, free: 10.09 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005791/0.4521, allocations: 4.7 MB / 0.6059 GB, free: 5.383 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007719/0.4598, allocations: 4.735 MB / 0.6106 GB, free: 0.6211 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01654/0.4764, allocations: 14.45 MB / 0.6247 GB, free: 2.121 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.4764, allocations: 0 / 0.6247 GB, free: 2.121 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.4764, allocations: 0 / 0.6247 GB, free: 2.121 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.000493/0.4769, allocations: 0 / 0.6247 GB, free: 2.121 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.03297/0.5099, allocations: 11.41 MB / 0.6358 GB, free: 6.609 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/0.51, allocations: 8.031 kB / 0.6358 GB, free: 6.602 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08141/0.5914, allocations: 12.82 MB / 0.6483 GB, free: 9.746 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02361/0.6151, allocations: 9.574 MB / 0.6577 GB, free: 84 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004408/0.6155, allocations: 439.8 kB / 0.6581 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003905/0.6194, allocations: 0.9631 MB / 0.6591 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04391/0.6634, allocations: 19.25 MB / 0.6779 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005038/0.6639, allocations: 111 kB / 0.678 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002477/0.6664, allocations: 279.8 kB / 0.6782 GB, free: 9.801 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004562/0.671, allocations: 2.92 MB / 0.6811 GB, free: 6.879 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03716/0.7082, allocations: 17.14 MB / 0.6978 GB, free: 5.715 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5915/1.3, allocations: 79.57 MB / 0.7755 GB, free: 102.5 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02243/1.322, allocations: 9.43 MB / 0.7847 GB, free: 93.33 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006037/1.328, allocations: 5.454 MB / 0.7901 GB, free: 87.86 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001132/1.329, allocations: 1.003 MB / 0.791 GB, free: 86.7 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.023e-05/1.33, allocations: 76.55 kB / 0.7911 GB, free: 86.62 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=322): time 7.615e-06/1.33, allocations: 0 / 0.7911 GB, free: 86.62 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