Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.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.001874/0.001874, allocations: 106.8 kB / 21.2 MB, free: 0.6406 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.002319/0.002319, allocations: 215.5 kB / 24.49 MB, free: 3.934 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.719/1.719, allocations: 230.6 MB / 258.2 MB, free: 7.793 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+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(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_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_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001565/0.001565, allocations: 47.92 kB / 379 MB, free: 2.473 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2141/0.2157, allocations: 53.37 MB / 432.3 MB, free: 6.73 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint): time 0.02021/0.2359, allocations: 16.19 MB / 448.5 MB, free: 6.473 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01223/0.2481, allocations: 5.933 MB / 454.5 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002576/0.2507, allocations: 175.1 kB / 454.6 MB, free: 360 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0112/0.2619, allocations: 5.853 MB / 460.5 MB, free: 10.48 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006501/0.2684, allocations: 2.622 MB / 463.1 MB, free: 7.848 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00487/0.2733, allocations: 2.35 MB / 465.5 MB, free: 5.492 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00838/0.2817, allocations: 6.647 MB / 472.1 MB, free: 14.83 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006596/0.2883, allocations: 5.812 MB / 477.9 MB, free: 8.922 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003893/0.2922, allocations: 2.883 MB / 480.8 MB, free: 6.031 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004916/0.2971, allocations: 3.766 MB / 484.6 MB, free: 2.254 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001119/0.2982, allocations: 0.6406 MB / 485.2 MB, free: 1.613 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003079/0.3013, allocations: 1.767 MB / 487 MB, free: 15.84 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003228/0.3045, allocations: 3.397 MB / 490.4 MB, free: 12.44 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00332/0.3078, allocations: 2.82 MB / 493.2 MB, free: 9.602 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01328/0.3211, allocations: 11.97 MB / 0.4933 GB, free: 13.58 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.3211, allocations: 0 / 0.4933 GB, free: 13.58 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3211, allocations: 0 / 0.4933 GB, free: 13.58 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002367/0.3213, allocations: 0 / 0.4933 GB, free: 13.58 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.01746/0.3388, allocations: 8.375 MB / 0.5015 GB, free: 5.129 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.3389, allocations: 8.031 kB / 0.5015 GB, free: 5.121 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007556/0.3464, allocations: 2.262 MB / 0.5037 GB, free: 2.852 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00883/0.3552, allocations: 4.017 MB / 0.5076 GB, free: 14.75 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003418/0.3556, allocations: 435 kB / 0.5081 GB, free: 14.32 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001121/0.3567, allocations: 0.5661 MB / 0.5086 GB, free: 13.76 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02853/0.3852, allocations: 16.39 MB / 0.5246 GB, free: 12.46 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001692/0.3854, allocations: 59.47 kB / 0.5247 GB, free: 12.4 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007061/0.3861, allocations: 259.8 kB / 0.5249 GB, free: 12.14 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004018/0.3901, allocations: 2.513 MB / 0.5274 GB, free: 9.625 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3567/0.7468, allocations: 13.95 MB / 0.541 GB, free: 92.4 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.05493/0.8017, allocations: 57.05 MB / 0.5967 GB, free: 43.15 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01896/0.8207, allocations: 6.873 MB / 0.6034 GB, free: 36.3 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003357/0.824, allocations: 3.663 MB / 0.607 GB, free: 32.62 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01933/0.8434, allocations: 13.75 MB / 0.6204 GB, free: 19.08 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.102e-05/0.8434, allocations: 64.5 kB / 0.6205 GB, free: 19.01 MB / 446.1 MB Notification: Performance of pre-optimization done (n=265): time 6.573e-06/0.8434, allocations: 3.984 kB / 0.6205 GB, free: 19.01 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: 3.323628121004731] 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.9367706889970577 0.951023236 0.626710111 Calling exit ...