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.04227/0.04227, allocations: 9.138 MB / 29.24 MB, free: 0.9766 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.0013/0.0013, allocations: 91.19 kB / 35.46 MB, free: 1.336 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.001465/0.001465, allocations: 165.5 kB / 41.79 MB, free: 1.559 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.9236/0.9236, allocations: 177.1 MB / 225.2 MB, free: 8.707 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.03993/0.03993, allocations: 10.56 MB / 295.2 MB, free: 5.859 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.974e-06/1.974e-06, allocations: 0.75 kB / 372.3 MB, free: 65.12 MB / 330.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.396e-05/1.593e-05, allocations: 5.141 kB / 372.3 MB, free: 65.12 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.08636/0.08638, allocations: 56.62 MB / 428.9 MB, free: 14.35 MB / 330.8 MB Notification: Performance of NFInst.instExpressions: time 0.03343/0.1198, allocations: 17.39 MB / 446.3 MB, free: 13.04 MB / 346.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01361/0.1334, allocations: 0.5714 MB / 446.9 MB, free: 12.46 MB / 346.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0351/0.1685, allocations: 33.44 MB / 480.4 MB, free: 10.93 MB / 378.8 MB Notification: Performance of NFTyping.typeBindings: time 0.02398/0.1925, allocations: 8.432 MB / 488.8 MB, free: 2.453 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.01233/0.2048, allocations: 6.813 MB / 495.6 MB, free: 11.63 MB / 394.8 MB Notification: Performance of NFFlatten.flatten: time 0.237/0.4418, allocations: 34.21 MB / 0.5174 GB, free: 17.73 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05569/0.4975, allocations: 37.02 MB / 0.5535 GB, free: 14.97 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.04866/0.5462, allocations: 22.52 MB / 0.5755 GB, free: 4.387 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02789/0.574, allocations: 18.44 MB / 0.5935 GB, free: 0 / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 0.01425/0.5883, allocations: 5.002 MB / 0.5984 GB, free: 0 / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02004/0.6083, allocations: 6.47 MB / 0.6047 GB, free: 10.82 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 0.03137/0.6397, allocations: 17.02 MB / 0.6214 GB, free: 10.42 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 0.02869/0.6684, allocations: 12.12 MB / 0.6332 GB, free: 14.8 MB / 458.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0503/0.7187, allocations: 33.1 MB / 0.6655 GB, free: 15.47 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/0.7187, allocations: 4 kB / 0.6655 GB, free: 15.47 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.944e-06/0.7187, allocations: 0 / 0.6655 GB, free: 15.47 MB / 490.8 MB Notification: Performance of Transformations before backend: time 0.001558/0.7203, allocations: 0 / 0.6655 GB, free: 15.47 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.3791/1.099, allocations: 37.42 MB / 0.7021 GB, free: 191.5 MB / 0.495 GB Notification: Performance of prepare preOptimizeDAE: time 5.621e-05/1.099, allocations: 12.41 kB / 0.7021 GB, free: 191.5 MB / 0.495 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02988/1.129, allocations: 8.605 MB / 0.7105 GB, free: 188.6 MB / 0.495 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03562/1.165, allocations: 21.91 MB / 0.7319 GB, free: 177.1 MB / 0.495 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001361/1.166, allocations: 1.786 MB / 0.7336 GB, free: 175.4 MB / 0.495 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007603/1.174, allocations: 2.434 MB / 0.736 GB, free: 173 MB / 0.495 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08761/1.261, allocations: 32.43 MB / 0.7677 GB, free: 138.3 MB / 0.495 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001343/1.263, allocations: 214.4 kB / 0.7679 GB, free: 138.1 MB / 0.495 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007226/1.27, allocations: 1.047 MB / 0.7689 GB, free: 137.1 MB / 0.495 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006046/1.276, allocations: 6.599 MB / 0.7753 GB, free: 130.6 MB / 0.495 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05512/1.331, allocations: 17.25 MB / 0.7922 GB, free: 113.4 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.4293/1.76, allocations: 226.8 MB / 1.014 GB, free: 43.38 MB / 0.5106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04016/1.801, allocations: 22.02 MB / 1.035 GB, free: 42.64 MB / 0.5106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009237/1.81, allocations: 4.505 MB / 1.04 GB, free: 42.5 MB / 0.5106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001102/1.811, allocations: 0.614 MB / 1.04 GB, free: 42.47 MB / 0.5106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03513/1.846, allocations: 14.32 MB / 1.054 GB, free: 33.39 MB / 0.5106 GB Notification: Performance of pre-optimization done (n=901): time 1.706e-05/1.846, allocations: 4 kB / 1.054 GB, free: 33.39 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: 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:8020:5-8020:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 658] [Calling sys.exit(0), Time elapsed: 4.328550986945629]