Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.UniversalSpherical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.UniversalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bodyBox.body.Q.1.|bodyBox.body.Q.2.|bodyBox.body.Q.3.|bodyBox.body.Q.4.|bodyBox.body.w_a.1.|bodyBox.body.w_a.2.|bodyBox.body.w_a.3.|bodyBox.v_0.1.|bodyBox.v_0.2.|bodyBox.v_0.3.|bodyBox1.body.Q.1.|bodyBox1.body.Q.2.|bodyBox1.body.Q.3.|bodyBox1.body.Q.4.|bodyBox1.body.w_a.1.|bodyBox1.body.w_a.2.|bodyBox1.body.w_a.3.|bodyBox2.body.Q.1.|bodyBox2.body.Q.2.|bodyBox2.body.Q.3.|bodyBox2.body.Q.4.|bodyBox2.body.frame_a.r_0.1.|bodyBox2.body.frame_a.r_0.2.|bodyBox2.body.frame_a.r_0.3.|bodyBox2.body.w_a.1.|bodyBox2.body.w_a.2.|bodyBox2.body.w_a.3.|bodyBox2.v_0.1.|bodyBox2.v_0.2.|bodyBox2.v_0.3.|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b|universalSpherical.rRod_0.1.|universalSpherical.rRod_0.2.|universalSpherical.rRod_0.3.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.UniversalSpherical") translateModel(ModelicaTest.MultiBody.Joints.UniversalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bodyBox.body.Q.1.|bodyBox.body.Q.2.|bodyBox.body.Q.3.|bodyBox.body.Q.4.|bodyBox.body.w_a.1.|bodyBox.body.w_a.2.|bodyBox.body.w_a.3.|bodyBox.v_0.1.|bodyBox.v_0.2.|bodyBox.v_0.3.|bodyBox1.body.Q.1.|bodyBox1.body.Q.2.|bodyBox1.body.Q.3.|bodyBox1.body.Q.4.|bodyBox1.body.w_a.1.|bodyBox1.body.w_a.2.|bodyBox1.body.w_a.3.|bodyBox2.body.Q.1.|bodyBox2.body.Q.2.|bodyBox2.body.Q.3.|bodyBox2.body.Q.4.|bodyBox2.body.frame_a.r_0.1.|bodyBox2.body.frame_a.r_0.2.|bodyBox2.body.frame_a.r_0.3.|bodyBox2.body.w_a.1.|bodyBox2.body.w_a.2.|bodyBox2.body.w_a.3.|bodyBox2.v_0.1.|bodyBox2.v_0.2.|bodyBox2.v_0.3.|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b|universalSpherical.rRod_0.1.|universalSpherical.rRod_0.2.|universalSpherical.rRod_0.3.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.UniversalSpherical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001253/0.001253, allocations: 114.7 kB / 17.09 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001197/0.001197, allocations: 198.1 kB / 18.02 MB, free: 5.023 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.526/1.526, allocations: 205.1 MB / 223.9 MB, free: 12.2 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2022/0.2022, allocations: 43.52 MB / 314.8 MB, free: 456 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001552/0.001552, allocations: 69.61 kB / 442.5 MB, free: 5.637 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1256, allocations: 57.78 MB / 0.4886 GB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.UniversalSpherical): time 0.03078/0.1565, allocations: 29.89 MB / 0.5178 GB, free: 13.77 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02269/0.1792, allocations: 9.069 MB / 0.5266 GB, free: 4.668 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007702/0.187, allocations: 243.3 kB / 0.5268 GB, free: 4.43 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.3017/0.4887, allocations: 14.03 MB / 0.5405 GB, free: 3.723 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01157/0.5003, allocations: 4.085 MB / 0.5445 GB, free: 3.488 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009903/0.5103, allocations: 5.234 MB / 0.5496 GB, free: 3.379 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01867/0.5289, allocations: 11.97 MB / 0.5613 GB, free: 2.09 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02544/0.5544, allocations: 18.64 MB / 0.5795 GB, free: 5.906 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01041/0.5649, allocations: 5.617 MB / 0.585 GB, free: 0.5742 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01144/0.5763, allocations: 7.52 MB / 0.5924 GB, free: 9.484 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00367/0.58, allocations: 1.535 MB / 0.5939 GB, free: 7.949 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006238/0.5863, allocations: 2.837 MB / 0.5966 GB, free: 5.18 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008024/0.5943, allocations: 7.02 MB / 0.6035 GB, free: 14.18 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01624/0.6106, allocations: 7.811 MB / 0.6111 GB, free: 6.348 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02835/0.639, allocations: 25.36 MB / 0.6359 GB, free: 13.43 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.639, allocations: 0 / 0.6359 GB, free: 13.43 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.6391, allocations: 0 / 0.6359 GB, free: 13.43 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.000745/0.6398, allocations: 4 kB / 0.6359 GB, free: 13.43 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4701 * Number of variables: 4701 Notification: Performance of Generate backend data structure: time 0.04532/0.6851, allocations: 15.92 MB / 0.6514 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.712e-05/0.6852, allocations: 11.89 kB / 0.6514 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04111/0.7263, allocations: 5.193 MB / 0.6565 GB, free: 8.402 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02026/0.7466, allocations: 8.909 MB / 0.6652 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008367/0.7475, allocations: 0.8928 MB / 0.6661 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006095/0.7536, allocations: 1.461 MB / 0.6675 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07088/0.8245, allocations: 32.43 MB / 0.6992 GB, free: 11.62 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000557/0.8251, allocations: 111 kB / 0.6993 GB, free: 11.51 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004606/0.8297, allocations: 0.5303 MB / 0.6998 GB, free: 11.06 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007039/0.8368, allocations: 4.617 MB / 0.7043 GB, free: 6.457 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05985/0.8967, allocations: 27.63 MB / 0.7313 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6137/1.51, allocations: 112.6 MB / 0.8412 GB, free: 116.6 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03209/1.543, allocations: 13.16 MB / 0.8541 GB, free: 110 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008618/1.551, allocations: 7.553 MB / 0.8614 GB, free: 106 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04321/1.595, allocations: 32.71 MB / 0.8934 GB, free: 75.95 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.621e-05/1.595, allocations: 85.61 kB / 0.8935 GB, free: 75.86 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=449): time 7.244e-06/1.595, allocations: 0 / 0.8935 GB, free: 75.86 MB / 0.5919 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 = bodyBox.body.frame_a.r_0[1] ^ 2.0 + bodyBox.body.frame_a.r_0[2] ^ 2.0 + bodyBox.body.frame_a.r_0[3] ^ 2.0 - universalSpherical.rodLength ^ 2.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.Joints.UniversalSpherical could not be translated