Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/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_3.2.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2") Notification: Performance of loadModel(Modelica): time 1.692/1.692, allocations: 171.1 MB / 187.3 MB, free: 1.152 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004967/0.0004968, allocations: 8 kB / 233.8 MB, free: 3.07 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09504/0.09558, allocations: 38.76 MB / 272.6 MB, free: 12.23 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2): time 0.3722/0.4678, allocations: 90.05 MB / 362.6 MB, free: 3.273 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.07035/0.5382, allocations: 20.03 MB / 382.7 MB, free: 15.18 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02002/0.5583, allocations: 462.9 kB / 383.1 MB, free: 14.73 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01689/0.5753, allocations: 4.631 MB / 387.7 MB, free: 10.08 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.05149/0.6268, allocations: 12.85 MB / 400.6 MB, free: 13.19 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008258/0.6351, allocations: 1.451 MB / 402 MB, free: 11.74 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0141/0.6493, allocations: 5.605 MB / 407.6 MB, free: 6.125 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01582/0.6651, allocations: 7.553 MB / 415.2 MB, free: 14.5 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007363/0.6726, allocations: 2.426 MB / 417.6 MB, free: 12.07 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0102/0.6828, allocations: 3.12 MB / 420.7 MB, free: 8.941 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003097/0.686, allocations: 300 kB / 421 MB, free: 8.648 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00639/0.6924, allocations: 1.007 MB / 422 MB, free: 7.641 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.008351/0.7008, allocations: 3.519 MB / 425.6 MB, free: 4.113 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004387/0.7053, allocations: 1.707 MB / 427.3 MB, free: 2.395 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02384/0.7292, allocations: 11.93 MB / 439.2 MB, free: 6.43 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.7293, allocations: 0 / 439.2 MB, free: 6.43 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.377e-06/0.7293, allocations: 0 / 439.2 MB, free: 6.43 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0004737/0.7298, allocations: 4 kB / 439.2 MB, free: 6.426 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2934 * Number of variables: 2934 Notification: Performance of Generate backend data structure: time 0.4817/1.211, allocations: 8.267 MB / 447.5 MB, free: 126.6 MB / 362.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.116e-05/1.212, allocations: 8.25 kB / 447.5 MB, free: 126.6 MB / 362.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03342/1.245, allocations: 3.833 MB / 451.3 MB, free: 125.9 MB / 362.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01927/1.264, allocations: 7.304 MB / 458.6 MB, free: 122.2 MB / 362.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000656/1.265, allocations: 479.7 kB / 459.1 MB, free: 122.1 MB / 362.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004494/1.27, allocations: 0.8008 MB / 459.9 MB, free: 121.8 MB / 362.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1027/1.372, allocations: 29.35 MB / 489.2 MB, free: 93.65 MB / 362.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004934/1.373, allocations: 113.3 kB / 489.4 MB, free: 93.54 MB / 362.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002579/1.375, allocations: 298.2 kB / 489.6 MB, free: 93.32 MB / 362.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01079/1.386, allocations: 4.146 MB / 493.8 MB, free: 89.21 MB / 362.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.112/1.498, allocations: 30.43 MB / 0.5119 GB, free: 58.83 MB / 362.8 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.5252/2.023, allocations: 102.9 MB / 0.6125 GB, free: 57.01 MB / 362.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1479/2.171, allocations: 20.06 MB / 0.6321 GB, free: 49.61 MB / 362.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009886/2.173, allocations: 388 kB / 0.6324 GB, free: 49.28 MB / 362.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.461e-05/2.173, allocations: 73.91 kB / 0.6325 GB, free: 49.22 MB / 362.8 MB Notification: Performance of pre-optimization done (n=314): time 8.787e-06/2.173, allocations: 3.844 kB / 0.6325 GB, free: 49.22 MB / 362.8 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:342:7-342:48:writable] Error: Internal error BackendDAETransform.analyseStrongComponentBlock failed variables: equations: referenceSystem.pointMass3.v_0[3] = $DER.referenceSystem.fixedTranslation5.frame_a.r_0[3] + referenceSystem.fixedTranslation5.frame_b.R.T[3,3] * referenceSystem.pointMass6.w_a[1] - referenceSystem.fixedTranslation5.frame_b.R.T[1,3] * referenceSystem.pointMass6.w_a[3] [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:346:7-346:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:107:7-107:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:7904:5-7904:89:writable] Error: Internal error Transformation module sort components failed