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/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.Examples.DroneWithIdealPower.DroneForVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Examples.DroneWithIdealPower.DroneForVR") translateModel(DroneLibrary.Examples.DroneWithIdealPower.DroneForVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Examples.DroneWithIdealPower.DroneForVR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.09516/0.09516, allocations: 12.02 MB / 27.65 MB, free: 1.84 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.001145/0.001145, allocations: 105.5 kB / 31.36 MB, free: 4.961 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.001389/0.001389, allocations: 199.9 kB / 35.2 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.463/1.463, allocations: 222.9 MB / 261.8 MB, free: 7.535 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.06017/0.06017, allocations: 13.67 MB / 328.5 MB, free: 0.5195 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.02907/0.02907, allocations: 19.65 MB / 472.4 MB, free: 2.723 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2807/0.3098, allocations: 55.4 MB / 0.5154 GB, free: 20.26 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.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 propellerRev.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.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.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.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.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.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.bodyShape5.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.Examples.DroneWithIdealPower.DroneForVR): time 0.05595/0.3658, allocations: 64.58 MB / 0.5785 GB, free: 4.891 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03087/0.3967, allocations: 14.22 MB / 0.5924 GB, free: 6.762 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01009/0.4068, allocations: 438.6 kB / 0.5928 GB, free: 6.332 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.04133/0.4481, allocations: 23.98 MB / 0.6162 GB, free: 14.3 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01946/0.4676, allocations: 7.877 MB / 0.6239 GB, free: 6.449 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009695/0.4773, allocations: 4.756 MB / 0.6286 GB, free: 1.715 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.03146/0.5088, allocations: 25.51 MB / 0.6535 GB, free: 8.273 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04194/0.5507, allocations: 34.84 MB / 0.6875 GB, free: 5.871 MB / 0.5138 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01614/0.5669, allocations: 11.09 MB / 0.6983 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01715/0.5841, allocations: 14.22 MB / 0.7122 GB, free: 12.49 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.006702/0.5908, allocations: 3.117 MB / 0.7153 GB, free: 9.375 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009763/0.6006, allocations: 4.373 MB / 0.7195 GB, free: 5 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.4567/1.057, allocations: 13.36 MB / 0.7326 GB, free: 57.81 MB / 0.5452 GB Notification: Performance of NFVerifyModel.verify: time 0.02821/1.086, allocations: 15.05 MB / 0.7473 GB, free: 54.55 MB / 0.5452 GB Notification: Performance of NFConvertDAE.convert: time 0.04872/1.134, allocations: 48.95 MB / 0.7951 GB, free: 39.15 MB / 0.5452 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/1.134, allocations: 0 / 0.7951 GB, free: 39.15 MB / 0.5452 GB Notification: Performance of FrontEnd: time 1.843e-06/1.134, allocations: 2.969 kB / 0.7951 GB, free: 39.15 MB / 0.5452 GB Notification: Performance of Transformations before backend: time 0.001426/1.136, allocations: 0.5 kB / 0.7951 GB, free: 39.15 MB / 0.5452 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.06955/1.205, allocations: 30.53 MB / 0.8249 GB, free: 18.75 MB / 0.5452 GB Notification: Performance of prepare preOptimizeDAE: time 5.952e-05/1.205, allocations: 7.625 kB / 0.8249 GB, free: 18.75 MB / 0.5452 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02849/1.234, allocations: 5.786 MB / 0.8305 GB, free: 15.81 MB / 0.5452 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03178/1.266, allocations: 17.9 MB / 0.848 GB, free: 3.633 MB / 0.5452 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001066/1.267, allocations: 1.566 MB / 0.8496 GB, free: 2.184 MB / 0.5452 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006854/1.274, allocations: 2.125 MB / 0.8516 GB, free: 180 kB / 0.5452 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1213/1.395, allocations: 54.56 MB / 0.9049 GB, free: 7.836 MB / 0.6077 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001492/1.396, allocations: 241 kB / 0.9051 GB, free: 7.68 MB / 0.6077 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007795/1.404, allocations: 0.9367 MB / 0.9061 GB, free: 6.859 MB / 0.6077 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01349/1.418, allocations: 7.713 MB / 0.9136 GB, free: 15.26 MB / 0.6233 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1006/1.518, allocations: 43.43 MB / 0.956 GB, free: 4.594 MB / 0.6545 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.5053/2.024, allocations: 219.9 MB / 1.171 GB, free: 47.52 MB / 0.6545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05914/2.083, allocations: 24.63 MB / 1.195 GB, free: 22.77 MB / 0.6545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01582/2.099, allocations: 15.55 MB / 1.21 GB, free: 7.203 MB / 0.6545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00186/2.101, allocations: 1.913 MB / 1.212 GB, free: 5.055 MB / 0.6545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.2972/2.398, allocations: 18.9 MB / 1.23 GB, free: 213.1 MB / 0.6545 GB Notification: Performance of pre-optimization done (n=751): time 1.214e-05/2.398, allocations: 2.25 kB / 1.23 GB, free: 213.1 MB / 0.6545 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.bodyShape5.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