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.Constraints.UniversalConstraint.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.Constraints.UniversalConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bodyOfConstraint.body.w_a.1.|bodyOfConstraint.body.w_a.2.|bodyOfConstraint.body.w_a.3.|joint.phi_a|joint.phi_b|joint.w_a|joint.w_b",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint") Notification: Performance of loadModel(Modelica): time 1.761/1.761, allocations: 171.2 MB / 187.3 MB, free: 1.043 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003704/0.0003705, allocations: 11.98 kB / 233.8 MB, free: 3.059 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0892/0.0896, allocations: 38.77 MB / 272.6 MB, free: 12.21 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint): time 0.3649/0.4546, allocations: 83.28 MB / 355.8 MB, free: 10.02 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.05552/0.5102, allocations: 19.23 MB / 375.1 MB, free: 6.75 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01831/0.5285, allocations: 434.9 kB / 375.5 MB, free: 6.324 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01567/0.5442, allocations: 4.297 MB / 379.8 MB, free: 2.008 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.04535/0.5896, allocations: 11.66 MB / 391.4 MB, free: 6.32 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0083/0.598, allocations: 1.311 MB / 392.8 MB, free: 5.008 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.01129/0.6093, allocations: 4.085 MB / 396.8 MB, free: 0.9141 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02205/0.6314, allocations: 10.6 MB / 407.4 MB, free: 6.223 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004387/0.6359, allocations: 1.896 MB / 409.3 MB, free: 4.32 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004919/0.6408, allocations: 2.274 MB / 411.6 MB, free: 2.039 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001265/0.6422, allocations: 256 kB / 411.9 MB, free: 1.789 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004259/0.6464, allocations: 1.373 MB / 413.2 MB, free: 424 kB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0045/0.651, allocations: 2.833 MB / 416.1 MB, free: 13.57 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002454/0.6535, allocations: 1.509 MB / 417.6 MB, free: 12.05 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01704/0.6705, allocations: 10.6 MB / 428.2 MB, free: 1.434 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.6706, allocations: 0 / 428.2 MB, free: 1.434 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.775e-06/0.6706, allocations: 0 / 428.2 MB, free: 1.434 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0004284/0.671, allocations: 0 / 428.2 MB, free: 1.434 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2639 * Number of variables: 2639 Notification: Performance of Generate backend data structure: time 0.0301/0.7011, allocations: 8.027 MB / 436.2 MB, free: 9.316 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.418e-05/0.7012, allocations: 8.031 kB / 436.2 MB, free: 9.309 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01669/0.7179, allocations: 2.704 MB / 438.9 MB, free: 6.59 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01469/0.7327, allocations: 4.949 MB / 443.9 MB, free: 1.559 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006253/0.7334, allocations: 484.5 kB / 444.3 MB, free: 1.082 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003137/0.7365, allocations: 0.6441 MB / 445 MB, free: 448 kB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5087/1.245, allocations: 18.93 MB / 463.9 MB, free: 119.1 MB / 362.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003742/1.246, allocations: 71.53 kB / 464 MB, free: 119 MB / 362.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002533/1.248, allocations: 292.7 kB / 464.3 MB, free: 118.9 MB / 362.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006895/1.255, allocations: 2.856 MB / 467.1 MB, free: 117.8 MB / 362.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05115/1.306, allocations: 16.27 MB / 483.4 MB, free: 102 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.1393/1.446, allocations: 70.32 MB / 0.5407 GB, free: 30.63 MB / 362.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.05231/1.498, allocations: 8.971 MB / 0.5495 GB, free: 21.51 MB / 362.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04952/1.548, allocations: 19.77 MB / 0.5688 GB, free: 1.34 MB / 362.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.344e-05/1.548, allocations: 68.5 kB / 0.5689 GB, free: 1.262 MB / 362.8 MB Notification: Performance of pre-optimization done (n=308): time 8.406e-06/1.548, allocations: 0 / 0.5689 GB, free: 1.262 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: freeMotionScalarInit.initAngle.R_rel.T[3,1] = sin(freeMotionScalarInit.derd[2].u) [/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