Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr DroneLibrary_DroneLibrary.Examples.DroneWithIdealPower.TestSystem.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.03804/0.03804, allocations: 9.127 MB / 29.71 MB, free: 352 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.0008823/0.0008823, allocations: 91.16 kB / 36.03 MB, free: 0.9688 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.001056/0.001056, allocations: 165.6 kB / 42.45 MB, free: 1.301 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.8695/0.8695, allocations: 177.1 MB / 225.9 MB, free: 8.582 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.04125/0.04125, allocations: 10.58 MB / 296.1 MB, free: 5.605 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.TestSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Examples.DroneWithIdealPower.TestSystem") translateModel(DroneLibrary.Examples.DroneWithIdealPower.TestSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Examples.DroneWithIdealPower.TestSystem") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 373.7 MB, free: 64.66 MB / 330.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.871e-05/1.993e-05, allocations: 4.672 kB / 373.7 MB, free: 64.65 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 drone.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 drone.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 drone.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 drone.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 drone.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 drone.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 drone.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 drone.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.TestSystem): time 0.0513/0.05132, allocations: 54.7 MB / 428.4 MB, free: 15.51 MB / 330.8 MB Notification: Performance of NFInst.instExpressions: time 0.02498/0.0763, allocations: 16.97 MB / 445.4 MB, free: 14.61 MB / 346.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009708/0.08601, allocations: 0.5714 MB / 445.9 MB, free: 14.04 MB / 346.8 MB Notification: Performance of NFTyping.typeComponents: time 0.02882/0.1148, allocations: 32.9 MB / 478.8 MB, free: 13.05 MB / 378.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01725/0.1321, allocations: 8.436 MB / 487.3 MB, free: 4.57 MB / 378.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.009691/0.1418, allocations: 6.691 MB / 494 MB, free: 13.88 MB / 394.8 MB Notification: Performance of NFFlatten.flatten: time 0.1992/0.3409, allocations: 34.15 MB / 0.5157 GB, free: 17.86 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04063/0.3815, allocations: 36.95 MB / 0.5518 GB, free: 16.31 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.04112/0.4227, allocations: 23.12 MB / 0.5744 GB, free: 5.555 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02545/0.4481, allocations: 18.36 MB / 0.5923 GB, free: 1.457 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 0.01101/0.4591, allocations: 4.99 MB / 0.5972 GB, free: 1.457 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01526/0.4744, allocations: 6.403 MB / 0.6035 GB, free: 11.91 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 0.02102/0.4954, allocations: 16.99 MB / 0.62 GB, free: 11.55 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 0.02121/0.5166, allocations: 12.09 MB / 0.6318 GB, free: 15.97 MB / 458.8 MB Notification: Performance of NFConvertDAE.convert: time 0.03612/0.5527, allocations: 32.94 MB / 0.664 GB, free: 0.7734 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.5528, allocations: 0 / 0.664 GB, free: 0.7734 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.643e-06/0.5528, allocations: 4 kB / 0.664 GB, free: 0.7695 MB / 474.8 MB Notification: Performance of Transformations before backend: time 0.001426/0.5542, allocations: 0 / 0.664 GB, free: 0.7695 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: 7889 * Number of variables: 7889 Notification: Performance of Generate backend data structure: time 0.293/0.8472, allocations: 35.39 MB / 0.6986 GB, free: 184.7 MB / 0.495 GB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.8472, allocations: 10 kB / 0.6986 GB, free: 184.7 MB / 0.495 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01788/0.8651, allocations: 7.485 MB / 0.7059 GB, free: 183.4 MB / 0.495 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02771/0.8928, allocations: 20.4 MB / 0.7258 GB, free: 175.3 MB / 0.495 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001143/0.8939, allocations: 1.783 MB / 0.7276 GB, free: 174.6 MB / 0.495 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007613/0.9015, allocations: 2.427 MB / 0.7299 GB, free: 173.9 MB / 0.495 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05118/0.9527, allocations: 28.5 MB / 0.7578 GB, free: 145.9 MB / 0.495 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000815/0.9535, allocations: 220.7 kB / 0.758 GB, free: 145.7 MB / 0.495 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002454/0.956, allocations: 1.047 MB / 0.759 GB, free: 144.7 MB / 0.495 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003738/0.9597, allocations: 5.886 MB / 0.7647 GB, free: 138.9 MB / 0.495 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04328/1.003, allocations: 12.66 MB / 0.7771 GB, free: 126.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.3392/1.342, allocations: 221.2 MB / 0.9932 GB, free: 56.19 MB / 0.5263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03339/1.376, allocations: 21.5 MB / 1.014 GB, free: 55.54 MB / 0.5263 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005413/1.381, allocations: 3.426 MB / 1.018 GB, free: 55.4 MB / 0.5263 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009149/1.382, allocations: 0.8002 MB / 1.018 GB, free: 55.37 MB / 0.5263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0248/1.407, allocations: 10.91 MB / 1.029 GB, free: 52.86 MB / 0.5263 GB Notification: Performance of pre-optimization done (n=838): time 1.309e-05/1.407, allocations: 0 / 1.029 GB, free: 52.86 MB / 0.5263 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: drone.droneChassis1.bodyCylinder.body.frame_a.r_0[1] = drone.propellerRev.blades.bodyShape4.body.frame_a.r_0[1] + 0.25 * drone.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:8083:5-8083:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 658] [Calling sys.exit(0), Time elapsed: 3.4890915784053504]