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.06785/0.06785, allocations: 9.139 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.001001/0.001001, allocations: 94.41 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.001233/0.001233, allocations: 172.6 kB / 40.73 MB, free: 1.746 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.9839/0.9839, allocations: 177.1 MB / 224.1 MB, free: 8.816 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.06481/0.06481, 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.Examples.DroneWithIdealPower.Drone_IdealMachine,fileNamePrefix="DroneLibrary_DroneLibrary_Examples_DroneWithIdealPower_Drone_IdealMachine",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(DroneLibrary.Examples.DroneWithIdealPower.Drone_IdealMachine,fileNamePrefix="DroneLibrary_DroneLibrary_Examples_DroneWithIdealPower_Drone_IdealMachine",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 0 / 431.7 MB, free: 11.34 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.335e-05/2.543e-05, allocations: 9.234 kB / 431.7 MB, free: 11.34 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 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.04367/0.04369, allocations: 50.29 MB / 482 MB, free: 8.832 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.04042/0.08412, allocations: 15.74 MB / 497.7 MB, free: 9.047 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01852/0.1026, allocations: 0.5714 MB / 498.3 MB, free: 8.473 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.5239/0.6265, allocations: 31.65 MB / 0.5175 GB, free: 9.473 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.02922/0.6557, allocations: 8.201 MB / 0.5255 GB, free: 8.703 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.01261/0.6684, allocations: 6.009 MB / 0.5314 GB, free: 8.586 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.04344/0.7118, allocations: 32.28 MB / 0.5629 GB, free: 1.766 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05808/0.7699, allocations: 33.88 MB / 0.596 GB, free: 3.25 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.05245/0.8223, allocations: 20.57 MB / 0.6161 GB, free: 15.76 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02948/0.8518, allocations: 16.92 MB / 0.6326 GB, free: 192 kB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 0.01383/0.8656, allocations: 4.148 MB / 0.6367 GB, free: 12.04 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02008/0.8857, allocations: 5.472 MB / 0.642 GB, free: 6.672 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.02407/0.9098, allocations: 16.02 MB / 0.6577 GB, free: 7.227 MB / 0.4949 GB Notification: Performance of NFVerifyModel.verify: time 0.0307/0.9405, allocations: 11.14 MB / 0.6686 GB, free: 12.59 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.6139/1.554, allocations: 60.22 MB / 0.7274 GB, free: 88.72 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 7.064e-06/1.554, allocations: 0 / 0.7274 GB, free: 88.72 MB / 0.5419 GB Notification: Performance of FrontEnd: time 3.196e-06/1.554, allocations: 1.219 kB / 0.7274 GB, free: 88.72 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 0.004316/1.559, allocations: 1.312 kB / 0.7274 GB, free: 88.72 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.1226/1.681, allocations: 35.57 MB / 0.7621 GB, free: 75.23 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 7.479e-05/1.681, allocations: 11.66 kB / 0.7621 GB, free: 75.23 MB / 0.5419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.02666/1.708, allocations: 4.502 MB / 0.7665 GB, free: 74.21 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03729/1.745, allocations: 8.202 MB / 0.7745 GB, free: 70.7 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04812/1.793, allocations: 21.57 MB / 0.7956 GB, free: 58.23 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002076/1.796, allocations: 1.786 MB / 0.7973 GB, free: 57.48 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01412/1.81, allocations: 2.438 MB / 0.7997 GB, free: 56.7 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1343/1.944, allocations: 56.48 MB / 0.8549 GB, free: 15.45 MB / 0.5575 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001905/1.946, allocations: 237.1 kB / 0.8551 GB, free: 15.28 MB / 0.5575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01459/1.961, allocations: 1.039 MB / 0.8561 GB, free: 14.32 MB / 0.5575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008766/1.969, allocations: 6.206 MB / 0.8622 GB, free: 8.188 MB / 0.5575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09726/2.067, allocations: 46.48 MB / 0.9076 GB, free: 10.31 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.5753/2.642, allocations: 210.5 MB / 1.113 GB, free: 103.2 MB / 0.6356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04263/2.685, allocations: 27.19 MB / 1.14 GB, free: 75.97 MB / 0.6356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01776/2.702, allocations: 16.03 MB / 1.155 GB, free: 59.92 MB / 0.6356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001236/2.704, allocations: 0.5782 MB / 1.156 GB, free: 59.34 MB / 0.6356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03807/2.742, allocations: 21.13 MB / 1.176 GB, free: 38.12 MB / 0.6356 GB Notification: Performance of pre-optimization done (n=891): time 2.069e-05/2.742, allocations: 0 / 1.176 GB, free: 38.12 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.548433905467391]