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.03838/0.03838, allocations: 9.129 MB / 28.22 MB, free: 1.105 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.0007507/0.0007507, allocations: 87.17 kB / 34.43 MB, free: 1.504 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.0007501/0.0007501, allocations: 164.3 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.8953/0.8953, allocations: 177.1 MB / 224.1 MB, free: 8.816 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.04728/0.04728, allocations: 10.59 MB / 294.1 MB, free: 6.027 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 1.984e-06/1.984e-06, allocations: 0 / 430.1 MB, free: 12.91 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.224e-05/2.423e-05, allocations: 6.281 kB / 430.1 MB, free: 12.9 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 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.03971/0.03974, allocations: 50.49 MB / 480.6 MB, free: 10.2 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.03502/0.07476, allocations: 17.25 MB / 497.8 MB, free: 8.906 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01412/0.08888, allocations: 0.5714 MB / 498.4 MB, free: 8.332 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.4736/0.5625, allocations: 31.72 MB / 0.5177 GB, free: 8.281 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.02231/0.5848, allocations: 8.439 MB / 0.5259 GB, free: 7.5 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.01151/0.5963, allocations: 6.741 MB / 0.5325 GB, free: 7.375 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.03538/0.6317, allocations: 34.22 MB / 0.5659 GB, free: 14.68 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04323/0.6749, allocations: 36.13 MB / 0.6012 GB, free: 13.2 MB / 458.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.04865/0.7236, allocations: 22.39 MB / 0.6231 GB, free: 7.863 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02672/0.7503, allocations: 17.42 MB / 0.6401 GB, free: 7.801 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.01182/0.7621, allocations: 5 MB / 0.645 GB, free: 2.801 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01479/0.7769, allocations: 6.463 MB / 0.6513 GB, free: 12.46 MB / 0.4949 GB Notification: Performance of NFScalarize.scalarize: time 0.01977/0.7967, allocations: 16.9 MB / 0.6678 GB, free: 12.15 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.02405/0.8207, allocations: 12.09 MB / 0.6796 GB, free: 0.5664 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.5772/1.398, allocations: 68.19 MB / 0.7462 GB, free: 87.73 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/1.398, allocations: 0 / 0.7462 GB, free: 87.73 MB / 0.5419 GB Notification: Performance of FrontEnd: time 2.314e-06/1.398, allocations: 0.7656 kB / 0.7462 GB, free: 87.73 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 0.002167/1.4, allocations: 0 / 0.7462 GB, free: 87.73 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.1164/1.517, allocations: 36.45 MB / 0.7818 GB, free: 67.94 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 5.013e-05/1.517, allocations: 13.97 kB / 0.7818 GB, free: 67.94 MB / 0.5419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.02044/1.537, allocations: 3.928 MB / 0.7857 GB, free: 65.31 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03165/1.569, allocations: 8.336 MB / 0.7938 GB, free: 61.25 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04493/1.614, allocations: 24.82 MB / 0.818 GB, free: 44.8 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001006/1.615, allocations: 1.795 MB / 0.8198 GB, free: 43.09 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0166/1.631, allocations: 2.438 MB / 0.8222 GB, free: 40.73 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1327/1.764, allocations: 59.89 MB / 0.8807 GB, free: 10.97 MB / 0.5731 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001592/1.765, allocations: 238.6 kB / 0.8809 GB, free: 10.8 MB / 0.5731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01449/1.78, allocations: 1.041 MB / 0.8819 GB, free: 9.844 MB / 0.5731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008664/1.789, allocations: 6.587 MB / 0.8883 GB, free: 3.324 MB / 0.5731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1004/1.889, allocations: 50.06 MB / 0.9372 GB, free: 1.863 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.5102/2.399, allocations: 231.9 MB / 1.164 GB, free: 19.16 MB / 0.62 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2928/2.692, allocations: 28.78 MB / 1.192 GB, free: 195 MB / 0.62 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0191/2.711, allocations: 17.39 MB / 1.209 GB, free: 192.5 MB / 0.62 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001178/2.712, allocations: 0.5851 MB / 1.209 GB, free: 192.4 MB / 0.62 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.04396/2.756, allocations: 22.16 MB / 1.231 GB, free: 186.8 MB / 0.62 GB Notification: Performance of pre-optimization done (n=901): time 2.799e-05/2.756, allocations: 0 / 1.231 GB, free: 186.8 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.191469967365265] Failed to read output from testmodel.py, exit status != 0: 3.3262321949005127 3.334837841 1.934924313 Calling exit ...