Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr DroneLibrary_DroneLibrary.Examples.Visualize.ModuleTest_NoInput.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.Visualize.ModuleTest_NoInput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Examples.Visualize.ModuleTest_NoInput") translateModel(DroneLibrary.Examples.Visualize.ModuleTest_NoInput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Examples.Visualize.ModuleTest_NoInput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.0612/0.0612, allocations: 12.05 MB / 27.93 MB, free: 1.516 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.001056/0.001056, allocations: 103.9 kB / 31.62 MB, free: 4.703 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.001185/0.001185, allocations: 204.3 kB / 35.44 MB, free: 0.9023 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.365/1.365, allocations: 222.9 MB / 262 MB, free: 204 kB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.05902/0.05902, allocations: 13.67 MB / 328.7 MB, free: 3.891 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.02784/0.02784, allocations: 18.42 MB / 414.6 MB, free: 26.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1365/0.1644, allocations: 55.43 MB / 470 MB, free: 5.883 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Examples.Visualize.ModuleTest_NoInput): time 1.007/1.171, allocations: 352 MB / 0.8028 GB, free: 14.37 MB / 0.5138 GB Notification: Performance of NFInst.instExpressions: time 0.1656/1.337, allocations: 70.3 MB / 0.8714 GB, free: 5.246 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.07633/1.413, allocations: 1.555 MB / 0.8729 GB, free: 3.688 MB / 0.5607 GB Notification: Performance of NFTyping.typeComponents: time 0.04188/1.455, allocations: 23.95 MB / 0.8963 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0244/1.48, allocations: 7.525 MB / 0.9037 GB, free: 7.824 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.01271/1.493, allocations: 5.082 MB / 0.9086 GB, free: 2.758 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.04074/1.533, allocations: 28.01 MB / 0.936 GB, free: 6.73 MB / 0.6232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.5647/2.098, allocations: 40.78 MB / 0.9758 GB, free: 8.84 MB / 0.6232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02432/2.122, allocations: 12.35 MB / 0.9879 GB, free: 8.836 MB / 0.6232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02718/2.15, allocations: 16.32 MB / 1.004 GB, free: 8.047 MB / 0.6232 GB Notification: Performance of NFPackage.collectConstants: time 0.01325/2.163, allocations: 3.902 MB / 1.008 GB, free: 8.047 MB / 0.6232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01615/2.179, allocations: 5.158 MB / 1.013 GB, free: 8.043 MB / 0.6232 GB Notification: Performance of NFScalarize.scalarize: time 0.02322/2.202, allocations: 14.33 MB / 1.027 GB, free: 6.941 MB / 0.6232 GB Notification: Performance of NFVerifyModel.verify: time 0.03098/2.233, allocations: 16.91 MB / 1.043 GB, free: 2.523 MB / 0.6232 GB Notification: Performance of NFConvertDAE.convert: time 0.05321/2.287, allocations: 49.27 MB / 1.091 GB, free: 5.238 MB / 0.6701 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/2.287, allocations: 0 / 1.091 GB, free: 5.238 MB / 0.6701 GB Notification: Performance of FrontEnd: time 1.242e-06/2.287, allocations: 0 / 1.091 GB, free: 5.238 MB / 0.6701 GB Notification: Performance of Transformations before backend: time 0.001738/2.289, allocations: 4 kB / 1.091 GB, free: 5.234 MB / 0.6701 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7901 * Number of variables: 7901 Notification: Performance of Generate backend data structure: time 0.1066/2.395, allocations: 32.14 MB / 1.123 GB, free: 5.285 MB / 0.7013 GB Notification: Performance of prepare preOptimizeDAE: time 5.48e-05/2.395, allocations: 12.02 kB / 1.123 GB, free: 5.273 MB / 0.7013 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04102/2.436, allocations: 5.915 MB / 1.128 GB, free: 15.32 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04397/2.48, allocations: 20.97 MB / 1.149 GB, free: 11.21 MB / 0.7326 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001896/2.482, allocations: 1.592 MB / 1.15 GB, free: 9.738 MB / 0.7326 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01006/2.492, allocations: 2.167 MB / 1.153 GB, free: 7.688 MB / 0.7326 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1316/2.624, allocations: 59.24 MB / 1.21 GB, free: 10.37 MB / 0.7951 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001474/2.625, allocations: 251.9 kB / 1.211 GB, free: 10.21 MB / 0.7951 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009787/2.635, allocations: 0.9571 MB / 1.212 GB, free: 9.371 MB / 0.7951 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01477/2.65, allocations: 8.427 MB / 1.22 GB, free: 1.031 MB / 0.7951 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5627/3.213, allocations: 47.87 MB / 1.267 GB, free: 402.7 MB / 0.8108 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.3181/3.531, allocations: 246.1 MB / 1.507 GB, free: 180.9 MB / 0.8108 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06355/3.595, allocations: 27.27 MB / 1.534 GB, free: 153.6 MB / 0.8108 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02047/3.615, allocations: 17.38 MB / 1.551 GB, free: 136.2 MB / 0.8108 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002935/3.618, allocations: 2.595 MB / 1.553 GB, free: 133.2 MB / 0.8108 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05705/3.675, allocations: 20.62 MB / 1.573 GB, free: 112.5 MB / 0.8108 GB Notification: Performance of pre-optimization done (n=788): time 2.153e-05/3.675, allocations: 4 kB / 1.573 GB, free: 112.5 MB / 0.8108 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: controlModuleTest_fmu_inputs1.droneChassis1.bodyCylinder.body.frame_a.r_0[1] = controlModuleTest_fmu_inputs1.propellerRev.bodyShape5.body.frame_a.r_0[1] + 0.25 * controlModuleTest_fmu_inputs1.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:7953:5-7953:89:writable] Error: Internal error Transformation module sort components failed