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.05301/0.05301, allocations: 9.147 MB / 28.7 MB, free: 0.5234 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.001103/0.001103, allocations: 87.31 kB / 34.99 MB, free: 1.129 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.001385/0.001385, allocations: 161.4 kB / 41.38 MB, free: 1.469 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 1.062/1.062, allocations: 177.1 MB / 224.8 MB, free: 8.707 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.04087/0.04087, allocations: 10.58 MB / 294.9 MB, free: 5.781 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.483e-06/1.483e-06, allocations: 0 / 372.4 MB, free: 64.89 MB / 330.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.563e-05/1.711e-05, allocations: 6.203 kB / 372.4 MB, free: 64.89 MB / 330.8 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.03773/0.03775, allocations: 56.66 MB / 429.1 MB, free: 13.91 MB / 330.8 MB Notification: Performance of NFInst.instExpressions: time 0.03464/0.07239, allocations: 15.89 MB / 445 MB, free: 14.09 MB / 346.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01539/0.08778, allocations: 0.5636 MB / 445.6 MB, free: 13.53 MB / 346.8 MB Notification: Performance of NFTyping.typeComponents: time 0.04555/0.1333, allocations: 33.47 MB / 479 MB, free: 11.97 MB / 378.8 MB Notification: Performance of NFTyping.typeBindings: time 0.02589/0.1592, allocations: 8.196 MB / 487.2 MB, free: 3.73 MB / 378.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.01747/0.1767, allocations: 6.073 MB / 493.3 MB, free: 13.65 MB / 394.8 MB Notification: Performance of NFFlatten.flatten: time 0.25/0.4267, allocations: 32.29 MB / 0.5133 GB, free: 17.6 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04661/0.4733, allocations: 34.77 MB / 0.5472 GB, free: 16.15 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.04904/0.5223, allocations: 21.27 MB / 0.568 GB, free: 7.828 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.03001/0.5523, allocations: 17.87 MB / 0.5854 GB, free: 4.449 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 0.01431/0.5667, allocations: 4.144 MB / 0.5895 GB, free: 4.449 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01813/0.5848, allocations: 5.465 MB / 0.5948 GB, free: 4.25 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.02597/0.6108, allocations: 16.15 MB / 0.6106 GB, free: 5.07 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.02877/0.6395, allocations: 11.17 MB / 0.6215 GB, free: 10.42 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 0.05503/0.6946, allocations: 30.59 MB / 0.6514 GB, free: 13.57 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 9.047e-06/0.6946, allocations: 0 / 0.6514 GB, free: 13.57 MB / 474.8 MB Notification: Performance of FrontEnd: time 2.244e-06/0.6946, allocations: 0 / 0.6514 GB, free: 13.57 MB / 474.8 MB Notification: Performance of Transformations before backend: time 0.001495/0.6961, allocations: 4 kB / 0.6514 GB, free: 13.57 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.08078/0.7768, allocations: 36.59 MB / 0.6871 GB, free: 9.027 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 6.689e-05/0.7769, allocations: 8.625 kB / 0.6871 GB, free: 9.02 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03241/0.8093, allocations: 8.427 MB / 0.6953 GB, free: 0.6523 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3843/1.194, allocations: 18.8 MB / 0.7137 GB, free: 184.1 MB / 0.495 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001486/1.195, allocations: 1.783 MB / 0.7154 GB, free: 183.3 MB / 0.495 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005319/1.2, allocations: 2.428 MB / 0.7178 GB, free: 182.6 MB / 0.495 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09613/1.297, allocations: 32.28 MB / 0.7493 GB, free: 158.7 MB / 0.495 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007974/1.297, allocations: 211.2 kB / 0.7495 GB, free: 158.5 MB / 0.495 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002459/1.3, allocations: 1.045 MB / 0.7506 GB, free: 157.5 MB / 0.495 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005564/1.305, allocations: 5.976 MB / 0.7564 GB, free: 151.5 MB / 0.495 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04543/1.351, allocations: 16.76 MB / 0.7728 GB, free: 134.9 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.5134/1.864, allocations: 210.3 MB / 0.9782 GB, free: 41.04 MB / 0.5106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05086/1.915, allocations: 24.7 MB / 1.002 GB, free: 40.4 MB / 0.5106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01248/1.928, allocations: 4.119 MB / 1.006 GB, free: 40.26 MB / 0.5106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002262/1.93, allocations: 0.9142 MB / 1.007 GB, free: 40.23 MB / 0.5106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.04121/1.971, allocations: 13.88 MB / 1.021 GB, free: 38.62 MB / 0.5106 GB Notification: Performance of pre-optimization done (n=837): time 3.179e-05/1.971, allocations: 0 / 1.021 GB, free: 38.62 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:8020:5-8020:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 657] [Calling sys.exit(0), Time elapsed: 4.982450846582651]