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.06212/0.06212, allocations: 12.02 MB / 27.66 MB, free: 1.883 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.001002/0.001002, allocations: 96.06 kB / 31.36 MB, free: 5.004 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.001236/0.001236, allocations: 192.5 kB / 35.19 MB, free: 1.184 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.243/1.243, allocations: 222.9 MB / 261.8 MB, free: 7.457 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.05488/0.05488, allocations: 13.67 MB / 328.5 MB, free: 0.5078 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.0255/0.0255, allocations: 19.68 MB / 472.4 MB, free: 2.707 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2496/0.2751, allocations: 55.39 MB / 0.5154 GB, free: 20.22 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.04802/0.3232, allocations: 60.62 MB / 0.5746 GB, free: 8.723 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03205/0.3553, allocations: 16.28 MB / 0.5905 GB, free: 8.699 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01109/0.3664, allocations: 0.4946 MB / 0.591 GB, free: 8.203 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.04611/0.4125, allocations: 31.11 MB / 0.6214 GB, free: 9.031 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01804/0.4306, allocations: 8.085 MB / 0.6293 GB, free: 0.9727 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00957/0.4402, allocations: 5.37 MB / 0.6345 GB, free: 11.62 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.03075/0.4709, allocations: 26.76 MB / 0.6607 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04774/0.5187, allocations: 43.83 MB / 0.7035 GB, free: 5.523 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01736/0.5361, allocations: 12.91 MB / 0.7161 GB, free: 8.586 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.2346/0.7707, allocations: 16.09 MB / 0.7318 GB, free: 54.43 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.01064/0.7814, allocations: 4.059 MB / 0.7358 GB, free: 54.43 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01336/0.7948, allocations: 5.388 MB / 0.741 GB, free: 54.43 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.01453/0.8093, allocations: 15.12 MB / 0.7558 GB, free: 54.43 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.02124/0.8306, allocations: 17.23 MB / 0.7726 GB, free: 50.22 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.04422/0.8749, allocations: 58.74 MB / 0.83 GB, free: 14.55 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.8749, allocations: 2.562 kB / 0.83 GB, free: 14.55 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.653e-06/0.8749, allocations: 0 / 0.83 GB, free: 14.55 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.001325/0.8762, allocations: 0 / 0.83 GB, free: 14.55 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.07348/0.9497, allocations: 34.61 MB / 0.8638 GB, free: 15.16 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.9498, allocations: 12.03 kB / 0.8638 GB, free: 15.15 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0243/0.9741, allocations: 5.936 MB / 0.8696 GB, free: 9.203 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03563/1.01, allocations: 21.2 MB / 0.8903 GB, free: 4.965 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001349/1.011, allocations: 1.805 MB / 0.8921 GB, free: 3.25 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00804/1.019, allocations: 2.445 MB / 0.8944 GB, free: 0.8906 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1078/1.127, allocations: 57.12 MB / 0.9502 GB, free: 6.199 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009732/1.128, allocations: 239.8 kB / 0.9505 GB, free: 6.031 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0054/1.133, allocations: 1.053 MB / 0.9515 GB, free: 5.066 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.009156/1.143, allocations: 6.489 MB / 0.9578 GB, free: 14.67 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2864/1.429, allocations: 47.36 MB / 1.004 GB, free: 218.9 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.2299/1.659, allocations: 225.2 MB / 1.224 GB, free: 15.28 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2769/1.936, allocations: 27.72 MB / 1.251 GB, free: 209.6 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01803/1.954, allocations: 16.78 MB / 1.267 GB, free: 202.4 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001483/1.955, allocations: 1.295 MB / 1.269 GB, free: 201.5 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05047/2.006, allocations: 20.41 MB / 1.289 GB, free: 196.6 MB / 0.67 GB Notification: Performance of pre-optimization done (n=891): time 1.685e-05/2.006, allocations: 0 / 1.289 GB, free: 196.6 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