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.04521/0.04521, allocations: 9.138 MB / 28.23 MB, free: 1.117 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.001274/0.001274, allocations: 90.78 kB / 34.43 MB, free: 1.516 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.00117/0.00117, allocations: 161 kB / 40.72 MB, free: 1.75 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.8746/0.8746, 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.0382/0.0382, allocations: 10.59 MB / 294.1 MB, free: 8.715 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: "" <> buildModelFMU(DroneLibrary.Tests.controlModuleTest_fmu_main,fileNamePrefix="DroneLibrary_DroneLibrary_Tests_controlModuleTest_fmu_main",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(DroneLibrary.Tests.controlModuleTest_fmu_main,fileNamePrefix="DroneLibrary_DroneLibrary_Tests_controlModuleTest_fmu_main",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.275e-06/2.275e-06, allocations: 0 / 430.1 MB, free: 2.316 MB / 330.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.947e-05/2.174e-05, allocations: 4.812 kB / 430.1 MB, free: 2.312 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.03593/0.03595, allocations: 50.48 MB / 480.6 MB, free: 15.62 MB / 394.8 MB Notification: Performance of NFInst.instExpressions: time 0.03373/0.06969, allocations: 17.27 MB / 497.8 MB, free: 14.3 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01324/0.08293, allocations: 0.5714 MB / 498.4 MB, free: 13.73 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.2664/0.3493, allocations: 31.72 MB / 0.5177 GB, free: 13.1 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01812/0.3674, allocations: 8.435 MB / 0.5259 GB, free: 12.04 MB / 410.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.01017/0.3776, allocations: 6.744 MB / 0.5325 GB, free: 11.91 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.03548/0.4131, allocations: 34.21 MB / 0.5659 GB, free: 12.41 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04418/0.4572, allocations: 36.12 MB / 0.6012 GB, free: 9.82 MB / 458.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.04573/0.503, allocations: 22.39 MB / 0.6231 GB, free: 4.504 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02887/0.5318, allocations: 17.43 MB / 0.6401 GB, free: 4.434 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.01179/0.5436, allocations: 5 MB / 0.645 GB, free: 15.43 MB / 0.4949 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01605/0.5597, allocations: 6.458 MB / 0.6513 GB, free: 9.086 MB / 0.4949 GB Notification: Performance of NFScalarize.scalarize: time 0.02307/0.5828, allocations: 16.9 MB / 0.6678 GB, free: 8.746 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.03151/0.6143, allocations: 12.1 MB / 0.6796 GB, free: 13.15 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.5756/1.19, allocations: 68.19 MB / 0.7462 GB, free: 90.59 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 9.437e-06/1.19, allocations: 0 / 0.7462 GB, free: 90.59 MB / 0.5419 GB Notification: Performance of FrontEnd: time 3.066e-06/1.19, allocations: 0 / 0.7462 GB, free: 90.59 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 0.002541/1.192, allocations: 3.094 kB / 0.7462 GB, free: 90.59 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: 7898 * Number of variables: 7898 Notification: Performance of Generate backend data structure: time 0.1427/1.335, allocations: 36.45 MB / 0.7818 GB, free: 69.91 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 5.33e-05/1.335, allocations: 9.531 kB / 0.7818 GB, free: 69.91 MB / 0.5419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.02731/1.362, allocations: 3.934 MB / 0.7857 GB, free: 67.27 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03743/1.4, allocations: 8.334 MB / 0.7938 GB, free: 63.21 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04753/1.447, allocations: 24.83 MB / 0.818 GB, free: 47.27 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001389/1.449, allocations: 1.786 MB / 0.8198 GB, free: 46.11 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01493/1.464, allocations: 2.44 MB / 0.8222 GB, free: 43.75 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1382/1.602, allocations: 59.88 MB / 0.8806 GB, free: 14 MB / 0.5732 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001625/1.604, allocations: 244.8 kB / 0.8809 GB, free: 13.83 MB / 0.5732 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01243/1.616, allocations: 1.047 MB / 0.8819 GB, free: 12.86 MB / 0.5732 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007108/1.623, allocations: 6.584 MB / 0.8883 GB, free: 6.348 MB / 0.5732 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.103/1.726, allocations: 50.06 MB / 0.9372 GB, free: 4.891 MB / 0.62 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.5507/2.277, allocations: 231.9 MB / 1.164 GB, free: 22.13 MB / 0.62 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2818/2.559, allocations: 28.77 MB / 1.192 GB, free: 194.6 MB / 0.62 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02153/2.58, allocations: 17.39 MB / 1.209 GB, free: 193.7 MB / 0.62 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00105/2.581, allocations: 0.5879 MB / 1.209 GB, free: 193.6 MB / 0.62 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.04574/2.627, allocations: 22.16 MB / 1.231 GB, free: 187.9 MB / 0.62 GB Notification: Performance of pre-optimization done (n=901): time 2.094e-05/2.627, allocations: 0 / 1.231 GB, free: 187.9 MB / 0.62 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:7979:5-7979:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 657] [Calling sys.exit(0), Time elapsed: 5.208652655594051] Failed to read output from testmodel.py, exit status != 0: 3.208192410878837 3.2158130480000002 2.024123936 Calling exit ...