Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr DroneLibrary_DroneLibrary.Examples.DroneWithIdealPower.Drone_IdealMachine.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.Examples.DroneWithIdealPower.Drone_IdealMachine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Examples.DroneWithIdealPower.Drone_IdealMachine") translateModel(DroneLibrary.Examples.DroneWithIdealPower.Drone_IdealMachine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Examples.DroneWithIdealPower.Drone_IdealMachine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.07531/0.07531, allocations: 12.05 MB / 28.35 MB, free: 1.711 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.001112/0.001111, allocations: 104 kB / 32.07 MB, free: 4.566 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.001259/0.001259, allocations: 188.5 kB / 35.9 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.462/1.462, allocations: 222.9 MB / 262.5 MB, free: 7.441 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.06423/0.06423, allocations: 13.68 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.02918/0.02918, allocations: 19.74 MB / 473.2 MB, free: 2.574 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3133/0.3425, allocations: 55.39 MB / 0.5162 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 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.Examples.DroneWithIdealPower.Drone_IdealMachine): time 0.05627/0.3988, allocations: 60.66 MB / 0.5755 GB, free: 8.648 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03962/0.4384, allocations: 16.29 MB / 0.5914 GB, free: 8.559 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01588/0.4544, allocations: 0.5011 MB / 0.5919 GB, free: 8.059 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.05704/0.5114, allocations: 31.12 MB / 0.6222 GB, free: 8.871 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02356/0.535, allocations: 8.081 MB / 0.6301 GB, free: 0.8164 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01238/0.5474, allocations: 5.365 MB / 0.6354 GB, free: 11.47 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.03787/0.5853, allocations: 26.77 MB / 0.6615 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06968/0.6551, allocations: 43.89 MB / 0.7044 GB, free: 5.309 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02362/0.6787, allocations: 12.9 MB / 0.717 GB, free: 8.375 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.3385/1.017, allocations: 16.09 MB / 0.7327 GB, free: 54.35 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.01429/1.032, allocations: 4.06 MB / 0.7367 GB, free: 54.35 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01841/1.05, allocations: 5.397 MB / 0.7419 GB, free: 54.35 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.02133/1.071, allocations: 15.12 MB / 0.7567 GB, free: 54.35 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.03245/1.104, allocations: 17.23 MB / 0.7735 GB, free: 49.93 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0647/1.169, allocations: 58.74 MB / 0.8309 GB, free: 14.2 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 9.468e-06/1.169, allocations: 1.906 kB / 0.8309 GB, free: 14.2 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.835e-06/1.169, allocations: 3.188 kB / 0.8309 GB, free: 14.2 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.002267/1.171, allocations: 0 / 0.8309 GB, free: 14.2 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: 7999 * Number of variables: 7999 Notification: Performance of Generate backend data structure: time 0.1068/1.278, allocations: 34.48 MB / 0.8646 GB, free: 15.02 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/1.278, allocations: 11.78 kB / 0.8646 GB, free: 15.01 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03031/1.308, allocations: 5.942 MB / 0.8704 GB, free: 9.055 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04866/1.357, allocations: 21.2 MB / 0.8911 GB, free: 4.816 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001871/1.359, allocations: 1.801 MB / 0.8928 GB, free: 3.102 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01101/1.37, allocations: 2.447 MB / 0.8952 GB, free: 0.7383 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1424/1.512, allocations: 57.13 MB / 0.951 GB, free: 6.039 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001792/1.514, allocations: 236.8 kB / 0.9512 GB, free: 5.875 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01043/1.524, allocations: 1.051 MB / 0.9523 GB, free: 4.91 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01128/1.536, allocations: 6.491 MB / 0.9586 GB, free: 14.51 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3883/1.924, allocations: 47.36 MB / 1.005 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.3127/2.237, allocations: 225.2 MB / 1.225 GB, free: 14.99 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3498/2.587, allocations: 27.7 MB / 1.252 GB, free: 209.7 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02315/2.61, allocations: 16.8 MB / 1.268 GB, free: 202.3 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001776/2.612, allocations: 1.288 MB / 1.27 GB, free: 201.4 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05913/2.671, allocations: 20.42 MB / 1.289 GB, free: 196.5 MB / 0.67 GB Notification: Performance of pre-optimization done (n=891): time 2.054e-05/2.671, allocations: 2.656 kB / 1.289 GB, free: 196.5 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