Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00106/0.00106, allocations: 117.2 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001088/0.001088, allocations: 206.7 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.3/1.3, allocations: 227.4 MB / 247.6 MB, free: 10.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002045/0.002045, allocations: 59.91 kB / 359.4 MB, free: 12.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2167/0.2188, allocations: 50.55 MB / 410 MB, free: 1.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2): time 0.01776/0.2366, allocations: 18.35 MB / 428.3 MB, free: 15.14 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009879/0.2465, allocations: 5.564 MB / 433.9 MB, free: 9.566 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001828/0.2483, allocations: 139.6 kB / 434 MB, free: 9.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009034/0.2574, allocations: 5.404 MB / 439.4 MB, free: 4.008 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006235/0.2637, allocations: 3.233 MB / 442.6 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002589/0.2663, allocations: 1.626 MB / 444.3 MB, free: 15.13 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01094/0.2772, allocations: 10.45 MB / 454.7 MB, free: 4.664 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006232/0.2835, allocations: 6.473 MB / 461.2 MB, free: 14.12 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003718/0.2872, allocations: 3.376 MB / 464.6 MB, free: 10.73 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004631/0.2918, allocations: 4.51 MB / 469.1 MB, free: 6.207 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001014/0.2929, allocations: 0.668 MB / 469.8 MB, free: 5.539 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002552/0.2954, allocations: 1.51 MB / 471.3 MB, free: 4.027 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003249/0.2987, allocations: 4.197 MB / 475.5 MB, free: 15.82 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003744/0.3024, allocations: 4.513 MB / 480 MB, free: 11.28 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0118/0.3143, allocations: 14.69 MB / 494.7 MB, free: 12.54 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.3143, allocations: 0 / 494.7 MB, free: 12.54 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.357e-06/0.3143, allocations: 0 / 494.7 MB, free: 12.54 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001757/0.3145, allocations: 3.938 kB / 494.7 MB, free: 12.54 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.01516/0.3296, allocations: 9.593 MB / 0.4924 GB, free: 2.855 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.3297, allocations: 8.031 kB / 0.4924 GB, free: 2.848 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01593/0.3456, allocations: 3.386 MB / 0.4958 GB, free: 15.45 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01138/0.357, allocations: 6.168 MB / 0.5018 GB, free: 9.199 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002811/0.3573, allocations: 451.5 kB / 0.5022 GB, free: 8.758 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001486/0.3588, allocations: 0.7879 MB / 0.503 GB, free: 7.969 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04322/0.402, allocations: 22.75 MB / 0.5252 GB, free: 15.79 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002224/0.4023, allocations: 111.1 kB / 0.5253 GB, free: 15.68 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006716/0.403, allocations: 291.7 kB / 0.5256 GB, free: 15.39 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005259/0.4082, allocations: 3.866 MB / 0.5294 GB, free: 11.52 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.359/0.7672, allocations: 21.97 MB / 0.5508 GB, free: 107.7 MB / 462.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.0723/0.8396, allocations: 93.24 MB / 0.6419 GB, free: 20.34 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.05407/0.8936, allocations: 14.23 MB / 0.6558 GB, free: 5.945 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007338/0.901, allocations: 7.705 MB / 0.6633 GB, free: 14.23 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004217/0.9015, allocations: 378.4 kB / 0.6636 GB, free: 13.82 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.035e-05/0.9015, allocations: 64.5 kB / 0.6637 GB, free: 13.75 MB / 478.1 MB Notification: Performance of pre-optimization done (n=275): time 5.089e-06/0.9015, allocations: 6.625 kB / 0.6637 GB, free: 13.74 MB / 478.1 MB [/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:8011:5-8011: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