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.06149/0.06149, allocations: 12.04 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.001173/0.001173, allocations: 111.9 kB / 32.07 MB, free: 4.578 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.001692/0.001692, allocations: 192.5 kB / 35.9 MB, free: 0.7617 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.499/1.499, allocations: 222.9 MB / 262.5 MB, free: 7.457 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.05945/0.05945, allocations: 13.67 MB / 329.2 MB, free: 468 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.03246/0.03246, allocations: 19.65 MB / 473.1 MB, free: 2.695 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4154/0.4479, allocations: 55.41 MB / 0.5161 GB, free: 20.16 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.0754/0.5233, allocations: 61.08 MB / 0.5758 GB, free: 8.332 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.05703/0.5804, allocations: 16.42 MB / 0.5918 GB, free: 8.035 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01991/0.6004, allocations: 0.4946 MB / 0.5923 GB, free: 7.539 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.05458/0.655, allocations: 31.13 MB / 0.6227 GB, free: 8.348 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.027/0.682, allocations: 8.124 MB / 0.6306 GB, free: 256 kB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01432/0.6964, allocations: 5.417 MB / 0.6359 GB, free: 10.85 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0433/0.7397, allocations: 26.94 MB / 0.6622 GB, free: 15.98 MB / 0.4982 GB Notification: Performance of NFFlatten.resolveConnections: time 0.07017/0.81, allocations: 44 MB / 0.7052 GB, free: 4.387 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02406/0.8341, allocations: 12.97 MB / 0.7179 GB, free: 7.383 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.3615/1.196, allocations: 16.16 MB / 0.7336 GB, free: 54.77 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.01863/1.214, allocations: 4.075 MB / 0.7376 GB, free: 54.77 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02176/1.236, allocations: 5.406 MB / 0.7429 GB, free: 54.77 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.02792/1.264, allocations: 15.15 MB / 0.7577 GB, free: 54.77 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.04317/1.307, allocations: 17.3 MB / 0.7746 GB, free: 49.71 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0744/1.382, allocations: 58.76 MB / 0.832 GB, free: 13.96 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 1.012e-05/1.382, allocations: 6.219 kB / 0.832 GB, free: 13.96 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.625e-06/1.382, allocations: 0 / 0.832 GB, free: 13.96 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.002349/1.384, allocations: 0 / 0.832 GB, free: 13.96 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.1165/1.501, allocations: 34.04 MB / 0.8652 GB, free: 14.8 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 5.67e-05/1.501, allocations: 8.031 kB / 0.8652 GB, free: 14.79 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03198/1.533, allocations: 5.8 MB / 0.8709 GB, free: 8.961 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0482/1.581, allocations: 21.19 MB / 0.8916 GB, free: 4.738 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00213/1.583, allocations: 1.8 MB / 0.8933 GB, free: 3.023 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01178/1.595, allocations: 2.454 MB / 0.8957 GB, free: 0.6562 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1512/1.746, allocations: 57.25 MB / 0.9516 GB, free: 5.848 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002261/1.749, allocations: 233.9 kB / 0.9519 GB, free: 5.684 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01241/1.761, allocations: 1.051 MB / 0.9529 GB, free: 4.719 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01238/1.773, allocations: 6.486 MB / 0.9592 GB, free: 14.32 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4795/2.253, 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.3184/2.571, allocations: 225.1 MB / 1.225 GB, free: 14.71 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4119/2.983, allocations: 27.86 MB / 1.253 GB, free: 210.1 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02515/3.009, allocations: 16.9 MB / 1.269 GB, free: 202.7 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001905/3.01, allocations: 1.292 MB / 1.27 GB, free: 201.8 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.06061/3.071, allocations: 20.51 MB / 1.291 GB, free: 196.8 MB / 0.67 GB Notification: Performance of pre-optimization done (n=901): time 2.372e-05/3.071, allocations: 0 / 1.291 GB, free: 196.8 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