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.07665/0.07665, allocations: 9.137 MB / 28.49 MB, free: 0.9805 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.001906/0.001906, allocations: 87.27 kB / 34.74 MB, free: 1.324 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.002179/0.002179, allocations: 162.1 kB / 41.06 MB, free: 1.555 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.672/1.672, allocations: 177.1 MB / 224.4 MB, free: 8.703 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 178] 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.1287/0.1287, allocations: 10.58 MB / 294.5 MB, free: 5.848 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.142e-06/1.142e-06, allocations: 0 / 371.6 MB, free: 64.91 MB / 330.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.443e-05/2.557e-05, allocations: 4.703 kB / 371.6 MB, free: 64.91 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.04864/0.04866, allocations: 56.68 MB / 428.3 MB, free: 14.15 MB / 330.8 MB Notification: Performance of NFInst.instExpressions: time 0.03773/0.0864, allocations: 17 MB / 445.3 MB, free: 13.23 MB / 346.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01485/0.1012, allocations: 0.5675 MB / 445.9 MB, free: 12.66 MB / 346.8 MB Notification: Performance of NFTyping.typeComponents: time 0.06972/0.171, allocations: 33.48 MB / 479.3 MB, free: 11.09 MB / 378.8 MB Notification: Performance of NFTyping.typeBindings: time 0.02468/0.1956, allocations: 8.427 MB / 487.8 MB, free: 2.617 MB / 378.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.01467/0.2103, allocations: 6.674 MB / 494.4 MB, free: 11.94 MB / 394.8 MB Notification: Performance of NFFlatten.flatten: time 0.2548/0.4652, allocations: 34.16 MB / 0.5162 GB, free: 17.94 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05843/0.5236, allocations: 36.93 MB / 0.5523 GB, free: 15.2 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.04737/0.5709, allocations: 22.48 MB / 0.5742 GB, free: 4.625 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.03157/0.6025, allocations: 18.4 MB / 0.5922 GB, free: 244 kB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 0.01465/0.6172, allocations: 4.996 MB / 0.5971 GB, free: 244 kB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02056/0.6377, allocations: 6.33 MB / 0.6033 GB, free: 11.7 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0314/0.6691, allocations: 17 MB / 0.6199 GB, free: 11.33 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 0.04001/0.7091, allocations: 12.1 MB / 0.6317 GB, free: 15.74 MB / 458.8 MB Notification: Performance of NFConvertDAE.convert: time 0.5858/1.295, allocations: 69.09 MB / 0.6991 GB, free: 54.51 MB / 0.495 GB Notification: Performance of FrontEnd - DAE generated: time 9.578e-06/1.295, allocations: 3.797 kB / 0.6991 GB, free: 54.51 MB / 0.495 GB Notification: Performance of FrontEnd: time 2.264e-06/1.295, allocations: 2.938 kB / 0.6991 GB, free: 54.51 MB / 0.495 GB Notification: Performance of Transformations before backend: time 0.002352/1.297, allocations: 0 / 0.6991 GB, free: 54.51 MB / 0.495 GB 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.1507/1.448, allocations: 42.92 MB / 0.7411 GB, free: 42.75 MB / 0.495 GB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/1.448, allocations: 10.5 kB / 0.7411 GB, free: 42.75 MB / 0.495 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0457/1.494, allocations: 8.581 MB / 0.7494 GB, free: 41.02 MB / 0.495 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05163/1.545, allocations: 22.1 MB / 0.771 GB, free: 35.48 MB / 0.495 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002133/1.547, allocations: 1.79 MB / 0.7728 GB, free: 34.73 MB / 0.495 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01173/1.559, allocations: 2.418 MB / 0.7751 GB, free: 33.97 MB / 0.495 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1184/1.678, allocations: 37.53 MB / 0.8118 GB, free: 3.648 MB / 0.495 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00179/1.679, allocations: 207.4 kB / 0.812 GB, free: 3.512 MB / 0.495 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01323/1.693, allocations: 1.051 MB / 0.813 GB, free: 2.543 MB / 0.495 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01288/1.706, allocations: 6.59 MB / 0.8194 GB, free: 12.02 MB / 0.5106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09319/1.799, allocations: 18.46 MB / 0.8375 GB, free: 10.17 MB / 0.5263 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 1.456/3.255, allocations: 0.6989 GB / 1.536 GB, free: 72 MB / 0.6044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06153/3.317, allocations: 17.4 MB / 1.553 GB, free: 64.83 MB / 0.6044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01497/3.332, allocations: 4.883 MB / 1.558 GB, free: 63.3 MB / 0.6044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002245/3.334, allocations: 0.6138 MB / 1.559 GB, free: 62.69 MB / 0.6044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05834/3.392, allocations: 15.66 MB / 1.574 GB, free: 46.94 MB / 0.6044 GB Notification: Performance of pre-optimization done (n=892): time 2.225e-05/3.392, allocations: 0 / 1.574 GB, free: 46.94 MB / 0.6044 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:8001:5-8001:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 656] [Calling sys.exit(0), Time elapsed: 7.148865110008046]