Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr DroneLibrary_DroneLibrary.Tests.controlModuleTest_fmu_inputs.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.06558/0.06558, 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.001455/0.001455, 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.001822/0.001822, 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.9426/0.9426, 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.05383/0.05383, allocations: 10.59 MB / 294.1 MB, free: 6 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.controlModuleTest_fmu_inputs,fileNamePrefix="DroneLibrary_DroneLibrary_Tests_controlModuleTest_fmu_inputs",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(DroneLibrary.Tests.controlModuleTest_fmu_inputs,fileNamePrefix="DroneLibrary_DroneLibrary_Tests_controlModuleTest_fmu_inputs",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.066e-06/3.066e-06, allocations: 0 / 430.9 MB, free: 12.15 MB / 330.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.461e-05/2.767e-05, allocations: 4.953 kB / 430.9 MB, free: 12.14 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 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_fmu_inputs): time 0.03529/0.03532, allocations: 50.28 MB / 481.2 MB, free: 9.656 MB / 378.8 MB Notification: Performance of NFInst.instExpressions: time 0.03116/0.06648, allocations: 15.72 MB / 496.9 MB, free: 9.891 MB / 394.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01128/0.07776, allocations: 0.5714 MB / 497.5 MB, free: 9.316 MB / 394.8 MB Notification: Performance of NFTyping.typeComponents: time 0.2441/0.3218, allocations: 31.64 MB / 0.5167 GB, free: 9.051 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01759/0.3394, allocations: 8.195 MB / 0.5247 GB, free: 8.32 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.01044/0.3498, allocations: 6.01 MB / 0.5306 GB, free: 8.203 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.03564/0.3855, allocations: 32.29 MB / 0.5621 GB, free: 1.957 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0501/0.4356, allocations: 33.87 MB / 0.5952 GB, free: 3.688 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.04031/0.4759, allocations: 20.57 MB / 0.6153 GB, free: 192 kB / 458.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02184/0.4977, allocations: 16.92 MB / 0.6318 GB, free: 0.6211 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 0.01143/0.5092, allocations: 4.148 MB / 0.6358 GB, free: 12.47 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0135/0.5227, allocations: 5.472 MB / 0.6412 GB, free: 7.102 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.02067/0.5433, allocations: 16.02 MB / 0.6568 GB, free: 7.672 MB / 0.4949 GB Notification: Performance of NFVerifyModel.verify: time 0.02573/0.5691, allocations: 11.15 MB / 0.6677 GB, free: 13.03 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.4636/1.033, allocations: 60.22 MB / 0.7265 GB, free: 87.48 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/1.033, allocations: 1.188 kB / 0.7265 GB, free: 87.48 MB / 0.5419 GB Notification: Performance of FrontEnd: time 2.345e-06/1.033, allocations: 0 / 0.7265 GB, free: 87.48 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 0.001889/1.035, allocations: 0 / 0.7265 GB, free: 87.48 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: 7883 * Number of variables: 7883 Notification: Performance of Generate backend data structure: time 0.09681/1.131, allocations: 35.68 MB / 0.7614 GB, free: 74.4 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 5.488e-05/1.131, allocations: 9.438 kB / 0.7614 GB, free: 74.4 MB / 0.5419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01819/1.15, allocations: 4.508 MB / 0.7658 GB, free: 73.38 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03864/1.188, allocations: 8.193 MB / 0.7738 GB, free: 69.87 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.042/1.23, allocations: 21.57 MB / 0.7948 GB, free: 57.77 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00157/1.232, allocations: 1.788 MB / 0.7966 GB, free: 57.02 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01329/1.245, allocations: 2.438 MB / 0.799 GB, free: 56.24 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.115/1.36, allocations: 56.48 MB / 0.8541 GB, free: 15.2 MB / 0.5575 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001685/1.362, allocations: 237.7 kB / 0.8544 GB, free: 15.04 MB / 0.5575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01226/1.374, allocations: 1.045 MB / 0.8554 GB, free: 14.08 MB / 0.5575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007148/1.381, allocations: 6.202 MB / 0.8614 GB, free: 7.945 MB / 0.5575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08766/1.469, allocations: 46.49 MB / 0.9068 GB, free: 10.05 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.4709/1.94, allocations: 210.4 MB / 1.112 GB, free: 103 MB / 0.6356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04071/1.98, allocations: 27.22 MB / 1.139 GB, free: 75.78 MB / 0.6356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01603/1.997, allocations: 16.01 MB / 1.155 GB, free: 59.75 MB / 0.6356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001138/1.998, allocations: 0.5812 MB / 1.155 GB, free: 59.17 MB / 0.6356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0389/2.037, allocations: 21.12 MB / 1.176 GB, free: 37.96 MB / 0.6356 GB Notification: Performance of pre-optimization done (n=891): time 1.957e-05/2.037, allocations: 0 / 1.176 GB, free: 37.96 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.706119045615196]