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.001356/0.001356, allocations: 110.1 kB / 17.09 MB, free: 5.957 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.001498/0.001498, allocations: 199.4 kB / 18.02 MB, free: 5.043 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.459/1.459, allocations: 205.1 MB / 223.9 MB, free: 12.26 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.2116/0.2116, 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.001483/0.001483, allocations: 69.45 kB / 442.5 MB, free: 5.641 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.1234, allocations: 57.79 MB / 0.4886 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.UniversalSpherical): time 0.03085/0.1543, allocations: 29.88 MB / 0.5177 GB, free: 13.77 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02021/0.1746, allocations: 9.076 MB / 0.5266 GB, free: 4.66 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006802/0.1814, allocations: 243.3 kB / 0.5268 GB, free: 4.422 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2895/0.4709, allocations: 14.04 MB / 0.5405 GB, free: 3.711 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01408/0.4851, allocations: 4.206 MB / 0.5447 GB, free: 3.48 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01082/0.4959, allocations: 5.244 MB / 0.5498 GB, free: 3.367 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01943/0.5154, allocations: 11.97 MB / 0.5615 GB, free: 2 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02897/0.5444, allocations: 18.63 MB / 0.5797 GB, free: 5.77 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01128/0.5557, allocations: 5.626 MB / 0.5852 GB, free: 440 kB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01235/0.5681, allocations: 7.519 MB / 0.5925 GB, free: 9.336 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004858/0.573, allocations: 1.531 MB / 0.594 GB, free: 7.805 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008356/0.5814, allocations: 2.841 MB / 0.5968 GB, free: 5.035 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01019/0.5916, allocations: 7.026 MB / 0.6036 GB, free: 14.04 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0159/0.6075, allocations: 7.809 MB / 0.6113 GB, free: 6.211 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03375/0.6413, allocations: 25.36 MB / 0.636 GB, free: 13.29 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.6414, allocations: 0 / 0.636 GB, free: 13.29 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.6414, allocations: 0 / 0.636 GB, free: 13.29 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0009056/0.6423, allocations: 4 kB / 0.636 GB, free: 13.29 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.04802/0.6903, allocations: 15.91 MB / 0.6516 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.408e-05/0.6904, allocations: 11.89 kB / 0.6516 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0445/0.7349, allocations: 5.194 MB / 0.6566 GB, free: 8.273 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02286/0.7578, allocations: 8.913 MB / 0.6653 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009457/0.7588, allocations: 0.8921 MB / 0.6662 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00557/0.7644, allocations: 1.457 MB / 0.6676 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07283/0.8372, allocations: 32.43 MB / 0.6993 GB, free: 11.49 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006669/0.8379, allocations: 107 kB / 0.6994 GB, free: 11.39 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004637/0.8426, allocations: 0.5325 MB / 0.6999 GB, free: 10.93 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007909/0.8505, allocations: 4.615 MB / 0.7044 GB, free: 6.332 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06271/0.9132, allocations: 27.64 MB / 0.7314 GB, free: 10.69 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6702/1.583, allocations: 112.6 MB / 0.8413 GB, free: 116.6 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03426/1.618, allocations: 13.16 MB / 0.8542 GB, free: 110 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008992/1.627, allocations: 7.559 MB / 0.8616 GB, free: 105.9 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04521/1.672, allocations: 32.72 MB / 0.8935 GB, free: 75.87 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.795e-05/1.672, allocations: 77.67 kB / 0.8936 GB, free: 75.78 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=449): time 7.705e-06/1.672, allocations: 0 / 0.8936 GB, free: 75.78 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