Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001123/0.001123, allocations: 113.9 kB / 18.46 MB, free: 4.617 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.001172/0.001172, allocations: 190.1 kB / 19.39 MB, free: 3.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.418/1.418, allocations: 222.9 MB / 243.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2207/0.2207, allocations: 44.18 MB / 337.4 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 59.91 kB / 471.2 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.405/0.4063, allocations: 60.82 MB / 0.5196 GB, free: 3.594 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.UniversalSpherical): time 0.034/0.4403, allocations: 27.98 MB / 0.5469 GB, free: 14.47 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02653/0.4669, allocations: 8.741 MB / 0.5554 GB, free: 7.207 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01011/0.4771, allocations: 235.3 kB / 0.5557 GB, free: 6.977 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.026/0.5031, allocations: 13.99 MB / 0.5693 GB, free: 8.949 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01369/0.5169, allocations: 3.937 MB / 0.5732 GB, free: 4.996 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01218/0.5291, allocations: 5.242 MB / 0.5783 GB, free: 15.74 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.02242/0.5516, allocations: 11.96 MB / 0.59 GB, free: 3.754 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03026/0.5819, allocations: 18.41 MB / 0.608 GB, free: 1.211 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01057/0.5925, allocations: 5.416 MB / 0.6132 GB, free: 11.78 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01212/0.6046, allocations: 7.141 MB / 0.6202 GB, free: 4.617 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005433/0.6101, allocations: 1.465 MB / 0.6216 GB, free: 3.152 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00879/0.6189, allocations: 2.787 MB / 0.6244 GB, free: 376 kB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009854/0.6288, allocations: 6.739 MB / 0.6309 GB, free: 9.609 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01405/0.6429, allocations: 7.443 MB / 0.6382 GB, free: 2.129 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03454/0.6775, allocations: 24.2 MB / 0.6618 GB, free: 9.848 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 1.186e-05/0.6775, allocations: 7.984 kB / 0.6619 GB, free: 9.84 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.194e-06/0.6775, allocations: 0 / 0.6619 GB, free: 9.84 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.001034/0.6786, allocations: 0 / 0.6619 GB, free: 9.84 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4458 * Number of variables: 4458 Notification: Performance of Generate backend data structure: time 0.04749/0.7261, allocations: 15.67 MB / 0.6772 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/0.7261, allocations: 8.031 kB / 0.6772 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03809/0.7642, allocations: 5.169 MB / 0.6822 GB, free: 4.852 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0213/0.7856, allocations: 8.589 MB / 0.6906 GB, free: 12.18 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009587/0.7866, allocations: 0.8628 MB / 0.6914 GB, free: 11.32 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00612/0.7927, allocations: 1.425 MB / 0.6928 GB, free: 9.891 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6295/1.422, allocations: 30.87 MB / 0.723 GB, free: 149.3 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007086/1.423, allocations: 98.94 kB / 0.7231 GB, free: 149.2 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00494/1.428, allocations: 0.5188 MB / 0.7236 GB, free: 148.9 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007077/1.435, allocations: 4.285 MB / 0.7278 GB, free: 148.1 MB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0519/1.487, allocations: 26.15 MB / 0.7533 GB, free: 136.2 MB / 0.5607 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1292/1.616, allocations: 108.3 MB / 0.859 GB, free: 27.81 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03122/1.647, allocations: 12.57 MB / 0.8713 GB, free: 15.08 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008905/1.656, allocations: 7.28 MB / 0.8784 GB, free: 7.785 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05384/1.71, allocations: 31.78 MB / 0.9095 GB, free: 7.082 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001014/1.71, allocations: 77.25 kB / 0.9095 GB, free: 6.996 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=404): time 8.596e-06/1.71, allocations: 0 / 0.9095 GB, free: 6.996 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