Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr DroneLibrary_DroneLibrary.Tests.controlModuleTest2.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.07399/0.07399, allocations: 9.131 MB / 28.22 MB, free: 1.109 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.001337/0.001337, allocations: 97.52 kB / 34.43 MB, free: 1.508 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.001852/0.001852, allocations: 164.7 kB / 40.72 MB, free: 1.754 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.9136/0.9136, allocations: 177.1 MB / 224.1 MB, free: 8.812 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.04498/0.04498, allocations: 10.58 MB / 294.1 MB, free: 6.031 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: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(DroneLibrary.Tests.controlModuleTest2,fileNamePrefix="DroneLibrary_DroneLibrary_Tests_controlModuleTest2",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(DroneLibrary.Tests.controlModuleTest2,fileNamePrefix="DroneLibrary_DroneLibrary_Tests_controlModuleTest2",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.255e-06/2.255e-06, allocations: 4 kB / 430.9 MB, free: 12.12 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.876e-05/2.101e-05, allocations: 6.219 kB / 430.9 MB, free: 12.11 MB / 330.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 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 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 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 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 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 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 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 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.controlModuleTest2): time 0.03284/0.03286, allocations: 50.67 MB / 481.6 MB, free: 9.227 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02967/0.06253, allocations: 15.89 MB / 497.5 MB, free: 9.289 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01186/0.07438, allocations: 0.5753 MB / 498 MB, free: 8.711 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.3857/0.4601, allocations: 31.66 MB / 0.5173 GB, free: 9.02 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01727/0.4773, allocations: 8.234 MB / 0.5253 GB, free: 8.246 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.009564/0.4869, allocations: 6.077 MB / 0.5312 GB, free: 8.137 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.03254/0.5194, allocations: 32.47 MB / 0.563 GB, free: 1.391 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.049/0.5684, allocations: 34 MB / 0.5962 GB, free: 2.645 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03784/0.6063, allocations: 20.65 MB / 0.6163 GB, free: 15.07 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02301/0.6293, allocations: 16.98 MB / 0.6329 GB, free: 15.45 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.01016/0.6394, allocations: 4.168 MB / 0.637 GB, free: 11.28 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01305/0.6525, allocations: 5.491 MB / 0.6423 GB, free: 5.891 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.02027/0.6728, allocations: 16.05 MB / 0.658 GB, free: 6.426 MB / 0.4949 GB Notification: Performance of NFVerifyModel.verify: time 0.02374/0.6965, allocations: 11.19 MB / 0.6689 GB, free: 11.74 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.4677/1.164, allocations: 60.41 MB / 0.7279 GB, free: 88.83 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/1.164, allocations: 0 / 0.7279 GB, free: 88.83 MB / 0.5419 GB Notification: Performance of FrontEnd: time 2.004e-06/1.164, allocations: 0 / 0.7279 GB, free: 88.83 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 0.001918/1.166, allocations: 1.625 kB / 0.7279 GB, free: 88.83 MB / 0.5419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7899 * Number of variables: 7899 Notification: Performance of Generate backend data structure: time 0.0968/1.263, allocations: 35.87 MB / 0.763 GB, free: 74.81 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 6.286e-05/1.263, allocations: 14.23 kB / 0.763 GB, free: 74.8 MB / 0.5419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.02005/1.283, allocations: 3.925 MB / 0.7668 GB, free: 73.84 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03209/1.315, allocations: 8.229 MB / 0.7748 GB, free: 70.31 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03904/1.354, allocations: 21.65 MB / 0.796 GB, free: 57.73 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001531/1.356, allocations: 1.788 MB / 0.7977 GB, free: 56.98 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01322/1.369, allocations: 2.447 MB / 0.8001 GB, free: 56.19 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1171/1.486, allocations: 56.58 MB / 0.8554 GB, free: 14.91 MB / 0.5575 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001747/1.488, allocations: 238.4 kB / 0.8556 GB, free: 14.74 MB / 0.5575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01346/1.501, allocations: 1.045 MB / 0.8566 GB, free: 13.78 MB / 0.5575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007444/1.509, allocations: 6.215 MB / 0.8627 GB, free: 7.637 MB / 0.5575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1028/1.611, allocations: 46.61 MB / 0.9082 GB, free: 9.617 MB / 0.6044 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.4999/2.111, allocations: 210.7 MB / 1.114 GB, free: 101.9 MB / 0.6356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04101/2.152, allocations: 27.34 MB / 1.141 GB, free: 74.56 MB / 0.6356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0151/2.167, allocations: 16.12 MB / 1.156 GB, free: 58.41 MB / 0.6356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001117/2.169, allocations: 0.5774 MB / 1.157 GB, free: 57.84 MB / 0.6356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03678/2.205, allocations: 21.24 MB / 1.178 GB, free: 36.52 MB / 0.6356 GB Notification: Performance of pre-optimization done (n=901): time 1.611e-05/2.205, allocations: 0 / 1.178 GB, free: 36.52 MB / 0.6356 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: droneChassis1.bodyCylinder.body.frame_a.r_0[1] = propellerRev.blades.bodyShape4.body.frame_a.r_0[1] + 0.25 * 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:7979:5-7979:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 657] [Calling sys.exit(0), Time elapsed: 4.754763435572386]