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/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.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/package.mo): time 0.07528/0.07528, allocations: 12.02 MB / 27.65 MB, free: 1.871 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.001194/0.001194, allocations: 111.2 kB / 31.36 MB, free: 4.977 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.001463/0.001463, allocations: 192.5 kB / 35.2 MB, free: 1.156 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.506/1.506, allocations: 222.9 MB / 261.7 MB, free: 7.473 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.1109/0.1109, allocations: 13.68 MB / 328.5 MB, free: 440 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.03308/0.03308, allocations: 19.64 MB / 472.4 MB, free: 2.652 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4086/0.4417, allocations: 55.39 MB / 0.5154 GB, free: 20.27 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.06332/0.5051, allocations: 60.66 MB / 0.5747 GB, free: 8.656 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0474/0.5525, allocations: 16.29 MB / 0.5906 GB, free: 8.625 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02113/0.5737, allocations: 0.4907 MB / 0.591 GB, free: 8.133 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.05556/0.6293, allocations: 31.12 MB / 0.6214 GB, free: 8.949 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02677/0.6562, allocations: 8.1 MB / 0.6293 GB, free: 0.875 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01236/0.6686, allocations: 5.356 MB / 0.6346 GB, free: 11.54 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.03993/0.7085, allocations: 26.78 MB / 0.6607 GB, free: 0.832 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.078/0.7866, allocations: 43.88 MB / 0.7036 GB, free: 5.367 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02688/0.8135, allocations: 12.91 MB / 0.7162 GB, free: 8.43 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.4322/1.246, allocations: 16.1 MB / 0.7319 GB, free: 54.52 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.01674/1.263, allocations: 4.059 MB / 0.7359 GB, free: 54.52 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02086/1.283, allocations: 5.391 MB / 0.7411 GB, free: 54.52 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.02534/1.309, allocations: 15.12 MB / 0.7559 GB, free: 54.52 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.04168/1.351, allocations: 17.23 MB / 0.7727 GB, free: 50.11 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.07655/1.427, allocations: 58.58 MB / 0.8299 GB, free: 14.82 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 8.235e-06/1.427, allocations: 0 / 0.8299 GB, free: 14.82 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.004e-06/1.427, allocations: 0 / 0.8299 GB, free: 14.82 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.002273/1.43, allocations: 2.531 kB / 0.8299 GB, free: 14.82 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.1186/1.548, allocations: 33.74 MB / 0.8629 GB, free: 300 kB / 0.5607 GB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/1.548, allocations: 17.47 kB / 0.8629 GB, free: 288 kB / 0.5607 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03245/1.581, allocations: 5.778 MB / 0.8685 GB, free: 10.47 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04605/1.627, allocations: 21.13 MB / 0.8892 GB, free: 6.301 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001902/1.629, allocations: 1.795 MB / 0.8909 GB, free: 4.59 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0137/1.642, allocations: 2.439 MB / 0.8933 GB, free: 2.234 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1591/1.801, allocations: 57.14 MB / 0.9491 GB, free: 7.527 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002808/1.804, allocations: 232.8 kB / 0.9493 GB, free: 7.367 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01373/1.818, allocations: 1.052 MB / 0.9504 GB, free: 6.402 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01258/1.831, allocations: 6.49 MB / 0.9567 GB, free: 0 / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5106/2.341, allocations: 47.36 MB / 1.003 GB, free: 147.4 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.34/2.681, allocations: 224.9 MB / 1.223 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3986/3.08, allocations: 27.71 MB / 1.25 GB, free: 274.9 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02208/3.102, allocations: 16.79 MB / 1.266 GB, free: 268.3 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001766/3.104, allocations: 1.303 MB / 1.267 GB, free: 267.3 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.06315/3.167, allocations: 20.41 MB / 1.287 GB, free: 262.4 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=891): time 3.188e-05/3.167, allocations: 0 / 1.287 GB, free: 262.4 MB / 0.7325 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