Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.SphericalDoublePendulum.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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.1_ModelicaTest.MultiBody.SphericalDoublePendulum") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002706/0.002706, allocations: 348.4 kB / 15.94 MB, free: 6.215 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 3.643/3.643, allocations: 341.5 MB / 358.2 MB, free: 12.64 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003567/0.003567, allocations: 221.1 kB / 397.9 MB, free: 4.98 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4676/0.4676, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004751/0.0004754, allocations: 11.98 kB / 0.5592 GB, free: 53.47 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08599/0.08649, allocations: 48.7 MB / 0.6067 GB, free: 4.66 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.SphericalDoublePendulum): time 0.4149/0.5015, allocations: 89.48 MB / 0.6941 GB, free: 23.13 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.06959/0.5712, allocations: 18.77 MB / 0.7125 GB, free: 4.426 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02648/0.5977, allocations: 454.8 kB / 0.7129 GB, free: 3.98 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02046/0.6182, allocations: 4.429 MB / 0.7172 GB, free: 15.53 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.074/0.6923, allocations: 15.52 MB / 0.7324 GB, free: 15.95 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01356/0.7059, allocations: 1.615 MB / 0.7339 GB, free: 14.34 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.6409/1.347, allocations: 80.41 MB / 0.8125 GB, free: 17.95 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02526/1.372, allocations: 9.045 MB / 0.8213 GB, free: 11.77 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009042/1.381, allocations: 2.881 MB / 0.8241 GB, free: 9.824 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0133/1.395, allocations: 4.671 MB / 0.8287 GB, free: 6.426 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003167/1.398, allocations: 272 kB / 0.8289 GB, free: 6.16 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008381/1.406, allocations: 1.551 MB / 0.8305 GB, free: 4.895 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.009442/1.416, allocations: 4.22 MB / 0.8346 GB, free: 1.703 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005476/1.421, allocations: 1.686 MB / 0.8362 GB, free: 1.086 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02498/1.446, allocations: 11.21 MB / 0.8472 GB, free: 7.34 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.317e-06/1.447, allocations: 0 / 0.8472 GB, free: 7.34 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.316e-06/1.447, allocations: 0 / 0.8472 GB, free: 7.34 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005247/1.447, allocations: 0 / 0.8472 GB, free: 7.34 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2554 * Number of variables: 2554 Notification: Performance of Generate backend data structure: time 0.05381/1.501, allocations: 9.735 MB / 0.8567 GB, free: 14.32 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.748e-05/1.501, allocations: 12.03 kB / 0.8567 GB, free: 14.31 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1708/1.672, allocations: 12.87 MB / 0.8693 GB, free: 1.809 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03916/1.711, allocations: 9.835 MB / 0.8789 GB, free: 10.7 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005998/1.712, allocations: 444.8 kB / 0.8793 GB, free: 10.46 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00581/1.718, allocations: 0.9581 MB / 0.8802 GB, free: 9.789 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0623/1.78, allocations: 19.53 MB / 0.8993 GB, free: 10.36 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006263/1.781, allocations: 113.6 kB / 0.8994 GB, free: 10.29 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003081/1.784, allocations: 278.6 kB / 0.8997 GB, free: 10.21 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00803/1.792, allocations: 2.913 MB / 0.9025 GB, free: 7.848 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.079/1.871, allocations: 17.41 MB / 0.9195 GB, free: 11.36 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7533/2.624, allocations: 79.61 MB / 0.9973 GB, free: 150.4 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06274/2.687, allocations: 9.463 MB / 1.007 GB, free: 147.9 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01538/2.702, allocations: 5.442 MB / 1.012 GB, free: 145.5 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00272/2.705, allocations: 0.9982 MB / 1.013 GB, free: 144.6 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001031/2.705, allocations: 76.58 kB / 1.013 GB, free: 144.5 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=322): time 1.097e-05/2.705, allocations: 3.469 kB / 1.013 GB, free: 144.5 MB / 0.4949 GB [/var/lib/jenkins/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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:346:7-346:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:107:7-107:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:7863:5-7863:89:writable] Error: Internal error Transformation module sort components failed