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.04291/0.04291, allocations: 9.136 MB / 28.23 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.00103/0.00103, allocations: 100.2 kB / 34.43 MB, free: 1.516 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.001809/0.001809, allocations: 161.3 kB / 40.72 MB, free: 1.75 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.9249/0.9249, allocations: 177.1 MB / 224.1 MB, free: 8.828 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.04091/0.04091, allocations: 10.59 MB / 294.1 MB, free: 6.023 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: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(DroneLibrary.Tests.chassisTest,fileNamePrefix="DroneLibrary_DroneLibrary_Tests_chassisTest",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(DroneLibrary.Tests.chassisTest,fileNamePrefix="DroneLibrary_DroneLibrary_Tests_chassisTest",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 430.9 MB, free: 12.19 MB / 330.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.945e-05/2.076e-05, allocations: 8.531 kB / 430.9 MB, free: 12.18 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 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.03065/0.03067, allocations: 47.78 MB / 478.7 MB, free: 12.21 MB / 378.8 MB Notification: Performance of NFInst.instExpressions: time 0.02738/0.05805, allocations: 14.6 MB / 493.3 MB, free: 13.56 MB / 394.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01184/0.06989, allocations: 0.5442 MB / 493.8 MB, free: 13.02 MB / 394.8 MB Notification: Performance of NFTyping.typeComponents: time 0.2226/0.2925, allocations: 30.86 MB / 0.5124 GB, free: 9.223 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01746/0.3099, allocations: 7.866 MB / 0.52 GB, free: 8.668 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.009343/0.3193, allocations: 5.387 MB / 0.5253 GB, free: 8.57 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.03085/0.3501, allocations: 30.7 MB / 0.5553 GB, free: 5.051 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04754/0.3977, allocations: 32.16 MB / 0.5867 GB, free: 12.21 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.04097/0.4386, allocations: 19.49 MB / 0.6057 GB, free: 9.746 MB / 458.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02336/0.462, allocations: 16.17 MB / 0.6215 GB, free: 10.88 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 0.01113/0.4731, allocations: 3.918 MB / 0.6253 GB, free: 6.957 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0138/0.4869, allocations: 5.058 MB / 0.6303 GB, free: 1.984 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 0.01966/0.5066, allocations: 15.32 MB / 0.6452 GB, free: 3.227 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.02155/0.5281, allocations: 10.56 MB / 0.6556 GB, free: 9.152 MB / 0.4949 GB Notification: Performance of NFConvertDAE.convert: time 0.05245/0.5806, allocations: 57.43 MB / 0.7116 GB, free: 1.008 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 7.855e-06/0.5806, allocations: 0 / 0.7116 GB, free: 1.008 MB / 0.5418 GB Notification: Performance of FrontEnd: time 2.294e-06/0.5806, allocations: 0 / 0.7116 GB, free: 1.008 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 0.00175/0.5823, allocations: 0 / 0.7116 GB, free: 1.008 MB / 0.5418 GB 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.4407/1.023, allocations: 32.03 MB / 0.7429 GB, free: 166.5 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 5.724e-05/1.023, allocations: 16.56 kB / 0.7429 GB, free: 166.4 MB / 0.5419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01271/1.036, allocations: 3.714 MB / 0.7466 GB, free: 162.8 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0268/1.063, allocations: 7.994 MB / 0.7544 GB, free: 154.8 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03267/1.095, allocations: 20.74 MB / 0.7746 GB, free: 134.1 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009686/1.096, allocations: 1.676 MB / 0.7763 GB, free: 132.5 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009377/1.106, allocations: 2.29 MB / 0.7785 GB, free: 130.3 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09679/1.202, allocations: 53.7 MB / 0.8309 GB, free: 74.5 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001342/1.204, allocations: 234.4 kB / 0.8312 GB, free: 74.27 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00943/1.213, allocations: 0.9865 MB / 0.8321 GB, free: 73.36 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006182/1.219, allocations: 6.017 MB / 0.838 GB, free: 67.36 MB / 0.5419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07315/1.293, allocations: 44.41 MB / 0.8814 GB, free: 22.95 MB / 0.5419 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.474/1.767, allocations: 199.8 MB / 1.077 GB, free: 57.19 MB / 0.5731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03778/1.804, allocations: 24.99 MB / 1.101 GB, free: 32.13 MB / 0.5731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01471/1.819, allocations: 15.39 MB / 1.116 GB, free: 16.71 MB / 0.5731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001067/1.82, allocations: 466.2 kB / 1.116 GB, free: 16.26 MB / 0.5731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.093e-05/1.82, allocations: 122.7 kB / 1.117 GB, free: 16.12 MB / 0.5731 GB Notification: Performance of pre-optimization done (n=761): time 1.15e-05/1.82, allocations: 4 kB / 1.117 GB, free: 16.12 MB / 0.5731 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 * propellerRev2.Airframe.R.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 658] [Calling sys.exit(0), Time elapsed: 4.449688646942377]