Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1.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.001725/0.001725, allocations: 114.3 kB / 21.18 MB, free: 0.6289 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.002065/0.002065, allocations: 210.9 kB / 24.48 MB, free: 4.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.428/1.428, allocations: 230.2 MB / 257.8 MB, free: 8.516 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2211/0.2211, allocations: 46.89 MB / 361.1 MB, free: 4.66 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) 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(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5078,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.1.0-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5078,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.1.0-beta.om_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1") [Timeout 660] "Warning: Requested package Modelica 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.002346/0.002346, allocations: 79.88 kB / 0.4968 GB, free: 7.848 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2948/0.2971, allocations: 65.99 MB / 0.5612 GB, free: 5.047 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1): time 0.02031/0.3174, allocations: 17.59 MB / 0.5784 GB, free: 3.383 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01312/0.3305, allocations: 5.822 MB / 0.5841 GB, free: 13.54 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003139/0.3337, allocations: 147.4 kB / 0.5842 GB, free: 13.39 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01062/0.3443, allocations: 5.276 MB / 0.5894 GB, free: 8.102 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008651/0.353, allocations: 3.195 MB / 0.5925 GB, free: 4.895 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003194/0.3561, allocations: 1.424 MB / 0.5939 GB, free: 3.469 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01607/0.3722, allocations: 11.11 MB / 0.6047 GB, free: 8.348 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006412/0.3786, allocations: 4.525 MB / 0.6091 GB, free: 3.75 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005048/0.3837, allocations: 3.08 MB / 0.6122 GB, free: 0.6602 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007005/0.3907, allocations: 4.381 MB / 0.6164 GB, free: 12.26 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001448/0.3921, allocations: 0.5859 MB / 0.617 GB, free: 11.68 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00368/0.3958, allocations: 1.947 MB / 0.6189 GB, free: 9.727 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004115/0.3999, allocations: 3.841 MB / 0.6227 GB, free: 5.875 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004809/0.4047, allocations: 3.977 MB / 0.6265 GB, free: 1.875 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01538/0.4201, allocations: 12.37 MB / 0.6386 GB, free: 5.457 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.523e-06/0.4201, allocations: 0 / 0.6386 GB, free: 5.457 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.4201, allocations: 0 / 0.6386 GB, free: 5.457 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0004164/0.4205, allocations: 0 / 0.6386 GB, free: 5.457 MB / 478.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.02963/0.4502, allocations: 9.724 MB / 0.6481 GB, free: 11.63 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.201e-05/0.4502, allocations: 8.031 kB / 0.6481 GB, free: 11.62 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03758/0.4878, allocations: 9.679 MB / 0.6576 GB, free: 1.922 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01782/0.5056, allocations: 7.053 MB / 0.6645 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003405/0.506, allocations: 377.8 kB / 0.6648 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00215/0.5081, allocations: 0.6946 MB / 0.6655 GB, free: 9.734 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0333/0.5414, allocations: 17.17 MB / 0.6823 GB, free: 7.449 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001973/0.5416, allocations: 83.36 kB / 0.6824 GB, free: 7.367 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006981/0.5423, allocations: 251.8 kB / 0.6826 GB, free: 7.121 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00461/0.5469, allocations: 2.77 MB / 0.6853 GB, free: 4.344 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03345/0.5804, allocations: 14.96 MB / 0.6999 GB, free: 5.352 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.553/1.133, allocations: 68.11 MB / 0.7664 GB, free: 109.6 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02734/1.161, allocations: 9.053 MB / 0.7753 GB, free: 107.5 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004551/1.165, allocations: 4.557 MB / 0.7797 GB, free: 105.7 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001064/1.166, allocations: 1.03 MB / 0.7807 GB, free: 104.8 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.444e-05/1.166, allocations: 59.92 kB / 0.7808 GB, free: 104.8 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=268): time 5.33e-06/1.166, allocations: 1.406 kB / 0.7808 GB, free: 104.8 MB / 0.5607 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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_2/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:346:7-346:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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_2/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:8016:5-8016: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 " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 3.8775580362416804] Failed to read output from testmodel.py, exit status != 0: ['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'] 1.3211212898604572 1.3291908319999999 0.906699045 Calling exit ...