Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr DroneLibrary_DroneLibrary.Tests.controlModuleTest.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.04097/0.04097, allocations: 9.126 MB / 18.91 MB, free: 0.7305 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.005192/0.04616, allocations: 3.421 MB / 22.33 MB, free: 3.805 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.0006003/0.0006003, allocations: 87.56 kB / 23.16 MB, free: 2.98 MB / 24.77 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009477/0.001548, allocations: 442.9 kB / 23.59 MB, free: 2.547 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.0007014/0.0007014, allocations: 164.8 kB / 24.48 MB, free: 1.668 MB / 24.77 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008956/0.001597, allocations: 470.8 kB / 24.94 MB, free: 1.207 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.8809/0.8809, allocations: 177.1 MB / 202.8 MB, free: 8.367 MB / 202.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1523/1.033, allocations: 53.66 MB / 256.5 MB, free: 5.395 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.04023/0.04023, allocations: 10.57 MB / 267.8 MB, free: 10.41 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.006357/0.04659, allocations: 3.713 MB / 271.5 MB, free: 6.691 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: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(DroneLibrary.Tests.controlModuleTest,fileNamePrefix="DroneLibrary_DroneLibrary_Tests_controlModuleTest",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) "" <> buildModelFMU(DroneLibrary.Tests.controlModuleTest,fileNamePrefix="DroneLibrary_DroneLibrary_Tests_controlModuleTest",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 272.7 MB, free: 5.469 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.415e-05/1.557e-05, allocations: 2.312 kB / 272.7 MB, free: 5.465 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 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 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. [/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. Notification: Performance of NFInst.instantiate(DroneLibrary.Tests.controlModuleTest): time 0.03874/0.03875, allocations: 55.17 MB / 327.9 MB, free: 14.07 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.2562/0.295, allocations: 16.82 MB / 344.7 MB, free: 1.781 MB / 330.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01012/0.3051, allocations: 0.5732 MB / 345.3 MB, free: 1.781 MB / 330.8 MB Notification: Performance of NFTyping.typeComponents: time 0.02892/0.334, allocations: 30.88 MB / 376.2 MB, free: 15.77 MB / 346.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01633/0.3504, allocations: 8.223 MB / 384.4 MB, free: 12.38 MB / 346.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.008898/0.3593, allocations: 5.834 MB / 390.2 MB, free: 8.34 MB / 346.8 MB Notification: Performance of NFFlatten.flatten: time 0.03151/0.3908, allocations: 31.34 MB / 421.6 MB, free: 10.87 MB / 378.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.043/0.4338, allocations: 32.62 MB / 454.2 MB, free: 11.37 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03288/0.4666, allocations: 21.83 MB / 476 MB, free: 6.547 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0215/0.4881, allocations: 17.26 MB / 493.3 MB, free: 6.469 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 0.008763/0.4969, allocations: 4.16 MB / 497.4 MB, free: 2.309 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01227/0.5092, allocations: 5.513 MB / 0.4912 GB, free: 12.89 MB / 458.8 MB Notification: Performance of NFScalarize.scalarize: time 0.3164/0.8256, allocations: 14.36 MB / 0.5052 GB, free: 69.94 MB / 458.9 MB Notification: Performance of NFVerifyModel.verify: time 0.02419/0.8498, allocations: 9.205 MB / 0.5142 GB, free: 69.94 MB / 458.9 MB Notification: Performance of NFConvertDAE.convert: time 0.03769/0.8874, allocations: 28.77 MB / 0.5423 GB, free: 67.95 MB / 458.9 MB Notification: Performance of FrontEnd - DAE generated: time 1.647e-05/0.8875, allocations: 3.281 kB / 0.5423 GB, free: 67.95 MB / 458.9 MB Notification: Performance of FrontEnd: time 1.513e-06/0.8875, allocations: 0 / 0.5423 GB, free: 67.95 MB / 458.9 MB Notification: Performance of Transformations before backend: time 0.001316/0.8888, allocations: 0.625 kB / 0.5423 GB, free: 67.95 MB / 458.9 MB 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.05733/0.9461, allocations: 32.68 MB / 0.5742 GB, free: 56 MB / 458.9 MB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.9461, allocations: 7.75 kB / 0.5742 GB, free: 56 MB / 458.9 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01026/0.9564, allocations: 3.856 MB / 0.578 GB, free: 55.76 MB / 458.9 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01832/0.9747, allocations: 5.143 MB / 0.583 GB, free: 55.13 MB / 458.9 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02207/0.9968, allocations: 15.02 MB / 0.5977 GB, free: 44.11 MB / 458.9 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001445/0.9982, allocations: 1.792 MB / 0.5994 GB, free: 42.4 MB / 458.9 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007111/1.005, allocations: 2.433 MB / 0.6018 GB, free: 40.07 MB / 458.9 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06393/1.069, allocations: 26.58 MB / 0.6277 GB, free: 12.95 MB / 458.9 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001182/1.07, allocations: 217.8 kB / 0.628 GB, free: 12.82 MB / 458.9 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005816/1.076, allocations: 1.042 MB / 0.629 GB, free: 11.86 MB / 458.9 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005138/1.081, allocations: 5.533 MB / 0.6344 GB, free: 6.395 MB / 458.9 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03409/1.116, allocations: 12.53 MB / 0.6466 GB, free: 10.61 MB / 474.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.3442/1.46, allocations: 154.6 MB / 0.7976 GB, free: 47.32 MB / 0.5106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03164/1.491, allocations: 20.48 MB / 0.8176 GB, free: 45.18 MB / 0.5106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00779/1.499, allocations: 2.779 MB / 0.8203 GB, free: 44.93 MB / 0.5106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001288/1.5, allocations: 0.8065 MB / 0.8211 GB, free: 44.8 MB / 0.5106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02819/1.529, allocations: 9.928 MB / 0.8308 GB, free: 36 MB / 0.5106 GB Notification: Performance of pre-optimization done (n=847): time 1.847e-05/1.529, allocations: 0.6562 kB / 0.8308 GB, free: 36 MB / 0.5106 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: 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: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:8304:5-8304:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 658] [Calling sys.exit(0), Time elapsed: 3.344012667424977]