Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.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.001284/0.001284, allocations: 113.9 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.001373/0.001373, allocations: 209.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 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.418/1.418, allocations: 230.4 MB / 258.1 MB, free: 8.16 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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(Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|bodyOfConstraint.body.w_a.1.|bodyOfConstraint.body.w_a.2.|bodyOfConstraint.body.w_a.3.|bodyOfJoint.body.w_a.2.|joint.phi",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint") translateModel(Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|bodyOfConstraint.body.w_a.1.|bodyOfConstraint.body.w_a.2.|bodyOfConstraint.body.w_a.3.|bodyOfJoint.body.w_a.2.|joint.phi",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex 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. Warning: Requested package ModelicaServices 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.00197/0.00197, allocations: 72.05 kB / 378.7 MB, free: 2.898 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2107/0.2126, allocations: 53.32 MB / 432.1 MB, free: 7.383 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint): time 0.02171/0.2344, allocations: 18.81 MB / 450.9 MB, free: 4.492 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01178/0.2461, allocations: 6.201 MB / 457.1 MB, free: 14.27 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001834/0.248, allocations: 147.5 kB / 457.2 MB, free: 14.13 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01086/0.2588, allocations: 6.11 MB / 463.3 MB, free: 8 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005897/0.2647, allocations: 2.617 MB / 465.9 MB, free: 5.375 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004666/0.2694, allocations: 2.428 MB / 468.4 MB, free: 2.941 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.008362/0.2777, allocations: 6.641 MB / 475 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006438/0.2842, allocations: 5.52 MB / 480.5 MB, free: 6.672 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003464/0.2877, allocations: 2.836 MB / 483.4 MB, free: 3.828 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004727/0.2924, allocations: 3.77 MB / 487.1 MB, free: 48 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001048/0.2934, allocations: 0.6367 MB / 487.8 MB, free: 15.41 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003172/0.2966, allocations: 1.908 MB / 489.7 MB, free: 13.5 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003238/0.2998, allocations: 3.393 MB / 493.1 MB, free: 10.1 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003743/0.3036, allocations: 3.726 MB / 496.8 MB, free: 6.352 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01259/0.3162, allocations: 11.92 MB / 0.4968 GB, free: 10.39 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.3162, allocations: 0 / 0.4968 GB, free: 10.39 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3162, allocations: 4 kB / 0.4968 GB, free: 10.39 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001815/0.3164, allocations: 0 / 0.4968 GB, free: 10.39 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2312 * Number of variables: 2312 Notification: Performance of Generate backend data structure: time 0.01848/0.3348, allocations: 8.45 MB / 0.505 GB, free: 1.84 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.3349, allocations: 12.03 kB / 0.5051 GB, free: 1.828 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007906/0.3428, allocations: 2.266 MB / 0.5073 GB, free: 15.55 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009113/0.3519, allocations: 4.08 MB / 0.5113 GB, free: 11.39 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003375/0.3522, allocations: 427.2 kB / 0.5117 GB, free: 10.98 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001121/0.3534, allocations: 0.57 MB / 0.5122 GB, free: 10.41 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02913/0.3825, allocations: 16.34 MB / 0.5282 GB, free: 9.168 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001671/0.3827, allocations: 59.52 kB / 0.5282 GB, free: 9.109 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006953/0.3834, allocations: 259.8 kB / 0.5285 GB, free: 8.855 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004166/0.3875, allocations: 2.514 MB / 0.5309 GB, free: 6.34 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.199/0.5866, allocations: 13.98 MB / 0.5446 GB, free: 92.24 MB / 446.1 MB 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.05601/0.6426, allocations: 61.78 MB / 0.6049 GB, free: 37.17 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02005/0.6626, allocations: 7.345 MB / 0.6121 GB, free: 29.67 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003524/0.6662, allocations: 3.639 MB / 0.6156 GB, free: 26.03 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02011/0.6863, allocations: 16.67 MB / 0.6319 GB, free: 8.859 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.976e-05/0.6863, allocations: 68.5 kB / 0.632 GB, free: 8.785 MB / 446.1 MB Notification: Performance of pre-optimization done (n=265): time 5.31e-06/0.6863, allocations: 4 kB / 0.632 GB, free: 8.781 MB / 446.1 MB Error: Internal error Selection of DummyDerivatives failed due to negative system rank of -1! There are 5 unassigned equations and 4 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 Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint could not be translated " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 2.8187688342295587] Failed to read output from testmodel.py, exit status != 0: ['time', 'bodyOfConstraint.body.w_a[1]', 'bodyOfConstraint.body.w_a[2]', 'bodyOfConstraint.body.w_a[3]', 'bodyOfJoint.body.w_a[2]', 'joint.phi'] 0.7862104456871748 0.800201818 0.4808973 Calling exit ...