Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr DroneLibrary_DroneLibrary.Examples.DroneWithIdealPower.TestSystem.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.TestSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Examples.DroneWithIdealPower.TestSystem") translateModel(DroneLibrary.Examples.DroneWithIdealPower.TestSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Examples.DroneWithIdealPower.TestSystem") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.08089/0.08089, allocations: 12.05 MB / 28.22 MB, free: 1.504 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.0009966/0.0009966, allocations: 111.6 kB / 31.93 MB, free: 4.516 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.001348/0.001348, allocations: 192.4 kB / 35.76 MB, free: 0.7031 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.559/1.559, allocations: 222.9 MB / 262.3 MB, free: 10.33 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.2663/0.2663, allocations: 13.67 MB / 329 MB, free: 2.648 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.02953/0.02953, allocations: 19.58 MB / 416.4 MB, free: 5.719 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4204/0.4499, allocations: 55.39 MB / 471.8 MB, free: 53.16 MB / 382.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Examples.DroneWithIdealPower.TestSystem): time 0.0422/0.4922, allocations: 60.71 MB / 0.52 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03491/0.5271, allocations: 17.46 MB / 0.537 GB, free: 14.74 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01331/0.5405, allocations: 0.4929 MB / 0.5375 GB, free: 14.65 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.05576/0.5963, allocations: 31.19 MB / 0.568 GB, free: 10.13 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02101/0.6174, allocations: 8.04 MB / 0.5758 GB, free: 2.117 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01267/0.6301, allocations: 5.892 MB / 0.5816 GB, free: 12.24 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.03675/0.6668, allocations: 28.41 MB / 0.6093 GB, free: 15.91 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3211/0.988, allocations: 47.41 MB / 0.6556 GB, free: 26.38 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0205/1.009, allocations: 13.73 MB / 0.669 GB, free: 25.98 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02694/1.036, allocations: 16.59 MB / 0.6852 GB, free: 24.75 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01506/1.051, allocations: 4.885 MB / 0.69 GB, free: 24.75 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01824/1.069, allocations: 6.186 MB / 0.696 GB, free: 24.75 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.02247/1.091, allocations: 15.71 MB / 0.7114 GB, free: 20.18 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02922/1.121, allocations: 18.78 MB / 0.7297 GB, free: 5.547 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.06764/1.188, allocations: 66.33 MB / 0.7945 GB, free: 6.57 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.775e-06/1.188, allocations: 0 / 0.7945 GB, free: 6.57 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.784e-06/1.188, allocations: 0 / 0.7945 GB, free: 6.57 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.001642/1.19, allocations: 0 / 0.7945 GB, free: 6.57 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8005 * Number of variables: 8005 Notification: Performance of Generate backend data structure: time 0.09636/1.286, allocations: 34.5 MB / 0.8282 GB, free: 4.262 MB / 0.5607 GB Notification: Performance of prepare preOptimizeDAE: time 5.009e-05/1.286, allocations: 12.03 kB / 0.8282 GB, free: 4.25 MB / 0.5607 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02832/1.315, allocations: 5.845 MB / 0.8339 GB, free: 14.38 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4454/1.76, allocations: 23.85 MB / 0.8572 GB, free: 175.3 MB / 0.5764 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001721/1.762, allocations: 1.796 MB / 0.859 GB, free: 174.6 MB / 0.5764 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01087/1.773, allocations: 2.443 MB / 0.8613 GB, free: 173.9 MB / 0.5764 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1339/1.907, allocations: 60.57 MB / 0.9205 GB, free: 145.4 MB / 0.5764 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001612/1.909, allocations: 223.2 kB / 0.9207 GB, free: 145.2 MB / 0.5764 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008898/1.918, allocations: 1.055 MB / 0.9217 GB, free: 144.3 MB / 0.5764 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01058/1.928, allocations: 6.895 MB / 0.9285 GB, free: 138.5 MB / 0.5764 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09962/2.028, allocations: 50.99 MB / 0.9783 GB, free: 89.86 MB / 0.5764 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.586/2.614, allocations: 248.2 MB / 1.221 GB, free: 52.5 MB / 0.6077 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06967/2.684, allocations: 29.26 MB / 1.249 GB, free: 41.9 MB / 0.6077 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02009/2.704, allocations: 18.16 MB / 1.267 GB, free: 31.48 MB / 0.6077 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001878/2.706, allocations: 1.298 MB / 1.268 GB, free: 30.43 MB / 0.6077 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.06234/2.768, allocations: 21.4 MB / 1.289 GB, free: 11.36 MB / 0.6077 GB Notification: Performance of pre-optimization done (n=892): time 2.311e-05/2.768, allocations: 0 / 1.289 GB, free: 11.36 MB / 0.6077 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: drone.droneChassis1.bodyCylinder.body.frame_a.r_0[1] = drone.propellerRev.blades.bodyShape4.body.frame_a.r_0[1] + 0.25 * drone.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:7956:5-7956:89:writable] Error: Internal error Transformation module sort components failed