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.03687/0.03687, allocations: 9.126 MB / 29.71 MB, free: 0.8672 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.0007806/0.0007806, allocations: 86.83 kB / 36.03 MB, free: 1.137 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.0008619/0.0008619, allocations: 161.6 kB / 42.45 MB, free: 1.324 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.8437/0.8437, 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.03981/0.03981, allocations: 10.57 MB / 296.1 MB, free: 5.605 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.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.313e-06/1.313e-06, allocations: 0.7031 kB / 373.7 MB, free: 64.68 MB / 330.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.237e-06/1.055e-05, allocations: 3.297 kB / 373.7 MB, free: 64.68 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_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.02746/0.02747, allocations: 54.81 MB / 428.5 MB, free: 15.4 MB / 330.8 MB Notification: Performance of NFInst.instExpressions: time 0.02305/0.05052, allocations: 17.37 MB / 445.9 MB, free: 14.11 MB / 346.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006399/0.05692, allocations: 0.5714 MB / 446.4 MB, free: 13.53 MB / 346.8 MB Notification: Performance of NFTyping.typeComponents: time 0.02575/0.08267, allocations: 32.89 MB / 479.3 MB, free: 12.55 MB / 378.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01068/0.09335, allocations: 8.443 MB / 487.8 MB, free: 4.062 MB / 378.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.006794/0.1001, allocations: 6.81 MB / 494.6 MB, free: 13.25 MB / 394.8 MB Notification: Performance of NFFlatten.flatten: time 0.16/0.2602, allocations: 34.24 MB / 0.5164 GB, free: 17.97 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03269/0.2929, allocations: 37.02 MB / 0.5526 GB, free: 16.21 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02481/0.3177, allocations: 23.16 MB / 0.5752 GB, free: 5.449 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01729/0.335, allocations: 18.4 MB / 0.5932 GB, free: 1.18 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 0.006842/0.3418, allocations: 4.995 MB / 0.598 GB, free: 1.059 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01002/0.3518, allocations: 6.54 MB / 0.6044 GB, free: 10.97 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 0.01349/0.3653, allocations: 17 MB / 0.621 GB, free: 10.6 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 0.01459/0.3799, allocations: 12.11 MB / 0.6328 GB, free: 15 MB / 458.8 MB Notification: Performance of NFConvertDAE.convert: time 0.02916/0.4091, allocations: 33.09 MB / 0.6652 GB, free: 15.67 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.4091, allocations: 0 / 0.6652 GB, free: 15.67 MB / 490.8 MB Notification: Performance of FrontEnd: time 9.32e-07/0.4091, allocations: 0 / 0.6652 GB, free: 15.67 MB / 490.8 MB Notification: Performance of Transformations before backend: time 0.0009058/0.41, allocations: 0 / 0.6652 GB, free: 15.67 MB / 490.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.2576/0.6675, allocations: 35.49 MB / 0.6998 GB, free: 185.4 MB / 0.495 GB Notification: Performance of prepare preOptimizeDAE: time 3.278e-05/0.6676, allocations: 10.41 kB / 0.6998 GB, free: 185.4 MB / 0.495 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01354/0.6811, allocations: 7.508 MB / 0.7072 GB, free: 183.7 MB / 0.495 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02067/0.7018, allocations: 20.45 MB / 0.7271 GB, free: 175.3 MB / 0.495 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007072/0.7025, allocations: 1.79 MB / 0.7289 GB, free: 174.5 MB / 0.495 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002707/0.7052, allocations: 2.43 MB / 0.7312 GB, free: 173.5 MB / 0.495 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03191/0.7371, allocations: 28.5 MB / 0.7591 GB, free: 145.2 MB / 0.495 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005213/0.7376, allocations: 216.3 kB / 0.7593 GB, free: 145 MB / 0.495 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001605/0.7392, allocations: 1.049 MB / 0.7603 GB, free: 144.1 MB / 0.495 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00352/0.7427, allocations: 5.89 MB / 0.7661 GB, free: 138.2 MB / 0.495 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02274/0.7655, allocations: 12.68 MB / 0.7784 GB, free: 125.7 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.2955/1.061, allocations: 221.4 MB / 0.9947 GB, free: 55.83 MB / 0.5263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03197/1.093, allocations: 21.52 MB / 1.016 GB, free: 55.17 MB / 0.5263 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004572/1.097, allocations: 3.427 MB / 1.019 GB, free: 55.04 MB / 0.5263 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000897/1.098, allocations: 0.8073 MB / 1.02 GB, free: 55 MB / 0.5263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02429/1.123, allocations: 10.93 MB / 1.031 GB, free: 52.76 MB / 0.5263 GB Notification: Performance of pre-optimization done (n=847): time 1.213e-05/1.123, allocations: 0 / 1.031 GB, free: 52.76 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_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: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 659] [Calling sys.exit(0), Time elapsed: 3.1243871483020484]