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/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.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/package.mo): time 0.07334/0.07334, allocations: 12.02 MB / 27.65 MB, free: 2.238 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.001038/0.001039, allocations: 105.6 kB / 31.36 MB, free: 5.137 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.001285/0.001285, allocations: 188.5 kB / 35.19 MB, free: 1.32 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.423/1.423, allocations: 222.9 MB / 261.7 MB, free: 7.371 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.06436/0.06436, allocations: 13.68 MB / 328.5 MB, free: 0.4961 MB / 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.02971/0.02971, allocations: 19.65 MB / 472.4 MB, free: 2.723 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.308/0.3377, allocations: 55.39 MB / 0.5154 GB, free: 20.23 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.057/0.3947, allocations: 61.08 MB / 0.5751 GB, free: 8.348 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03988/0.4347, allocations: 16.43 MB / 0.5911 GB, free: 8.078 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01453/0.4492, allocations: 0.4946 MB / 0.5916 GB, free: 7.582 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.05144/0.5007, allocations: 31.12 MB / 0.622 GB, free: 8.398 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02239/0.5231, allocations: 8.116 MB / 0.6299 GB, free: 316 kB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01142/0.5346, allocations: 5.417 MB / 0.6352 GB, free: 10.91 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.03488/0.5695, allocations: 26.95 MB / 0.6615 GB, free: 28 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06262/0.6322, allocations: 43.93 MB / 0.7044 GB, free: 4.512 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01968/0.6519, allocations: 12.97 MB / 0.7171 GB, free: 7.504 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.3067/0.9587, allocations: 16.16 MB / 0.7329 GB, free: 54.46 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.01487/0.9736, allocations: 4.074 MB / 0.7368 GB, free: 54.46 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01751/0.9911, allocations: 5.405 MB / 0.7421 GB, free: 54.46 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.02193/1.013, allocations: 15.15 MB / 0.7569 GB, free: 54.46 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.03333/1.046, allocations: 17.3 MB / 0.7738 GB, free: 49.56 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.05665/1.103, allocations: 58.76 MB / 0.8312 GB, free: 13.94 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/1.103, allocations: 3.094 kB / 0.8312 GB, free: 13.94 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.904e-06/1.103, allocations: 0 / 0.8312 GB, free: 13.94 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.001883/1.105, allocations: 0 / 0.8312 GB, free: 13.94 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.09348/1.199, allocations: 34.05 MB / 0.8644 GB, free: 14.84 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/1.199, allocations: 10.66 kB / 0.8645 GB, free: 14.84 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02883/1.228, allocations: 5.791 MB / 0.8701 GB, free: 9.016 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04266/1.27, allocations: 21.2 MB / 0.8908 GB, free: 4.781 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001834/1.272, allocations: 1.795 MB / 0.8926 GB, free: 3.07 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01107/1.283, allocations: 2.449 MB / 0.895 GB, free: 0.707 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1341/1.417, allocations: 57.25 MB / 0.9509 GB, free: 5.891 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001745/1.419, allocations: 234.4 kB / 0.9511 GB, free: 5.727 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009832/1.429, allocations: 1.053 MB / 0.9521 GB, free: 4.762 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01123/1.44, allocations: 6.489 MB / 0.9585 GB, free: 14.36 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3654/1.806, allocations: 47.52 MB / 1.005 GB, free: 218.9 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.2682/2.074, allocations: 225.1 MB / 1.225 GB, free: 14.53 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3315/2.406, allocations: 27.86 MB / 1.252 GB, free: 210.3 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02286/2.428, allocations: 16.88 MB / 1.268 GB, free: 202.8 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001916/2.43, allocations: 1.293 MB / 1.27 GB, free: 201.8 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.06068/2.491, allocations: 20.52 MB / 1.29 GB, free: 196.9 MB / 0.67 GB Notification: Performance of pre-optimization done (n=901): time 2.485e-05/2.491, allocations: 1.906 kB / 1.29 GB, free: 196.9 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