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.04123/0.04123, allocations: 9.136 MB / 28.92 MB, free: 360 kB / 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.0008048/0.0008048, allocations: 79.3 kB / 35.24 MB, free: 0.9805 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.0009863/0.0009863, allocations: 157.1 kB / 41.66 MB, free: 1.309 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.9718/0.9718, allocations: 177.1 MB / 225.1 MB, free: 8.562 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.04262/0.04262, allocations: 10.58 MB / 295.3 MB, free: 5.594 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: 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.974e-06/1.974e-06, allocations: 0 / 372.9 MB, free: 64.59 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.369e-05/1.566e-05, allocations: 2.312 kB / 372.9 MB, free: 64.59 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.03322/0.03323, allocations: 54.62 MB / 427.5 MB, free: 15.52 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.03217/0.0654, allocations: 15.85 MB / 443.4 MB, free: 15.73 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01779/0.0832, allocations: 0.5674 MB / 444 MB, free: 15.16 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.03426/0.1175, allocations: 32.81 MB / 476.8 MB, free: 14.25 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02154/0.139, allocations: 8.22 MB / 485 MB, free: 5.992 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01156/0.1506, allocations: 6.078 MB / 491.1 MB, free: 15.91 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.3712/0.5218, allocations: 32.29 MB / 0.5111 GB, free: 18.02 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03572/0.5575, allocations: 34.76 MB / 0.545 GB, free: 16.58 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.04393/0.6014, allocations: 21.34 MB / 0.5659 GB, free: 9.398 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0268/0.6282, allocations: 17.88 MB / 0.5833 GB, free: 6.215 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 0.01073/0.639, allocations: 4.142 MB / 0.5874 GB, free: 6.215 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01154/0.6505, allocations: 5.463 MB / 0.5927 GB, free: 4.906 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.01659/0.6671, allocations: 16.14 MB / 0.6085 GB, free: 6.297 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0175/0.6846, allocations: 11.16 MB / 0.6194 GB, free: 11.64 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 0.03307/0.7177, allocations: 30.59 MB / 0.6493 GB, free: 14.8 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 8.186e-06/0.7177, allocations: 0 / 0.6493 GB, free: 14.8 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.402e-06/0.7177, allocations: 0 / 0.6493 GB, free: 14.8 MB / 474.8 MB Notification: Performance of Transformations before backend: time 0.001425/0.7191, allocations: 0 / 0.6493 GB, free: 14.8 MB / 474.8 MB 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.05902/0.7781, allocations: 34.63 MB / 0.6831 GB, free: 13.78 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/0.7782, allocations: 8.625 kB / 0.6831 GB, free: 13.77 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01609/0.7943, allocations: 7.381 MB / 0.6903 GB, free: 6.457 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2806/1.075, allocations: 17.35 MB / 0.7072 GB, free: 184.8 MB / 0.495 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001173/1.076, allocations: 1.789 MB / 0.709 GB, free: 184 MB / 0.495 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004555/1.081, allocations: 2.427 MB / 0.7113 GB, free: 183.3 MB / 0.495 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04039/1.121, allocations: 28.39 MB / 0.7391 GB, free: 168.9 MB / 0.495 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006001/1.122, allocations: 218.7 kB / 0.7393 GB, free: 168.8 MB / 0.495 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001581/1.123, allocations: 1.046 MB / 0.7403 GB, free: 168.1 MB / 0.495 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003457/1.127, allocations: 5.508 MB / 0.7457 GB, free: 162.8 MB / 0.495 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0247/1.151, allocations: 12.59 MB / 0.758 GB, free: 150.4 MB / 0.495 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.3936/1.545, allocations: 204.3 MB / 0.9575 GB, free: 46.14 MB / 0.5106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03644/1.581, allocations: 21.46 MB / 0.9785 GB, free: 45.49 MB / 0.5106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006592/1.588, allocations: 3.428 MB / 0.9818 GB, free: 45.36 MB / 0.5106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001056/1.589, allocations: 0.8098 MB / 0.9826 GB, free: 45.32 MB / 0.5106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02655/1.616, allocations: 10.85 MB / 0.9932 GB, free: 44.86 MB / 0.5106 GB Notification: Performance of pre-optimization done (n=837): time 2.459e-05/1.616, allocations: 0 / 0.9932 GB, free: 44.86 MB / 0.5106 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:8115:5-8115:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 658] [Calling sys.exit(0), Time elapsed: 3.7221204191446304]