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.05046/0.05046, allocations: 9.139 MB / 28.7 MB, free: 0.4961 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.001372/0.001372, 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.001674/0.001674, 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.977/0.977, allocations: 177.1 MB / 224.8 MB, free: 8.684 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.04031/0.04031, allocations: 10.57 MB / 294.9 MB, free: 5.773 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 3.196e-06/3.196e-06, allocations: 0.7031 kB / 372.4 MB, free: 64.92 MB / 330.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.616e-05/3.935e-05, allocations: 5.062 kB / 372.4 MB, free: 64.91 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.0404/0.04044, allocations: 56.66 MB / 429.1 MB, free: 13.92 MB / 330.8 MB Notification: Performance of NFInst.instExpressions: time 0.02969/0.07013, allocations: 15.89 MB / 445 MB, free: 14.11 MB / 346.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01315/0.08328, allocations: 0.5675 MB / 445.5 MB, free: 13.54 MB / 346.8 MB Notification: Performance of NFTyping.typeComponents: time 0.03338/0.1167, allocations: 33.46 MB / 479 MB, free: 11.98 MB / 378.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0194/0.1361, allocations: 8.201 MB / 487.2 MB, free: 3.742 MB / 378.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.01034/0.1464, allocations: 6.073 MB / 493.3 MB, free: 13.66 MB / 394.8 MB Notification: Performance of NFFlatten.flatten: time 0.2154/0.3618, allocations: 32.29 MB / 0.5132 GB, free: 17.48 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04869/0.4105, allocations: 34.76 MB / 0.5472 GB, free: 16.03 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.04452/0.455, allocations: 20.7 MB / 0.5674 GB, free: 7.957 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02572/0.4808, allocations: 17.92 MB / 0.5849 GB, free: 4.582 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 0.01048/0.4912, allocations: 4.152 MB / 0.589 GB, free: 4.582 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01351/0.5048, allocations: 5.474 MB / 0.5943 GB, free: 4.379 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.02244/0.5272, allocations: 16.15 MB / 0.6101 GB, free: 5.535 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.02489/0.5521, allocations: 11.17 MB / 0.621 GB, free: 10.89 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 0.04223/0.5943, allocations: 30.6 MB / 0.6509 GB, free: 14.03 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.5943, allocations: 4 kB / 0.6509 GB, free: 14.02 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.282e-06/0.5943, allocations: 0 / 0.6509 GB, free: 14.02 MB / 474.8 MB Notification: Performance of Transformations before backend: time 0.001597/0.5959, allocations: 0 / 0.6509 GB, free: 14.02 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.08481/0.6807, allocations: 36.55 MB / 0.6866 GB, free: 9.523 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 5.297e-05/0.6808, allocations: 12.61 kB / 0.6866 GB, free: 9.512 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02271/0.7035, allocations: 8.469 MB / 0.6949 GB, free: 1.102 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3008/1.004, allocations: 18.85 MB / 0.7133 GB, free: 183.7 MB / 0.495 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001852/1.006, allocations: 1.784 MB / 0.715 GB, free: 183 MB / 0.495 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007599/1.014, allocations: 2.42 MB / 0.7174 GB, free: 182.2 MB / 0.495 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08183/1.096, allocations: 32.32 MB / 0.7489 GB, free: 158.9 MB / 0.495 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001072/1.097, allocations: 214.4 kB / 0.7491 GB, free: 158.7 MB / 0.495 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006081/1.103, allocations: 1.043 MB / 0.7502 GB, free: 157.7 MB / 0.495 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005823/1.109, allocations: 6.205 MB / 0.7562 GB, free: 151.5 MB / 0.495 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05074/1.159, allocations: 17.16 MB / 0.773 GB, free: 134.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.395/1.554, allocations: 209.9 MB / 0.9779 GB, free: 41.93 MB / 0.5106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03817/1.592, allocations: 21.93 MB / 0.9993 GB, free: 41.25 MB / 0.5106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007935/1.6, allocations: 4.477 MB / 1.004 GB, free: 41.11 MB / 0.5106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008186/1.601, allocations: 0.6166 MB / 1.004 GB, free: 41.08 MB / 0.5106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03639/1.638, allocations: 14.24 MB / 1.018 GB, free: 40.5 MB / 0.5106 GB Notification: Performance of pre-optimization done (n=891): time 2.095e-05/1.638, allocations: 0 / 1.018 GB, free: 40.5 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:8020:5-8020:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 658] [Calling sys.exit(0), Time elapsed: 4.078720096964389]