Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr DroneLibrary_DroneLibrary.Tests.controlModuleTest_fmu_main.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.04872/0.04872, allocations: 9.136 MB / 19.04 MB, free: 0.6602 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.006586/0.05531, allocations: 3.421 MB / 22.46 MB, free: 3.73 MB / 24.77 MB " [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.0005959/0.0005959, allocations: 87.23 kB / 23.3 MB, free: 2.898 MB / 24.77 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001024/0.00162, allocations: 446.9 kB / 23.74 MB, free: 2.465 MB / 24.77 MB " [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.001095/0.001095, allocations: 152.8 kB / 24.64 MB, free: 1.562 MB / 24.77 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001544/0.002639, allocations: 483.2 kB / 25.12 MB, free: 1.09 MB / 24.77 MB " [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.8376/0.8376, allocations: 177.2 MB / 203 MB, free: 8.266 MB / 202.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1314/0.969, allocations: 53.67 MB / 256.7 MB, free: 5.32 MB / 250.7 MB " [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.03889/0.03889, allocations: 10.58 MB / 268 MB, free: 10.32 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.007798/0.04669, allocations: 3.71 MB / 271.7 MB, free: 6.59 MB / 266.7 MB " [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.Tests.controlModuleTest_fmu_main,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Tests.controlModuleTest_fmu_main") translateModel(DroneLibrary.Tests.controlModuleTest_fmu_main,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Tests.controlModuleTest_fmu_main") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 273 MB, free: 5.309 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.148e-05/2.296e-05, allocations: 5.969 kB / 273 MB, free: 5.305 MB / 266.7 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_inputs2_1.propellerRev.blades.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_inputs2_1.propellerRev.blades.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_inputs2_1.propellerRev1.blades.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_inputs2_1.propellerRev1.blades.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_inputs2_1.propellerRev2.blades.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_inputs2_1.propellerRev2.blades.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_inputs2_1.propellerRev3.blades.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_inputs2_1.propellerRev3.blades.bodyShape4.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.Tests.controlModuleTest_fmu_main): time 0.04029/0.04031, allocations: 55.29 MB / 328.3 MB, free: 13.79 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.2521/0.2925, allocations: 18.36 MB / 346.7 MB, free: 1.801 MB / 330.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009631/0.3021, allocations: 0.5695 MB / 347.3 MB, free: 1.801 MB / 330.8 MB Notification: Performance of NFTyping.typeComponents: time 0.03055/0.3326, allocations: 31.24 MB / 378.5 MB, free: 15.64 MB / 346.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01853/0.3512, allocations: 8.431 MB / 386.9 MB, free: 11.04 MB / 346.8 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initializeImpureRandom' contains a call to impure function 'Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState'. Notification: Performance of NFTyping.typeClassSections: time 0.01173/0.3629, allocations: 6.495 MB / 393.4 MB, free: 6.078 MB / 346.8 MB Notification: Performance of NFFlatten.flatten: time 0.03258/0.3955, allocations: 33.1 MB / 426.5 MB, free: 6.855 MB / 378.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03741/0.4329, allocations: 34.74 MB / 461.3 MB, free: 5.262 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03321/0.4661, allocations: 23.59 MB / 484.8 MB, free: 14.7 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02074/0.4868, allocations: 17.68 MB / 0.4907 GB, free: 14.21 MB / 458.8 MB Notification: Performance of NFPackage.collectConstants: time 0.00947/0.4963, allocations: 4.992 MB / 0.4956 GB, free: 9.223 MB / 458.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01269/0.509, allocations: 6.514 MB / 0.502 GB, free: 2.82 MB / 458.8 MB Notification: Performance of NFScalarize.scalarize: time 0.1736/0.6826, allocations: 15.2 MB / 0.5168 GB, free: 74.5 MB / 458.8 MB Notification: Performance of NFVerifyModel.verify: time 0.02513/0.7077, allocations: 10.11 MB / 0.5267 GB, free: 74.5 MB / 458.8 MB Notification: Performance of NFConvertDAE.convert: time 0.03956/0.7473, allocations: 31.11 MB / 0.5571 GB, free: 71.94 MB / 458.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.265e-05/0.7473, allocations: 0 / 0.5571 GB, free: 71.94 MB / 458.8 MB Notification: Performance of FrontEnd: time 1.763e-06/0.7473, allocations: 0 / 0.5571 GB, free: 71.94 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.001504/0.7488, allocations: 0 / 0.5571 GB, free: 71.94 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: 7898 * Number of variables: 7898 Notification: Performance of Generate backend data structure: time 0.07281/0.8216, allocations: 38.7 MB / 0.5949 GB, free: 46 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.8217, allocations: 15.36 kB / 0.5949 GB, free: 45.99 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02093/0.8426, allocations: 5.232 MB / 0.6 GB, free: 41.96 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02605/0.8686, allocations: 16.46 MB / 0.6161 GB, free: 27.15 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00111/0.8698, allocations: 1.791 MB / 0.6178 GB, free: 25.44 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008819/0.8786, allocations: 2.429 MB / 0.6202 GB, free: 23.11 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06793/0.9465, allocations: 26.57 MB / 0.6461 GB, free: 12 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001148/0.9476, allocations: 214.7 kB / 0.6463 GB, free: 11.88 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007678/0.9553, allocations: 1.043 MB / 0.6474 GB, free: 10.92 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005362/0.9607, allocations: 5.693 MB / 0.6529 GB, free: 5.27 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03768/0.9984, allocations: 12.59 MB / 0.6652 GB, free: 9.434 MB / 490.8 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.3467/1.345, allocations: 162.9 MB / 0.8243 GB, free: 16.8 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03039/1.375, allocations: 20.54 MB / 0.8444 GB, free: 7.184 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006406/1.382, allocations: 2.776 MB / 0.8471 GB, free: 4.414 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001043/1.383, allocations: 0.8116 MB / 0.8479 GB, free: 3.621 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02691/1.41, allocations: 9.954 MB / 0.8576 GB, free: 10.1 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=847): time 1.621e-05/1.41, allocations: 0 / 0.8576 GB, free: 10.1 MB / 0.5105 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:577:7-577:48:writable] Error: Internal error BackendDAETransform.analyseStrongComponentBlock failed variables: equations: controlModuleTest_fmu_inputs2_1.droneChassis1.bodyCylinder.body.frame_a.r_0[1] = controlModuleTest_fmu_inputs2_1.propellerRev.blades.bodyShape4.body.frame_a.r_0[1] + 0.25 * controlModuleTest_fmu_inputs2_1.accelerometer.relativeAngles.R_rel.T[2,1] [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:581:7-581:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:432:5-432:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:117:7-117:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:8414:5-8414:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 658] [Calling sys.exit(0), Time elapsed: 3.16278572473675]