Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr DroneLibrary_DroneLibrary.Examples.Visualize.ModuleTest_Dymola.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.03858/0.03858, allocations: 9.125 MB / 29.71 MB, free: 384 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.0008476/0.0008476, allocations: 91.16 kB / 36.03 MB, free: 0.9844 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.00125/0.00125, allocations: 167.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.8532/0.8532, allocations: 177.1 MB / 225.9 MB, free: 8.586 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.03824/0.03824, allocations: 10.58 MB / 296.1 MB, free: 5.59 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.Visualize.ModuleTest_Dymola,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Examples.Visualize.ModuleTest_Dymola") translateModel(DroneLibrary.Examples.Visualize.ModuleTest_Dymola,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Examples.Visualize.ModuleTest_Dymola") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0.75 kB / 373.7 MB, free: 64.45 MB / 330.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.146e-05/1.281e-05, allocations: 3.297 kB / 373.7 MB, free: 64.44 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 controlModuleTest_fmu_inputs1.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 controlModuleTest_fmu_inputs1.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 controlModuleTest_fmu_inputs1.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 controlModuleTest_fmu_inputs1.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 controlModuleTest_fmu_inputs1.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 controlModuleTest_fmu_inputs1.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 controlModuleTest_fmu_inputs1.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 controlModuleTest_fmu_inputs1.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.Visualize.ModuleTest_Dymola): time 0.0342/0.03421, allocations: 52.02 MB / 425.7 MB, free: 18.02 MB / 330.8 MB Notification: Performance of NFInst.instExpressions: time 0.02874/0.06295, allocations: 16.2 MB / 441.9 MB, free: 1.895 MB / 330.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01229/0.07524, allocations: 0.5517 MB / 442.5 MB, free: 1.34 MB / 330.8 MB Notification: Performance of NFTyping.typeComponents: time 0.02575/0.101, allocations: 26.1 MB / 468.6 MB, free: 7.164 MB / 362.8 MB Notification: Performance of NFTyping.typeBindings: time 0.02016/0.1211, allocations: 8.676 MB / 477.2 MB, free: 14.45 MB / 378.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.01019/0.1313, allocations: 6.394 MB / 483.6 MB, free: 8.043 MB / 378.8 MB Notification: Performance of NFFlatten.flatten: time 0.03577/0.1671, allocations: 33.74 MB / 0.5053 GB, free: 6.305 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2072/0.3743, allocations: 31.26 MB / 0.5358 GB, free: 18.65 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03547/0.4098, allocations: 20.46 MB / 0.5558 GB, free: 17.87 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02456/0.4343, allocations: 16.75 MB / 0.5721 GB, free: 14.9 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 0.007106/0.4414, allocations: 4.013 MB / 0.576 GB, free: 14.9 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008555/0.45, allocations: 5.992 MB / 0.5819 GB, free: 14.49 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.01262/0.4626, allocations: 15.26 MB / 0.5968 GB, free: 4.707 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.01856/0.4812, allocations: 10.55 MB / 0.6071 GB, free: 10.63 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.04193/0.5231, allocations: 30.21 MB / 0.6366 GB, free: 14.18 MB / 458.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.5231, allocations: 0 / 0.6366 GB, free: 14.18 MB / 458.8 MB Notification: Performance of FrontEnd: time 1.322e-06/0.5231, allocations: 4 kB / 0.6366 GB, free: 14.17 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.001147/0.5243, allocations: 0 / 0.6366 GB, free: 14.17 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: 7666 * Number of variables: 7666 Notification: Performance of Generate backend data structure: time 0.05241/0.5767, allocations: 32.84 MB / 0.6687 GB, free: 14.98 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.085e-05/0.5767, allocations: 8.625 kB / 0.6687 GB, free: 14.97 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01501/0.5917, allocations: 7.259 MB / 0.6758 GB, free: 7.809 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02058/0.6123, allocations: 18.12 MB / 0.6935 GB, free: 6.461 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009725/0.6133, allocations: 1.601 MB / 0.695 GB, free: 4.969 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002636/0.6159, allocations: 2.171 MB / 0.6971 GB, free: 2.922 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3124/0.9283, allocations: 28.34 MB / 0.7248 GB, free: 169.8 MB / 0.495 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007464/0.9291, allocations: 228.6 kB / 0.725 GB, free: 169.8 MB / 0.495 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001775/0.9308, allocations: 0.958 MB / 0.726 GB, free: 169.8 MB / 0.495 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005185/0.936, allocations: 6.896 MB / 0.7327 GB, free: 169.6 MB / 0.495 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02987/0.9659, allocations: 12.11 MB / 0.7445 GB, free: 164 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.3981/1.364, allocations: 227 MB / 0.9662 GB, free: 44.96 MB / 0.5263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03451/1.399, allocations: 20.84 MB / 0.9865 GB, free: 44.43 MB / 0.5263 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006861/1.405, allocations: 3.365 MB / 0.9898 GB, free: 44.34 MB / 0.5263 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001452/1.407, allocations: 1.054 MB / 0.9909 GB, free: 44.3 MB / 0.5263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02703/1.434, allocations: 10.68 MB / 1.001 GB, free: 43.73 MB / 0.5263 GB Notification: Performance of pre-optimization done (n=784): time 1.42e-05/1.434, allocations: 0 / 1.001 GB, free: 43.73 MB / 0.5263 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: controlModuleTest_fmu_inputs1.droneChassis1.bodyCylinder.body.frame_a.r_0[1] = controlModuleTest_fmu_inputs1.propellerRev.bodyShape5.body.frame_a.r_0[1] + 0.25 * controlModuleTest_fmu_inputs1.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.455147644970566]