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.06117/0.06117, allocations: 9.131 MB / 19.04 MB, free: 0.6602 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.01292/0.07408, allocations: 3.423 MB / 22.47 MB, free: 3.727 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.0007689/0.0007689, allocations: 91.12 kB / 23.31 MB, free: 2.891 MB / 24.77 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001277/0.002046, allocations: 451.6 kB / 23.75 MB, free: 2.449 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.0007129/0.0007129, allocations: 156.8 kB / 24.65 MB, free: 1.555 MB / 24.77 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009695/0.001682, allocations: 483.2 kB / 25.12 MB, free: 1.082 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.9172/0.9172, allocations: 177.2 MB / 203 MB, free: 8.254 MB / 202.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1398/1.057, allocations: 53.67 MB / 256.7 MB, free: 5.301 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.04034/0.04034, allocations: 10.58 MB / 268 MB, free: 10.29 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005818/0.04616, allocations: 3.722 MB / 271.8 MB, free: 6.555 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: translateModel(DroneLibrary.Tests.controlModuleTest_fmu_main,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Tests.controlModuleTest_fmu_main") translateModel(DroneLibrary.Tests.controlModuleTest_fmu_main,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Tests.controlModuleTest_fmu_main") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 273 MB, free: 5.289 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.263e-05/1.432e-05, allocations: 5.828 kB / 273 MB, free: 5.285 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 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.03623/0.03624, allocations: 55.3 MB / 328.3 MB, free: 13.76 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.2683/0.3045, allocations: 18.35 MB / 346.7 MB, free: 1.805 MB / 330.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01184/0.3164, allocations: 0.5726 MB / 347.3 MB, free: 1.805 MB / 330.8 MB Notification: Performance of NFTyping.typeComponents: time 0.03111/0.3475, allocations: 32 MB / 379.3 MB, free: 15.69 MB / 346.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01721/0.3647, allocations: 8.447 MB / 387.7 MB, free: 10.99 MB / 346.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.01059/0.3753, allocations: 6.98 MB / 394.7 MB, free: 4.77 MB / 346.8 MB Notification: Performance of NFFlatten.flatten: time 0.03534/0.4106, allocations: 34.69 MB / 429.4 MB, free: 3.965 MB / 378.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05019/0.4608, allocations: 34.85 MB / 464.2 MB, free: 2.266 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.04116/0.502, allocations: 23.57 MB / 487.8 MB, free: 11.71 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02402/0.526, allocations: 17.94 MB / 0.4939 GB, free: 11.28 MB / 458.8 MB Notification: Performance of NFPackage.collectConstants: time 0.01095/0.5369, allocations: 5 MB / 0.4988 GB, free: 6.277 MB / 458.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1886/0.7255, allocations: 6.524 MB / 0.5051 GB, free: 76.38 MB / 458.8 MB Notification: Performance of NFScalarize.scalarize: time 0.01845/0.744, allocations: 15.2 MB / 0.52 GB, free: 76.38 MB / 458.8 MB Notification: Performance of NFVerifyModel.verify: time 0.02554/0.7695, allocations: 10.11 MB / 0.5299 GB, free: 76.38 MB / 458.8 MB Notification: Performance of NFConvertDAE.convert: time 0.03561/0.8051, allocations: 31.11 MB / 0.5602 GB, free: 73.35 MB / 458.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.737e-05/0.8052, allocations: 0 / 0.5602 GB, free: 73.35 MB / 458.8 MB Notification: Performance of FrontEnd: time 1.613e-06/0.8052, allocations: 0 / 0.5602 GB, free: 73.35 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.001613/0.8068, allocations: 0 / 0.5602 GB, free: 73.35 MB / 458.8 MB 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.06977/0.8765, allocations: 38.71 MB / 0.598 GB, free: 45.14 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.35e-05/0.8766, allocations: 8.031 kB / 0.598 GB, free: 45.14 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02206/0.8986, allocations: 5.223 MB / 0.6031 GB, free: 41.11 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02695/0.9256, allocations: 16.46 MB / 0.6192 GB, free: 25.58 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001065/0.9267, allocations: 1.796 MB / 0.621 GB, free: 23.87 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007518/0.9342, allocations: 2.435 MB / 0.6233 GB, free: 21.54 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07151/1.006, allocations: 26.57 MB / 0.6493 GB, free: 10.42 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001164/1.007, allocations: 215.8 kB / 0.6495 GB, free: 10.3 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006717/1.014, allocations: 1.039 MB / 0.6505 GB, free: 9.34 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005857/1.019, allocations: 5.69 MB / 0.6561 GB, free: 3.695 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04315/1.063, allocations: 12.59 MB / 0.6684 GB, free: 7.859 MB / 490.8 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.3674/1.43, allocations: 162.9 MB / 0.8274 GB, free: 15.72 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03941/1.469, allocations: 20.55 MB / 0.8475 GB, free: 21.59 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005143/1.475, allocations: 2.776 MB / 0.8502 GB, free: 18.82 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009493/1.476, allocations: 0.8221 MB / 0.851 GB, free: 18.02 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0261/1.502, allocations: 9.946 MB / 0.8607 GB, free: 8.5 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=847): time 1.422e-05/1.502, allocations: 0 / 0.8607 GB, free: 8.5 MB / 0.5105 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: 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: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:8418:5-8418:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 658] [Calling sys.exit(0), Time elapsed: 3.3659392073750496]