Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr DroneLibrary_DroneLibrary.Tests.controlModuleTest2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/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/package.mo) Running command: translateModel(DroneLibrary.Tests.controlModuleTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Tests.controlModuleTest2") translateModel(DroneLibrary.Tests.controlModuleTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Tests.controlModuleTest2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.07422/0.07422, allocations: 12.02 MB / 27.65 MB, free: 1.875 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.000975/0.0009751, allocations: 106.7 kB / 31.36 MB, free: 4.992 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.001196/0.001196, allocations: 192.5 kB / 35.2 MB, free: 1.176 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.409/1.409, allocations: 222.9 MB / 261.7 MB, free: 7.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.06112/0.06112, allocations: 13.66 MB / 328.5 MB, free: 472 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.02733/0.02733, allocations: 19.69 MB / 472.4 MB, free: 2.656 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2948/0.3221, allocations: 55.39 MB / 0.5154 GB, free: 20.26 MB / 382.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Tests.controlModuleTest2): time 0.05375/0.3759, allocations: 61.06 MB / 0.5751 GB, free: 8.352 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03705/0.413, allocations: 16.42 MB / 0.5911 GB, free: 8.062 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01365/0.4267, allocations: 0.4985 MB / 0.5916 GB, free: 7.562 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.05426/0.481, allocations: 31.12 MB / 0.622 GB, free: 8.375 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02045/0.5015, allocations: 7.866 MB / 0.6297 GB, free: 0.5352 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01116/0.5127, allocations: 5.409 MB / 0.6349 GB, free: 11.14 MB / 478.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.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.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.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.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.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.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.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.0, 0.0}) as default value. Notification: Performance of NFFlatten.flatten: time 0.03397/0.5466, allocations: 26.95 MB / 0.6613 GB, free: 276 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05959/0.6063, allocations: 43.99 MB / 0.7042 GB, free: 4.68 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02212/0.6284, allocations: 13.01 MB / 0.7169 GB, free: 7.645 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.281/0.9095, allocations: 16.11 MB / 0.7327 GB, free: 54.74 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.01367/0.9232, allocations: 4.071 MB / 0.7366 GB, free: 54.74 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01769/0.9409, allocations: 5.399 MB / 0.7419 GB, free: 54.74 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.02031/0.9613, allocations: 14.91 MB / 0.7565 GB, free: 54.74 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0292/0.9905, allocations: 17.29 MB / 0.7734 GB, free: 49.72 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.05519/1.046, allocations: 58.92 MB / 0.8309 GB, free: 13.73 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.593e-06/1.046, allocations: 2.562 kB / 0.8309 GB, free: 13.73 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.244e-06/1.046, allocations: 0 / 0.8309 GB, free: 13.73 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.00168/1.047, allocations: 3.25 kB / 0.8309 GB, free: 13.73 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.09017/1.138, allocations: 34.77 MB / 0.8649 GB, free: 14.02 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/1.138, allocations: 10.72 kB / 0.8649 GB, free: 14.02 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02721/1.165, allocations: 5.956 MB / 0.8707 GB, free: 8.047 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04128/1.206, allocations: 21.27 MB / 0.8914 GB, free: 3.754 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00173/1.208, allocations: 1.8 MB / 0.8932 GB, free: 2.039 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009878/1.218, allocations: 2.454 MB / 0.8956 GB, free: 15.67 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1299/1.348, allocations: 57.25 MB / 0.9515 GB, free: 4.855 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001555/1.349, allocations: 238.3 kB / 0.9517 GB, free: 4.691 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008777/1.358, allocations: 1.049 MB / 0.9528 GB, free: 3.73 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0111/1.369, allocations: 6.491 MB / 0.9591 GB, free: 13.33 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3527/1.722, allocations: 47.51 MB / 1.006 GB, free: 218.4 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.2766/1.999, allocations: 225.5 MB / 1.226 GB, free: 13.21 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3352/2.334, allocations: 27.86 MB / 1.253 GB, free: 209.6 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02045/2.354, allocations: 16.89 MB / 1.269 GB, free: 201.9 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001532/2.356, allocations: 1.299 MB / 1.271 GB, free: 200.9 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05805/2.414, allocations: 20.51 MB / 1.291 GB, free: 196 MB / 0.67 GB Notification: Performance of pre-optimization done (n=901): time 2.188e-05/2.414, allocations: 0 / 1.291 GB, free: 196 MB / 0.67 GB [/var/lib/jenkins/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/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:8011:5-8011:89:writable] Error: Internal error Transformation module sort components failed