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.06901/0.06901, allocations: 9.145 MB / 28.24 MB, free: 2.281 MB / 19.63 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.001454/0.001454, allocations: 93.83 kB / 34.45 MB, free: 3.504 MB / 26.18 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.001548/0.001548, allocations: 173.2 kB / 40.75 MB, free: 5.949 MB / 34.91 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.482/1.482, allocations: 177.1 MB / 224.1 MB, free: 13.92 MB / 206.1 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.1405/0.1405, allocations: 10.57 MB / 294.1 MB, free: 7.961 MB / 270.1 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 / 430.6 MB, free: 1.324 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.016e-05/3.138e-05, allocations: 9.312 kB / 430.6 MB, free: 1.316 MB / 334.1 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.2443/0.2443, allocations: 50.37 MB / 481 MB, free: 1.664 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.04488/0.2892, allocations: 16.87 MB / 497.9 MB, free: 3.941 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02111/0.3103, allocations: 0.5675 MB / 498.4 MB, free: 3.371 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.06403/0.3743, allocations: 31.73 MB / 0.5177 GB, free: 3.539 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02683/0.4011, allocations: 8.423 MB / 0.526 GB, free: 11.07 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01547/0.4166, allocations: 6.622 MB / 0.5324 GB, free: 4.453 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.05357/0.4702, allocations: 34.15 MB / 0.5658 GB, free: 2.266 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0629/0.5331, allocations: 36.04 MB / 0.601 GB, free: 14.02 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.04953/0.5826, allocations: 22.35 MB / 0.6228 GB, free: 7.641 MB / 0.4982 GB Notification: Performance of NFSimplifyModel.simplify: time 0.3402/0.9228, allocations: 17.39 MB / 0.6398 GB, free: 65.1 MB / 0.4982 GB Notification: Performance of NFPackage.collectConstants: time 0.01821/0.941, allocations: 4.995 MB / 0.6447 GB, free: 65.1 MB / 0.4982 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02259/0.9636, allocations: 6.329 MB / 0.6508 GB, free: 65.1 MB / 0.4982 GB Notification: Performance of NFScalarize.scalarize: time 0.02889/0.9925, allocations: 16.86 MB / 0.6673 GB, free: 65.1 MB / 0.4982 GB Notification: Performance of NFVerifyModel.verify: time 0.03645/1.029, allocations: 12.01 MB / 0.679 GB, free: 64.3 MB / 0.4982 GB Notification: Performance of NFConvertDAE.convert: time 0.07788/1.107, allocations: 68.88 MB / 0.7463 GB, free: 17.54 MB / 0.4982 GB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/1.107, allocations: 0 / 0.7463 GB, free: 17.54 MB / 0.4982 GB Notification: Performance of FrontEnd: time 1.402e-06/1.107, allocations: 4 kB / 0.7463 GB, free: 17.54 MB / 0.4982 GB Notification: Performance of Transformations before backend: time 0.002401/1.109, allocations: 0 / 0.7463 GB, free: 17.54 MB / 0.4982 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.1377/1.247, allocations: 36.05 MB / 0.7815 GB, free: 13.58 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.193e-05/1.247, allocations: 16.03 kB / 0.7815 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03323/1.28, allocations: 6.151 MB / 0.7875 GB, free: 7.395 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05411/1.334, allocations: 23.54 MB / 0.8105 GB, free: 0.6367 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002124/1.336, allocations: 1.788 MB / 0.8123 GB, free: 14.93 MB / 0.5607 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01176/1.348, allocations: 2.436 MB / 0.8146 GB, free: 12.57 MB / 0.5607 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5987/1.947, allocations: 59.92 MB / 0.8732 GB, free: 153.5 MB / 0.5764 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.003567/1.95, allocations: 244.7 kB / 0.8734 GB, free: 153.4 MB / 0.5764 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0135/1.964, allocations: 1.042 MB / 0.8744 GB, free: 152.7 MB / 0.5764 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01246/1.976, allocations: 6.591 MB / 0.8808 GB, free: 151.1 MB / 0.5764 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.111/2.087, allocations: 50.19 MB / 0.9299 GB, free: 118.3 MB / 0.5764 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.6284/2.716, allocations: 226.9 MB / 1.151 GB, free: 89.39 MB / 0.6077 GB Notification: Performance of preOpt comSubExp (simulation): time 0.07474/2.791, allocations: 28.82 MB / 1.18 GB, free: 83.44 MB / 0.6077 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02379/2.814, allocations: 17.45 MB / 1.197 GB, free: 75.13 MB / 0.6077 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001761/2.816, allocations: 0.5901 MB / 1.197 GB, free: 75.01 MB / 0.6077 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.06678/2.883, allocations: 22.18 MB / 1.219 GB, free: 62.89 MB / 0.6077 GB Notification: Performance of pre-optimization done (n=892): time 2.665e-05/2.883, allocations: 4.969 kB / 1.219 GB, free: 62.89 MB / 0.6077 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:7979:5-7979:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 656] [Calling sys.exit(0), Time elapsed: 6.512208316475153] Failed to read output from testmodel.py, exit status != 0: 3.7940148152410984 3.803648947 2.69396712 Calling exit ...