Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr DroneLibrary_DroneLibrary.Tests.controlModuleTest_fmu_inputs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica_DeviceDrivers with version 2.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo) Running command: translateModel(DroneLibrary.Tests.controlModuleTest_fmu_inputs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Tests.controlModuleTest_fmu_inputs") translateModel(DroneLibrary.Tests.controlModuleTest_fmu_inputs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Tests.controlModuleTest_fmu_inputs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.06969/0.06969, allocations: 12.02 MB / 27.65 MB, free: 1.855 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001027/0.001027, allocations: 111 kB / 31.36 MB, free: 4.965 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001229/0.001229, allocations: 192.5 kB / 35.2 MB, free: 1.148 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.403/1.403, allocations: 222.9 MB / 261.8 MB, free: 7.375 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.06136/0.06136, allocations: 13.66 MB / 328.5 MB, free: 0.4961 MB / 254.1 MB Notification: Skipped loading package Visualization (1.6,default) using MODELICAPATH /home/hudson/saved_omc/libraries/.openmodelica/libraries (uses-annotation may be wrong). Notification: Performance of FrontEnd - loaded program: time 0.02972/0.02972, allocations: 19.66 MB / 472.4 MB, free: 2.715 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3107/0.3405, allocations: 55.39 MB / 0.5154 GB, free: 20.21 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.0.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.0.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.0.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.0.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.0.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.0.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.0.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.controlModuleTest_fmu_inputs): time 0.05642/0.3969, allocations: 60.63 MB / 0.5746 GB, free: 8.711 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.04018/0.4372, allocations: 16.27 MB / 0.5905 GB, free: 8.684 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01567/0.4529, allocations: 0.4985 MB / 0.591 GB, free: 8.184 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.05232/0.5052, allocations: 31.12 MB / 0.6214 GB, free: 9.004 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02064/0.5259, allocations: 8.082 MB / 0.6293 GB, free: 0.9453 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01111/0.537, allocations: 5.36 MB / 0.6345 GB, free: 11.6 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.03485/0.5719, allocations: 26.77 MB / 0.6606 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06035/0.6323, allocations: 43.83 MB / 0.7034 GB, free: 5.484 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02066/0.653, allocations: 12.91 MB / 0.716 GB, free: 8.547 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.2959/0.9489, allocations: 16.09 MB / 0.7318 GB, free: 54.58 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.01427/0.9632, allocations: 4.061 MB / 0.7357 GB, free: 54.58 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01774/0.981, allocations: 5.392 MB / 0.741 GB, free: 54.58 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.02018/1.001, allocations: 15.12 MB / 0.7558 GB, free: 54.58 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.02968/1.031, allocations: 17.23 MB / 0.7726 GB, free: 50.24 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.05638/1.087, allocations: 58.58 MB / 0.8298 GB, free: 14.97 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 1.022e-05/1.087, allocations: 4 kB / 0.8298 GB, free: 14.96 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.954e-06/1.087, allocations: 0 / 0.8298 GB, free: 14.96 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.002011/1.089, allocations: 0 / 0.8298 GB, free: 14.96 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7999 * Number of variables: 7999 Notification: Performance of Generate backend data structure: time 0.09504/1.184, allocations: 33.86 MB / 0.8629 GB, free: 276 kB / 0.5607 GB Notification: Performance of prepare preOptimizeDAE: time 5.157e-05/1.185, allocations: 12.03 kB / 0.8629 GB, free: 264 kB / 0.5607 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03095/1.216, allocations: 5.784 MB / 0.8685 GB, free: 10.45 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0446/1.26, allocations: 21.12 MB / 0.8892 GB, free: 6.281 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001698/1.262, allocations: 1.796 MB / 0.8909 GB, free: 4.57 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01163/1.274, allocations: 2.44 MB / 0.8933 GB, free: 2.215 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1405/1.414, allocations: 57.13 MB / 0.9491 GB, free: 7.512 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001745/1.416, allocations: 235.8 kB / 0.9493 GB, free: 7.348 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00978/1.426, allocations: 1.05 MB / 0.9503 GB, free: 6.387 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01135/1.437, allocations: 6.495 MB / 0.9567 GB, free: 15.98 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3812/1.818, allocations: 47.36 MB / 1.003 GB, free: 219.3 MB / 0.67 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.2839/2.102, allocations: 224.8 MB / 1.222 GB, free: 17.03 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.355/2.457, allocations: 27.73 MB / 1.25 GB, free: 210 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02301/2.48, allocations: 16.78 MB / 1.266 GB, free: 203.2 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002068/2.483, allocations: 1.296 MB / 1.267 GB, free: 202.2 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.06183/2.544, allocations: 20.41 MB / 1.287 GB, free: 197.3 MB / 0.67 GB Notification: Performance of pre-optimization done (n=891): time 2.086e-05/2.544, allocations: 0 / 1.287 GB, free: 197.3 MB / 0.67 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: droneChassis1.bodyCylinder.body.frame_a.r_0[1] = propellerRev.blades.bodyShape4.body.frame_a.r_0[1] + 0.25 * 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:8011:5-8011:89:writable] Error: Internal error Transformation module sort components failed