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/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.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/package.mo): time 0.06332/0.06332, allocations: 12.01 MB / 27.65 MB, free: 1.848 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.0009221/0.0009221, allocations: 109.5 kB / 31.36 MB, free: 4.973 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.001059/0.001059, allocations: 192.5 kB / 35.2 MB, free: 1.148 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.227/1.227, allocations: 222.9 MB / 261.8 MB, free: 10.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.1827/0.1827, allocations: 13.66 MB / 328.5 MB, free: 2.723 MB / 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.2809/0.2809, allocations: 19.67 MB / 472.4 MB, free: 38.25 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07168/0.3526, allocations: 55.41 MB / 0.5154 GB, free: 13.35 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.04594/0.3986, allocations: 60.74 MB / 0.5748 GB, free: 13.48 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0315/0.4301, allocations: 17.45 MB / 0.5918 GB, free: 13.12 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009713/0.4398, allocations: 0.4946 MB / 0.5923 GB, free: 12.62 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.04646/0.4863, allocations: 31.2 MB / 0.6228 GB, free: 13.34 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01889/0.5052, allocations: 8.314 MB / 0.6309 GB, free: 4.988 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2285/0.7338, allocations: 5.888 MB / 0.6366 GB, free: 9.594 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.03064/0.7644, allocations: 28.42 MB / 0.6644 GB, free: 9.57 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04176/0.8062, allocations: 47.28 MB / 0.7106 GB, free: 4.426 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02232/0.8286, allocations: 14.05 MB / 0.7243 GB, free: 9.281 MB / 0.4982 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02126/0.8499, allocations: 16.63 MB / 0.7405 GB, free: 9.848 MB / 0.5138 GB Notification: Performance of NFPackage.collectConstants: time 0.008721/0.8586, allocations: 4.887 MB / 0.7453 GB, free: 4.961 MB / 0.5138 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01182/0.8704, allocations: 6.195 MB / 0.7513 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.01611/0.8866, allocations: 15.96 MB / 0.7669 GB, free: 15.12 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.02544/0.912, allocations: 18.95 MB / 0.7854 GB, free: 13.12 MB / 0.5607 GB Notification: Performance of NFConvertDAE.convert: time 0.06046/0.9725, allocations: 67.19 MB / 0.851 GB, free: 10.9 MB / 0.6232 GB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/0.9726, allocations: 0 / 0.851 GB, free: 10.9 MB / 0.6232 GB Notification: Performance of FrontEnd: time 1.834e-06/0.9726, allocations: 0 / 0.851 GB, free: 10.9 MB / 0.6232 GB Notification: Performance of Transformations before backend: time 0.001288/0.9739, allocations: 0 / 0.851 GB, free: 10.9 MB / 0.6232 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.4783/1.452, allocations: 35.24 MB / 0.8855 GB, free: 194.2 MB / 0.6233 GB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/1.452, allocations: 9.469 kB / 0.8855 GB, free: 194.2 MB / 0.6233 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02572/1.478, allocations: 6.001 MB / 0.8913 GB, free: 191.1 MB / 0.6233 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03728/1.515, allocations: 24.32 MB / 0.9151 GB, free: 172.9 MB / 0.6233 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001214/1.516, allocations: 1.792 MB / 0.9168 GB, free: 171.1 MB / 0.6233 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01115/1.528, allocations: 2.449 MB / 0.9192 GB, free: 168.8 MB / 0.6233 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1073/1.635, allocations: 60.58 MB / 0.9784 GB, free: 106.3 MB / 0.6233 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001399/1.636, allocations: 232.1 kB / 0.9786 GB, free: 106.1 MB / 0.6233 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007961/1.644, allocations: 1.054 MB / 0.9796 GB, free: 105.1 MB / 0.6233 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008695/1.653, allocations: 6.894 MB / 0.9864 GB, free: 98.3 MB / 0.6233 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.082/1.735, allocations: 50.98 MB / 1.036 GB, free: 47.34 MB / 0.6233 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.4855/2.221, allocations: 247.1 MB / 1.277 GB, free: 66.78 MB / 0.6545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05676/2.277, allocations: 29.25 MB / 1.306 GB, free: 41.33 MB / 0.6545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01639/2.294, allocations: 18.16 MB / 1.324 GB, free: 23.15 MB / 0.6545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001246/2.295, allocations: 1.297 MB / 1.325 GB, free: 21.74 MB / 0.6545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.04986/2.345, allocations: 21.4 MB / 1.346 GB, free: 268 kB / 0.6545 GB Notification: Performance of pre-optimization done (n=892): time 1.201e-05/2.345, allocations: 0 / 1.346 GB, free: 268 kB / 0.6545 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: 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/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