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.03881/0.03881, allocations: 9.133 MB / 29.71 MB, free: 356 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.001342/0.001342, allocations: 90.72 kB / 36.03 MB, free: 0.9727 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.001744/0.001744, allocations: 165.1 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.9111/0.9111, allocations: 177.1 MB / 225.9 MB, free: 8.594 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.03902/0.03902, allocations: 10.58 MB / 296.1 MB, free: 5.594 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.362e-06/1.362e-06, allocations: 5.031 kB / 373.7 MB, free: 64.4 MB / 330.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.388e-05/2.524e-05, allocations: 6.094 kB / 373.7 MB, free: 64.39 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.03235/0.03238, allocations: 58.58 MB / 432.3 MB, free: 11.41 MB / 330.8 MB Notification: Performance of NFInst.instExpressions: time 0.0247/0.05708, allocations: 13.89 MB / 446.2 MB, free: 13.59 MB / 346.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01133/0.06841, allocations: 0.4974 MB / 446.7 MB, free: 13.09 MB / 346.8 MB Notification: Performance of NFTyping.typeComponents: time 0.02486/0.09327, allocations: 25.23 MB / 471.9 MB, free: 3.793 MB / 362.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01572/0.109, allocations: 7.824 MB / 479.7 MB, free: 11.93 MB / 378.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.008382/0.1174, allocations: 5.38 MB / 485.1 MB, free: 6.539 MB / 378.8 MB Notification: Performance of NFFlatten.flatten: time 0.02919/0.1466, allocations: 30.52 MB / 0.5036 GB, free: 8.035 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2079/0.3544, allocations: 28.74 MB / 0.5316 GB, free: 17.3 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02675/0.3812, allocations: 18.13 MB / 0.5493 GB, free: 17.3 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02178/0.403, allocations: 15.86 MB / 0.5648 GB, free: 15.53 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 0.009235/0.4122, allocations: 3.149 MB / 0.5679 GB, free: 15.53 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01247/0.4247, allocations: 4.464 MB / 0.5722 GB, free: 15.36 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.01677/0.4414, allocations: 14.02 MB / 0.5859 GB, free: 9.754 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.01598/0.4574, allocations: 9.352 MB / 0.5951 GB, free: 2.535 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.02886/0.4863, allocations: 26.58 MB / 0.621 GB, free: 9.605 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.4863, allocations: 0 / 0.621 GB, free: 9.605 MB / 442.8 MB Notification: Performance of FrontEnd: time 1.673e-06/0.4863, allocations: 0 / 0.621 GB, free: 9.605 MB / 442.8 MB Notification: Performance of Transformations before backend: time 0.001224/0.4875, allocations: 0 / 0.621 GB, free: 9.605 MB / 442.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.04047/0.528, allocations: 30.5 MB / 0.6508 GB, free: 12.71 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.528, allocations: 8.625 kB / 0.6508 GB, free: 12.7 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01321/0.5412, allocations: 6.927 MB / 0.6576 GB, free: 5.867 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01633/0.5576, allocations: 14.4 MB / 0.6717 GB, free: 8.199 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009275/0.5585, allocations: 1.532 MB / 0.6732 GB, free: 6.77 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002518/0.561, allocations: 2.078 MB / 0.6752 GB, free: 4.812 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3375/0.8986, allocations: 27.27 MB / 0.7018 GB, free: 93.64 MB / 0.495 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007068/0.8993, allocations: 221.1 kB / 0.702 GB, free: 93.64 MB / 0.495 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0017/0.901, allocations: 0.9196 MB / 0.7029 GB, free: 93.64 MB / 0.495 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00433/0.9053, allocations: 6.221 MB / 0.709 GB, free: 93.61 MB / 0.495 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0356/0.9409, allocations: 11.59 MB / 0.7203 GB, free: 93.18 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.4177/1.359, allocations: 205.4 MB / 0.9209 GB, free: 37.55 MB / 0.5575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03104/1.39, allocations: 18.88 MB / 0.9394 GB, free: 37.18 MB / 0.5575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005659/1.395, allocations: 3.179 MB / 0.9425 GB, free: 37.09 MB / 0.5575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001046/1.396, allocations: 0.8366 MB / 0.9433 GB, free: 37.06 MB / 0.5575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02271/1.419, allocations: 9.798 MB / 0.9529 GB, free: 36.66 MB / 0.5575 GB Notification: Performance of pre-optimization done (n=697): time 1.128e-05/1.419, allocations: 0 / 0.9529 GB, free: 36.66 MB / 0.5575 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:8083:5-8083:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 658] [Calling sys.exit(0), Time elapsed: 3.4461207198910415]