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.06216/0.06216, allocations: 9.147 MB / 28.25 MB, free: 2.273 MB / 19.63 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.001331/0.001331, allocations: 93.67 kB / 34.44 MB, free: 3.512 MB / 26.18 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.001594/0.001594, allocations: 181.1 kB / 40.76 MB, free: 5.945 MB / 34.91 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 1.53/1.53, allocations: 177.1 MB / 224 MB, free: 13.92 MB / 206.1 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 178] 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.06345/0.06345, allocations: 10.58 MB / 294.1 MB, free: 7.949 MB / 270.1 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.704e-06/1.704e-06, allocations: 0 / 430.6 MB, free: 1.301 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.636e-05/4.806e-05, allocations: 2.281 kB / 430.6 MB, free: 1.297 MB / 334.1 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.2705/0.2706, allocations: 50.29 MB / 480.9 MB, free: 1.695 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.04706/0.3176, allocations: 15.75 MB / 496.7 MB, free: 5.129 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02082/0.3384, allocations: 0.5675 MB / 497.2 MB, free: 4.559 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.06309/0.4015, allocations: 31.66 MB / 0.5165 GB, free: 4.805 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0281/0.4296, allocations: 8.196 MB / 0.5245 GB, free: 12.57 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01614/0.4458, allocations: 6.009 MB / 0.5304 GB, free: 6.555 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.05179/0.4976, allocations: 32.29 MB / 0.5619 GB, free: 6.242 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.07142/0.569, allocations: 33.86 MB / 0.595 GB, free: 4.168 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.05554/0.6245, allocations: 20.57 MB / 0.615 GB, free: 15.57 MB / 0.4982 GB Notification: Performance of NFSimplifyModel.simplify: time 0.2935/0.918, allocations: 16.92 MB / 0.6316 GB, free: 60.46 MB / 0.4982 GB Notification: Performance of NFPackage.collectConstants: time 0.01243/0.9304, allocations: 4.148 MB / 0.6356 GB, free: 60.46 MB / 0.4982 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0172/0.9476, allocations: 5.475 MB / 0.641 GB, free: 60.46 MB / 0.4982 GB Notification: Performance of NFScalarize.scalarize: time 0.02234/0.97, allocations: 16 MB / 0.6566 GB, free: 60.46 MB / 0.4982 GB Notification: Performance of NFVerifyModel.verify: time 0.02563/0.9956, allocations: 11.08 MB / 0.6674 GB, free: 60.46 MB / 0.4982 GB Notification: Performance of NFConvertDAE.convert: time 0.06655/1.062, allocations: 59.97 MB / 0.726 GB, free: 31.79 MB / 0.4982 GB Notification: Performance of FrontEnd - DAE generated: time 7.845e-06/1.062, allocations: 0 / 0.726 GB, free: 31.79 MB / 0.4982 GB Notification: Performance of FrontEnd: time 1.713e-06/1.062, allocations: 0 / 0.726 GB, free: 31.79 MB / 0.4982 GB Notification: Performance of Transformations before backend: time 0.002281/1.064, allocations: 0 / 0.726 GB, free: 31.79 MB / 0.4982 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.1112/1.176, allocations: 35.28 MB / 0.7604 GB, free: 15.64 MB / 0.5138 GB Notification: Performance of prepare preOptimizeDAE: time 4.9e-05/1.176, allocations: 12.03 kB / 0.7605 GB, free: 15.63 MB / 0.5138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03606/1.212, allocations: 6.087 MB / 0.7664 GB, free: 9.527 MB / 0.5138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05365/1.265, allocations: 20.43 MB / 0.7863 GB, free: 5.879 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002347/1.268, allocations: 1.789 MB / 0.7881 GB, free: 4.172 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0123/1.28, allocations: 2.435 MB / 0.7905 GB, free: 1.82 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1624/1.442, allocations: 56.54 MB / 0.8457 GB, free: 7.395 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001849/1.444, allocations: 234.5 kB / 0.8459 GB, free: 7.23 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01317/1.457, allocations: 1.041 MB / 0.8469 GB, free: 6.273 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01305/1.471, allocations: 6.21 MB / 0.853 GB, free: 140 kB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3517/1.822, allocations: 46.62 MB / 0.8985 GB, free: 179 MB / 0.5919 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.6554/2.478, allocations: 205.9 MB / 1.1 GB, free: 92.27 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.073/2.551, allocations: 27.26 MB / 1.126 GB, free: 91.71 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02561/2.576, allocations: 16.09 MB / 1.142 GB, free: 88.87 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001922/2.578, allocations: 0.5838 MB / 1.143 GB, free: 88.77 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.06487/2.643, allocations: 21.2 MB / 1.163 GB, free: 83.77 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=891): time 2.293e-05/2.643, allocations: 0 / 1.163 GB, free: 83.77 MB / 0.5919 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 656] [Calling sys.exit(0), Time elapsed: 6.19161831587553] Failed to read output from testmodel.py, exit status != 0: 3.561983648687601 3.576800961 2.511035105 Calling exit ...