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.03952/0.03952, allocations: 9.121 MB / 18.95 MB, free: 0.707 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.004636/0.04416, allocations: 3.412 MB / 22.37 MB, free: 3.789 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.0005311/0.0005311, allocations: 86.94 kB / 23.2 MB, free: 2.965 MB / 24.77 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000796/0.001327, allocations: 443.4 kB / 23.63 MB, free: 2.531 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.0006465/0.0006465, allocations: 145 kB / 24.52 MB, free: 1.652 MB / 24.77 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00079/0.001437, allocations: 483 kB / 24.99 MB, free: 1.18 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.8873/0.8873, allocations: 177.1 MB / 202.9 MB, free: 8.352 MB / 202.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.182/1.069, allocations: 53.67 MB / 256.5 MB, free: 5.379 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.0513/0.0513, allocations: 10.58 MB / 267.9 MB, free: 10.39 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.006634/0.05793, allocations: 3.699 MB / 271.6 MB, free: 6.676 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.292e-06/1.292e-06, allocations: 0 / 272.8 MB, free: 5.426 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.056e-05/1.185e-05, allocations: 13.97 kB / 272.8 MB, free: 5.414 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.04024/0.04025, allocations: 55.29 MB / 328.1 MB, free: 13.89 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.3256/0.3659, allocations: 18.34 MB / 346.5 MB, free: 1.797 MB / 330.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01207/0.3779, allocations: 0.5693 MB / 347 MB, free: 1.797 MB / 330.8 MB Notification: Performance of NFTyping.typeComponents: time 0.02879/0.4067, allocations: 31.24 MB / 378.3 MB, free: 15.65 MB / 346.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01762/0.4243, allocations: 8.432 MB / 386.7 MB, free: 11.11 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.01021/0.4345, allocations: 6.501 MB / 393.2 MB, free: 6.191 MB / 346.8 MB Notification: Performance of NFFlatten.flatten: time 0.03378/0.4683, allocations: 33.11 MB / 426.3 MB, free: 6.949 MB / 378.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03882/0.5071, allocations: 34.74 MB / 461 MB, free: 5.355 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03573/0.5429, allocations: 23.58 MB / 484.6 MB, free: 14.79 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0245/0.5674, allocations: 17.71 MB / 0.4906 GB, free: 14.27 MB / 458.8 MB Notification: Performance of NFPackage.collectConstants: time 0.01138/0.5787, allocations: 4.992 MB / 0.4954 GB, free: 9.277 MB / 458.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0146/0.5933, allocations: 6.51 MB / 0.5018 GB, free: 2.875 MB / 458.8 MB Notification: Performance of NFScalarize.scalarize: time 0.1967/0.7901, allocations: 15.19 MB / 0.5166 GB, free: 74.69 MB / 458.8 MB Notification: Performance of NFVerifyModel.verify: time 0.02569/0.8158, allocations: 10.11 MB / 0.5265 GB, free: 74.69 MB / 458.8 MB Notification: Performance of NFConvertDAE.convert: time 0.03915/0.8549, allocations: 31.14 MB / 0.5569 GB, free: 72.13 MB / 458.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.123e-05/0.8549, allocations: 0 / 0.5569 GB, free: 72.13 MB / 458.8 MB Notification: Performance of FrontEnd: time 1.664e-06/0.8549, allocations: 0 / 0.5569 GB, free: 72.13 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.001513/0.8565, allocations: 3.938 kB / 0.5569 GB, free: 72.13 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.07449/0.9309, allocations: 38.7 MB / 0.5947 GB, free: 46 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/0.931, allocations: 8.75 kB / 0.5947 GB, free: 46 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01663/0.9476, allocations: 5.229 MB / 0.5998 GB, free: 41.97 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02589/0.9735, allocations: 16.46 MB / 0.6159 GB, free: 27.26 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008492/0.9743, allocations: 1.787 MB / 0.6177 GB, free: 25.55 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00722/0.9816, allocations: 2.433 MB / 0.62 GB, free: 23.22 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05828/1.04, allocations: 26.57 MB / 0.646 GB, free: 12.11 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008551/1.041, allocations: 212.2 kB / 0.6462 GB, free: 11.99 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003196/1.044, allocations: 1.043 MB / 0.6472 GB, free: 11.03 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004965/1.049, allocations: 5.902 MB / 0.653 GB, free: 5.195 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03292/1.082, allocations: 12.59 MB / 0.6653 GB, free: 9.363 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.3355/1.417, allocations: 162.9 MB / 0.8243 GB, free: 67.3 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03621/1.454, allocations: 20.55 MB / 0.8444 GB, free: 49.15 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005787/1.459, allocations: 2.785 MB / 0.8471 GB, free: 46.37 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00102/1.46, allocations: 0.8107 MB / 0.8479 GB, free: 45.57 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02816/1.488, allocations: 9.942 MB / 0.8576 GB, free: 35.72 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=847): time 1.227e-05/1.488, allocations: 0 / 0.8576 GB, free: 35.72 MB / 0.4949 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:8304:5-8304:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 658] [Calling sys.exit(0), Time elapsed: 3.3155310368165374]