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.05582/0.05582, allocations: 9.132 MB / 28.92 MB, free: 0.8516 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.001442/0.001442, allocations: 87.05 kB / 35.24 MB, free: 1.125 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.00134/0.00134, allocations: 157 kB / 41.65 MB, free: 1.332 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.9741/0.9741, allocations: 177.1 MB / 225.1 MB, free: 5.539 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.03967/0.03967, allocations: 10.56 MB / 295.3 MB, free: 5.203 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 1.713e-06/1.713e-06, allocations: 0 / 372.9 MB, free: 43.71 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.104e-05/2.275e-05, allocations: 5.688 kB / 372.9 MB, free: 43.71 MB / 314.7 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.03371/0.03374, allocations: 58.58 MB / 431.5 MB, free: 0.9141 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.02716/0.0609, allocations: 13.88 MB / 445.4 MB, free: 3.066 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01055/0.07144, allocations: 0.4974 MB / 445.9 MB, free: 2.566 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02742/0.09886, allocations: 25.24 MB / 471.1 MB, free: 9.254 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01917/0.118, allocations: 7.815 MB / 478.9 MB, free: 1.398 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01117/0.1292, allocations: 5.378 MB / 484.3 MB, free: 12.02 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.335/0.4642, allocations: 30.53 MB / 0.5028 GB, free: 21.03 MB / 394.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04524/0.5094, allocations: 28.73 MB / 0.5308 GB, free: 16.07 MB / 394.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03575/0.5452, allocations: 18.12 MB / 0.5485 GB, free: 8.207 MB / 394.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02149/0.5667, allocations: 15.87 MB / 0.564 GB, free: 0.7148 MB / 394.8 MB Notification: Performance of NFPackage.collectConstants: time 0.009632/0.5763, allocations: 3.145 MB / 0.5671 GB, free: 13.57 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01322/0.5895, allocations: 4.446 MB / 0.5715 GB, free: 9.234 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.01883/0.6083, allocations: 14.03 MB / 0.5852 GB, free: 11.77 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.02266/0.631, allocations: 9.363 MB / 0.5943 GB, free: 2.84 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.03884/0.6698, allocations: 26.58 MB / 0.6202 GB, free: 9.914 MB / 458.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.702e-06/0.6699, allocations: 0 / 0.6202 GB, free: 9.914 MB / 458.8 MB Notification: Performance of FrontEnd: time 1.443e-06/0.6699, allocations: 0 / 0.6202 GB, free: 9.914 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.001351/0.6712, allocations: 4 kB / 0.6203 GB, free: 9.91 MB / 458.8 MB 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.05723/0.7284, allocations: 30.5 MB / 0.65 GB, free: 13.04 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/0.7285, allocations: 12.62 kB / 0.6501 GB, free: 13.02 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03725/0.7657, allocations: 6.922 MB / 0.6568 GB, free: 6.191 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.313/1.079, allocations: 14.39 MB / 0.6709 GB, free: 177.1 MB / 490.9 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001443/1.08, allocations: 1.532 MB / 0.6724 GB, free: 176.7 MB / 490.9 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005556/1.086, allocations: 2.08 MB / 0.6744 GB, free: 176.1 MB / 490.9 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06703/1.153, allocations: 27.27 MB / 0.701 GB, free: 160.7 MB / 490.9 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001391/1.154, allocations: 227 kB / 0.7012 GB, free: 160.6 MB / 490.9 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005836/1.16, allocations: 0.9184 MB / 0.7021 GB, free: 160 MB / 490.9 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005196/1.165, allocations: 6.227 MB / 0.7082 GB, free: 154.1 MB / 490.9 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03554/1.201, allocations: 11.59 MB / 0.7195 GB, free: 142.7 MB / 490.9 MB 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.4556/1.656, allocations: 205.4 MB / 0.9202 GB, free: 43.39 MB / 0.5107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03141/1.688, allocations: 18.88 MB / 0.9386 GB, free: 43.02 MB / 0.5107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00706/1.695, allocations: 3.176 MB / 0.9417 GB, free: 42.94 MB / 0.5107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001384/1.696, allocations: 0.8548 MB / 0.9425 GB, free: 42.9 MB / 0.5107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02814/1.724, allocations: 9.808 MB / 0.9521 GB, free: 42.53 MB / 0.5107 GB Notification: Performance of pre-optimization done (n=697): time 2.573e-05/1.724, allocations: 4 kB / 0.9521 GB, free: 42.52 MB / 0.5107 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:8115:5-8115:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 658] [Calling sys.exit(0), Time elapsed: 3.8767101792618632]