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.07411/0.07411, allocations: 12.02 MB / 27.65 MB, free: 1.859 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.001029/0.00103, allocations: 99.55 kB / 31.36 MB, free: 4.98 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.001477/0.001477, allocations: 196.5 kB / 35.2 MB, free: 1.156 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.488/1.488, allocations: 222.9 MB / 261.7 MB, free: 12 kB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.09269/0.09269, allocations: 13.67 MB / 328.5 MB, free: 1.094 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.03251/0.03252, allocations: 19.65 MB / 472.4 MB, free: 2.816 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4129/0.4455, allocations: 55.39 MB / 0.5154 GB, free: 20.14 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.06289/0.5084, allocations: 60.74 MB / 0.5747 GB, free: 8.668 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.04881/0.5572, allocations: 17.46 MB / 0.5918 GB, free: 7.371 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02028/0.5776, allocations: 0.4972 MB / 0.5922 GB, free: 6.875 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.055/0.6326, allocations: 31.19 MB / 0.6227 GB, free: 7.621 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02612/0.6587, allocations: 8.317 MB / 0.6308 GB, free: 15.33 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0128/0.6716, allocations: 5.891 MB / 0.6366 GB, free: 9.457 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.04171/0.7133, allocations: 28.43 MB / 0.6643 GB, free: 13.1 MB / 0.4982 GB Notification: Performance of NFFlatten.resolveConnections: time 0.08238/0.7957, allocations: 47.27 MB / 0.7105 GB, free: 14.21 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02784/0.8236, allocations: 13.74 MB / 0.7239 GB, free: 452 kB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.396/1.22, allocations: 16.62 MB / 0.7402 GB, free: 58.79 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.02195/1.242, allocations: 4.891 MB / 0.7449 GB, free: 58.79 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02259/1.264, allocations: 6.201 MB / 0.751 GB, free: 58.79 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.02951/1.294, allocations: 15.95 MB / 0.7666 GB, free: 57.78 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.04284/1.337, allocations: 18.78 MB / 0.7849 GB, free: 48.71 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.07493/1.412, allocations: 67.03 MB / 0.8504 GB, free: 288 kB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 8.666e-06/1.412, allocations: 2.562 kB / 0.8504 GB, free: 288 kB / 0.545 GB Notification: Performance of FrontEnd: time 2.244e-06/1.412, allocations: 0 / 0.8504 GB, free: 288 kB / 0.545 GB Notification: Performance of Transformations before backend: time 0.003009/1.415, allocations: 0 / 0.8504 GB, free: 288 kB / 0.545 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.1229/1.538, allocations: 34.51 MB / 0.8841 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/1.538, allocations: 8.031 kB / 0.8841 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03112/1.569, allocations: 5.847 MB / 0.8898 GB, free: 8.086 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04856/1.617, allocations: 24.25 MB / 0.9135 GB, free: 0.8008 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001676/1.619, allocations: 1.792 MB / 0.9152 GB, free: 15.09 MB / 0.6232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01133/1.63, allocations: 2.445 MB / 0.9176 GB, free: 12.73 MB / 0.6232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4771/2.108, allocations: 60.57 MB / 0.9768 GB, free: 203.9 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002674/2.11, allocations: 232.5 kB / 0.977 GB, free: 203.8 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01327/2.124, allocations: 1.047 MB / 0.978 GB, free: 203.2 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01389/2.138, allocations: 6.894 MB / 0.9847 GB, free: 201.5 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1178/2.255, allocations: 50.99 MB / 1.035 GB, free: 177.1 MB / 0.6544 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.7135/2.969, allocations: 246.7 MB / 1.275 GB, free: 97.96 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06944/3.038, allocations: 29.25 MB / 1.304 GB, free: 96.84 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02083/3.059, allocations: 18.16 MB / 1.322 GB, free: 90.5 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001628/3.061, allocations: 1.294 MB / 1.323 GB, free: 89.55 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0614/3.122, allocations: 21.41 MB / 1.344 GB, free: 79.45 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=892): time 1.89e-05/3.122, allocations: 0 / 1.344 GB, free: 79.45 MB / 0.6544 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