Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.SphericalDoublePendulum.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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_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_trunk_cpp_ModelicaTest.MultiBody.SphericalDoublePendulum") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001069/0.001069, allocations: 194.8 kB / 16.75 MB, free: 4.934 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.361/1.361, allocations: 226.5 MB / 244.1 MB, free: 6.469 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008483/0.0008483, allocations: 94.36 kB / 296.1 MB, free: 6.676 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3161/0.3161, allocations: 44.82 MB / 392.9 MB, free: 35.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002741/0.0002741, allocations: 11.98 kB / 465.9 MB, free: 12.68 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3095/0.3098, allocations: 62.97 MB / 0.5165 GB, free: 37.27 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.SphericalDoublePendulum): time 0.07878/0.3886, allocations: 93.35 MB / 0.6077 GB, free: 11.88 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.05333/0.442, allocations: 19.51 MB / 0.6267 GB, free: 8.309 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02395/0.466, allocations: 474.7 kB / 0.6272 GB, free: 7.844 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01601/0.482, allocations: 4.914 MB / 0.632 GB, free: 2.906 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03901/0.5211, allocations: 14.81 MB / 0.6464 GB, free: 4.039 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007644/0.5287, allocations: 1.662 MB / 0.6481 GB, free: 2.375 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.5166/1.045, allocations: 182.2 MB / 0.826 GB, free: 14.49 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01463/1.06, allocations: 10.03 MB / 0.8358 GB, free: 7.168 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00583/1.066, allocations: 2.951 MB / 0.8387 GB, free: 5.152 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006933/1.073, allocations: 4.65 MB / 0.8432 GB, free: 1.762 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.001864/1.075, allocations: 275.4 kB / 0.8435 GB, free: 1.496 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004655/1.079, allocations: 1.817 MB / 0.8453 GB, free: 60 kB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.005435/1.085, allocations: 4.199 MB / 0.8494 GB, free: 12.88 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.006353/1.091, allocations: 3.942 MB / 0.8532 GB, free: 11.42 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.01148/1.103, allocations: 11.21 MB / 0.8642 GB, free: 1.672 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/1.103, allocations: 0 / 0.8642 GB, free: 1.672 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.895e-06/1.103, allocations: 0 / 0.8642 GB, free: 1.672 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0004544/1.103, allocations: 0 / 0.8642 GB, free: 1.672 MB / 0.5573 GB 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.02525/1.128, allocations: 9.611 MB / 0.8735 GB, free: 8.758 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.902e-05/1.129, allocations: 12.03 kB / 0.8736 GB, free: 8.746 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07612/1.205, allocations: 13.01 MB / 0.8863 GB, free: 11.97 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02232/1.227, allocations: 9.372 MB / 0.8954 GB, free: 5.082 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004183/1.227, allocations: 440.9 kB / 0.8958 GB, free: 4.844 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00348/1.231, allocations: 0.9627 MB / 0.8968 GB, free: 4.168 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4763/1.707, allocations: 19.28 MB / 0.9156 GB, free: 227.4 MB / 0.5887 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002776/1.708, allocations: 107 kB / 0.9157 GB, free: 227.3 MB / 0.5887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008171/1.708, allocations: 279.6 kB / 0.916 GB, free: 227.2 MB / 0.5887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003558/1.712, allocations: 2.916 MB / 0.9188 GB, free: 226.7 MB / 0.5887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03588/1.748, allocations: 17.14 MB / 0.9356 GB, free: 221.7 MB / 0.5887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1013/1.849, allocations: 79.77 MB / 1.013 GB, free: 151.3 MB / 0.5887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02425/1.873, allocations: 9.41 MB / 1.023 GB, free: 141.8 MB / 0.5887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006953/1.88, allocations: 5.45 MB / 1.028 GB, free: 136.3 MB / 0.5887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001219/1.882, allocations: 1.002 MB / 1.029 GB, free: 135.1 MB / 0.5887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.15e-05/1.882, allocations: 76.55 kB / 1.029 GB, free: 135.1 MB / 0.5887 GB Notification: Performance of pre-optimization done (n=322): time 8.766e-06/1.882, allocations: 0 / 1.029 GB, free: 135.1 MB / 0.5887 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