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.04121/0.04121, allocations: 9.137 MB / 28.23 MB, free: 1.121 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.0007792/0.0007792, allocations: 91.14 kB / 34.43 MB, free: 1.52 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.001007/0.001007, allocations: 160.5 kB / 40.72 MB, free: 1.758 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.9232/0.9232, allocations: 177.1 MB / 224.1 MB, free: 8.82 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.03864/0.03864, allocations: 10.59 MB / 294.1 MB, free: 6.023 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: "" <> buildModelFMU(DroneLibrary.Examples.DroneWithIdealPower.Drone_IdealMachine,fileNamePrefix="DroneLibrary_DroneLibrary_Examples_DroneWithIdealPower_Drone_IdealMachine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(DroneLibrary.Examples.DroneWithIdealPower.Drone_IdealMachine,fileNamePrefix="DroneLibrary_DroneLibrary_Examples_DroneWithIdealPower_Drone_IdealMachine",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 430.1 MB, free: 12.94 MB / 330.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.905e-05/2.07e-05, allocations: 5.094 kB / 430.1 MB, free: 12.93 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.03269/0.03271, allocations: 50.3 MB / 480.4 MB, free: 10.43 MB / 378.8 MB Notification: Performance of NFInst.instExpressions: time 0.03332/0.06603, allocations: 15.74 MB / 496.2 MB, free: 10.64 MB / 394.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0143/0.08033, allocations: 0.5636 MB / 496.7 MB, free: 10.07 MB / 394.8 MB Notification: Performance of NFTyping.typeComponents: time 0.2881/0.3684, allocations: 31.66 MB / 0.516 GB, free: 8.344 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.02669/0.3951, allocations: 8.198 MB / 0.524 GB, free: 7.641 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.01323/0.4084, allocations: 6.016 MB / 0.5299 GB, free: 7.52 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.04505/0.4534, allocations: 32.28 MB / 0.5614 GB, free: 1.812 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04824/0.5017, allocations: 33.88 MB / 0.5945 GB, free: 3.957 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.04267/0.5443, allocations: 20.57 MB / 0.6146 GB, free: 472 kB / 458.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02965/0.574, allocations: 16.92 MB / 0.6311 GB, free: 0.8984 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 0.01445/0.5884, allocations: 4.148 MB / 0.6352 GB, free: 12.75 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01469/0.6031, allocations: 5.48 MB / 0.6405 GB, free: 7.371 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.02248/0.6256, allocations: 16.03 MB / 0.6562 GB, free: 7.93 MB / 0.4949 GB Notification: Performance of NFVerifyModel.verify: time 0.02794/0.6535, allocations: 11.14 MB / 0.667 GB, free: 13.3 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.6403/1.294, allocations: 60.22 MB / 0.7258 GB, free: 87.36 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 8.486e-06/1.294, allocations: 1.656 kB / 0.7258 GB, free: 87.36 MB / 0.5419 GB Notification: Performance of FrontEnd: time 1.894e-06/1.294, allocations: 0 / 0.7258 GB, free: 87.36 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 0.002242/1.296, allocations: 0.6875 kB / 0.7258 GB, free: 87.36 MB / 0.5419 GB 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.1122/1.408, allocations: 35.56 MB / 0.7606 GB, free: 74.35 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 5.737e-05/1.408, allocations: 12.69 kB / 0.7606 GB, free: 74.35 MB / 0.5419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.02346/1.432, allocations: 4.501 MB / 0.765 GB, free: 73.32 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03081/1.463, allocations: 8.203 MB / 0.773 GB, free: 69.8 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04246/1.505, allocations: 21.58 MB / 0.7941 GB, free: 57.77 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001924/1.507, allocations: 1.786 MB / 0.7958 GB, free: 57.02 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01512/1.522, allocations: 2.439 MB / 0.7982 GB, free: 56.24 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1253/1.647, allocations: 56.47 MB / 0.8533 GB, free: 15.22 MB / 0.5575 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001339/1.649, allocations: 231.3 kB / 0.8536 GB, free: 15.06 MB / 0.5575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01244/1.661, allocations: 1.044 MB / 0.8546 GB, free: 14.1 MB / 0.5575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007398/1.669, allocations: 6.206 MB / 0.8606 GB, free: 7.965 MB / 0.5575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.087/1.756, allocations: 46.48 MB / 0.906 GB, free: 10.09 MB / 0.6044 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.5373/2.293, allocations: 210.4 MB / 1.112 GB, free: 103 MB / 0.6356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04184/2.335, allocations: 27.19 MB / 1.138 GB, free: 75.75 MB / 0.6356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01573/2.35, allocations: 16.03 MB / 1.154 GB, free: 59.7 MB / 0.6356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009844/2.351, allocations: 0.5765 MB / 1.154 GB, free: 59.12 MB / 0.6356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0383/2.39, allocations: 21.13 MB / 1.175 GB, free: 37.91 MB / 0.6356 GB Notification: Performance of pre-optimization done (n=891): time 3.091e-05/2.39, allocations: 0 / 1.175 GB, free: 37.91 MB / 0.6356 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:7979:5-7979:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 657] [Calling sys.exit(0), Time elapsed: 5.034535034559667] Failed to read output from testmodel.py, exit status != 0: 2.9732250897213817 2.980642845 1.684874807 Calling exit ...