Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.UniversalSpherical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_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_3.2.3_cpp_ModelicaTest.MultiBody.Joints.UniversalSpherical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001699/0.001699, allocations: 179.1 kB / 17.39 MB, free: 4.273 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.465/1.465, allocations: 205.4 MB / 223.5 MB, free: 8.992 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008734/0.0008734, allocations: 92.11 kB / 271.9 MB, free: 8.234 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3179/0.3179, allocations: 43.56 MB / 363.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003952/0.0003952, allocations: 12 kB / 432.6 MB, free: 5.809 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1429/0.1433, allocations: 58.85 MB / 491.5 MB, free: 10.88 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.UniversalSpherical): time 0.3542/0.4976, allocations: 115.8 MB / 0.593 GB, free: 15.63 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.06241/0.5601, allocations: 24.25 MB / 0.6167 GB, free: 9.934 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02856/0.5887, allocations: 0.5727 MB / 0.6173 GB, free: 9.359 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02093/0.6097, allocations: 6.092 MB / 0.6232 GB, free: 3.289 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.05005/0.6598, allocations: 17.23 MB / 0.64 GB, free: 2 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009748/0.6696, allocations: 2.009 MB / 0.642 GB, free: 15.98 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.3354/1.005, allocations: 57.01 MB / 0.6977 GB, free: 33.26 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04752/1.053, allocations: 25.24 MB / 0.7223 GB, free: 30.52 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009505/1.062, allocations: 3.663 MB / 0.7259 GB, free: 29.91 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01186/1.074, allocations: 5.968 MB / 0.7317 GB, free: 26.04 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002834/1.077, allocations: 492 kB / 0.7322 GB, free: 25.56 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005869/1.083, allocations: 1.892 MB / 0.734 GB, free: 24.03 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005066/1.088, allocations: 5.576 MB / 0.7395 GB, free: 19.98 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.008639/1.097, allocations: 5.913 MB / 0.7453 GB, free: 18.03 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01819/1.115, allocations: 20.17 MB / 0.765 GB, free: 0.5664 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.113e-05/1.115, allocations: 0 / 0.765 GB, free: 0.5664 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.416e-06/1.115, allocations: 0 / 0.765 GB, free: 0.5664 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0009687/1.116, allocations: 4 kB / 0.765 GB, free: 0.5625 MB / 490.7 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.03403/1.15, allocations: 12.85 MB / 0.7775 GB, free: 4.812 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.242e-05/1.15, allocations: 8.031 kB / 0.7775 GB, free: 4.805 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03947/1.189, allocations: 5.298 MB / 0.7827 GB, free: 15.65 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02261/1.212, allocations: 8.769 MB / 0.7913 GB, free: 9.652 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000775/1.213, allocations: 0.8975 MB / 0.7921 GB, free: 9.152 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005864/1.219, allocations: 1.457 MB / 0.7936 GB, free: 8.172 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06558/1.284, allocations: 32.41 MB / 0.8252 GB, free: 128 kB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004363/1.285, allocations: 109.3 kB / 0.8253 GB, free: 64 kB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00313/1.288, allocations: 0.5392 MB / 0.8258 GB, free: 15.91 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007242/1.295, allocations: 4.614 MB / 0.8303 GB, free: 12.19 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05901/1.354, allocations: 27.58 MB / 0.8573 GB, free: 8.18 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6429/1.997, allocations: 113.2 MB / 0.9679 GB, free: 151.7 MB / 0.5887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03704/2.034, allocations: 13.26 MB / 0.9808 GB, free: 148.9 MB / 0.5887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009838/2.044, allocations: 7.523 MB / 0.9881 GB, free: 145.7 MB / 0.5887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04278/2.087, allocations: 32.73 MB / 1.02 GB, free: 128.5 MB / 0.5887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.786e-05/2.087, allocations: 88.42 kB / 1.02 GB, free: 128.4 MB / 0.5887 GB Notification: Performance of pre-optimization done (n=449): time 7.605e-06/2.087, allocations: 0 / 1.02 GB, free: 128.4 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 = 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