Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr DroneLibrary_DroneLibrary.Tests.controlModuleTest.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.03989/0.03989, allocations: 9.119 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.005671/0.04556, allocations: 3.416 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.0006218/0.0006218, allocations: 83.31 kB / 23.2 MB, free: 2.965 MB / 24.77 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009682/0.00159, allocations: 443 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.0007143/0.0007143, allocations: 148.8 kB / 24.52 MB, free: 1.652 MB / 24.77 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009329/0.001647, allocations: 479.4 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.9201/0.9201, allocations: 177.1 MB / 202.9 MB, free: 8.348 MB / 202.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1841/1.104, 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.06762/0.06762, allocations: 10.58 MB / 267.9 MB, free: 10.38 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.007007/0.07462, allocations: 3.706 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.controlModuleTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Tests.controlModuleTest") translateModel(DroneLibrary.Tests.controlModuleTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Tests.controlModuleTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 272.8 MB, free: 5.402 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.925e-05/2.084e-05, allocations: 6.312 kB / 272.8 MB, free: 5.395 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 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. [/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. Notification: Performance of NFInst.instantiate(DroneLibrary.Tests.controlModuleTest): time 0.04137/0.04139, allocations: 55.5 MB / 328.3 MB, free: 13.67 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.3536/0.395, allocations: 16.97 MB / 345.3 MB, free: 1.797 MB / 330.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01254/0.4076, allocations: 0.5716 MB / 345.9 MB, free: 1.797 MB / 330.8 MB Notification: Performance of NFTyping.typeComponents: time 0.03046/0.438, allocations: 31.19 MB / 377.1 MB, free: 15.79 MB / 346.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01851/0.4565, allocations: 8.222 MB / 385.3 MB, free: 11.93 MB / 346.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.01002/0.4666, allocations: 5.828 MB / 391.1 MB, free: 7.879 MB / 346.8 MB Notification: Performance of NFFlatten.flatten: time 0.03599/0.5026, allocations: 31.36 MB / 422.5 MB, free: 10.39 MB / 378.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0557/0.5583, allocations: 32.62 MB / 455.1 MB, free: 10.89 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.04529/0.6035, allocations: 21.86 MB / 476.9 MB, free: 6.039 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02384/0.6274, allocations: 17.27 MB / 494.2 MB, free: 5.949 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 0.01035/0.6377, allocations: 4.159 MB / 498.4 MB, free: 1.793 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01338/0.6511, allocations: 5.525 MB / 0.4921 GB, free: 12.36 MB / 458.8 MB Notification: Performance of NFScalarize.scalarize: time 0.3649/1.016, allocations: 14.36 MB / 0.5061 GB, free: 69.71 MB / 458.9 MB Notification: Performance of NFVerifyModel.verify: time 0.02924/1.045, allocations: 9.204 MB / 0.5151 GB, free: 69.71 MB / 458.9 MB Notification: Performance of NFConvertDAE.convert: time 0.0422/1.087, allocations: 28.77 MB / 0.5432 GB, free: 67.72 MB / 458.9 MB Notification: Performance of FrontEnd - DAE generated: time 1.782e-05/1.087, allocations: 0.625 kB / 0.5432 GB, free: 67.72 MB / 458.9 MB Notification: Performance of FrontEnd: time 1.893e-06/1.087, allocations: 0 / 0.5432 GB, free: 67.72 MB / 458.9 MB Notification: Performance of Transformations before backend: time 0.001631/1.089, allocations: 3.312 kB / 0.5432 GB, free: 67.72 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.168, allocations: 38.16 MB / 0.5805 GB, free: 55.65 MB / 458.9 MB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/1.168, allocations: 10.81 kB / 0.5805 GB, free: 55.64 MB / 458.9 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02459/1.193, allocations: 5.143 MB / 0.5855 GB, free: 52.59 MB / 458.9 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03096/1.224, allocations: 15.02 MB / 0.6002 GB, free: 40.2 MB / 458.9 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001596/1.225, allocations: 1.792 MB / 0.6019 GB, free: 38.49 MB / 458.9 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007994/1.233, allocations: 2.436 MB / 0.6043 GB, free: 36.17 MB / 458.9 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07254/1.306, allocations: 26.54 MB / 0.6302 GB, free: 9.535 MB / 458.9 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001511/1.307, allocations: 223.5 kB / 0.6304 GB, free: 9.406 MB / 458.9 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007944/1.315, allocations: 1.048 MB / 0.6315 GB, free: 8.441 MB / 458.9 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004815/1.32, allocations: 5.52 MB / 0.6368 GB, free: 2.984 MB / 458.9 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04224/1.362, allocations: 12.54 MB / 0.6491 GB, free: 7.203 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.3997/1.762, allocations: 151.4 MB / 0.797 GB, free: 40.83 MB / 0.5106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03082/1.793, allocations: 20.48 MB / 0.817 GB, free: 38.61 MB / 0.5106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007095/1.8, allocations: 2.774 MB / 0.8197 GB, free: 38.27 MB / 0.5106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001303/1.801, allocations: 0.8183 MB / 0.8205 GB, free: 38.02 MB / 0.5106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02675/1.828, allocations: 9.927 MB / 0.8302 GB, free: 33.82 MB / 0.5106 GB Notification: Performance of pre-optimization done (n=847): time 1.618e-05/1.828, allocations: 0.7656 kB / 0.8302 GB, free: 33.82 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.8063983358442783]