Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.UniversalSpherical.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.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_trunk_cpp_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_trunk_cpp_ModelicaTest.MultiBody.Joints.UniversalSpherical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002359/0.002359, allocations: 196.1 kB / 16.76 MB, free: 5.051 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.569/1.569, allocations: 226.5 MB / 244 MB, free: 6.402 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008903/0.0008902, allocations: 97.38 kB / 296.1 MB, free: 6.691 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.434/0.434, allocations: 44.82 MB / 392.9 MB, free: 35.67 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003148/0.0003148, allocations: 8 kB / 465.9 MB, free: 12.7 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5356/0.5359, allocations: 62.96 MB / 0.5165 GB, free: 37.23 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.UniversalSpherical): time 0.1626/0.6986, allocations: 114.1 MB / 0.6279 GB, free: 7.145 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.1125/0.8111, allocations: 23.96 MB / 0.6513 GB, free: 15.1 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.05648/0.8677, allocations: 0.5649 MB / 0.6519 GB, free: 14.54 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.03496/0.9027, allocations: 6.041 MB / 0.6578 GB, free: 8.465 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1097/1.012, allocations: 17 MB / 0.6744 GB, free: 7.406 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.02756/1.04, allocations: 2.012 MB / 0.6763 GB, free: 5.391 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.7496/1.79, allocations: 97.45 MB / 0.7715 GB, free: 5.426 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0476/1.837, allocations: 25 MB / 0.7959 GB, free: 3.531 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01035/1.848, allocations: 3.47 MB / 0.7993 GB, free: 1.238 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01277/1.861, allocations: 5.589 MB / 0.8048 GB, free: 13.32 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.004195/1.865, allocations: 460 kB / 0.8052 GB, free: 12.88 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008743/1.874, allocations: 1.856 MB / 0.807 GB, free: 11.38 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.01068/1.884, allocations: 5.323 MB / 0.8122 GB, free: 7.492 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.01451/1.899, allocations: 5.6 MB / 0.8177 GB, free: 5.641 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.03061/1.93, allocations: 19.22 MB / 0.8364 GB, free: 5.004 MB / 0.5574 GB Notification: Performance of FrontEnd - DAE generated: time 1.069e-05/1.93, allocations: 0 / 0.8364 GB, free: 5.004 MB / 0.5574 GB Notification: Performance of FrontEnd: time 3.507e-06/1.93, allocations: 0 / 0.8364 GB, free: 5.004 MB / 0.5574 GB Notification: Performance of Transformations before backend: time 0.001241/1.931, allocations: 4 kB / 0.8365 GB, free: 5 MB / 0.5574 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.04503/1.976, allocations: 12.41 MB / 0.8486 GB, free: 9.656 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 6.491e-05/1.976, allocations: 8.031 kB / 0.8486 GB, free: 9.648 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04262/2.019, allocations: 5.358 MB / 0.8538 GB, free: 4.441 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02668/2.045, allocations: 8.307 MB / 0.8619 GB, free: 14.73 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001235/2.047, allocations: 0.8649 MB / 0.8628 GB, free: 14.25 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008706/2.056, allocations: 1.418 MB / 0.8642 GB, free: 13.29 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0909/2.146, allocations: 30.86 MB / 0.8943 GB, free: 6.348 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001568/2.148, allocations: 110.5 kB / 0.8944 GB, free: 6.285 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009294/2.157, allocations: 0.5134 MB / 0.8949 GB, free: 6.152 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.009705/2.167, allocations: 4.282 MB / 0.8991 GB, free: 2.672 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.8677/3.035, allocations: 26.11 MB / 0.9246 GB, free: 227 MB / 0.6043 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.203/3.238, allocations: 108.7 MB / 1.031 GB, free: 136 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03294/3.271, allocations: 12.68 MB / 1.043 GB, free: 123.2 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009047/3.28, allocations: 7.255 MB / 1.05 GB, free: 116 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04406/3.324, allocations: 31.76 MB / 1.081 GB, free: 83.21 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.771e-05/3.324, allocations: 81.3 kB / 1.081 GB, free: 83.12 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=404): time 9.638e-06/3.324, allocations: 0 / 1.081 GB, free: 83.12 MB / 0.6043 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:7938:5-7938:89:writable] Error: Internal error Transformation module sort components failed