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.05228/0.05228, allocations: 9.13 MB / 28.99 MB, free: 412 kB / 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.0008316/0.0008316, allocations: 98.64 kB / 35.33 MB, free: 0.9141 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.0009415/0.0009415, allocations: 163.2 kB / 38.73 MB, free: 2.391 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.9686/0.9686, allocations: 177.2 MB / 219.2 MB, free: 10.12 MB / 202.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.04224/0.04224, allocations: 10.58 MB / 286.2 MB, free: 7.113 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.703e-06/1.703e-06, allocations: 0 / 307.6 MB, free: 15.51 MB / 282.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.03e-05/2.2e-05, allocations: 4.969 kB / 307.6 MB, free: 15.5 MB / 282.8 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.03865/0.03867, allocations: 55.04 MB / 362.6 MB, free: 9.262 MB / 330.8 MB Notification: Performance of NFInst.instExpressions: time 0.03415/0.07283, allocations: 16.84 MB / 379.5 MB, free: 8.395 MB / 346.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01199/0.08482, allocations: 0.5714 MB / 380.1 MB, free: 7.82 MB / 346.8 MB Notification: Performance of NFTyping.typeComponents: time 0.03321/0.118, allocations: 33.29 MB / 413.3 MB, free: 6.426 MB / 378.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01697/0.135, allocations: 8.254 MB / 421.6 MB, free: 14.13 MB / 394.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.008971/0.144, allocations: 6.159 MB / 427.8 MB, free: 7.961 MB / 394.8 MB Notification: Performance of NFFlatten.flatten: time 0.1843/0.3283, allocations: 32.42 MB / 460.2 MB, free: 20.08 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03512/0.3634, allocations: 35.35 MB / 495.5 MB, free: 17.37 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02483/0.3882, allocations: 21.4 MB / 0.5048 GB, free: 8.07 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01748/0.4057, allocations: 17.35 MB / 0.5218 GB, free: 4.156 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 0.006883/0.4126, allocations: 4.157 MB / 0.5258 GB, free: 4.156 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007348/0.42, allocations: 5.471 MB / 0.5312 GB, free: 15.3 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 0.01324/0.4332, allocations: 16.17 MB / 0.547 GB, free: 15.75 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0162/0.4494, allocations: 11.21 MB / 0.5579 GB, free: 5.055 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0265/0.4759, allocations: 30.7 MB / 0.5879 GB, free: 8.102 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.4759, allocations: 0 / 0.5879 GB, free: 8.102 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.382e-06/0.4759, allocations: 0 / 0.5879 GB, free: 8.102 MB / 474.8 MB Notification: Performance of Transformations before backend: time 0.0006983/0.4766, allocations: 3.938 kB / 0.5879 GB, free: 8.098 MB / 474.8 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.04309/0.5197, allocations: 32.62 MB / 0.6197 GB, free: 9.203 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.5197, allocations: 12.03 kB / 0.6198 GB, free: 9.191 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009868/0.5296, allocations: 5.182 MB / 0.6248 GB, free: 4.125 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2413/0.7709, allocations: 15.01 MB / 0.6395 GB, free: 190.1 MB / 0.495 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001201/0.7721, allocations: 1.792 MB / 0.6412 GB, free: 189.3 MB / 0.495 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003354/0.7754, allocations: 2.433 MB / 0.6436 GB, free: 188.6 MB / 0.495 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03396/0.8094, allocations: 26.55 MB / 0.6695 GB, free: 173.7 MB / 0.495 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007946/0.8102, allocations: 217.6 kB / 0.6697 GB, free: 173.5 MB / 0.495 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003051/0.8133, allocations: 1.048 MB / 0.6708 GB, free: 172.6 MB / 0.495 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004051/0.8173, allocations: 5.518 MB / 0.6761 GB, free: 167.1 MB / 0.495 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03041/0.8477, allocations: 12.54 MB / 0.6884 GB, free: 154.8 MB / 0.495 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.1523/1, allocations: 151.2 MB / 0.836 GB, free: 3.613 MB / 0.495 GB Notification: Performance of preOpt comSubExp (simulation): time 0.1658/1.166, allocations: 20.73 MB / 0.8562 GB, free: 162.9 MB / 0.495 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004353/1.17, allocations: 2.784 MB / 0.859 GB, free: 162.8 MB / 0.495 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009112/1.171, allocations: 0.8169 MB / 0.8598 GB, free: 162.8 MB / 0.495 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02118/1.192, allocations: 10.13 MB / 0.8697 GB, free: 162.5 MB / 0.495 GB Notification: Performance of pre-optimization done (n=847): time 2.004e-05/1.192, allocations: 0 / 0.8697 GB, free: 162.5 MB / 0.495 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: 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: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:8234:5-8234:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 3.0787806012667716]