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.04044/0.04044, allocations: 9.129 MB / 28.98 MB, free: 1.121 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. " [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.0009164/0.0009164, allocations: 94.58 kB / 35.19 MB, free: 1.508 MB / 24.77 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/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.001046/0.001046, allocations: 148.7 kB / 41.46 MB, free: 1.77 MB / 24.77 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/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.8816/0.8816, allocations: 177.1 MB / 224.8 MB, free: 8.824 MB / 202.7 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 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.03897/0.03897, allocations: 10.58 MB / 294.8 MB, free: 6.031 MB / 266.7 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] 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 2.104e-06/2.104e-06, allocations: 0 / 431.4 MB, free: 12.44 MB / 330.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.997e-05/4.207e-05, allocations: 6.219 kB / 431.4 MB, free: 12.43 MB / 330.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.0352/0.03524, allocations: 50.68 MB / 482 MB, free: 9.551 MB / 378.8 MB Notification: Performance of NFInst.instExpressions: time 0.0328/0.06804, allocations: 15.89 MB / 497.9 MB, free: 9.609 MB / 394.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01456/0.0826, allocations: 0.5714 MB / 498.5 MB, free: 9.035 MB / 394.8 MB Notification: Performance of NFTyping.typeComponents: time 0.2613/0.3439, allocations: 31.65 MB / 0.5177 GB, free: 8.84 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.02011/0.364, allocations: 8.232 MB / 0.5258 GB, free: 8.09 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.01064/0.3747, allocations: 6.084 MB / 0.5317 GB, free: 7.969 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.03587/0.4106, allocations: 32.46 MB / 0.5634 GB, free: 1.387 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04914/0.4597, allocations: 34 MB / 0.5966 GB, free: 2.77 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0412/0.5009, allocations: 20.65 MB / 0.6168 GB, free: 15.2 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0236/0.5245, allocations: 16.98 MB / 0.6334 GB, free: 15.57 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.01052/0.535, allocations: 4.164 MB / 0.6374 GB, free: 11.41 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01481/0.5498, allocations: 5.489 MB / 0.6428 GB, free: 6.023 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.01816/0.568, allocations: 16.04 MB / 0.6585 GB, free: 6.578 MB / 0.4949 GB Notification: Performance of NFVerifyModel.verify: time 0.02219/0.5902, allocations: 11.12 MB / 0.6693 GB, free: 11.96 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.497/1.087, allocations: 60.15 MB / 0.7281 GB, free: 88.42 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 9.477e-06/1.087, allocations: 0.9688 kB / 0.7281 GB, free: 88.42 MB / 0.5419 GB Notification: Performance of FrontEnd: time 2.665e-06/1.087, allocations: 0 / 0.7281 GB, free: 88.42 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 0.002046/1.089, allocations: 1.031 kB / 0.7281 GB, free: 88.42 MB / 0.5419 GB 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.09868/1.188, allocations: 35.58 MB / 0.7628 GB, free: 74.79 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 4.844e-05/1.188, allocations: 9.375 kB / 0.7628 GB, free: 74.79 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02338/1.211, allocations: 6.107 MB / 0.7688 GB, free: 71.98 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03873/1.25, allocations: 20.51 MB / 0.7888 GB, free: 62.08 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001534/1.252, allocations: 1.791 MB / 0.7906 GB, free: 61.32 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01231/1.264, allocations: 2.438 MB / 0.7929 GB, free: 60.54 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1139/1.378, allocations: 56.66 MB / 0.8483 GB, free: 6.398 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001871/1.38, allocations: 239.2 kB / 0.8485 GB, free: 6.234 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01348/1.393, allocations: 1.043 MB / 0.8495 GB, free: 5.273 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006377/1.4, allocations: 6.206 MB / 0.8556 GB, free: 15.14 MB / 0.5575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08642/1.486, allocations: 46.77 MB / 0.9013 GB, free: 0.9648 MB / 0.5888 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.4771/1.963, allocations: 206.2 MB / 1.103 GB, free: 113.8 MB / 0.6356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04088/2.004, allocations: 27.41 MB / 1.129 GB, free: 86.39 MB / 0.6356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01499/2.019, allocations: 16.18 MB / 1.145 GB, free: 70.18 MB / 0.6356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00116/2.02, allocations: 0.5829 MB / 1.146 GB, free: 69.61 MB / 0.6356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03672/2.057, allocations: 21.31 MB / 1.167 GB, free: 48.23 MB / 0.6356 GB Notification: Performance of pre-optimization done (n=901): time 1.761e-05/2.057, allocations: 0.75 kB / 1.167 GB, free: 48.23 MB / 0.6356 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:7979:5-7979:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 657] [Calling sys.exit(0), Time elapsed: 4.6605483908206224] Failed to read output from testmodel.py, exit status != 0: 2.624518078751862 2.630461022 1.541270054 Calling exit ...