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.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo): time 0.0413/0.0413, allocations: 9.134 MB / 28.99 MB, free: 0.793 MB / 18.57 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008323/0.0008323, allocations: 98.3 kB / 35.33 MB, free: 1.055 MB / 24.77 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001113/0.001113, allocations: 162.3 kB / 38.73 MB, free: 2.504 MB / 24.77 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9853/0.9853, allocations: 177.1 MB / 219.2 MB, free: 10.12 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.04169/0.04169, allocations: 10.56 MB / 286.2 MB, free: 7.105 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo) Running command: translateModel(DroneLibrary.Examples.DroneWithIdealPower.TestSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Examples.DroneWithIdealPower.TestSystem") translateModel(DroneLibrary.Examples.DroneWithIdealPower.TestSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Examples.DroneWithIdealPower.TestSystem") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 307.6 MB, free: 15.41 MB / 282.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.336e-05/1.475e-05, allocations: 2.859 kB / 307.6 MB, free: 15.41 MB / 282.8 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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.1.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.1.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.1.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.1.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.1.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.1.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.1.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.03935/0.03937, allocations: 54.77 MB / 362.4 MB, free: 9.465 MB / 330.8 MB Notification: Performance of NFInst.instExpressions: time 0.03263/0.07199, allocations: 17.82 MB / 380.2 MB, free: 7.621 MB / 346.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01192/0.08391, allocations: 0.5714 MB / 380.8 MB, free: 7.047 MB / 346.8 MB Notification: Performance of NFTyping.typeComponents: time 0.03163/0.1155, allocations: 32.77 MB / 413.6 MB, free: 6.18 MB / 378.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01786/0.1334, allocations: 8.434 MB / 422 MB, free: 13.7 MB / 394.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.01065/0.144, allocations: 6.722 MB / 428.7 MB, free: 6.969 MB / 394.8 MB Notification: Performance of NFFlatten.flatten: time 0.2116/0.3557, allocations: 34.12 MB / 462.8 MB, free: 20.85 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04874/0.4044, allocations: 35.77 MB / 498.6 MB, free: 17.02 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03742/0.4418, allocations: 22.47 MB / 0.5089 GB, free: 6.043 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02193/0.4637, allocations: 17.78 MB / 0.5262 GB, free: 1.586 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 0.01036/0.4741, allocations: 4.987 MB / 0.5311 GB, free: 15.52 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01417/0.4883, allocations: 6.358 MB / 0.5373 GB, free: 9.277 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 0.02081/0.5091, allocations: 16.99 MB / 0.5539 GB, free: 8.91 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 0.02256/0.5317, allocations: 12.09 MB / 0.5657 GB, free: 13.33 MB / 458.8 MB Notification: Performance of NFConvertDAE.convert: time 0.04216/0.5738, allocations: 32.94 MB / 0.5979 GB, free: 14.13 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.5738, allocations: 0 / 0.5979 GB, free: 14.13 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.533e-06/0.5738, allocations: 0 / 0.5979 GB, free: 14.13 MB / 490.8 MB Notification: Performance of Transformations before backend: time 0.001521/0.5753, allocations: 0 / 0.5979 GB, free: 14.13 MB / 490.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7889 * Number of variables: 7889 Notification: Performance of Generate backend data structure: time 0.3532/0.9286, allocations: 33.04 MB / 0.6301 GB, free: 188.8 MB / 0.495 GB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/0.9286, allocations: 8.969 kB / 0.6302 GB, free: 188.8 MB / 0.495 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02265/0.9513, allocations: 5.227 MB / 0.6353 GB, free: 188.8 MB / 0.495 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02703/0.9783, allocations: 16.44 MB / 0.6513 GB, free: 182.4 MB / 0.495 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001417/0.9797, allocations: 1.789 MB / 0.6531 GB, free: 181.6 MB / 0.495 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007045/0.9868, allocations: 2.429 MB / 0.6554 GB, free: 180.9 MB / 0.495 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05712/1.044, allocations: 26.57 MB / 0.6814 GB, free: 156.3 MB / 0.495 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001047/1.045, allocations: 219.2 kB / 0.6816 GB, free: 156.1 MB / 0.495 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005242/1.05, allocations: 1.042 MB / 0.6826 GB, free: 155.1 MB / 0.495 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004489/1.055, allocations: 5.891 MB / 0.6884 GB, free: 149.3 MB / 0.495 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03355/1.088, allocations: 12.6 MB / 0.7007 GB, free: 136.9 MB / 0.495 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.4285/1.517, allocations: 162.4 MB / 0.8593 GB, free: 69.92 MB / 0.495 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04328/1.56, allocations: 20.7 MB / 0.8795 GB, free: 69.04 MB / 0.495 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007357/1.567, allocations: 2.777 MB / 0.8822 GB, free: 68.93 MB / 0.495 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001388/1.569, allocations: 0.8207 MB / 0.883 GB, free: 68.9 MB / 0.495 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03165/1.6, allocations: 10.14 MB / 0.8929 GB, free: 68.55 MB / 0.495 GB Notification: Performance of pre-optimization done (n=838): time 2.153e-05/1.6, allocations: 0 / 0.8929 GB, free: 68.55 MB / 0.495 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:347:7-347: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:351:7-351:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:202:5-202:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:113:7-113:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:8234:5-8234:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 658] [Calling sys.exit(0), Time elapsed: 3.607505861669779]