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.05433/0.05433, allocations: 12.17 MB / 31.02 MB, free: 1.012 MB / 18.57 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.001448/0.001448, allocations: 120.3 kB / 37.24 MB, free: 1.352 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.001446/0.001446, allocations: 206.4 kB / 43.57 MB, free: 3.289 MB / 33.03 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.137/1.137, allocations: 230.6 MB / 280.4 MB, free: 7.125 MB / 202.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.0561/0.0561, allocations: 13.89 MB / 353.7 MB, free: 15.07 MB / 282.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",platforms={"static"}) "" <> buildModelFMU(DroneLibrary.Tests.controlModuleTest_fmu_main,fileNamePrefix="DroneLibrary_DroneLibrary_Tests_controlModuleTest_fmu_main",fmuType="me_cs",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.03763/0.03763, allocations: 29.91 MB / 0.5081 GB, free: 1.504 MB / 362.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2987/0.3363, allocations: 59.67 MB / 0.5664 GB, free: 10.13 MB / 378.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 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.0379/0.3742, allocations: 50.41 MB / 0.6156 GB, free: 7.535 MB / 426.8 MB Notification: Performance of NFInst.instExpressions: time 0.03473/0.4089, allocations: 17.26 MB / 0.6325 GB, free: 6.363 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01439/0.4233, allocations: 0.5701 MB / 0.633 GB, free: 5.793 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 0.03279/0.4561, allocations: 30.03 MB / 0.6623 GB, free: 7.699 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.02217/0.4783, allocations: 8.234 MB / 0.6704 GB, free: 15.49 MB / 490.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.01312/0.4914, allocations: 6.064 MB / 0.6763 GB, free: 9.441 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.3662/0.8576, allocations: 29.01 MB / 0.7046 GB, free: 12.7 MB / 0.4949 GB Notification: Performance of NFFlatten.resolveConnections: time 0.05145/0.909, allocations: 32.31 MB / 0.7362 GB, free: 11.23 MB / 0.4949 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03019/0.9392, allocations: 13.86 MB / 0.7497 GB, free: 6.695 MB / 0.4949 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02627/0.9655, allocations: 15.88 MB / 0.7652 GB, free: 1.848 MB / 0.4949 GB Notification: Performance of NFPackage.collectConstants: time 0.01463/0.9801, allocations: 4.87 MB / 0.77 GB, free: 1.848 MB / 0.4949 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01684/0.997, allocations: 6.23 MB / 0.7761 GB, free: 0.9336 MB / 0.4949 GB Notification: Performance of NFScalarize.scalarize: time 0.02472/1.022, allocations: 16.2 MB / 0.7919 GB, free: 1.441 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0374/1.059, allocations: 13.94 MB / 0.8055 GB, free: 3.539 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.0995/1.159, allocations: 66.15 MB / 0.8701 GB, free: 2.363 MB / 0.5887 GB Notification: Performance of FrontEnd - DAE generated: time 9.247e-06/1.159, allocations: 0 / 0.8701 GB, free: 2.363 MB / 0.5887 GB Notification: Performance of FrontEnd: time 3.056e-06/1.159, allocations: 4 kB / 0.8701 GB, free: 2.359 MB / 0.5887 GB Notification: Performance of Transformations before backend: time 0.002397/1.161, allocations: 0 / 0.8701 GB, free: 2.359 MB / 0.5887 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.114/1.275, allocations: 35.85 MB / 0.9051 GB, free: 14.69 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.097e-05/1.275, allocations: 8.625 kB / 0.9051 GB, free: 14.68 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01997/1.295, allocations: 3.931 MB / 0.909 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03205/1.327, allocations: 7.892 MB / 0.9167 GB, free: 2.957 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04987/1.377, allocations: 27.46 MB / 0.9435 GB, free: 8.5 MB / 0.6668 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00176/1.379, allocations: 1.793 MB / 0.9453 GB, free: 6.789 MB / 0.6668 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01363/1.392, allocations: 2.439 MB / 0.9476 GB, free: 4.43 MB / 0.6668 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.7194/2.112, allocations: 59.83 MB / 1.006 GB, free: 187.3 MB / 0.6669 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002062/2.114, allocations: 235.4 kB / 1.006 GB, free: 187.1 MB / 0.6669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01098/2.125, allocations: 1.047 MB / 1.007 GB, free: 186.1 MB / 0.6669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006523/2.131, allocations: 6.588 MB / 1.014 GB, free: 179.6 MB / 0.6669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08008/2.211, allocations: 50 MB / 1.063 GB, free: 129.6 MB / 0.6669 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.6564/2.868, allocations: 225.5 MB / 1.283 GB, free: 126 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04274/2.91, allocations: 28.07 MB / 1.31 GB, free: 123.2 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01707/2.927, allocations: 17.39 MB / 1.327 GB, free: 114.9 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001177/2.929, allocations: 0.5814 MB / 1.328 GB, free: 114.8 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0397/2.968, allocations: 21.41 MB / 1.349 GB, free: 104.9 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=901): time 1.707e-05/2.968, allocations: 0 / 1.349 GB, free: 104.9 MB / 0.6982 GB [/var/lib/jenkins/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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:346:7-346:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:107:7-107:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins/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: 5.878004744648933]