Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr DroneLibrary_DroneLibrary.Tests.controlModuleTest2.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.08376/0.08376, allocations: 9.119 MB / 18.95 MB, free: 0.7109 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.006373/0.09013, allocations: 3.419 MB / 22.37 MB, free: 3.793 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.0005675/0.0005675, allocations: 83.56 kB / 23.2 MB, free: 2.969 MB / 24.77 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009375/0.001505, allocations: 443.4 kB / 23.63 MB, free: 2.535 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.000687/0.000687, allocations: 148.7 kB / 24.52 MB, free: 1.656 MB / 24.77 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008908/0.001578, allocations: 482.8 kB / 24.99 MB, free: 1.184 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.9256/0.9256, allocations: 177.1 MB / 202.9 MB, free: 8.355 MB / 202.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1867/1.112, allocations: 53.67 MB / 256.5 MB, free: 5.363 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.05672/0.05672, allocations: 10.58 MB / 267.9 MB, free: 10.37 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.007743/0.06446, allocations: 3.695 MB / 271.6 MB, free: 6.66 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.controlModuleTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Tests.controlModuleTest2") translateModel(DroneLibrary.Tests.controlModuleTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Tests.controlModuleTest2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 272.8 MB, free: 5.387 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.561e-05/2.72e-05, allocations: 2.312 kB / 272.8 MB, free: 5.383 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 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 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. [/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. Notification: Performance of NFInst.instantiate(DroneLibrary.Tests.controlModuleTest2): time 0.04232/0.04235, allocations: 55.5 MB / 328.3 MB, free: 13.66 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.3255/0.3679, allocations: 16.97 MB / 345.3 MB, free: 1.785 MB / 330.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01238/0.3803, allocations: 0.5744 MB / 345.9 MB, free: 1.785 MB / 330.8 MB Notification: Performance of NFTyping.typeComponents: time 0.03022/0.4105, allocations: 31.19 MB / 377.1 MB, free: 15.87 MB / 346.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01839/0.4289, allocations: 8.232 MB / 385.3 MB, free: 11.78 MB / 346.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.01096/0.4398, allocations: 5.821 MB / 391.1 MB, free: 7.762 MB / 346.8 MB Notification: Performance of NFFlatten.flatten: time 0.0353/0.4751, allocations: 31.36 MB / 422.5 MB, free: 10.27 MB / 378.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04634/0.5215, allocations: 32.63 MB / 455.1 MB, free: 10.78 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.04232/0.5638, allocations: 21.86 MB / 477 MB, free: 5.918 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02556/0.5894, allocations: 17.27 MB / 494.2 MB, free: 5.832 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 0.01082/0.6002, allocations: 4.156 MB / 498.4 MB, free: 1.676 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01363/0.6138, allocations: 5.525 MB / 0.4921 GB, free: 12.25 MB / 458.8 MB Notification: Performance of NFScalarize.scalarize: time 0.3528/0.9666, allocations: 14.36 MB / 0.5061 GB, free: 69.72 MB / 458.9 MB Notification: Performance of NFVerifyModel.verify: time 0.03101/0.9976, allocations: 9.207 MB / 0.5151 GB, free: 69.72 MB / 458.9 MB Notification: Performance of NFConvertDAE.convert: time 0.0402/1.038, allocations: 28.77 MB / 0.5432 GB, free: 67.73 MB / 458.9 MB Notification: Performance of FrontEnd - DAE generated: time 1.961e-05/1.038, allocations: 0.5625 kB / 0.5432 GB, free: 67.73 MB / 458.9 MB Notification: Performance of FrontEnd: time 1.953e-06/1.038, allocations: 0.75 kB / 0.5432 GB, free: 67.73 MB / 458.9 MB Notification: Performance of Transformations before backend: time 0.001568/1.039, allocations: 0 / 0.5432 GB, free: 67.73 MB / 458.9 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7899 * Number of variables: 7899 Notification: Performance of Generate backend data structure: time 0.07919/1.119, allocations: 38.17 MB / 0.5805 GB, free: 55.45 MB / 458.9 MB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/1.119, allocations: 12.03 kB / 0.5805 GB, free: 55.44 MB / 458.9 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0242/1.143, allocations: 5.155 MB / 0.5855 GB, free: 52.39 MB / 458.9 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02777/1.171, allocations: 15 MB / 0.6002 GB, free: 40.16 MB / 458.9 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001493/1.172, allocations: 1.791 MB / 0.6019 GB, free: 38.46 MB / 458.9 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008162/1.18, allocations: 2.438 MB / 0.6043 GB, free: 36.14 MB / 458.9 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06757/1.248, allocations: 26.55 MB / 0.6302 GB, free: 9.488 MB / 458.9 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001705/1.249, allocations: 216.8 kB / 0.6304 GB, free: 9.363 MB / 458.9 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009154/1.259, allocations: 1.044 MB / 0.6315 GB, free: 8.402 MB / 458.9 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004969/1.264, allocations: 5.526 MB / 0.6369 GB, free: 2.941 MB / 458.9 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04112/1.305, allocations: 12.54 MB / 0.6491 GB, free: 7.168 MB / 474.9 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.3926/1.697, allocations: 151.4 MB / 0.7969 GB, free: 40.52 MB / 0.5106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.031/1.728, allocations: 20.56 MB / 0.817 GB, free: 38.3 MB / 0.5106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007265/1.736, allocations: 2.783 MB / 0.8197 GB, free: 38.04 MB / 0.5106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001414/1.737, allocations: 0.8043 MB / 0.8205 GB, free: 37.8 MB / 0.5106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02666/1.764, allocations: 9.936 MB / 0.8302 GB, free: 33.6 MB / 0.5106 GB Notification: Performance of pre-optimization done (n=847): time 1.619e-05/1.764, allocations: 0 / 0.8302 GB, free: 33.6 MB / 0.5106 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: 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: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.815675189718604]