Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bodyCylinder2.body.Q.1.|bodyCylinder2.body.Q.2.|bodyCylinder2.body.Q.3.|bodyCylinder2.body.Q.4.|bodyCylinder2.body.w_a.1.|bodyCylinder2.body.w_a.2.|bodyCylinder2.body.w_a.3.|bodyCylinder3.body.Q.1.|bodyCylinder3.body.Q.2.|bodyCylinder3.body.Q.3.|bodyCylinder3.body.Q.4.|bodyCylinder3.body.w_a.1.|bodyCylinder3.body.w_a.2.|bodyCylinder3.body.w_a.3.|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bodyCylinder2.body.Q.1.|bodyCylinder2.body.Q.2.|bodyCylinder2.body.Q.3.|bodyCylinder2.body.Q.4.|bodyCylinder2.body.w_a.1.|bodyCylinder2.body.w_a.2.|bodyCylinder2.body.w_a.3.|bodyCylinder3.body.Q.1.|bodyCylinder3.body.Q.2.|bodyCylinder3.body.Q.3.|bodyCylinder3.body.Q.4.|bodyCylinder3.body.w_a.1.|bodyCylinder3.body.w_a.2.|bodyCylinder3.body.w_a.3.|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001574/0.001574, allocations: 113.8 kB / 18.46 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001706/0.001706, allocations: 186.1 kB / 19.39 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.492/1.492, allocations: 222.9 MB / 243.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2198/0.2198, allocations: 44.19 MB / 337.4 MB, free: 2.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001415/0.001415, allocations: 63.89 kB / 471.2 MB, free: 13.19 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3918/0.3932, allocations: 60.83 MB / 0.5196 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1): time 0.01794/0.4112, allocations: 17.55 MB / 0.5367 GB, free: 6.707 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01484/0.4261, allocations: 5.768 MB / 0.5424 GB, free: 2.148 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006006/0.4321, allocations: 138.6 kB / 0.5425 GB, free: 2.121 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01205/0.4442, allocations: 5.215 MB / 0.5476 GB, free: 14.62 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01201/0.4563, allocations: 3.229 MB / 0.5507 GB, free: 12.07 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004124/0.4605, allocations: 1.424 MB / 0.5521 GB, free: 10.64 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01684/0.4773, allocations: 10.77 MB / 0.5626 GB, free: 15.86 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008811/0.4862, allocations: 6.19 MB / 0.5687 GB, free: 9.598 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005771/0.492, allocations: 3.065 MB / 0.5717 GB, free: 6.523 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007098/0.4991, allocations: 4.054 MB / 0.5756 GB, free: 2.457 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002707/0.5018, allocations: 0.582 MB / 0.5762 GB, free: 1.875 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006284/0.5081, allocations: 1.908 MB / 0.5781 GB, free: 15.96 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00635/0.5145, allocations: 3.772 MB / 0.5817 GB, free: 12.18 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00955/0.5241, allocations: 4.004 MB / 0.5857 GB, free: 8.156 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01673/0.5409, allocations: 12.38 MB / 0.5977 GB, free: 11.73 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.453e-06/0.5409, allocations: 0 / 0.5977 GB, free: 11.73 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.5409, allocations: 0 / 0.5977 GB, free: 11.73 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003946/0.5413, allocations: 0 / 0.5977 GB, free: 11.73 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2276 * Number of variables: 2276 Notification: Performance of Generate backend data structure: time 0.03003/0.5713, allocations: 9.513 MB / 0.607 GB, free: 2.125 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/0.5714, allocations: 15.97 kB / 0.6071 GB, free: 2.109 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03574/0.6072, allocations: 8.706 MB / 0.6156 GB, free: 9.379 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01728/0.6245, allocations: 7.206 MB / 0.6226 GB, free: 2.102 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003678/0.6249, allocations: 377.8 kB / 0.623 GB, free: 1.73 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002796/0.6277, allocations: 0.6905 MB / 0.6236 GB, free: 1.039 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04016/0.6679, allocations: 17.17 MB / 0.6404 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005635/0.6685, allocations: 83.3 kB / 0.6405 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002798/0.6713, allocations: 239.8 kB / 0.6407 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005148/0.6765, allocations: 2.774 MB / 0.6434 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03467/0.7112, allocations: 14.96 MB / 0.658 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6653/1.376, allocations: 68.02 MB / 0.7244 GB, free: 126 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03136/1.408, allocations: 9.244 MB / 0.7335 GB, free: 125.3 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006156/1.414, allocations: 4.753 MB / 0.7381 GB, free: 124.3 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001214/1.415, allocations: 1.027 MB / 0.7391 GB, free: 123.4 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.376e-05/1.415, allocations: 66.34 kB / 0.7392 GB, free: 123.3 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=268): time 5.43e-06/1.415, allocations: 0 / 0.7392 GB, free: 123.3 MB / 0.5607 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: spherical1.frame_b.R.T[3,1] = 2.0 * (bodyCylinder1.body.Q[3] * bodyCylinder1.body.Q[1] + bodyCylinder1.body.Q[2] * bodyCylinder1.body.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 ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1 could not be translated