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.04213/0.04213, allocations: 9.138 MB / 29.24 MB, free: 0.9883 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.0008487/0.0008487, allocations: 87.33 kB / 35.46 MB, free: 1.352 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.001105/0.001105, allocations: 165.5 kB / 41.79 MB, free: 1.562 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.9855/0.9855, allocations: 177.1 MB / 225.1 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 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.03979/0.03979, allocations: 10.57 MB / 295.2 MB, free: 5.844 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.773e-06/1.773e-06, allocations: 0 / 372.4 MB, free: 64.91 MB / 330.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.859e-05/3.037e-05, allocations: 3.531 kB / 372.4 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 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.03715/0.03718, allocations: 60.35 MB / 432.7 MB, free: 10.41 MB / 330.8 MB Notification: Performance of NFInst.instExpressions: time 0.029/0.06618, allocations: 13.92 MB / 446.6 MB, free: 12.57 MB / 346.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01288/0.07906, allocations: 0.4974 MB / 447.1 MB, free: 12.07 MB / 346.8 MB Notification: Performance of NFTyping.typeComponents: time 0.02825/0.1073, allocations: 25.61 MB / 472.7 MB, free: 2.383 MB / 362.8 MB Notification: Performance of NFTyping.typeBindings: time 0.021/0.1283, allocations: 7.796 MB / 480.5 MB, free: 10.55 MB / 378.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.01131/0.1396, allocations: 5.388 MB / 485.9 MB, free: 5.152 MB / 378.8 MB Notification: Performance of NFFlatten.flatten: time 0.03695/0.1766, allocations: 30.51 MB / 0.5043 GB, free: 6.66 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2523/0.4288, allocations: 28.74 MB / 0.5324 GB, free: 16.97 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03748/0.4663, allocations: 17.45 MB / 0.5494 GB, free: 16.97 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02585/0.4922, allocations: 15.93 MB / 0.565 GB, free: 14.88 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 0.01049/0.5027, allocations: 3.161 MB / 0.5681 GB, free: 14.88 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01303/0.5157, allocations: 4.458 MB / 0.5724 GB, free: 14.7 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.01871/0.5344, allocations: 14.04 MB / 0.5861 GB, free: 8.77 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.02037/0.5548, allocations: 9.37 MB / 0.5953 GB, free: 3 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.04904/0.6038, allocations: 26.6 MB / 0.6213 GB, free: 10.06 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.6038, allocations: 3.984 kB / 0.6213 GB, free: 10.05 MB / 442.8 MB Notification: Performance of FrontEnd: time 1.502e-06/0.6038, allocations: 0 / 0.6213 GB, free: 10.05 MB / 442.8 MB Notification: Performance of Transformations before backend: time 0.001255/0.6051, allocations: 4 kB / 0.6213 GB, free: 10.05 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.06653/0.6716, allocations: 32.23 MB / 0.6528 GB, free: 9.949 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.903e-05/0.6717, allocations: 12.62 kB / 0.6528 GB, free: 9.938 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02537/0.697, allocations: 8.041 MB / 0.6606 GB, free: 1.98 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03176/0.7288, allocations: 15.63 MB / 0.6759 GB, free: 3.078 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001541/0.7303, allocations: 1.529 MB / 0.6774 GB, free: 1.652 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006866/0.7372, allocations: 2.083 MB / 0.6794 GB, free: 15.68 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.373/1.11, allocations: 30.98 MB / 0.7097 GB, free: 176.5 MB / 0.495 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001457/1.112, allocations: 220.8 kB / 0.7099 GB, free: 176.4 MB / 0.495 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005928/1.118, allocations: 0.9173 MB / 0.7108 GB, free: 176.4 MB / 0.495 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008707/1.126, allocations: 6.914 MB / 0.7175 GB, free: 175.6 MB / 0.495 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0518/1.178, allocations: 15.85 MB / 0.733 GB, free: 170.6 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.4558/1.634, allocations: 212.4 MB / 0.9405 GB, free: 34.05 MB / 0.495 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04706/1.681, allocations: 18.99 MB / 0.959 GB, free: 33.61 MB / 0.495 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009363/1.69, allocations: 4.19 MB / 0.9631 GB, free: 33.53 MB / 0.495 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001245/1.692, allocations: 0.779 MB / 0.9639 GB, free: 33.5 MB / 0.495 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03283/1.724, allocations: 13.34 MB / 0.9769 GB, free: 32.91 MB / 0.495 GB Notification: Performance of pre-optimization done (n=751): time 2.079e-05/1.724, allocations: 0 / 0.9769 GB, free: 32.91 MB / 0.495 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:8020:5-8020:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 658] [Calling sys.exit(0), Time elapsed: 4.124962056986988]