Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr DroneLibrary_DroneLibrary.Tests.simpleHoverTest.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: "" <> buildModelFMU(DroneLibrary.Tests.simpleHoverTest,fileNamePrefix="DroneLibrary_DroneLibrary_Tests_simpleHoverTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(DroneLibrary.Tests.simpleHoverTest,fileNamePrefix="DroneLibrary_DroneLibrary_Tests_simpleHoverTest",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.05933/0.05933, allocations: 12.03 MB / 27.66 MB, free: 2.266 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.001023/0.001023, allocations: 107.2 kB / 31.37 MB, free: 5.152 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.001213/0.001213, allocations: 192.5 kB / 35.21 MB, free: 1.336 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.267/1.267, allocations: 222.9 MB / 261.8 MB, free: 7.34 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.05617/0.05617, allocations: 13.67 MB / 328.5 MB, free: 0.5039 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.02626/0.02626, allocations: 19.64 MB / 471.9 MB, free: 3.219 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2501/0.2763, allocations: 55.4 MB / 0.5149 GB, free: 19.85 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 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 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 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.simpleHoverTest): time 0.04667/0.3231, allocations: 57.98 MB / 0.5716 GB, free: 10.64 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03144/0.3545, allocations: 15.28 MB / 0.5865 GB, free: 12.36 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01059/0.3651, allocations: 482.6 kB / 0.5869 GB, free: 11.89 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.04883/0.414, allocations: 30.36 MB / 0.6166 GB, free: 13.46 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01783/0.4319, allocations: 7.801 MB / 0.6242 GB, free: 5.688 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00927/0.4412, allocations: 4.825 MB / 0.6289 GB, free: 0.8789 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.03013/0.4713, allocations: 25.37 MB / 0.6537 GB, free: 7.586 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04612/0.5175, allocations: 42.03 MB / 0.6947 GB, free: 14 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01622/0.5337, allocations: 12.25 MB / 0.7067 GB, free: 1.719 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01925/0.553, allocations: 15.3 MB / 0.7217 GB, free: 2.383 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.2211/0.7741, allocations: 3.849 MB / 0.7254 GB, free: 61.14 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01168/0.7858, allocations: 4.993 MB / 0.7303 GB, free: 61.14 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0152/0.8011, allocations: 14.48 MB / 0.7444 GB, free: 61.14 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.02045/0.8216, allocations: 16.43 MB / 0.7605 GB, free: 57.19 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.04045/0.862, allocations: 56.35 MB / 0.8155 GB, free: 31.8 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.982e-06/0.8621, allocations: 0 / 0.8155 GB, free: 31.8 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.693e-06/0.8621, allocations: 0.5 kB / 0.8155 GB, free: 31.8 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.001232/0.8633, allocations: 2.469 kB / 0.8155 GB, free: 31.8 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: 7613 * Number of variables: 7613 Notification: Performance of Generate backend data structure: time 0.06682/0.9301, allocations: 30.61 MB / 0.8454 GB, free: 8.777 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.9302, allocations: 8.031 kB / 0.8454 GB, free: 8.77 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01003/0.9402, allocations: 3.777 MB / 0.8491 GB, free: 5.066 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03556/0.9758, allocations: 7.537 MB / 0.8565 GB, free: 13.55 MB / 0.5607 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03985/1.016, allocations: 24.67 MB / 0.8806 GB, free: 6.008 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00126/1.017, allocations: 1.693 MB / 0.8822 GB, free: 4.398 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007448/1.024, allocations: 2.31 MB / 0.8845 GB, free: 2.172 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.104/1.128, allocations: 54.57 MB / 0.9378 GB, free: 10.07 MB / 0.6388 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001045/1.13, allocations: 229.1 kB / 0.938 GB, free: 9.914 MB / 0.6388 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005734/1.135, allocations: 0.9917 MB / 0.9389 GB, free: 9.008 MB / 0.6388 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.009408/1.145, allocations: 6.317 MB / 0.9451 GB, free: 2.766 MB / 0.6388 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2945/1.439, allocations: 45.33 MB / 0.9894 GB, free: 207.1 MB / 0.6544 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.2164/1.656, allocations: 213.8 MB / 1.198 GB, free: 18.96 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2624/1.918, allocations: 25.84 MB / 1.223 GB, free: 195 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01705/1.935, allocations: 16.09 MB / 1.239 GB, free: 192.2 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001477/1.937, allocations: 1.269 MB / 1.24 GB, free: 191.3 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.691e-05/1.937, allocations: 125.4 kB / 1.24 GB, free: 191.2 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=765): time 1.044e-05/1.937, allocations: 0 / 1.24 GB, free: 191.2 MB / 0.6544 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 * propellerRev2.Airframe.R.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