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.04334/0.04334, allocations: 9.134 MB / 19.04 MB, free: 0.6719 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.004791/0.04813, allocations: 3.425 MB / 22.46 MB, free: 3.727 MB / 24.77 MB " [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.0005283/0.0005283, allocations: 94.36 kB / 23.31 MB, free: 2.898 MB / 24.77 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009393/0.001468, allocations: 442 kB / 23.74 MB, free: 2.465 MB / 24.77 MB " [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.0006626/0.0006626, allocations: 156.8 kB / 24.64 MB, free: 1.562 MB / 24.77 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009451/0.001608, allocations: 486.6 kB / 25.12 MB, free: 1.086 MB / 24.77 MB " [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.8355/0.8355, allocations: 177.2 MB / 203 MB, free: 8.254 MB / 202.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1439/0.9794, allocations: 53.68 MB / 256.7 MB, free: 5.305 MB / 250.7 MB " [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.05073/0.05073, allocations: 10.58 MB / 268 MB, free: 10.3 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005238/0.05597, allocations: 3.707 MB / 271.7 MB, free: 6.574 MB / 266.7 MB " [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.282e-06/1.282e-06, allocations: 0 / 273.1 MB, free: 5.273 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.337e-05/1.465e-05, allocations: 2.312 kB / 273.1 MB, free: 5.27 MB / 266.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.03927/0.03928, allocations: 55.12 MB / 328.2 MB, free: 13.93 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.2696/0.3089, allocations: 16.81 MB / 345 MB, free: 1.805 MB / 330.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01044/0.3193, allocations: 0.5703 MB / 345.6 MB, free: 1.805 MB / 330.8 MB Notification: Performance of NFTyping.typeComponents: time 0.02692/0.3462, allocations: 31.2 MB / 376.8 MB, free: 15.94 MB / 346.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01446/0.3607, allocations: 8.187 MB / 384.9 MB, free: 12.11 MB / 346.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.00726/0.368, allocations: 5.762 MB / 390.7 MB, free: 8.254 MB / 346.8 MB Notification: Performance of NFFlatten.flatten: time 0.02693/0.3949, allocations: 31.16 MB / 421.9 MB, free: 10.96 MB / 378.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03179/0.4267, allocations: 32.5 MB / 454.4 MB, free: 11.59 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03519/0.4619, allocations: 21.77 MB / 476.1 MB, free: 6.824 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02105/0.4829, allocations: 17.17 MB / 493.3 MB, free: 6.828 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 0.008249/0.4912, allocations: 4.152 MB / 497.5 MB, free: 2.676 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01147/0.5027, allocations: 5.506 MB / 0.4912 GB, free: 13.27 MB / 458.8 MB Notification: Performance of NFScalarize.scalarize: time 0.2917/0.7944, allocations: 14.33 MB / 0.5052 GB, free: 72.24 MB / 458.9 MB Notification: Performance of NFVerifyModel.verify: time 0.02441/0.8188, allocations: 9.171 MB / 0.5141 GB, free: 72.24 MB / 458.9 MB Notification: Performance of NFConvertDAE.convert: time 0.0348/0.8536, allocations: 28.65 MB / 0.5421 GB, free: 70.26 MB / 458.9 MB Notification: Performance of FrontEnd - DAE generated: time 1.37e-05/0.8536, allocations: 0 / 0.5421 GB, free: 70.26 MB / 458.9 MB Notification: Performance of FrontEnd: time 1.463e-06/0.8536, allocations: 0 / 0.5421 GB, free: 70.26 MB / 458.9 MB Notification: Performance of Transformations before backend: time 0.001336/0.8549, allocations: 0 / 0.5421 GB, free: 70.26 MB / 458.9 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.06828/0.9232, allocations: 37.86 MB / 0.5791 GB, free: 57.45 MB / 458.9 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.9232, allocations: 11.83 kB / 0.5791 GB, free: 57.44 MB / 458.9 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02367/0.9469, allocations: 5.112 MB / 0.5841 GB, free: 54.41 MB / 458.9 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03298/0.9799, allocations: 14.95 MB / 0.5987 GB, free: 42.17 MB / 458.9 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002391/0.9823, allocations: 1.785 MB / 0.6004 GB, free: 40.47 MB / 458.9 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01416/0.9964, allocations: 2.425 MB / 0.6028 GB, free: 38.16 MB / 458.9 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08086/1.077, allocations: 26.48 MB / 0.6286 GB, free: 11.45 MB / 458.9 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001625/1.079, allocations: 215.4 kB / 0.6289 GB, free: 11.32 MB / 458.9 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008396/1.087, allocations: 1.047 MB / 0.6299 GB, free: 10.36 MB / 458.9 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004826/1.092, allocations: 5.295 MB / 0.635 GB, free: 5.098 MB / 458.9 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04072/1.133, allocations: 12.52 MB / 0.6473 GB, free: 9.336 MB / 474.9 MB 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.3232/1.456, allocations: 151.2 MB / 0.795 GB, free: 73.78 MB / 0.495 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03961/1.496, allocations: 20.49 MB / 0.815 GB, free: 72.74 MB / 0.495 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005894/1.502, allocations: 2.77 MB / 0.8177 GB, free: 70.34 MB / 0.495 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001008/1.503, allocations: 0.8077 MB / 0.8185 GB, free: 69.77 MB / 0.495 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02464/1.527, allocations: 9.894 MB / 0.8281 GB, free: 63.05 MB / 0.495 GB Notification: Performance of pre-optimization done (n=837): time 2.256e-05/1.527, allocations: 0 / 0.8281 GB, free: 63.05 MB / 0.495 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:577:7-577: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:581:7-581:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:432:5-432:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:117:7-117:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:8414:5-8414:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 658] [Calling sys.exit(0), Time elapsed: 3.2518448466435075]