Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr DroneLibrary_DroneLibrary.Examples.DroneWithIdealPower.Drone_IdealMachine.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.03912/0.03912, allocations: 9.125 MB / 29.71 MB, free: 0.8672 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.001028/0.001028, allocations: 87.28 kB / 36.03 MB, free: 1.129 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.001284/0.001284, allocations: 158.6 kB / 42.45 MB, free: 1.32 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.8649/0.8649, allocations: 177.1 MB / 225.9 MB, free: 8.574 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.0379/0.0379, allocations: 10.58 MB / 296.1 MB, free: 5.602 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.Drone_IdealMachine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Examples.DroneWithIdealPower.Drone_IdealMachine") translateModel(DroneLibrary.Examples.DroneWithIdealPower.Drone_IdealMachine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Examples.DroneWithIdealPower.Drone_IdealMachine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 1.203 kB / 373.7 MB, free: 64.66 MB / 330.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.775e-05/1.931e-05, allocations: 2.875 kB / 373.7 MB, free: 64.66 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.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 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 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 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 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 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 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 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.Drone_IdealMachine): time 0.02939/0.02941, allocations: 54.62 MB / 428.3 MB, free: 15.56 MB / 330.8 MB Notification: Performance of NFInst.instExpressions: time 0.02577/0.05518, allocations: 15.85 MB / 444.2 MB, free: 15.78 MB / 346.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01076/0.06594, allocations: 0.5714 MB / 444.8 MB, free: 15.2 MB / 346.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0312/0.09713, allocations: 32.82 MB / 477.6 MB, free: 14.29 MB / 378.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01645/0.1136, allocations: 8.208 MB / 485.8 MB, free: 6.039 MB / 378.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.00892/0.1225, allocations: 6.078 MB / 491.9 MB, free: 15.96 MB / 394.8 MB Notification: Performance of NFFlatten.flatten: time 0.1952/0.3178, allocations: 32.29 MB / 0.5119 GB, free: 18.35 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04039/0.3581, allocations: 34.77 MB / 0.5458 GB, free: 16.91 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.04349/0.4016, allocations: 21.34 MB / 0.5667 GB, free: 9.395 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02332/0.4249, allocations: 17.89 MB / 0.5841 GB, free: 6.215 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 0.01073/0.4357, allocations: 4.14 MB / 0.5882 GB, free: 6.215 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01468/0.4504, allocations: 5.473 MB / 0.5935 GB, free: 5.051 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.02112/0.4715, allocations: 16.14 MB / 0.6093 GB, free: 6.461 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.02287/0.4943, allocations: 11.16 MB / 0.6202 GB, free: 11.82 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0358/0.5301, allocations: 30.6 MB / 0.65 GB, free: 14.97 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 7.253e-06/0.5301, allocations: 0 / 0.65 GB, free: 14.97 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.002e-06/0.5301, allocations: 0 / 0.65 GB, free: 14.97 MB / 474.8 MB Notification: Performance of Transformations before backend: time 0.001295/0.5314, allocations: 0 / 0.65 GB, free: 14.97 MB / 474.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7883 * Number of variables: 7883 Notification: Performance of Generate backend data structure: time 0.05868/0.5901, allocations: 34.62 MB / 0.6839 GB, free: 13.96 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.5902, allocations: 8.625 kB / 0.6839 GB, free: 13.95 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01847/0.6086, allocations: 7.383 MB / 0.6911 GB, free: 6.637 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2596/0.8682, allocations: 17.35 MB / 0.708 GB, free: 184.7 MB / 0.495 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001066/0.8693, allocations: 1.785 MB / 0.7098 GB, free: 184 MB / 0.495 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005462/0.8747, allocations: 2.43 MB / 0.7121 GB, free: 183.3 MB / 0.495 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05165/0.9264, allocations: 28.4 MB / 0.7399 GB, free: 168.9 MB / 0.495 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009421/0.9273, allocations: 221.4 kB / 0.7401 GB, free: 168.8 MB / 0.495 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003907/0.9312, allocations: 1.048 MB / 0.7411 GB, free: 168.1 MB / 0.495 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003965/0.9352, allocations: 5.51 MB / 0.7465 GB, free: 162.9 MB / 0.495 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03079/0.966, allocations: 12.58 MB / 0.7588 GB, free: 150.5 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.3718/1.338, allocations: 204.3 MB / 0.9583 GB, free: 46.54 MB / 0.5106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03515/1.373, allocations: 21.46 MB / 0.9792 GB, free: 45.89 MB / 0.5106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006395/1.379, allocations: 3.424 MB / 0.9826 GB, free: 45.76 MB / 0.5106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001131/1.38, allocations: 0.7945 MB / 0.9834 GB, free: 45.73 MB / 0.5106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02778/1.408, allocations: 10.85 MB / 0.994 GB, free: 45.27 MB / 0.5106 GB Notification: Performance of pre-optimization done (n=837): time 1.957e-05/1.408, allocations: 1.094 kB / 0.994 GB, free: 45.27 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.blades.bodyShape4.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:8083:5-8083:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 658] [Calling sys.exit(0), Time elapsed: 3.493169737048447]