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.06089/0.06089, allocations: 12.05 MB / 28.36 MB, free: 1.809 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.0009468/0.0009468, allocations: 107.9 kB / 32.07 MB, free: 4.707 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.001122/0.001122, allocations: 192.4 kB / 35.91 MB, free: 0.8945 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.331/1.331, allocations: 222.9 MB / 262.5 MB, free: 7.383 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.05739/0.05739, allocations: 13.68 MB / 329.2 MB, free: 452 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.02529/0.02529, allocations: 19.66 MB / 473.1 MB, free: 2.684 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2824/0.3077, allocations: 55.38 MB / 0.5161 GB, free: 20.19 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.05169/0.3594, allocations: 61.09 MB / 0.5758 GB, free: 8.324 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0393/0.3988, allocations: 16.43 MB / 0.5918 GB, free: 8.008 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01415/0.413, allocations: 0.4946 MB / 0.5923 GB, free: 7.512 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.05045/0.4634, allocations: 31.12 MB / 0.6227 GB, free: 8.332 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02092/0.4844, allocations: 8.12 MB / 0.6306 GB, free: 244 kB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01101/0.4954, allocations: 5.421 MB / 0.6359 GB, free: 10.84 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0331/0.5286, allocations: 26.96 MB / 0.6622 GB, free: 15.95 MB / 0.4982 GB Notification: Performance of NFFlatten.resolveConnections: time 0.05578/0.5844, allocations: 43.93 MB / 0.7051 GB, free: 4.43 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02013/0.6045, allocations: 12.97 MB / 0.7178 GB, free: 7.43 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.2681/0.8727, allocations: 16.16 MB / 0.7336 GB, free: 54.58 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0117/0.8844, allocations: 4.076 MB / 0.7376 GB, free: 54.58 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01438/0.8988, allocations: 5.403 MB / 0.7428 GB, free: 54.58 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.01768/0.9165, allocations: 15.16 MB / 0.7576 GB, free: 54.58 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.02678/0.9434, allocations: 17.31 MB / 0.7745 GB, free: 49.57 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.04636/0.9898, allocations: 58.75 MB / 0.8319 GB, free: 13.89 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.174e-06/0.9898, allocations: 4 kB / 0.8319 GB, free: 13.89 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.733e-06/0.9898, allocations: 2.5 kB / 0.8319 GB, free: 13.89 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.001922/0.9917, allocations: 0 / 0.8319 GB, free: 13.89 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.08742/1.079, allocations: 34.04 MB / 0.8652 GB, free: 14.75 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/1.079, allocations: 8.031 kB / 0.8652 GB, free: 14.74 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02769/1.107, allocations: 5.795 MB / 0.8708 GB, free: 8.922 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04034/1.147, allocations: 21.19 MB / 0.8915 GB, free: 4.695 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001469/1.149, allocations: 1.802 MB / 0.8933 GB, free: 2.98 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008943/1.158, allocations: 2.453 MB / 0.8957 GB, free: 0.6133 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1186/1.276, allocations: 57.24 MB / 0.9516 GB, free: 5.805 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00104/1.277, allocations: 233.7 kB / 0.9518 GB, free: 5.645 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006811/1.284, allocations: 1.058 MB / 0.9528 GB, free: 4.676 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.009975/1.294, allocations: 6.492 MB / 0.9592 GB, free: 14.27 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.367/1.661, allocations: 47.51 MB / 1.006 GB, free: 219.1 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.259/1.92, allocations: 225.1 MB / 1.225 GB, free: 14.47 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3023/2.223, allocations: 27.88 MB / 1.253 GB, free: 210.3 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02031/2.243, allocations: 16.88 MB / 1.269 GB, free: 202.9 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001672/2.245, allocations: 1.295 MB / 1.27 GB, free: 201.9 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05786/2.303, allocations: 20.51 MB / 1.29 GB, free: 197 MB / 0.67 GB Notification: Performance of pre-optimization done (n=901): time 2.221e-05/2.303, allocations: 0 / 1.29 GB, free: 197 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 Error: Internal error SimCode DAEmode: The model DroneLibrary.Tests.controlModuleTest could not be translated