Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr DroneLibrary_DroneLibrary.Examples.DroneWithIdealPower.Drone_IdealMachine.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.Examples.DroneWithIdealPower.Drone_IdealMachine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Examples.DroneWithIdealPower.Drone_IdealMachine") translateModel(DroneLibrary.Examples.DroneWithIdealPower.Drone_IdealMachine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Examples.DroneWithIdealPower.Drone_IdealMachine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.06676/0.06676, allocations: 12.04 MB / 28.35 MB, free: 1.695 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.001127/0.001127, allocations: 107.5 kB / 32.07 MB, free: 4.543 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.001311/0.001311, allocations: 192.5 kB / 35.9 MB, free: 0.7266 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.47/1.47, allocations: 222.9 MB / 262.5 MB, free: 7.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.06379/0.06379, allocations: 13.68 MB / 329.2 MB, free: 424 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.03218/0.03218, allocations: 19.66 MB / 473.1 MB, free: 2.637 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4286/0.4608, allocations: 55.39 MB / 0.5161 GB, free: 20.18 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 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. [/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. Notification: Performance of NFInst.instantiate(DroneLibrary.Examples.DroneWithIdealPower.Drone_IdealMachine): time 0.06653/0.5274, allocations: 60.67 MB / 0.5754 GB, free: 8.633 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.04849/0.5759, allocations: 16.29 MB / 0.5913 GB, free: 8.559 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02246/0.5984, allocations: 0.4907 MB / 0.5918 GB, free: 8.055 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.05751/0.656, allocations: 31.12 MB / 0.6222 GB, free: 8.871 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02829/0.6843, allocations: 8.088 MB / 0.6301 GB, free: 0.8086 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01452/0.6989, allocations: 5.359 MB / 0.6353 GB, free: 11.46 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.04458/0.7435, allocations: 26.77 MB / 0.6614 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.08188/0.8255, allocations: 43.88 MB / 0.7043 GB, free: 5.289 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02682/0.8523, allocations: 12.91 MB / 0.7169 GB, free: 8.352 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.4573/1.31, allocations: 16.1 MB / 0.7326 GB, free: 54.58 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.01916/1.329, allocations: 4.059 MB / 0.7366 GB, free: 54.58 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02309/1.352, allocations: 5.388 MB / 0.7418 GB, free: 54.58 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.02809/1.38, allocations: 15.12 MB / 0.7566 GB, free: 54.58 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.04497/1.425, allocations: 17.23 MB / 0.7734 GB, free: 50.09 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.07573/1.501, allocations: 58.59 MB / 0.8306 GB, free: 14.74 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 1.189e-05/1.501, allocations: 0 / 0.8306 GB, free: 14.74 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.506e-06/1.501, allocations: 0 / 0.8306 GB, free: 14.74 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.002996/1.504, allocations: 0 / 0.8306 GB, free: 14.74 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.1229/1.627, allocations: 33.74 MB / 0.8636 GB, free: 204 kB / 0.5607 GB Notification: Performance of prepare preOptimizeDAE: time 5.52e-05/1.627, allocations: 12.03 kB / 0.8636 GB, free: 192 kB / 0.5607 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0327/1.66, allocations: 5.781 MB / 0.8693 GB, free: 10.38 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05278/1.713, allocations: 21.12 MB / 0.8899 GB, free: 6.211 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001965/1.715, allocations: 1.798 MB / 0.8916 GB, free: 4.5 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01254/1.727, allocations: 2.442 MB / 0.894 GB, free: 2.145 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1456/1.873, allocations: 57.13 MB / 0.9498 GB, free: 7.438 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001862/1.875, allocations: 237 kB / 0.95 GB, free: 7.273 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01023/1.885, allocations: 1.046 MB / 0.9511 GB, free: 6.312 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01156/1.897, allocations: 6.496 MB / 0.9574 GB, free: 15.91 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4369/2.333, allocations: 47.37 MB / 1.004 GB, free: 219.2 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.3112/2.645, allocations: 224.9 MB / 1.223 GB, free: 16.88 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.447/3.092, allocations: 27.7 MB / 1.25 GB, free: 210 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02433/3.116, allocations: 16.79 MB / 1.267 GB, free: 203.1 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002357/3.119, allocations: 1.295 MB / 1.268 GB, free: 202.1 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.06057/3.179, allocations: 20.42 MB / 1.288 GB, free: 197.2 MB / 0.67 GB Notification: Performance of pre-optimization done (n=891): time 2.689e-05/3.179, allocations: 0 / 1.288 GB, free: 197.2 MB / 0.67 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