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-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.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-master/package.mo): time 0.05759/0.05759, allocations: 12.05 MB / 28.35 MB, free: 1.73 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.0009683/0.0009683, allocations: 111.9 kB / 32.09 MB, free: 4.57 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.001175/0.001175, allocations: 196.1 kB / 35.92 MB, free: 0.7539 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.309/1.309, allocations: 222.9 MB / 262.5 MB, free: 7.438 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.05598/0.05598, allocations: 13.68 MB / 329.2 MB, free: 448 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.02597/0.02597, allocations: 19.73 MB / 473.2 MB, free: 2.586 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2907/0.3167, allocations: 55.39 MB / 0.5162 GB, free: 20.92 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 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. [/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. Notification: Performance of NFInst.instantiate(DroneLibrary.Tests.controlModuleTest2): time 0.05522/0.3719, allocations: 61.08 MB / 0.5759 GB, free: 8.5 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.04148/0.4134, allocations: 16.43 MB / 0.5919 GB, free: 8.176 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01482/0.4283, allocations: 0.4946 MB / 0.5924 GB, free: 7.68 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.05366/0.482, allocations: 31.13 MB / 0.6228 GB, free: 8.488 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02238/0.5044, allocations: 8.114 MB / 0.6307 GB, free: 412 kB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01343/0.5179, allocations: 5.424 MB / 0.636 GB, free: 11 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.04078/0.5587, allocations: 26.95 MB / 0.6623 GB, free: 124 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06695/0.6257, allocations: 43.99 MB / 0.7053 GB, free: 4.535 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02102/0.6468, allocations: 12.97 MB / 0.718 GB, free: 7.531 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.2873/0.9341, allocations: 16.16 MB / 0.7337 GB, free: 54.7 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0129/0.947, allocations: 4.075 MB / 0.7377 GB, free: 54.7 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01783/0.9649, allocations: 5.405 MB / 0.743 GB, free: 54.7 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.02075/0.9857, allocations: 15.15 MB / 0.7578 GB, free: 54.7 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.03696/1.023, allocations: 17.3 MB / 0.7747 GB, free: 49.75 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.05738/1.08, allocations: 58.91 MB / 0.8322 GB, free: 13.74 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/1.08, allocations: 2.375 kB / 0.8322 GB, free: 13.74 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.323e-06/1.08, allocations: 3.188 kB / 0.8322 GB, free: 13.74 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.001862/1.082, allocations: 0 / 0.8322 GB, free: 13.74 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.09825/1.18, allocations: 34.78 MB / 0.8662 GB, free: 13.77 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/1.18, allocations: 10.62 kB / 0.8662 GB, free: 13.76 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0275/1.208, allocations: 5.956 MB / 0.872 GB, free: 7.793 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04186/1.25, allocations: 21.27 MB / 0.8928 GB, free: 3.492 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001667/1.251, allocations: 1.805 MB / 0.8946 GB, free: 1.773 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01307/1.265, allocations: 2.458 MB / 0.897 GB, free: 15.4 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1322/1.397, allocations: 57.24 MB / 0.9528 GB, free: 4.59 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001442/1.398, allocations: 232 kB / 0.9531 GB, free: 4.43 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01/1.408, allocations: 1.05 MB / 0.9541 GB, free: 3.465 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01098/1.419, allocations: 6.49 MB / 0.9604 GB, free: 13.06 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3482/1.768, allocations: 47.52 MB / 1.007 GB, free: 218.8 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.2483/2.016, allocations: 225.5 MB / 1.227 GB, free: 13.2 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.328/2.344, allocations: 27.87 MB / 1.254 GB, free: 210 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0202/2.364, allocations: 16.89 MB / 1.271 GB, free: 202.2 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001752/2.366, allocations: 1.295 MB / 1.272 GB, free: 201.3 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05656/2.423, allocations: 20.52 MB / 1.292 GB, free: 196.4 MB / 0.67 GB Notification: Performance of pre-optimization done (n=901): time 2.092e-05/2.423, allocations: 0 / 1.292 GB, free: 196.4 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.controlModuleTest2 could not be translated