Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr DroneLibrary_DroneLibrary.Examples.DroneWithIdealPower.TestSystem.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.TestSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Examples.DroneWithIdealPower.TestSystem") translateModel(DroneLibrary.Examples.DroneWithIdealPower.TestSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Examples.DroneWithIdealPower.TestSystem") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.06751/0.06751, allocations: 12.05 MB / 28.35 MB, free: 1.719 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.001696/0.001696, allocations: 111.5 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.002423/0.002423, allocations: 192.1 kB / 35.9 MB, free: 0.7461 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.577/1.577, allocations: 222.9 MB / 262.5 MB, free: 7.422 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.09955/0.09955, allocations: 13.68 MB / 329.2 MB, free: 476 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.04373/0.04373, allocations: 19.81 MB / 473.3 MB, free: 2.527 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3463/0.39, allocations: 55.39 MB / 0.5163 GB, free: 20.33 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 drone.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 drone.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 drone.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 drone.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 drone.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 drone.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 drone.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 drone.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.TestSystem): time 0.06287/0.4529, allocations: 60.74 MB / 0.5756 GB, free: 8.621 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.04945/0.5024, allocations: 17.47 MB / 0.5927 GB, free: 7.305 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0195/0.5219, allocations: 0.4933 MB / 0.5931 GB, free: 6.812 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.05886/0.5808, allocations: 31.19 MB / 0.6236 GB, free: 7.562 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02603/0.6069, allocations: 8.317 MB / 0.6317 GB, free: 15.27 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01421/0.6211, allocations: 5.899 MB / 0.6375 GB, free: 9.387 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.04615/0.6673, allocations: 28.42 MB / 0.6652 GB, free: 13.04 MB / 0.4982 GB Notification: Performance of NFFlatten.resolveConnections: time 0.07983/0.7472, allocations: 47.31 MB / 0.7114 GB, free: 14.11 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02949/0.7767, allocations: 13.74 MB / 0.7249 GB, free: 352 kB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.3816/1.158, allocations: 16.63 MB / 0.7411 GB, free: 58.67 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.01685/1.175, allocations: 4.886 MB / 0.7459 GB, free: 58.67 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01957/1.195, allocations: 6.2 MB / 0.7519 GB, free: 58.67 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0266/1.221, allocations: 15.95 MB / 0.7675 GB, free: 57.6 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.03689/1.258, allocations: 18.78 MB / 0.7858 GB, free: 48.49 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.06554/1.324, allocations: 67.18 MB / 0.8514 GB, free: 15.84 MB / 0.5607 GB Notification: Performance of FrontEnd - DAE generated: time 7.685e-06/1.324, allocations: 0 / 0.8514 GB, free: 15.84 MB / 0.5607 GB Notification: Performance of FrontEnd: time 4.819e-06/1.324, allocations: 4 kB / 0.8515 GB, free: 15.84 MB / 0.5607 GB Notification: Performance of Transformations before backend: time 0.002191/1.326, allocations: 0 / 0.8515 GB, free: 15.84 MB / 0.5607 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8005 * Number of variables: 8005 Notification: Performance of Generate backend data structure: time 0.1142/1.44, allocations: 35.24 MB / 0.8859 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.907e-05/1.441, allocations: 12.03 kB / 0.8859 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03016/1.471, allocations: 6 MB / 0.8917 GB, free: 6.734 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05954/1.53, allocations: 24.33 MB / 0.9155 GB, free: 15.38 MB / 0.6232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002301/1.533, allocations: 1.794 MB / 0.9173 GB, free: 13.67 MB / 0.6232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01233/1.545, allocations: 2.45 MB / 0.9196 GB, free: 11.31 MB / 0.6232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.7519/2.297, allocations: 60.57 MB / 0.9788 GB, free: 197.8 MB / 0.6545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002104/2.299, allocations: 237.1 kB / 0.979 GB, free: 197.7 MB / 0.6545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01067/2.31, allocations: 1.051 MB / 0.9801 GB, free: 197 MB / 0.6545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01329/2.323, allocations: 6.889 MB / 0.9868 GB, free: 195.3 MB / 0.6545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1036/2.427, allocations: 50.99 MB / 1.037 GB, free: 170.7 MB / 0.6545 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.7731/3.2, allocations: 247 MB / 1.278 GB, free: 107.6 MB / 0.6702 GB Notification: Performance of preOpt comSubExp (simulation): time 0.07106/3.271, allocations: 29.25 MB / 1.306 GB, free: 106.5 MB / 0.6702 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02364/3.295, allocations: 18.15 MB / 1.324 GB, free: 102.7 MB / 0.6702 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002467/3.297, allocations: 1.302 MB / 1.325 GB, free: 101.7 MB / 0.6702 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.06474/3.362, allocations: 21.41 MB / 1.346 GB, free: 94.16 MB / 0.6702 GB Notification: Performance of pre-optimization done (n=892): time 2.707e-05/3.362, allocations: 0 / 1.346 GB, free: 94.16 MB / 0.6702 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: drone.droneChassis1.bodyCylinder.body.frame_a.r_0[1] = drone.propellerRev.blades.bodyShape4.body.frame_a.r_0[1] + 0.25 * drone.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