Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.SphericalSpherical2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00159/0.00159, allocations: 111.2 kB / 21.18 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001719/0.001719, allocations: 206.8 kB / 24.48 MB, free: 4.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.433/1.433, allocations: 230.2 MB / 257.8 MB, free: 8.5 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2288/0.2288, allocations: 46.89 MB / 361.1 MB, free: 4.625 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_ModelicaTest.MultiBody.Joints.SphericalSpherical2") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002685/0.002685, allocations: 75.88 kB / 0.4968 GB, free: 7.777 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3543/0.357, allocations: 65.99 MB / 0.5612 GB, free: 5 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.SphericalSpherical2): time 0.03113/0.3882, allocations: 26.88 MB / 0.5875 GB, free: 10.01 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01885/0.407, allocations: 8.488 MB / 0.5958 GB, free: 1.496 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005266/0.4123, allocations: 227.3 kB / 0.596 GB, free: 1.273 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02678/0.439, allocations: 13.72 MB / 0.6094 GB, free: 3.512 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01247/0.4515, allocations: 3.825 MB / 0.6131 GB, free: 15.67 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01139/0.4629, allocations: 5.187 MB / 0.6182 GB, free: 10.47 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0203/0.4832, allocations: 12.73 MB / 0.6306 GB, free: 13.71 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02508/0.5083, allocations: 11.95 MB / 0.6423 GB, free: 1.641 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01302/0.5213, allocations: 5.26 MB / 0.6474 GB, free: 12.37 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0135/0.5348, allocations: 7.406 MB / 0.6547 GB, free: 4.941 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004862/0.5397, allocations: 1.398 MB / 0.656 GB, free: 3.543 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007292/0.547, allocations: 2.619 MB / 0.6586 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01009/0.5571, allocations: 6.691 MB / 0.6651 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.01334/0.5704, allocations: 7.163 MB / 0.6721 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.03658/0.607, allocations: 23.08 MB / 0.6946 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 8.686e-06/0.607, allocations: 0 / 0.6946 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.184e-06/0.607, allocations: 0 / 0.6946 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0009555/0.6079, allocations: 0 / 0.6946 GB, free: 11.85 MB / 0.5294 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.0473/0.6552, allocations: 14.75 MB / 0.7091 GB, free: 12.97 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 7.451e-05/0.6553, allocations: 8.031 kB / 0.7091 GB, free: 12.96 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04679/0.7021, allocations: 5.415 MB / 0.7144 GB, free: 7.531 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02507/0.7272, allocations: 8.403 MB / 0.7226 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001066/0.7282, allocations: 0.8422 MB / 0.7234 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007093/0.7353, allocations: 1.468 MB / 0.7248 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5887/1.324, allocations: 29.3 MB / 0.7534 GB, free: 131.3 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005176/1.325, allocations: 105.8 kB / 0.7535 GB, free: 131.2 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003379/1.328, allocations: 0.5033 MB / 0.754 GB, free: 130.9 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004462/1.332, allocations: 3.733 MB / 0.7577 GB, free: 129.6 MB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04538/1.378, allocations: 24.23 MB / 0.7813 GB, free: 109.6 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.1199/1.498, allocations: 104 MB / 0.8829 GB, free: 4.328 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03644/1.534, allocations: 11.64 MB / 0.8943 GB, free: 8.539 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0097/1.544, allocations: 5.682 MB / 0.8999 GB, free: 2.832 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005814/1.55, allocations: 4.811 MB / 0.9046 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001283/1.55, allocations: 77.09 kB / 0.9046 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=390): time 1.042e-05/1.55, allocations: 0 / 0.9046 GB, free: 13.16 MB / 0.5919 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.927184314001352] 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.2265579160302877 2.235210804 1.625675502 Calling exit ...