Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr DroneLibrary_DroneLibrary.Examples.DroneWithIdealPower.DroneForVR.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.04814/0.04814, allocations: 9.137 MB / 28.7 MB, free: 0.5 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.001501/0.001501, allocations: 87.31 kB / 34.99 MB, free: 1.105 MB / 24.77 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/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.001377/0.001377, allocations: 161.4 kB / 41.38 MB, free: 1.465 MB / 24.77 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/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.9474/0.9474, allocations: 177.1 MB / 224.8 MB, free: 8.707 MB / 202.7 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 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.07421/0.07421, allocations: 10.57 MB / 294.9 MB, free: 5.77 MB / 266.7 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] 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.DroneForVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Examples.DroneWithIdealPower.DroneForVR") translateModel(DroneLibrary.Examples.DroneWithIdealPower.DroneForVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Examples.DroneWithIdealPower.DroneForVR") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.725e-06/2.725e-06, allocations: 0 / 372.4 MB, free: 64.9 MB / 330.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.921e-05/4.194e-05, allocations: 4.75 kB / 372.4 MB, free: 64.89 MB / 330.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 propellerRev.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 propellerRev.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 propellerRev3.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 propellerRev3.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 propellerRev1.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 propellerRev1.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 propellerRev2.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 propellerRev2.bodyShape5.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.DroneForVR): time 0.08/0.08004, allocations: 60.59 MB / 433 MB, free: 9.957 MB / 330.8 MB Notification: Performance of NFInst.instExpressions: time 0.03652/0.1166, allocations: 13.93 MB / 447 MB, free: 12.11 MB / 346.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01695/0.1335, allocations: 0.4935 MB / 447.5 MB, free: 11.61 MB / 346.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0393/0.1728, allocations: 25.69 MB / 473.1 MB, free: 1.852 MB / 362.8 MB Notification: Performance of NFTyping.typeBindings: time 0.02685/0.1997, allocations: 7.799 MB / 480.9 MB, free: 10.01 MB / 378.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.01449/0.2142, allocations: 5.396 MB / 486.3 MB, free: 4.605 MB / 378.8 MB Notification: Performance of NFFlatten.flatten: time 0.04214/0.2563, allocations: 30.51 MB / 0.5047 GB, free: 6.105 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3333/0.5896, allocations: 28.74 MB / 0.5328 GB, free: 17.1 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.05818/0.6478, allocations: 18.04 MB / 0.5504 GB, free: 17.1 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.03881/0.6866, allocations: 15.84 MB / 0.5659 GB, free: 14.64 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0183/0.7049, allocations: 3.152 MB / 0.569 GB, free: 14.64 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02363/0.7285, allocations: 4.455 MB / 0.5733 GB, free: 14.46 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.02788/0.7564, allocations: 14.03 MB / 0.587 GB, free: 8.195 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.02853/0.7849, allocations: 9.359 MB / 0.5962 GB, free: 2.531 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.05918/0.8441, allocations: 26.57 MB / 0.6221 GB, free: 9.617 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 8.786e-06/0.8441, allocations: 4 kB / 0.6221 GB, free: 9.613 MB / 442.8 MB Notification: Performance of FrontEnd: time 2.686e-06/0.8441, allocations: 4 kB / 0.6221 GB, free: 9.609 MB / 442.8 MB Notification: Performance of Transformations before backend: time 0.001718/0.8458, allocations: 0 / 0.6221 GB, free: 9.609 MB / 442.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7387 * Number of variables: 7387 Notification: Performance of Generate backend data structure: time 0.08268/0.9285, allocations: 32.27 MB / 0.6536 GB, free: 9.469 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 6.647e-05/0.9286, allocations: 8.625 kB / 0.6536 GB, free: 9.461 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03047/0.9591, allocations: 7.998 MB / 0.6615 GB, free: 1.551 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03507/0.9941, allocations: 15.63 MB / 0.6767 GB, free: 2.645 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002372/0.9965, allocations: 1.527 MB / 0.6782 GB, free: 1.219 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01062/1.007, allocations: 2.077 MB / 0.6802 GB, free: 15.25 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4923/1.499, allocations: 30.95 MB / 0.7105 GB, free: 169.7 MB / 0.495 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001859/1.501, allocations: 219.8 kB / 0.7107 GB, free: 169.7 MB / 0.495 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00788/1.509, allocations: 0.9173 MB / 0.7116 GB, free: 169.7 MB / 0.495 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01048/1.52, allocations: 6.681 MB / 0.7181 GB, free: 169.7 MB / 0.495 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06358/1.583, allocations: 15.45 MB / 0.7332 GB, free: 166.3 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.6361/2.219, allocations: 212.5 MB / 0.9407 GB, free: 43.4 MB / 0.5106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0417/2.261, allocations: 21.62 MB / 0.9618 GB, free: 43.03 MB / 0.5106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009495/2.271, allocations: 3.839 MB / 0.9655 GB, free: 42.95 MB / 0.5106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001912/2.273, allocations: 1.088 MB / 0.9666 GB, free: 42.91 MB / 0.5106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03314/2.306, allocations: 12.36 MB / 0.9787 GB, free: 40.48 MB / 0.5106 GB Notification: Performance of pre-optimization done (n=697): time 1.947e-05/2.306, allocations: 0 / 0.9787 GB, free: 40.48 MB / 0.5106 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: droneChassis1.bodyCylinder.body.frame_a.r_0[1] = propellerRev.bodyShape5.body.frame_a.r_0[1] + 0.25 * 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:8020:5-8020:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 657] [Calling sys.exit(0), Time elapsed: 4.794853482861072]