Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr DroneLibrary_DroneLibrary.Examples.DroneWithIdealPower.DroneForVR.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: "" <> buildModelFMU(DroneLibrary.Examples.DroneWithIdealPower.DroneForVR,fileNamePrefix="DroneLibrary_DroneLibrary_Examples_DroneWithIdealPower_DroneForVR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(DroneLibrary.Examples.DroneWithIdealPower.DroneForVR,fileNamePrefix="DroneLibrary_DroneLibrary_Examples_DroneWithIdealPower_DroneForVR",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.0704/0.0704, allocations: 12.02 MB / 27.66 MB, free: 1.852 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.001332/0.001332, allocations: 92.05 kB / 31.37 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.001577/0.001577, allocations: 192.5 kB / 35.21 MB, free: 1.141 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.611/1.611, allocations: 222.9 MB / 261.8 MB, free: 7.395 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.06809/0.06809, allocations: 13.68 MB / 328.5 MB, free: 480 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.04802/0.04802, allocations: 20.12 MB / 472.4 MB, free: 2.715 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.405/0.453, allocations: 55.39 MB / 0.5154 GB, free: 20.08 MB / 382.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Examples.DroneWithIdealPower.DroneForVR): time 0.06805/0.5211, allocations: 64.57 MB / 0.5785 GB, free: 4.797 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.04034/0.5615, allocations: 14.23 MB / 0.5924 GB, free: 6.66 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01677/0.5783, allocations: 434.6 kB / 0.5928 GB, free: 6.234 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.04589/0.6243, allocations: 23.97 MB / 0.6162 GB, free: 14.21 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02355/0.6479, allocations: 7.587 MB / 0.6236 GB, free: 6.648 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01292/0.6608, allocations: 4.76 MB / 0.6283 GB, free: 1.906 MB / 462.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.bodyShape4.r_CM has no value, and is fixed during initialization (fixed=true), using available start value (start={0.0, 0.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.bodyShape5.r_CM has no value, and is fixed during initialization (fixed=true), using available start value (start={0.0, 0.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.bodyShape4.r_CM has no value, and is fixed during initialization (fixed=true), using available start value (start={0.0, 0.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.bodyShape5.r_CM has no value, and is fixed during initialization (fixed=true), using available start value (start={0.0, 0.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.bodyShape4.r_CM has no value, and is fixed during initialization (fixed=true), using available start value (start={0.0, 0.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.bodyShape5.r_CM has no value, and is fixed during initialization (fixed=true), using available start value (start={0.0, 0.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.bodyShape4.r_CM has no value, and is fixed during initialization (fixed=true), using available start value (start={0.0, 0.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.bodyShape5.r_CM has no value, and is fixed during initialization (fixed=true), using available start value (start={0.0, 0.0, 0.0}) as default value. Notification: Performance of NFFlatten.flatten: time 0.04401/0.7049, allocations: 25.5 MB / 0.6532 GB, free: 8.48 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0591/0.764, allocations: 34.83 MB / 0.6872 GB, free: 6.117 MB / 0.5138 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02604/0.7901, allocations: 11.14 MB / 0.6981 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02955/0.8197, allocations: 14.17 MB / 0.7119 GB, free: 12.74 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.01166/0.8314, allocations: 3.117 MB / 0.7149 GB, free: 9.621 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0149/0.8464, allocations: 4.365 MB / 0.7192 GB, free: 5.254 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.3965/1.243, allocations: 13.14 MB / 0.732 GB, free: 57.7 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.04107/1.284, allocations: 15.13 MB / 0.7468 GB, free: 54.48 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.08431/1.368, allocations: 49.34 MB / 0.795 GB, free: 38.43 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/1.368, allocations: 0 / 0.795 GB, free: 38.43 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.954e-06/1.368, allocations: 2.906 kB / 0.795 GB, free: 38.43 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.002928/1.371, allocations: 0 / 0.795 GB, free: 38.43 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: 7735 * Number of variables: 7735 Notification: Performance of Generate backend data structure: time 0.102/1.473, allocations: 31.48 MB / 0.8257 GB, free: 17.12 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.676e-05/1.473, allocations: 11.5 kB / 0.8258 GB, free: 17.12 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.02/1.493, allocations: 4.212 MB / 0.8299 GB, free: 14.62 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04741/1.541, allocations: 7.852 MB / 0.8375 GB, free: 10.64 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05048/1.591, allocations: 22.22 MB / 0.8592 GB, free: 7.867 MB / 0.5607 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002068/1.594, allocations: 1.567 MB / 0.8608 GB, free: 6.418 MB / 0.5607 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01245/1.606, allocations: 2.124 MB / 0.8628 GB, free: 4.41 MB / 0.5607 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1534/1.759, allocations: 54.49 MB / 0.9161 GB, free: 12.12 MB / 0.6232 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001628/1.761, allocations: 239.1 kB / 0.9163 GB, free: 11.96 MB / 0.6232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.011/1.772, allocations: 0.938 MB / 0.9172 GB, free: 11.14 MB / 0.6232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01733/1.79, allocations: 7.713 MB / 0.9247 GB, free: 3.516 MB / 0.6232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4925/2.282, allocations: 43.3 MB / 0.967 GB, free: 210.1 MB / 0.6544 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.3175/2.6, allocations: 219.9 MB / 1.182 GB, free: 35.39 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06218/2.662, allocations: 24.54 MB / 1.206 GB, free: 10.74 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.343/3.005, allocations: 15.48 MB / 1.221 GB, free: 208.8 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002715/3.008, allocations: 1.915 MB / 1.223 GB, free: 207.4 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.06002/3.068, allocations: 18.83 MB / 1.241 GB, free: 207.2 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=751): time 2.761e-05/3.068, allocations: 2.5 kB / 1.241 GB, free: 207.2 MB / 0.6544 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.bodyShape5.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