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-master/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-master/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-master/package.mo): time 0.06202/0.06202, allocations: 12.05 MB / 28.36 MB, free: 1.723 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.0009979/0.000998, allocations: 103.9 kB / 32.08 MB, free: 4.57 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.001252/0.001252, allocations: 192.4 kB / 35.92 MB, free: 0.7461 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.356/1.356, allocations: 222.9 MB / 262.5 MB, free: 7.406 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.05664/0.05664, allocations: 13.69 MB / 329.2 MB, free: 468 kB / 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.02799/0.02799, allocations: 19.74 MB / 473.2 MB, free: 2.609 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2972/0.3252, allocations: 55.38 MB / 0.5162 GB, free: 19.95 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.05558/0.3809, allocations: 60.64 MB / 0.5754 GB, free: 8.41 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.04192/0.4228, allocations: 16.28 MB / 0.5913 GB, free: 8.332 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0156/0.4385, allocations: 0.4972 MB / 0.5918 GB, free: 7.836 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.05131/0.4898, allocations: 31.1 MB / 0.6222 GB, free: 8.668 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02284/0.5127, allocations: 8.092 MB / 0.6301 GB, free: 0.6016 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01175/0.5245, allocations: 5.361 MB / 0.6353 GB, free: 11.26 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.03489/0.5594, allocations: 26.77 MB / 0.6614 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06086/0.6203, allocations: 43.83 MB / 0.7043 GB, free: 5.125 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02111/0.6415, allocations: 12.9 MB / 0.7169 GB, free: 8.191 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.2987/0.9402, allocations: 16.09 MB / 0.7326 GB, free: 54.31 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.01482/0.9551, allocations: 4.06 MB / 0.7365 GB, free: 54.31 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01795/0.9731, allocations: 5.388 MB / 0.7418 GB, free: 54.31 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.02335/0.9964, allocations: 15.12 MB / 0.7566 GB, free: 54.31 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.03358/1.03, allocations: 17.23 MB / 0.7734 GB, free: 49.89 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.05635/1.086, allocations: 58.75 MB / 0.8308 GB, free: 14.07 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/1.087, allocations: 0 / 0.8308 GB, free: 14.07 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.904e-06/1.087, allocations: 1.312 kB / 0.8308 GB, free: 14.07 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.001804/1.088, allocations: 0 / 0.8308 GB, free: 14.07 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.08987/1.178, allocations: 34.6 MB / 0.8646 GB, free: 14.62 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 4.851e-05/1.178, allocations: 12.02 kB / 0.8646 GB, free: 14.61 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0275/1.206, allocations: 5.933 MB / 0.8704 GB, free: 8.668 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03889/1.245, allocations: 21.2 MB / 0.8911 GB, free: 4.426 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001623/1.246, allocations: 1.799 MB / 0.8928 GB, free: 2.715 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009764/1.256, allocations: 2.446 MB / 0.8952 GB, free: 364 kB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.133/1.389, allocations: 57.13 MB / 0.951 GB, free: 5.652 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001786/1.391, allocations: 232.4 kB / 0.9512 GB, free: 5.492 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01019/1.401, allocations: 1.053 MB / 0.9523 GB, free: 4.527 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01209/1.413, allocations: 6.49 MB / 0.9586 GB, free: 14.12 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4193/1.833, allocations: 47.37 MB / 1.005 GB, free: 147.4 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.2712/2.104, allocations: 225.2 MB / 1.225 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3375/2.441, allocations: 27.73 MB / 1.252 GB, free: 273.5 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02122/2.463, allocations: 16.78 MB / 1.268 GB, free: 266.3 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001685/2.464, allocations: 1.289 MB / 1.269 GB, free: 265.3 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05733/2.522, allocations: 20.42 MB / 1.289 GB, free: 260.4 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=891): time 1.756e-05/2.522, allocations: 0 / 1.289 GB, free: 260.4 MB / 0.7325 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: 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/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:8011:5-8011:89:writable] Error: Internal error Transformation module sort components failed Error: Internal error SimCode DAEmode: The model DroneLibrary.Tests.controlModuleTest_fmu_inputs could not be translated