Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr DroneLibrary_DroneLibrary.Tests.chassisTest.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.04509/0.04509, allocations: 9.126 MB / 18.91 MB, free: 0.7305 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.01878/0.06387, allocations: 3.411 MB / 22.32 MB, free: 3.809 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.0007417/0.0007417, allocations: 98.81 kB / 23.16 MB, free: 2.977 MB / 24.77 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001233/0.001974, allocations: 438.9 kB / 23.59 MB, free: 2.547 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.0008922/0.0008922, allocations: 160.9 kB / 24.47 MB, free: 1.668 MB / 24.77 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002899/0.003792, allocations: 471.1 kB / 24.93 MB, free: 1.207 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.9547/0.9547, allocations: 177.1 MB / 202.8 MB, free: 8.367 MB / 202.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1527/1.107, allocations: 53.66 MB / 256.5 MB, free: 5.395 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.03974/0.03974, allocations: 10.58 MB / 267.8 MB, free: 10.4 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005559/0.0453, allocations: 3.703 MB / 271.5 MB, free: 6.684 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: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(DroneLibrary.Tests.chassisTest,fileNamePrefix="DroneLibrary_DroneLibrary_Tests_chassisTest",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) "" <> buildModelFMU(DroneLibrary.Tests.chassisTest,fileNamePrefix="DroneLibrary_DroneLibrary_Tests_chassisTest",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 272.7 MB, free: 5.477 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.857e-06/1.032e-05, allocations: 5.969 kB / 272.7 MB, free: 5.473 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 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 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.chassisTest): time 0.03367/0.03368, allocations: 52.14 MB / 324.9 MB, free: 1.109 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.02547/0.05915, allocations: 15.46 MB / 340.3 MB, free: 1.586 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007203/0.06635, allocations: 0.5442 MB / 340.9 MB, free: 1.039 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.2488/0.3152, allocations: 30.1 MB / 371 MB, free: 1.289 MB / 330.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01376/0.3289, allocations: 7.865 MB / 378.8 MB, free: 14.29 MB / 346.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.006313/0.3353, allocations: 5.147 MB / 384 MB, free: 12.69 MB / 346.8 MB Notification: Performance of NFFlatten.flatten: time 0.02505/0.3603, allocations: 29.61 MB / 413.6 MB, free: 2.172 MB / 362.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02743/0.3877, allocations: 30.72 MB / 444.3 MB, free: 4.504 MB / 394.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02202/0.4098, allocations: 20.56 MB / 464.9 MB, free: 0.9062 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01732/0.4271, allocations: 16.45 MB / 481.3 MB, free: 1.586 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 0.00612/0.4332, allocations: 3.914 MB / 485.2 MB, free: 13.67 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00716/0.4404, allocations: 5.084 MB / 490.3 MB, free: 8.672 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 0.009555/0.4499, allocations: 13.75 MB / 0.4923 GB, free: 11.02 MB / 458.8 MB Notification: Performance of NFVerifyModel.verify: time 0.00907/0.459, allocations: 8.699 MB / 0.5007 GB, free: 2.309 MB / 458.8 MB Notification: Performance of NFConvertDAE.convert: time 0.3069/0.7659, allocations: 27.13 MB / 0.5272 GB, free: 71.62 MB / 458.9 MB Notification: Performance of FrontEnd - DAE generated: time 1.53e-05/0.7659, allocations: 0 / 0.5272 GB, free: 71.62 MB / 458.9 MB Notification: Performance of FrontEnd: time 1.323e-06/0.7659, allocations: 0 / 0.5272 GB, free: 71.62 MB / 458.9 MB Notification: Performance of Transformations before backend: time 0.001537/0.7675, allocations: 0 / 0.5272 GB, free: 71.62 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: 7479 * Number of variables: 7479 Notification: Performance of Generate backend data structure: time 0.06516/0.8326, allocations: 29 MB / 0.5556 GB, free: 62.07 MB / 458.9 MB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.8327, allocations: 8.469 kB / 0.5556 GB, free: 62.07 MB / 458.9 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01354/0.8462, allocations: 3.645 MB / 0.5591 GB, free: 61.48 MB / 458.9 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02002/0.8662, allocations: 4.856 MB / 0.5639 GB, free: 60.6 MB / 458.9 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02447/0.8907, allocations: 14.37 MB / 0.5779 GB, free: 53 MB / 458.9 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001174/0.8919, allocations: 1.677 MB / 0.5795 GB, free: 52.3 MB / 458.9 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00806/0.8999, allocations: 2.286 MB / 0.5818 GB, free: 51.59 MB / 458.9 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06117/0.9611, allocations: 25.07 MB / 0.6063 GB, free: 33 MB / 458.9 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001106/0.9622, allocations: 219.5 kB / 0.6065 GB, free: 32.87 MB / 458.9 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006326/0.9685, allocations: 0.9786 MB / 0.6074 GB, free: 31.97 MB / 458.9 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004285/0.9728, allocations: 5.337 MB / 0.6126 GB, free: 26.7 MB / 458.9 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03435/1.007, allocations: 11.93 MB / 0.6243 GB, free: 15.52 MB / 458.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.3133/1.32, allocations: 147.7 MB / 0.7686 GB, free: 82.88 MB / 0.495 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02729/1.348, allocations: 19.21 MB / 0.7873 GB, free: 82.13 MB / 0.495 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005143/1.353, allocations: 2.627 MB / 0.7899 GB, free: 82.04 MB / 0.495 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009246/1.354, allocations: 0.6918 MB / 0.7905 GB, free: 82.01 MB / 0.495 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.71e-05/1.354, allocations: 111.3 kB / 0.7907 GB, free: 81.96 MB / 0.495 GB Notification: Performance of pre-optimization done (n=707): time 1.026e-05/1.354, allocations: 0 / 0.7907 GB, free: 81.96 MB / 0.495 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 * propellerRev2.Airframe.R.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.0852266373112798]