Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr DroneLibrary_DroneLibrary.Examples.DroneWithIdealPower.DroneForVR.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.03657/0.03657, allocations: 9.131 MB / 28.99 MB, free: 1.133 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.0006948/0.0006948, allocations: 102.7 kB / 35.19 MB, free: 1.516 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.00086/0.00086, allocations: 148.7 kB / 41.47 MB, free: 1.77 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.8564/0.8564, allocations: 177.1 MB / 224.8 MB, free: 8.828 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.03795/0.03795, allocations: 10.59 MB / 294.8 MB, free: 6.051 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.DroneForVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Examples.DroneWithIdealPower.DroneForVR") translateModel(DroneLibrary.Examples.DroneWithIdealPower.DroneForVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Examples.DroneWithIdealPower.DroneForVR") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 0 / 431.4 MB, free: 12.32 MB / 330.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.783e-05/3.993e-05, allocations: 2.281 kB / 431.4 MB, free: 12.32 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.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 propellerRev.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.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.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.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.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.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.bodyShape5.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.DroneForVR): time 0.03373/0.03377, allocations: 53.92 MB / 485.3 MB, free: 6.188 MB / 378.8 MB Notification: Performance of NFInst.instExpressions: time 0.02685/0.06062, allocations: 13.79 MB / 499.1 MB, free: 8.359 MB / 394.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0101/0.07072, allocations: 0.4935 MB / 499.6 MB, free: 7.863 MB / 394.8 MB Notification: Performance of NFTyping.typeComponents: time 0.2537/0.3244, allocations: 24.34 MB / 0.5117 GB, free: 8.914 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.02528/0.3497, allocations: 7.784 MB / 0.5193 GB, free: 8.395 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.01055/0.3602, allocations: 5.349 MB / 0.5245 GB, free: 8.289 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.03407/0.3943, allocations: 30.49 MB / 0.5543 GB, free: 4.781 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03485/0.4292, allocations: 28 MB / 0.5816 GB, free: 15.77 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.04259/0.4717, allocations: 17.38 MB / 0.5986 GB, free: 15.35 MB / 458.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02415/0.4959, allocations: 15.22 MB / 0.6134 GB, free: 1.328 MB / 458.8 MB Notification: Performance of NFPackage.collectConstants: time 0.009423/0.5053, allocations: 3.156 MB / 0.6165 GB, free: 14.17 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01132/0.5166, allocations: 4.456 MB / 0.6209 GB, free: 9.812 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 0.02099/0.5376, allocations: 13.92 MB / 0.6345 GB, free: 12.41 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.02654/0.5642, allocations: 9.316 MB / 0.6436 GB, free: 3.523 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.05096/0.6151, allocations: 48.86 MB / 0.6913 GB, free: 4.035 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.6151, allocations: 0 / 0.6913 GB, free: 4.035 MB / 0.5262 GB Notification: Performance of FrontEnd: time 1.703e-06/0.6151, allocations: 0 / 0.6913 GB, free: 4.035 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 0.001991/0.6171, allocations: 4 kB / 0.6913 GB, free: 4.031 MB / 0.5262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7387 * Number of variables: 7387 Notification: Performance of Generate backend data structure: time 0.5175/1.135, allocations: 30.98 MB / 0.7215 GB, free: 177.4 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 4.856e-05/1.135, allocations: 10.34 kB / 0.7215 GB, free: 177.4 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02022/1.155, allocations: 5.843 MB / 0.7272 GB, free: 175.6 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03058/1.185, allocations: 17.05 MB / 0.7439 GB, free: 161.5 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008736/1.186, allocations: 1.532 MB / 0.7454 GB, free: 160.1 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007992/1.194, allocations: 2.087 MB / 0.7474 GB, free: 158.1 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08271/1.277, allocations: 52.37 MB / 0.7986 GB, free: 103.3 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001471/1.279, allocations: 246.2 kB / 0.7988 GB, free: 103 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009236/1.288, allocations: 0.9179 MB / 0.7997 GB, free: 102.2 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006305/1.294, allocations: 6.916 MB / 0.8065 GB, free: 95.32 MB / 0.5419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06141/1.355, allocations: 41.38 MB / 0.8469 GB, free: 53.98 MB / 0.5419 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.4755/1.831, allocations: 198.8 MB / 1.041 GB, free: 70.84 MB / 0.5731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0359/1.867, allocations: 24.05 MB / 1.065 GB, free: 62.98 MB / 0.5731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0137/1.881, allocations: 14.89 MB / 1.079 GB, free: 54.95 MB / 0.5731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001207/1.882, allocations: 0.7657 MB / 1.08 GB, free: 54.67 MB / 0.5731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03198/1.914, allocations: 19.57 MB / 1.099 GB, free: 37.17 MB / 0.5731 GB Notification: Performance of pre-optimization done (n=751): time 1.419e-05/1.914, allocations: 4 kB / 1.099 GB, free: 37.16 MB / 0.5731 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.bodyShape5.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:7979:5-7979:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 658] [Calling sys.exit(0), Time elapsed: 4.370236744172871] Failed to read output from testmodel.py, exit status != 0: 2.4686322398483753 2.475480464 1.85841663 Calling exit ...