Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.SphericalSpherical2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001853/0.001853, allocations: 110.8 kB / 21.19 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002285/0.002285, allocations: 211.6 kB / 24.49 MB, free: 3.965 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.496/1.496, allocations: 230.6 MB / 258.3 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2798/0.2798, allocations: 46.96 MB / 361.6 MB, free: 4.051 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.SphericalSpherical2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5034,variableFilter="time|body.Q.1.|body.Q.2.|body.Q.3.|body.Q.4.|body.w_a.1.|body.w_a.2.|body.w_a.3.|bodyBox.body.Q.1.|bodyBox.body.Q.2.|bodyBox.body.Q.3.|bodyBox.body.Q.4.|bodyBox.body.frame_a.r_0.1.|bodyBox.body.frame_a.r_0.2.|bodyBox.body.frame_a.r_0.3.|bodyBox.body.w_a.1.|bodyBox.body.w_a.2.|bodyBox.body.w_a.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.|sphericalSpherical.v_CM_0.1.|sphericalSpherical.v_CM_0.2.|sphericalSpherical.v_CM_0.3.|sphericalSpherical1.v_CM_0.1.|sphericalSpherical1.v_CM_0.2.|sphericalSpherical1.v_CM_0.3.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.SphericalSpherical2") translateModel(ModelicaTest.MultiBody.Joints.SphericalSpherical2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5034,variableFilter="time|body.Q.1.|body.Q.2.|body.Q.3.|body.Q.4.|body.w_a.1.|body.w_a.2.|body.w_a.3.|bodyBox.body.Q.1.|bodyBox.body.Q.2.|bodyBox.body.Q.3.|bodyBox.body.Q.4.|bodyBox.body.frame_a.r_0.1.|bodyBox.body.frame_a.r_0.2.|bodyBox.body.frame_a.r_0.3.|bodyBox.body.w_a.1.|bodyBox.body.w_a.2.|bodyBox.body.w_a.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.|sphericalSpherical.v_CM_0.1.|sphericalSpherical.v_CM_0.2.|sphericalSpherical.v_CM_0.3.|sphericalSpherical1.v_CM_0.1.|sphericalSpherical1.v_CM_0.2.|sphericalSpherical1.v_CM_0.3.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.SphericalSpherical2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002102/0.002102, allocations: 71.88 kB / 0.4974 GB, free: 7.211 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.383/0.3851, allocations: 66.03 MB / 0.5618 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.SphericalSpherical2): time 0.0288/0.4139, allocations: 22.87 MB / 0.5842 GB, free: 13.22 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.02279/0.4367, allocations: 8.254 MB / 0.5922 GB, free: 4.941 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007363/0.444, allocations: 274.6 kB / 0.5925 GB, free: 4.672 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02839/0.4724, allocations: 13.11 MB / 0.6053 GB, free: 7.523 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0132/0.4856, allocations: 3.856 MB / 0.6091 GB, free: 3.652 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01206/0.4977, allocations: 4.985 MB / 0.6139 GB, free: 14.66 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.02129/0.519, allocations: 12.74 MB / 0.6264 GB, free: 1.887 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01845/0.5374, allocations: 12.45 MB / 0.6385 GB, free: 5.316 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01055/0.548, allocations: 5.315 MB / 0.6437 GB, free: 15.98 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01237/0.5603, allocations: 7.413 MB / 0.651 GB, free: 8.555 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005161/0.5655, allocations: 1.395 MB / 0.6523 GB, free: 7.16 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00702/0.5725, allocations: 2.486 MB / 0.6547 GB, free: 4.672 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00972/0.5822, allocations: 6.691 MB / 0.6613 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.01181/0.5941, allocations: 5.465 MB / 0.6666 GB, free: 8.473 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0376/0.6317, allocations: 23.2 MB / 0.6893 GB, free: 1.188 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 1.536e-05/0.6317, allocations: 4 kB / 0.6893 GB, free: 1.184 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.938e-06/0.6317, allocations: 0 / 0.6893 GB, free: 1.184 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0009005/0.6326, allocations: 4 kB / 0.6893 GB, free: 1.18 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: 4224 * Number of variables: 4224 Notification: Performance of Generate backend data structure: time 0.05028/0.6829, allocations: 14.68 MB / 0.7036 GB, free: 2.391 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.402e-05/0.6829, allocations: 8.031 kB / 0.7036 GB, free: 2.383 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04477/0.7277, allocations: 5.419 MB / 0.7089 GB, free: 12.95 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02362/0.7513, allocations: 8.296 MB / 0.717 GB, free: 4.566 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009899/0.7523, allocations: 0.8383 MB / 0.7178 GB, free: 3.727 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007228/0.7595, allocations: 1.456 MB / 0.7193 GB, free: 2.27 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6762/1.436, allocations: 29.53 MB / 0.7481 GB, free: 134.5 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007517/1.436, allocations: 116.1 kB / 0.7482 GB, free: 134.4 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00458/1.441, allocations: 0.4977 MB / 0.7487 GB, free: 134.1 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00478/1.446, allocations: 3.731 MB / 0.7523 GB, free: 133.2 MB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05116/1.497, allocations: 24.15 MB / 0.7759 GB, free: 113.8 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.1271/1.624, allocations: 95.78 MB / 0.8695 GB, free: 17.12 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03248/1.657, allocations: 11.17 MB / 0.8804 GB, free: 5.988 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006859/1.663, allocations: 5.683 MB / 0.8859 GB, free: 292 kB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003787/1.667, allocations: 1.677 MB / 0.8876 GB, free: 14.61 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001085/1.667, allocations: 89.02 kB / 0.8876 GB, free: 14.52 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=390): time 8.917e-06/1.667, allocations: 0 / 0.8876 GB, free: 14.52 MB / 0.5763 GB Error: Internal error Selection of DummyDerivatives failed due to negative system rank of -10! There are 19 unassigned equations and 9 potential states. Error: Internal error - IndexReduction.selectDummyDerivatives2new failed! Error: Internal error - IndexReduction.processComps4New failed! Error: Internal error - IndexReduction.dynamicStateSelectionWork failed! Error: Internal error SimCode DAEmode: The model ModelicaTest.MultiBody.Joints.SphericalSpherical2 could not be translated " [Timeout remaining time 658] [Calling sys.exit(0), Time elapsed: 4.993786491002538] Failed to read output from testmodel.py, exit status != 0: ['time', 'body.Q[1]', 'body.Q[2]', 'body.Q[3]', 'body.Q[4]', 'body.w_a[1]', 'body.w_a[2]', 'body.w_a[3]', 'bodyBox.body.Q[1]', 'bodyBox.body.Q[2]', 'bodyBox.body.Q[3]', 'bodyBox.body.Q[4]', 'bodyBox.body.frame_a.r_0[1]', 'bodyBox.body.frame_a.r_0[2]', 'bodyBox.body.frame_a.r_0[3]', 'bodyBox.body.w_a[1]', 'bodyBox.body.w_a[2]', 'bodyBox.body.w_a[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]', 'sphericalSpherical.v_CM_0[1]', 'sphericalSpherical.v_CM_0[2]', 'sphericalSpherical.v_CM_0[3]', 'sphericalSpherical1.v_CM_0[1]', 'sphericalSpherical1.v_CM_0[2]', 'sphericalSpherical1.v_CM_0[3]'] 2.042040349995659 2.056481795 1.421158342 Calling exit ...