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.04757/0.04757, allocations: 9.136 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.00107/0.00107, allocations: 86.53 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.001294/0.001294, allocations: 161 kB / 41.65 MB, free: 1.328 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 1.028/1.028, allocations: 177.1 MB / 225.1 MB, free: 5.547 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.05719/0.05719, 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.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.853e-06/1.853e-06, allocations: 0 / 372.9 MB, free: 43.79 MB / 314.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.899e-05/3.084e-05, allocations: 2.312 kB / 372.9 MB, free: 43.79 MB / 314.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.03487/0.0349, allocations: 52.02 MB / 424.9 MB, free: 7.578 MB / 330.8 MB Notification: Performance of NFInst.instExpressions: time 0.03897/0.07386, allocations: 16.21 MB / 441.1 MB, free: 7.402 MB / 346.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01208/0.08595, allocations: 0.5439 MB / 441.7 MB, free: 6.855 MB / 346.8 MB Notification: Performance of NFTyping.typeComponents: time 0.02894/0.1149, allocations: 26.11 MB / 467.8 MB, free: 12.67 MB / 378.8 MB Notification: Performance of NFTyping.typeBindings: time 0.02204/0.1369, allocations: 8.676 MB / 476.5 MB, free: 3.949 MB / 378.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.01465/0.1516, allocations: 6.394 MB / 482.9 MB, free: 13.55 MB / 394.8 MB Notification: Performance of NFFlatten.flatten: time 0.2497/0.4013, allocations: 33.73 MB / 0.5045 GB, free: 22.34 MB / 394.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05246/0.4538, allocations: 31.27 MB / 0.535 GB, free: 15.69 MB / 394.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.04161/0.4954, allocations: 20.45 MB / 0.555 GB, free: 5.898 MB / 394.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02604/0.5214, allocations: 16.74 MB / 0.5713 GB, free: 12.34 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 0.01417/0.5356, allocations: 4.016 MB / 0.5753 GB, free: 8.328 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01771/0.5533, allocations: 5.983 MB / 0.5811 GB, free: 2.469 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.02086/0.5742, allocations: 15.26 MB / 0.596 GB, free: 3.77 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0269/0.6011, allocations: 10.55 MB / 0.6063 GB, free: 9.68 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0489/0.65, allocations: 30.21 MB / 0.6358 GB, free: 13.22 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.07e-05/0.65, allocations: 0 / 0.6358 GB, free: 13.22 MB / 474.8 MB Notification: Performance of FrontEnd: time 2.214e-06/0.65, allocations: 0 / 0.6358 GB, free: 13.22 MB / 474.8 MB Notification: Performance of Transformations before backend: time 0.002345/0.6523, allocations: 3.938 kB / 0.6358 GB, free: 13.21 MB / 474.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.3666/1.019, allocations: 32.83 MB / 0.6679 GB, free: 174.2 MB / 490.9 MB Notification: Performance of prepare preOptimizeDAE: time 5.441e-05/1.019, allocations: 10.12 kB / 0.6679 GB, free: 174.2 MB / 490.9 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02505/1.044, allocations: 7.261 MB / 0.675 GB, free: 172.5 MB / 490.9 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03107/1.075, allocations: 18.13 MB / 0.6927 GB, free: 165.8 MB / 490.9 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001348/1.076, allocations: 1.598 MB / 0.6942 GB, free: 165.1 MB / 490.9 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007633/1.084, allocations: 2.17 MB / 0.6964 GB, free: 164.2 MB / 490.9 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06656/1.151, allocations: 28.34 MB / 0.724 GB, free: 134.9 MB / 490.9 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001154/1.152, allocations: 230.6 kB / 0.7243 GB, free: 134.7 MB / 490.9 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006342/1.158, allocations: 0.9567 MB / 0.7252 GB, free: 133.8 MB / 490.9 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00729/1.165, allocations: 6.89 MB / 0.7319 GB, free: 127 MB / 490.9 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0463/1.212, allocations: 12.12 MB / 0.7438 GB, free: 115 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.5255/1.737, allocations: 227 MB / 0.9654 GB, free: 43.48 MB / 0.5263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03825/1.775, allocations: 20.84 MB / 0.9858 GB, free: 42.95 MB / 0.5263 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007353/1.783, allocations: 3.371 MB / 0.9891 GB, free: 42.85 MB / 0.5263 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001863/1.785, allocations: 1.071 MB / 0.9901 GB, free: 42.8 MB / 0.5263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03009/1.815, allocations: 10.68 MB / 1.001 GB, free: 40.99 MB / 0.5263 GB Notification: Performance of pre-optimization done (n=784): time 1.738e-05/1.815, allocations: 0.7031 kB / 1.001 GB, free: 40.99 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:8115:5-8115:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 658] [Calling sys.exit(0), Time elapsed: 4.432705943938345]