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.04357/0.04357, allocations: 9.137 MB / 28.7 MB, free: 0.5312 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.001011/0.001011, allocations: 87.31 kB / 34.99 MB, free: 1.129 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.001225/0.001225, allocations: 163 kB / 41.38 MB, free: 1.469 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.9699/0.9699, allocations: 177.1 MB / 224.8 MB, free: 8.727 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.04344/0.04344, allocations: 10.57 MB / 294.9 MB, free: 5.781 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.793e-06/1.793e-06, allocations: 0.6562 kB / 372.4 MB, free: 64.93 MB / 330.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.267e-05/2.447e-05, allocations: 2.312 kB / 372.4 MB, free: 64.93 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.03644/0.03647, allocations: 60.59 MB / 433 MB, free: 9.973 MB / 330.8 MB Notification: Performance of NFInst.instExpressions: time 0.0257/0.06217, allocations: 13.93 MB / 447 MB, free: 12.11 MB / 346.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01087/0.07304, allocations: 0.4935 MB / 447.5 MB, free: 11.62 MB / 346.8 MB Notification: Performance of NFTyping.typeComponents: time 0.02808/0.1011, allocations: 25.69 MB / 473.1 MB, free: 1.859 MB / 362.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01871/0.1198, allocations: 7.793 MB / 480.9 MB, free: 10.03 MB / 378.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.009989/0.1298, allocations: 5.388 MB / 486.3 MB, free: 4.633 MB / 378.8 MB Notification: Performance of NFFlatten.flatten: time 0.06961/0.1994, allocations: 30.5 MB / 0.5047 GB, free: 6.141 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2241/0.4236, allocations: 28.74 MB / 0.5328 GB, free: 17.05 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.04186/0.4654, allocations: 17.46 MB / 0.5498 GB, free: 17.05 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02868/0.4941, allocations: 15.92 MB / 0.5654 GB, free: 14.8 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 0.01394/0.508, allocations: 3.157 MB / 0.5685 GB, free: 14.8 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01728/0.5253, allocations: 4.461 MB / 0.5728 GB, free: 14.63 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.02206/0.5474, allocations: 14.04 MB / 0.5865 GB, free: 8.449 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.02273/0.5701, allocations: 9.371 MB / 0.5957 GB, free: 2.906 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.04621/0.6163, allocations: 26.61 MB / 0.6217 GB, free: 9.953 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.6163, allocations: 0 / 0.6217 GB, free: 9.953 MB / 442.8 MB Notification: Performance of FrontEnd: time 2.184e-06/0.6163, allocations: 0 / 0.6217 GB, free: 9.953 MB / 442.8 MB Notification: Performance of Transformations before backend: time 0.001402/0.6177, allocations: 3.938 kB / 0.6217 GB, free: 9.949 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.06234/0.6801, allocations: 32.22 MB / 0.6531 GB, free: 9.848 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.051e-05/0.6801, allocations: 12.62 kB / 0.6532 GB, free: 9.836 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02323/0.7034, allocations: 8.043 MB / 0.661 GB, free: 1.879 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.028/0.7314, allocations: 15.63 MB / 0.6763 GB, free: 2.973 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001369/0.7327, allocations: 1.532 MB / 0.6778 GB, free: 1.543 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006866/0.7396, allocations: 2.073 MB / 0.6798 GB, free: 15.57 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3731/1.113, allocations: 30.98 MB / 0.71 GB, free: 169.7 MB / 0.495 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001309/1.114, allocations: 228.6 kB / 0.7103 GB, free: 169.7 MB / 0.495 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006556/1.121, allocations: 0.9181 MB / 0.7112 GB, free: 169.7 MB / 0.495 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.009467/1.13, allocations: 6.916 MB / 0.7179 GB, free: 169.6 MB / 0.495 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05203/1.182, allocations: 15.86 MB / 0.7334 GB, free: 166.1 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.4413/1.623, allocations: 212.5 MB / 0.9409 GB, free: 44.09 MB / 0.5106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04478/1.668, allocations: 18.97 MB / 0.9594 GB, free: 43.65 MB / 0.5106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009135/1.677, allocations: 4.193 MB / 0.9635 GB, free: 43.56 MB / 0.5106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001175/1.678, allocations: 0.7848 MB / 0.9643 GB, free: 43.54 MB / 0.5106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03191/1.71, allocations: 13.34 MB / 0.9773 GB, free: 43.13 MB / 0.5106 GB Notification: Performance of pre-optimization done (n=751): time 1.749e-05/1.71, allocations: 4 kB / 0.9773 GB, free: 43.12 MB / 0.5106 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.073706849012524]