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.06262/0.06262, allocations: 12.05 MB / 28.35 MB, free: 1.754 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.001114/0.001114, allocations: 107.9 kB / 32.07 MB, free: 4.602 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.001371/0.001371, allocations: 192.1 kB / 35.9 MB, free: 0.7852 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.484/1.484, allocations: 222.9 MB / 262.5 MB, free: 7.363 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.06164/0.06164, allocations: 13.67 MB / 329.2 MB, free: 456 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.03641/0.03641, allocations: 19.66 MB / 473.1 MB, free: 2.68 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3923/0.4288, allocations: 55.39 MB / 0.5161 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.06026/0.4891, allocations: 60.64 MB / 0.5753 GB, free: 8.68 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.04689/0.536, allocations: 16.28 MB / 0.5912 GB, free: 8.625 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01961/0.5557, allocations: 0.4907 MB / 0.5917 GB, free: 8.133 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.05592/0.6116, allocations: 31.11 MB / 0.6221 GB, free: 8.961 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02864/0.6403, allocations: 8.09 MB / 0.63 GB, free: 0.8945 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01458/0.6549, allocations: 5.351 MB / 0.6352 GB, free: 11.56 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.04484/0.6998, allocations: 26.77 MB / 0.6614 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.08141/0.7813, allocations: 43.83 MB / 0.7042 GB, free: 5.434 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02742/0.8087, allocations: 12.91 MB / 0.7168 GB, free: 8.496 MB / 0.5451 GB Notification: Performance of NFSimplifyModel.simplify: time 0.3944/1.203, allocations: 16.09 MB / 0.7325 GB, free: 54.37 MB / 0.5451 GB Notification: Performance of NFPackage.collectConstants: time 0.0186/1.222, allocations: 4.059 MB / 0.7365 GB, free: 54.37 MB / 0.5451 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02155/1.243, allocations: 5.392 MB / 0.7417 GB, free: 54.37 MB / 0.5451 GB Notification: Performance of NFScalarize.scalarize: time 0.02509/1.269, allocations: 15.12 MB / 0.7565 GB, free: 54.37 MB / 0.5451 GB Notification: Performance of NFVerifyModel.verify: time 0.04347/1.312, allocations: 17.23 MB / 0.7733 GB, free: 50 MB / 0.5451 GB Notification: Performance of NFConvertDAE.convert: time 0.06814/1.38, allocations: 58.58 MB / 0.8305 GB, free: 14.7 MB / 0.5451 GB Notification: Performance of FrontEnd - DAE generated: time 9.177e-06/1.38, allocations: 0 / 0.8305 GB, free: 14.7 MB / 0.5451 GB Notification: Performance of FrontEnd: time 2.655e-06/1.38, allocations: 0 / 0.8305 GB, free: 14.7 MB / 0.5451 GB Notification: Performance of Transformations before backend: time 0.002298/1.383, allocations: 0 / 0.8305 GB, free: 14.7 MB / 0.5451 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.1221/1.505, allocations: 33.87 MB / 0.8636 GB, free: 156 kB / 0.5607 GB Notification: Performance of prepare preOptimizeDAE: time 5.35e-05/1.505, allocations: 8.031 kB / 0.8636 GB, free: 148 kB / 0.5607 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03077/1.536, allocations: 5.782 MB / 0.8692 GB, free: 10.33 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05494/1.591, allocations: 21.12 MB / 0.8899 GB, free: 6.164 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002359/1.593, allocations: 1.804 MB / 0.8916 GB, free: 4.449 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0139/1.607, allocations: 2.439 MB / 0.894 GB, free: 2.094 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1605/1.768, allocations: 57.13 MB / 0.9498 GB, free: 7.391 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00228/1.77, allocations: 230.5 kB / 0.95 GB, free: 7.234 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01227/1.782, allocations: 1.052 MB / 0.9511 GB, free: 6.273 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01225/1.794, allocations: 6.483 MB / 0.9574 GB, free: 15.88 MB / 0.6701 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5107/2.305, allocations: 47.37 MB / 1.004 GB, free: 219.2 MB / 0.6701 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.3511/2.656, allocations: 224.8 MB / 1.223 GB, free: 16.87 MB / 0.6701 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4961/3.152, allocations: 27.73 MB / 1.25 GB, free: 210 MB / 0.6701 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02692/3.179, allocations: 16.79 MB / 1.267 GB, free: 203.1 MB / 0.6701 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002217/3.182, allocations: 1.293 MB / 1.268 GB, free: 202.2 MB / 0.6701 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.06061/3.242, allocations: 20.41 MB / 1.288 GB, free: 197.3 MB / 0.6701 GB Notification: Performance of pre-optimization done (n=891): time 2.886e-05/3.242, allocations: 0 / 1.288 GB, free: 197.3 MB / 0.6701 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