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.06688/0.06688, 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.001106/0.001106, allocations: 111.2 kB / 31.36 MB, free: 4.977 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.001257/0.001257, allocations: 196.5 kB / 35.2 MB, free: 1.152 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.411/1.411, 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.06122/0.06122, allocations: 13.68 MB / 328.5 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.02939/0.02939, allocations: 19.64 MB / 472.4 MB, free: 2.676 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3067/0.3361, allocations: 55.39 MB / 0.5154 GB, free: 20.27 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.05918/0.3953, allocations: 61.09 MB / 0.5751 GB, free: 8.328 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.04077/0.4362, allocations: 16.43 MB / 0.5911 GB, free: 8.031 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01583/0.452, allocations: 0.4946 MB / 0.5916 GB, free: 7.535 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.05434/0.5064, allocations: 31.13 MB / 0.622 GB, free: 8.336 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02386/0.5303, allocations: 8.11 MB / 0.6299 GB, free: 256 kB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01292/0.5433, allocations: 5.426 MB / 0.6352 GB, free: 10.84 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.039/0.5823, allocations: 26.95 MB / 0.6615 GB, free: 15.96 MB / 0.4982 GB Notification: Performance of NFFlatten.resolveConnections: time 0.06973/0.6521, allocations: 43.99 MB / 0.7045 GB, free: 4.391 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02393/0.6761, allocations: 12.97 MB / 0.7171 GB, free: 7.387 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.294/0.9702, allocations: 16.16 MB / 0.7329 GB, free: 54.68 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.01545/0.9857, allocations: 4.075 MB / 0.7369 GB, free: 54.68 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01887/1.005, allocations: 5.409 MB / 0.7422 GB, free: 54.68 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.02111/1.026, allocations: 15.15 MB / 0.757 GB, free: 54.68 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.03136/1.057, allocations: 17.3 MB / 0.7739 GB, free: 49.64 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.05866/1.116, allocations: 58.75 MB / 0.8312 GB, free: 14 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 9.117e-06/1.116, allocations: 10.69 kB / 0.8313 GB, free: 14 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.355e-06/1.116, allocations: 0 / 0.8313 GB, free: 14 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.002006/1.118, allocations: 2.562 kB / 0.8313 GB, free: 14 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.216, allocations: 34.04 MB / 0.8645 GB, free: 14.82 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/1.216, allocations: 8.031 kB / 0.8645 GB, free: 14.82 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03216/1.248, allocations: 5.795 MB / 0.8702 GB, free: 8.992 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04614/1.295, allocations: 21.19 MB / 0.8909 GB, free: 4.766 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001779/1.296, allocations: 1.803 MB / 0.8926 GB, free: 3.047 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01121/1.308, allocations: 2.451 MB / 0.895 GB, free: 0.6836 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1376/1.445, allocations: 57.24 MB / 0.9509 GB, free: 5.883 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00174/1.447, allocations: 235.2 kB / 0.9511 GB, free: 5.719 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01094/1.458, allocations: 1.051 MB / 0.9522 GB, free: 4.758 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01198/1.47, allocations: 6.502 MB / 0.9585 GB, free: 14.35 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3767/1.847, allocations: 47.5 MB / 1.005 GB, free: 219.2 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.2807/2.128, allocations: 225.2 MB / 1.225 GB, free: 14.76 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3643/2.492, allocations: 27.85 MB / 1.252 GB, free: 210.4 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02435/2.516, allocations: 16.89 MB / 1.268 GB, free: 202.9 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00201/2.518, allocations: 1.3 MB / 1.27 GB, free: 201.9 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.06348/2.582, allocations: 20.52 MB / 1.29 GB, free: 197 MB / 0.67 GB Notification: Performance of pre-optimization done (n=901): time 2.283e-05/2.582, allocations: 0 / 1.29 GB, free: 197 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