Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr DroneLibrary_DroneLibrary.Tests.controlModuleTest_fmu_main.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.07081/0.07081, allocations: 9.128 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.01428/0.08509, allocations: 3.417 MB / 22.33 MB, free: 3.805 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.000917/0.000917, allocations: 87.56 kB / 23.15 MB, free: 2.98 MB / 24.77 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001438/0.002355, allocations: 446.3 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.00107/0.00107, allocations: 164.7 kB / 24.48 MB, free: 1.668 MB / 24.77 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001412/0.002482, allocations: 467.6 kB / 24.94 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.9483/0.9483, allocations: 177.2 MB / 202.8 MB, free: 8.367 MB / 202.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1427/1.091, allocations: 53.66 MB / 256.5 MB, free: 5.375 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.03918/0.03918, allocations: 10.57 MB / 267.8 MB, free: 10.39 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003897/0.04308, allocations: 3.714 MB / 271.5 MB, free: 6.668 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.controlModuleTest_fmu_main,fileNamePrefix="DroneLibrary_DroneLibrary_Tests_controlModuleTest_fmu_main",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) "" <> buildModelFMU(DroneLibrary.Tests.controlModuleTest_fmu_main,fileNamePrefix="DroneLibrary_DroneLibrary_Tests_controlModuleTest_fmu_main",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.72e-07/9.72e-07, allocations: 0 / 272.7 MB, free: 5.453 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 5.531e-06/6.503e-06, allocations: 2.312 kB / 272.7 MB, free: 5.449 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 controlModuleTest_fmu_inputs2_1.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 controlModuleTest_fmu_inputs2_1.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 controlModuleTest_fmu_inputs2_1.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 controlModuleTest_fmu_inputs2_1.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 controlModuleTest_fmu_inputs2_1.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 controlModuleTest_fmu_inputs2_1.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 controlModuleTest_fmu_inputs2_1.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 controlModuleTest_fmu_inputs2_1.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.controlModuleTest_fmu_main): time 0.03475/0.03475, allocations: 54.96 MB / 327.7 MB, free: 14.27 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.2804/0.3152, allocations: 18.19 MB / 345.9 MB, free: 1.809 MB / 330.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01261/0.3278, allocations: 0.5708 MB / 346.4 MB, free: 1.809 MB / 330.8 MB Notification: Performance of NFTyping.typeComponents: time 0.02911/0.3569, allocations: 30.96 MB / 377.4 MB, free: 15.68 MB / 346.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01647/0.3733, allocations: 8.431 MB / 385.8 MB, free: 11.55 MB / 346.8 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initializeImpureRandom' contains a call to impure function 'Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState'. Notification: Performance of NFTyping.typeClassSections: time 0.009298/0.3826, allocations: 6.503 MB / 392.3 MB, free: 6.609 MB / 346.8 MB Notification: Performance of NFFlatten.flatten: time 0.03355/0.4162, allocations: 33.09 MB / 425.4 MB, free: 7.383 MB / 378.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0445/0.4607, allocations: 34.75 MB / 460.2 MB, free: 5.781 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03427/0.495, allocations: 23.54 MB / 483.7 MB, free: 15.26 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02148/0.5164, allocations: 17.71 MB / 0.4897 GB, free: 14.75 MB / 458.8 MB Notification: Performance of NFPackage.collectConstants: time 0.009952/0.5264, allocations: 4.996 MB / 0.4945 GB, free: 9.75 MB / 458.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0127/0.5391, allocations: 6.501 MB / 0.5009 GB, free: 3.355 MB / 458.8 MB Notification: Performance of NFScalarize.scalarize: time 0.1837/0.7228, allocations: 15.19 MB / 0.5157 GB, free: 74.62 MB / 458.8 MB Notification: Performance of NFVerifyModel.verify: time 0.02562/0.7484, allocations: 10.12 MB / 0.5256 GB, free: 74.62 MB / 458.8 MB Notification: Performance of NFConvertDAE.convert: time 0.04026/0.7886, allocations: 31.15 MB / 0.556 GB, free: 72.19 MB / 458.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.795e-05/0.7887, allocations: 0 / 0.556 GB, free: 72.19 MB / 458.8 MB Notification: Performance of FrontEnd: time 1.623e-06/0.7887, allocations: 0 / 0.556 GB, free: 72.19 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.001501/0.7902, allocations: 0.625 kB / 0.556 GB, free: 72.19 MB / 458.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7898 * Number of variables: 7898 Notification: Performance of Generate backend data structure: time 0.06584/0.856, allocations: 33.21 MB / 0.5885 GB, free: 51.37 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.856, allocations: 11.14 kB / 0.5885 GB, free: 51.36 MB / 458.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.011/0.8671, allocations: 3.857 MB / 0.5922 GB, free: 49.52 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0213/0.8884, allocations: 5.215 MB / 0.5973 GB, free: 45.49 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02693/0.9153, allocations: 16.47 MB / 0.6134 GB, free: 30.31 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001158/0.9164, allocations: 1.79 MB / 0.6152 GB, free: 28.6 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007609/0.924, allocations: 2.435 MB / 0.6175 GB, free: 26.27 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06731/0.9914, allocations: 26.6 MB / 0.6435 GB, free: 15.13 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009491/0.9923, allocations: 217.1 kB / 0.6437 GB, free: 15.01 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005009/0.9973, allocations: 1.046 MB / 0.6447 GB, free: 14.04 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005278/1.003, allocations: 5.902 MB / 0.6505 GB, free: 8.207 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03601/1.039, allocations: 12.59 MB / 0.6628 GB, free: 12.37 MB / 490.8 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.4363/1.475, allocations: 166.1 MB / 0.825 GB, free: 67.54 MB / 0.495 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03044/1.505, allocations: 20.54 MB / 0.845 GB, free: 47.11 MB / 0.495 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005804/1.511, allocations: 2.777 MB / 0.8478 GB, free: 44.3 MB / 0.495 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009352/1.512, allocations: 0.8213 MB / 0.8486 GB, free: 43.49 MB / 0.495 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02522/1.537, allocations: 9.949 MB / 0.8583 GB, free: 33.59 MB / 0.495 GB Notification: Performance of pre-optimization done (n=847): time 1.47e-05/1.537, allocations: 0 / 0.8583 GB, free: 33.59 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: controlModuleTest_fmu_inputs2_1.droneChassis1.bodyCylinder.body.frame_a.r_0[1] = controlModuleTest_fmu_inputs2_1.propellerRev.blades.bodyShape4.body.frame_a.r_0[1] + 0.25 * controlModuleTest_fmu_inputs2_1.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.408628693781793]