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.07361/0.07361, allocations: 12.17 MB / 31.02 MB, free: 1.43 MB / 19.63 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.001372/0.001372, allocations: 115.3 kB / 37.24 MB, free: 2.914 MB / 26.18 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.001975/0.001975, allocations: 208.2 kB / 43.57 MB, free: 5.32 MB / 34.91 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 1.495/1.495, allocations: 230.6 MB / 280.3 MB, free: 8.82 MB / 206.1 MB " [Timeout remaining time 178] 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.06657/0.06657, allocations: 13.89 MB / 353.7 MB, free: 3.918 MB / 270.1 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: "" <> buildModelFMU(DroneLibrary.Tests.controlModuleTest_fmu_main,fileNamePrefix="DroneLibrary_DroneLibrary_Tests_controlModuleTest_fmu_main",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(DroneLibrary.Tests.controlModuleTest_fmu_main,fileNamePrefix="DroneLibrary_DroneLibrary_Tests_controlModuleTest_fmu_main",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: DroneLibrary requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Skipped loading package Visualization (1.6) using MODELICAPATH /home/hudson/saved_omc/libraries/.openmodelica/libraries (uses-annotation may be wrong). Notification: DroneLibrary requested package Modelica_DeviceDrivers of version 2.1.1. Modelica_DeviceDrivers 2.2.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.06971/0.06971, allocations: 20.96 MB / 0.4986 GB, free: 15.21 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2897/0.3594, allocations: 59.67 MB / 0.5569 GB, free: 144 kB / 366.1 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.0614/0.4208, allocations: 50.42 MB / 0.6061 GB, free: 13.53 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.04197/0.4628, allocations: 17.25 MB / 0.623 GB, free: 12.38 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01309/0.4759, allocations: 0.5714 MB / 0.6235 GB, free: 11.8 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.05831/0.5342, allocations: 30.03 MB / 0.6528 GB, free: 13.71 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02223/0.5564, allocations: 8.23 MB / 0.6609 GB, free: 5.512 MB / 478.1 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.01339/0.5698, allocations: 6.066 MB / 0.6668 GB, free: 15.46 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.04374/0.6136, allocations: 29.02 MB / 0.6951 GB, free: 2.496 MB / 0.4982 GB Notification: Performance of NFFlatten.resolveConnections: time 0.3273/0.9408, allocations: 32.3 MB / 0.7267 GB, free: 17.23 MB / 0.5138 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01973/0.9606, allocations: 13.87 MB / 0.7402 GB, free: 16.84 MB / 0.5138 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02366/0.9842, allocations: 15.88 MB / 0.7557 GB, free: 15.61 MB / 0.5138 GB Notification: Performance of NFPackage.collectConstants: time 0.01095/0.9952, allocations: 4.871 MB / 0.7605 GB, free: 15.61 MB / 0.5138 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01547/1.011, allocations: 6.229 MB / 0.7666 GB, free: 15.61 MB / 0.5138 GB Notification: Performance of NFScalarize.scalarize: time 0.02041/1.031, allocations: 16.13 MB / 0.7823 GB, free: 11.82 MB / 0.5138 GB Notification: Performance of NFVerifyModel.verify: time 0.02542/1.056, allocations: 13.94 MB / 0.7959 GB, free: 2.344 MB / 0.5138 GB Notification: Performance of NFConvertDAE.convert: time 0.07904/1.136, allocations: 66.19 MB / 0.8606 GB, free: 3.953 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 8.516e-06/1.136, allocations: 4 kB / 0.8606 GB, free: 3.949 MB / 0.5763 GB Notification: Performance of FrontEnd: time 2.014e-06/1.136, allocations: 0 / 0.8606 GB, free: 3.949 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 0.001722/1.137, allocations: 0 / 0.8606 GB, free: 3.949 MB / 0.5763 GB 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.1059/1.243, allocations: 35.85 MB / 0.8956 GB, free: 284 kB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.064e-05/1.243, allocations: 12.92 kB / 0.8956 GB, free: 272 kB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01581/1.259, allocations: 3.928 MB / 0.8994 GB, free: 12.41 MB / 0.6232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0427/1.302, allocations: 7.892 MB / 0.9071 GB, free: 4.547 MB / 0.6232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05784/1.36, allocations: 27.46 MB / 0.934 GB, free: 10.11 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002074/1.362, allocations: 1.792 MB / 0.9357 GB, free: 8.402 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01148/1.373, allocations: 2.437 MB / 0.9381 GB, free: 6.047 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6087/1.982, allocations: 59.83 MB / 0.9965 GB, free: 203 MB / 0.6702 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002166/1.984, allocations: 232.2 kB / 0.9967 GB, free: 202.9 MB / 0.6702 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01036/1.994, allocations: 1.046 MB / 0.9978 GB, free: 202.2 MB / 0.6702 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.009094/2.004, allocations: 6.591 MB / 1.004 GB, free: 199.6 MB / 0.6702 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09092/2.094, allocations: 50 MB / 1.053 GB, free: 150.9 MB / 0.6702 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.6674/2.762, allocations: 225.5 MB / 1.273 GB, free: 115.7 MB / 0.6858 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06528/2.827, allocations: 28.06 MB / 1.301 GB, free: 114.7 MB / 0.6858 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01959/2.847, allocations: 17.39 MB / 1.318 GB, free: 106.4 MB / 0.6858 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001491/2.848, allocations: 0.5913 MB / 1.318 GB, free: 106.3 MB / 0.6858 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05869/2.907, allocations: 21.42 MB / 1.339 GB, free: 96.39 MB / 0.6858 GB Notification: Performance of pre-optimization done (n=901): time 2.13e-05/2.907, allocations: 0 / 1.339 GB, free: 96.39 MB / 0.6858 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:342:7-342: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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:346:7-346:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:107:7-107:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:8018:5-8018:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 656] [Calling sys.exit(0), Time elapsed: 6.277041688095778] Failed to read output from testmodel.py, exit status != 0: 3.7291348190046847 3.740267646 2.602015802 Calling exit ...