Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr DroneLibrary_DroneLibrary.Tests.simpleHoverTest.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.04014/0.04014, allocations: 9.138 MB / 28.23 MB, free: 1.109 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.0009088/0.0009088, allocations: 90.55 kB / 34.43 MB, free: 1.512 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.001049/0.001049, allocations: 161.8 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.8846/0.8846, 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.03928/0.03928, allocations: 10.59 MB / 294.1 MB, free: 6.031 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: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(DroneLibrary.Tests.simpleHoverTest,fileNamePrefix="DroneLibrary_DroneLibrary_Tests_simpleHoverTest",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(DroneLibrary.Tests.simpleHoverTest,fileNamePrefix="DroneLibrary_DroneLibrary_Tests_simpleHoverTest",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.92e-07/9.92e-07, allocations: 0 / 430.9 MB, free: 12.12 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.371e-05/1.47e-05, allocations: 6.219 kB / 430.9 MB, free: 12.12 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 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 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. [/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. Notification: Performance of NFInst.instantiate(DroneLibrary.Tests.simpleHoverTest): time 0.02934/0.02935, allocations: 48.05 MB / 478.9 MB, free: 11.87 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02982/0.05917, allocations: 14.69 MB / 493.6 MB, free: 13.13 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01184/0.07102, allocations: 0.552 MB / 494.2 MB, free: 12.58 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.3917/0.4627, allocations: 30.87 MB / 0.5127 GB, free: 8.609 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0178/0.4805, allocations: 7.902 MB / 0.5205 GB, free: 8.043 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.009479/0.49, allocations: 5.436 MB / 0.5258 GB, free: 7.938 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0343/0.5243, allocations: 30.81 MB / 0.5559 GB, free: 4.645 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0351/0.5594, allocations: 32.28 MB / 0.5874 GB, free: 11.24 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03232/0.5917, allocations: 19.56 MB / 0.6065 GB, free: 8.703 MB / 458.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02147/0.6132, allocations: 16.21 MB / 0.6223 GB, free: 9.801 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 0.009257/0.6224, allocations: 3.933 MB / 0.6262 GB, free: 5.871 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01233/0.6348, allocations: 5.062 MB / 0.6311 GB, free: 0.8984 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 0.01594/0.6507, allocations: 15.35 MB / 0.6461 GB, free: 2.113 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.01601/0.6667, allocations: 10.58 MB / 0.6564 GB, free: 8.02 MB / 0.4949 GB Notification: Performance of NFConvertDAE.convert: time 0.4494/1.116, allocations: 57.56 MB / 0.7126 GB, free: 80.93 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/1.116, allocations: 0.6094 kB / 0.7126 GB, free: 80.93 MB / 0.5419 GB Notification: Performance of FrontEnd: time 1.422e-06/1.116, allocations: 0 / 0.7126 GB, free: 80.93 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 0.001969/1.118, allocations: 2.688 kB / 0.7126 GB, free: 80.93 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: 7497 * Number of variables: 7497 Notification: Performance of Generate backend data structure: time 0.07042/1.188, allocations: 32.14 MB / 0.744 GB, free: 71.51 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/1.189, allocations: 8.906 kB / 0.744 GB, free: 71.51 MB / 0.5419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008418/1.197, allocations: 3.728 MB / 0.7477 GB, free: 71.28 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02305/1.22, allocations: 8.01 MB / 0.7555 GB, free: 69.59 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03266/1.253, allocations: 20.79 MB / 0.7758 GB, free: 63.94 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008128/1.253, allocations: 1.689 MB / 0.7774 GB, free: 63.24 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007094/1.261, allocations: 2.3 MB / 0.7797 GB, free: 62.51 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08093/1.341, allocations: 53.86 MB / 0.8323 GB, free: 12.02 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009312/1.342, allocations: 235.2 kB / 0.8325 GB, free: 11.86 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004127/1.347, allocations: 0.9848 MB / 0.8335 GB, free: 10.95 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004678/1.351, allocations: 6.034 MB / 0.8394 GB, free: 4.984 MB / 0.5419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06893/1.42, allocations: 44.55 MB / 0.8829 GB, free: 9.023 MB / 0.5888 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.4542/1.874, allocations: 200.4 MB / 1.079 GB, free: 145.4 MB / 0.6513 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03746/1.912, allocations: 25.43 MB / 1.103 GB, free: 134.2 MB / 0.6513 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01359/1.925, allocations: 15.42 MB / 1.118 GB, free: 119.1 MB / 0.6513 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009619/1.926, allocations: 0.5571 MB / 1.119 GB, free: 118.6 MB / 0.6513 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.484e-05/1.926, allocations: 118.5 kB / 1.119 GB, free: 118.4 MB / 0.6513 GB Notification: Performance of pre-optimization done (n=765): time 1.088e-05/1.926, allocations: 0 / 1.119 GB, free: 118.4 MB / 0.6513 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 * propellerRev2.Airframe.R.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 658] [Calling sys.exit(0), Time elapsed: 4.268451920710504]