Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2.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.0079/0.0079, allocations: 104.6 kB / 21.98 MB, free: 5.168 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.002201/0.002201, allocations: 224.3 kB / 25.31 MB, free: 3.18 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.456/1.456, allocations: 230.5 MB / 259 MB, free: 7.91 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.Elementary.PointGravityWithPointMasses2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|freeMotion.r_rel_a.1.|freeMotion.r_rel_a.2.|freeMotion.r_rel_a.3.|freeMotion.v_rel_a.1.|freeMotion.v_rel_a.2.|freeMotion.v_rel_a.3.|referenceSystem.pointMass1.w_a.1.|referenceSystem.pointMass1.w_a.2.|referenceSystem.pointMass1.w_a.3.|referenceSystem.pointMass3.v_0.1.|referenceSystem.pointMass6.frame_a.r_0.1.|referenceSystem.pointMass6.frame_a.r_0.2.|referenceSystem.pointMass6.frame_a.r_0.3.|referenceSystem.pointMass6.v_0.2.|referenceSystem.pointMass6.v_0.3.",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|freeMotion.r_rel_a.1.|freeMotion.r_rel_a.2.|freeMotion.r_rel_a.3.|freeMotion.v_rel_a.1.|freeMotion.v_rel_a.2.|freeMotion.v_rel_a.3.|referenceSystem.pointMass1.w_a.1.|referenceSystem.pointMass1.w_a.2.|referenceSystem.pointMass1.w_a.3.|referenceSystem.pointMass3.v_0.1.|referenceSystem.pointMass6.frame_a.r_0.1.|referenceSystem.pointMass6.frame_a.r_0.2.|referenceSystem.pointMass6.frame_a.r_0.3.|referenceSystem.pointMass6.v_0.2.|referenceSystem.pointMass6.v_0.3.",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2") [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.001986/0.001986, allocations: 68.98 kB / 379.7 MB, free: 2.684 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2154/0.2174, allocations: 53.36 MB / 433.1 MB, free: 7.02 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2): time 0.02035/0.2378, allocations: 18.44 MB / 451.5 MB, free: 4.508 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01128/0.249, allocations: 5.627 MB / 457.2 MB, free: 14.86 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00213/0.2512, allocations: 167.1 kB / 457.3 MB, free: 14.7 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01081/0.262, allocations: 5.494 MB / 462.8 MB, free: 9.188 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007974/0.27, allocations: 3.368 MB / 466.2 MB, free: 5.809 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003248/0.2732, allocations: 1.619 MB / 467.8 MB, free: 4.188 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01412/0.2873, allocations: 10.46 MB / 478.3 MB, free: 9.707 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006518/0.2938, allocations: 4.823 MB / 483.1 MB, free: 4.82 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005443/0.2993, allocations: 3.443 MB / 486.5 MB, free: 1.367 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007378/0.3067, allocations: 4.903 MB / 491.4 MB, free: 12.45 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001773/0.3084, allocations: 0.6718 MB / 492.1 MB, free: 11.78 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003399/0.3118, allocations: 1.553 MB / 493.7 MB, free: 10.22 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004759/0.3166, allocations: 4.301 MB / 498 MB, free: 5.91 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005871/0.3225, allocations: 4.502 MB / 0.4907 GB, free: 1.383 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01696/0.3394, allocations: 14.75 MB / 0.5051 GB, free: 2.574 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.3394, allocations: 0 / 0.5051 GB, free: 2.574 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.3394, allocations: 0 / 0.5051 GB, free: 2.574 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002439/0.3397, allocations: 0 / 0.5051 GB, free: 2.574 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: 2860 * Number of variables: 2860 Notification: Performance of Generate backend data structure: time 0.01866/0.3583, allocations: 9.852 MB / 0.5147 GB, free: 8.617 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.3584, allocations: 8.031 kB / 0.5147 GB, free: 8.609 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0173/0.3757, allocations: 3.443 MB / 0.5181 GB, free: 5.156 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01233/0.388, allocations: 6.198 MB / 0.5241 GB, free: 14.88 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003906/0.3884, allocations: 451.5 kB / 0.5246 GB, free: 14.44 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001926/0.3903, allocations: 0.792 MB / 0.5253 GB, free: 13.65 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3738/0.7642, allocations: 22.74 MB / 0.5475 GB, free: 84.99 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002577/0.7644, allocations: 110.6 kB / 0.5476 GB, free: 84.95 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006769/0.7651, allocations: 296.4 kB / 0.5479 GB, free: 84.82 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004391/0.7695, allocations: 3.862 MB / 0.5517 GB, free: 84.05 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04151/0.811, allocations: 22.11 MB / 0.5733 GB, free: 68.53 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.08907/0.9001, allocations: 93.53 MB / 0.6646 GB, free: 5.871 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.06182/0.9619, allocations: 13.92 MB / 0.6782 GB, free: 7.797 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01054/0.9724, allocations: 7.519 MB / 0.6856 GB, free: 264 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005046/0.9729, allocations: 377 kB / 0.6859 GB, free: 15.84 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.768e-05/0.973, allocations: 72.48 kB / 0.686 GB, free: 15.75 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=275): time 5.05e-06/0.973, allocations: 0 / 0.686 GB, free: 15.75 MB / 0.4982 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: fixedTranslation5.frame_b.R.T[2,1] = 2.0 * (freeMotion.Q[2] * freeMotion.Q[1] - freeMotion.Q[3] * freeMotion.Q[4]) [/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:8030:5-8030:89:writable] Error: Internal error Transformation module sort components failed Error: Internal error SimCode DAEmode: The model Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2 could not be translated " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 3.6038411870249547] Failed to read output from testmodel.py, exit status != 0: ['time', 'freeMotion.r_rel_a[1]', 'freeMotion.r_rel_a[2]', 'freeMotion.r_rel_a[3]', 'freeMotion.v_rel_a[1]', 'freeMotion.v_rel_a[2]', 'freeMotion.v_rel_a[3]', 'referenceSystem.pointMass1.w_a[1]', 'referenceSystem.pointMass1.w_a[2]', 'referenceSystem.pointMass1.w_a[3]', 'referenceSystem.pointMass3.v_0[1]', 'referenceSystem.pointMass6.frame_a.r_0[1]', 'referenceSystem.pointMass6.frame_a.r_0[2]', 'referenceSystem.pointMass6.frame_a.r_0[3]', 'referenceSystem.pointMass6.v_0[2]', 'referenceSystem.pointMass6.v_0[3]'] 1.4753095060004853 1.484022016 1.142199457 Calling exit ...