Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr DroneLibrary_DroneLibrary.Tests.controlModuleTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo", uses=false) 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/DroneLibrary 1.0.0/package.mo", uses=false) Using package DroneLibrary with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/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) Using package Modelica_DeviceDrivers with version 2.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo) Running command: translateModel(DroneLibrary.Tests.controlModuleTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Tests.controlModuleTest") translateModel(DroneLibrary.Tests.controlModuleTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Tests.controlModuleTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.06146/0.06146, allocations: 12.05 MB / 28.35 MB, free: 1.746 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001044/0.001044, allocations: 107.5 kB / 32.07 MB, free: 4.598 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001193/0.001193, allocations: 188.5 kB / 35.9 MB, free: 0.7773 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.385/1.385, allocations: 222.9 MB / 262.5 MB, free: 7.387 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.05868/0.05868, allocations: 13.68 MB / 329.2 MB, free: 476 kB / 254.1 MB Notification: Skipped loading package Visualization (1.6,default) using MODELICAPATH /home/hudson/saved_omc/libraries/.openmodelica/libraries (uses-annotation may be wrong). Notification: Performance of FrontEnd - loaded program: time 0.03/0.03, allocations: 19.76 MB / 473.2 MB, free: 2.598 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3088/0.3388, allocations: 55.39 MB / 0.5162 GB, free: 20.27 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Mechanics/MultiBody/Parts/BodyShape.mo:21:3-22:65:writable] Warning: Parameter propellerRev.blades.bodyShape5.r_CM has no value, and is fixed during initialization (fixed=true), using available start value (start={0, 0, 0}) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Mechanics/MultiBody/Parts/BodyShape.mo:21:3-22:65:writable] Warning: Parameter propellerRev.blades.bodyShape4.r_CM has no value, and is fixed during initialization (fixed=true), using available start value (start={0, 0, 0}) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Mechanics/MultiBody/Parts/BodyShape.mo:21:3-22:65:writable] Warning: Parameter propellerRev3.blades.bodyShape5.r_CM has no value, and is fixed during initialization (fixed=true), using available start value (start={0, 0, 0}) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Mechanics/MultiBody/Parts/BodyShape.mo:21:3-22:65:writable] Warning: Parameter propellerRev3.blades.bodyShape4.r_CM has no value, and is fixed during initialization (fixed=true), using available start value (start={0, 0, 0}) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Mechanics/MultiBody/Parts/BodyShape.mo:21:3-22:65:writable] Warning: Parameter propellerRev1.blades.bodyShape5.r_CM has no value, and is fixed during initialization (fixed=true), using available start value (start={0, 0, 0}) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Mechanics/MultiBody/Parts/BodyShape.mo:21:3-22:65:writable] Warning: Parameter propellerRev1.blades.bodyShape4.r_CM has no value, and is fixed during initialization (fixed=true), using available start value (start={0, 0, 0}) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Mechanics/MultiBody/Parts/BodyShape.mo:21:3-22:65:writable] Warning: Parameter propellerRev2.blades.bodyShape5.r_CM has no value, and is fixed during initialization (fixed=true), using available start value (start={0, 0, 0}) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Mechanics/MultiBody/Parts/BodyShape.mo:21:3-22:65:writable] Warning: Parameter propellerRev2.blades.bodyShape4.r_CM has no value, and is fixed during initialization (fixed=true), using available start value (start={0, 0, 0}) as default value. Notification: Performance of NFInst.instantiate(DroneLibrary.Tests.controlModuleTest): time 0.05558/0.3944, allocations: 61.09 MB / 0.5759 GB, free: 8.324 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03858/0.4331, allocations: 16.43 MB / 0.5919 GB, free: 8 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01534/0.4484, allocations: 0.4985 MB / 0.5924 GB, free: 7.5 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.05309/0.5015, allocations: 31.12 MB / 0.6228 GB, free: 8.316 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02102/0.5226, allocations: 8.12 MB / 0.6307 GB, free: 228 kB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01193/0.5345, allocations: 5.414 MB / 0.636 GB, free: 10.82 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.03821/0.5728, allocations: 26.96 MB / 0.6624 GB, free: 15.94 MB / 0.4982 GB Notification: Performance of NFFlatten.resolveConnections: time 0.06155/0.6344, allocations: 43.93 MB / 0.7052 GB, free: 4.434 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02183/0.6562, allocations: 12.97 MB / 0.7179 GB, free: 7.434 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.2952/0.9515, allocations: 16.17 MB / 0.7337 GB, free: 54.43 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.01521/0.9668, allocations: 4.074 MB / 0.7377 GB, free: 54.43 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01712/0.9839, allocations: 5.408 MB / 0.743 GB, free: 54.43 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.02107/1.005, allocations: 15.15 MB / 0.7578 GB, free: 54.43 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.03255/1.038, allocations: 17.29 MB / 0.7746 GB, free: 49.5 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.06501/1.103, allocations: 58.92 MB / 0.8322 GB, free: 13.43 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/1.103, allocations: 2.594 kB / 0.8322 GB, free: 13.43 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.923e-06/1.103, allocations: 0 / 0.8322 GB, free: 13.43 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.002054/1.105, allocations: 0 / 0.8322 GB, free: 13.43 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8015 * Number of variables: 8015 Notification: Performance of Generate backend data structure: time 0.09721/1.202, allocations: 34.79 MB / 0.8662 GB, free: 13.59 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/1.202, allocations: 9.438 kB / 0.8662 GB, free: 13.58 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02849/1.231, allocations: 5.949 MB / 0.872 GB, free: 7.617 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04784/1.278, allocations: 21.28 MB / 0.8928 GB, free: 3.312 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001682/1.28, allocations: 1.801 MB / 0.8945 GB, free: 1.598 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01075/1.291, allocations: 2.453 MB / 0.8969 GB, free: 15.23 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1327/1.424, allocations: 57.24 MB / 0.9528 GB, free: 4.414 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001482/1.425, allocations: 228.4 kB / 0.953 GB, free: 4.258 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01051/1.436, allocations: 1.053 MB / 0.9541 GB, free: 3.293 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01094/1.447, allocations: 6.493 MB / 0.9604 GB, free: 12.89 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3818/1.828, allocations: 47.52 MB / 1.007 GB, free: 218.6 MB / 0.67 GB 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.2677/2.096, allocations: 225.5 MB / 1.227 GB, free: 12.6 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3574/2.454, allocations: 27.89 MB / 1.254 GB, free: 209.8 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02206/2.476, allocations: 16.88 MB / 1.271 GB, free: 202 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001601/2.477, allocations: 1.294 MB / 1.272 GB, free: 201.1 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.058/2.535, allocations: 20.52 MB / 1.292 GB, free: 196.1 MB / 0.67 GB Notification: Performance of pre-optimization done (n=901): time 3.282e-05/2.535, allocations: 0 / 1.292 GB, free: 196.1 MB / 0.67 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: droneChassis1.bodyCylinder.body.frame_a.r_0[1] = propellerRev.blades.bodyShape4.body.frame_a.r_0[1] + 0.25 * accelerometer.relativeAngles.R_rel.T[2,1] [/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