Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr DroneLibrary_DroneLibrary.Examples.DroneWithIdealPower.TestSystem.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.03984/0.03984, 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.0007516/0.0007516, allocations: 87.27 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.001066/0.001066, allocations: 164.3 kB / 40.72 MB, free: 1.754 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.9139/0.9139, allocations: 177.1 MB / 224.1 MB, free: 8.805 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.03868/0.03868, allocations: 10.58 MB / 294.1 MB, free: 6.027 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.TestSystem,fileNamePrefix="DroneLibrary_DroneLibrary_Examples_DroneWithIdealPower_TestSystem",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(DroneLibrary.Examples.DroneWithIdealPower.TestSystem,fileNamePrefix="DroneLibrary_DroneLibrary_Examples_DroneWithIdealPower_TestSystem",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.665e-06/2.665e-06, allocations: 4 kB / 430.1 MB, free: 12.89 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.28e-05/2.547e-05, allocations: 10.22 kB / 430.1 MB, free: 12.88 MB / 330.7 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 drone.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 drone.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 drone.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 drone.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 drone.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 drone.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 drone.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 drone.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.TestSystem): time 0.03364/0.03366, allocations: 50.38 MB / 480.5 MB, free: 10.3 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.03235/0.06601, allocations: 16.87 MB / 497.4 MB, free: 9.379 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01488/0.08089, allocations: 0.5714 MB / 497.9 MB, free: 8.805 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.4667/0.5476, allocations: 31.72 MB / 0.5172 GB, free: 8.273 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.02186/0.5695, allocations: 8.423 MB / 0.5255 GB, free: 7.516 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.01316/0.5826, allocations: 6.619 MB / 0.5319 GB, free: 7.398 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.04589/0.6285, allocations: 34.15 MB / 0.5653 GB, free: 15.11 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05357/0.6821, allocations: 36.04 MB / 0.6005 GB, free: 13.98 MB / 458.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.04971/0.7318, allocations: 22.36 MB / 0.6223 GB, free: 8.699 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02574/0.7575, allocations: 17.39 MB / 0.6393 GB, free: 8.672 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.01156/0.7691, allocations: 5 MB / 0.6442 GB, free: 3.672 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01509/0.7842, allocations: 6.325 MB / 0.6504 GB, free: 13.45 MB / 0.4949 GB Notification: Performance of NFScalarize.scalarize: time 0.02376/0.8079, allocations: 16.88 MB / 0.6668 GB, free: 13.15 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.02896/0.8369, allocations: 12.08 MB / 0.6786 GB, free: 1.582 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.6418/1.479, allocations: 69.18 MB / 0.7462 GB, free: 86.33 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 9.016e-06/1.479, allocations: 0 / 0.7462 GB, free: 86.33 MB / 0.5419 GB Notification: Performance of FrontEnd: time 2.665e-06/1.479, allocations: 3.719 kB / 0.7462 GB, free: 86.33 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 0.002323/1.481, allocations: 3.984 kB / 0.7462 GB, free: 86.33 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: 7889 * Number of variables: 7889 Notification: Performance of Generate backend data structure: time 0.1273/1.608, allocations: 36.34 MB / 0.7817 GB, free: 66.86 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 5.998e-05/1.608, allocations: 13.81 kB / 0.7817 GB, free: 66.86 MB / 0.5419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.02216/1.631, allocations: 3.925 MB / 0.7855 GB, free: 64.23 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03642/1.667, allocations: 8.32 MB / 0.7937 GB, free: 60.18 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04324/1.71, allocations: 24.79 MB / 0.8179 GB, free: 44.11 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001227/1.711, allocations: 1.781 MB / 0.8196 GB, free: 42.4 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01766/1.729, allocations: 2.438 MB / 0.822 GB, free: 40.05 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1369/1.866, allocations: 59.84 MB / 0.8804 GB, free: 10.34 MB / 0.5731 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001282/1.867, allocations: 233.3 kB / 0.8807 GB, free: 10.18 MB / 0.5731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01333/1.881, allocations: 1.043 MB / 0.8817 GB, free: 9.215 MB / 0.5731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007873/1.888, allocations: 6.592 MB / 0.8881 GB, free: 2.691 MB / 0.5731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09262/1.981, allocations: 50.02 MB / 0.937 GB, free: 1.27 MB / 0.62 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.5526/2.534, allocations: 231.7 MB / 1.163 GB, free: 49.88 MB / 0.6356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04261/2.576, allocations: 28.72 MB / 1.191 GB, free: 21.12 MB / 0.6356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01652/2.593, allocations: 17.37 MB / 1.208 GB, free: 3.734 MB / 0.6356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001076/2.594, allocations: 0.5865 MB / 1.209 GB, free: 3.148 MB / 0.6356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.3458/2.94, allocations: 22.1 MB / 1.23 GB, free: 216.9 MB / 0.6356 GB Notification: Performance of pre-optimization done (n=892): time 1.821e-05/2.94, allocations: 0 / 1.23 GB, free: 216.9 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: drone.droneChassis1.bodyCylinder.body.frame_a.r_0[1] = drone.propellerRev.blades.bodyShape4.body.frame_a.r_0[1] + 0.25 * drone.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.38742337282747] Failed to read output from testmodel.py, exit status != 0: 3.26307166274637 3.473986787 1.789331402 Calling exit ...