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.06646/0.06646, allocations: 12.01 MB / 27.24 MB, free: 2.113 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.001115/0.001116, allocations: 112 kB / 30.93 MB, free: 5.277 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.001379/0.001379, allocations: 196 kB / 34.75 MB, free: 1.48 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.359/1.359, allocations: 222.9 MB / 261.3 MB, free: 220 kB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.05819/0.05819, allocations: 13.67 MB / 328 MB, free: 3.883 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.02955/0.02955, allocations: 18.42 MB / 413.9 MB, free: 26.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.1578, allocations: 55.42 MB / 469.3 MB, free: 5.883 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Examples.Visualize.ModuleTest_NoInput): time 0.939/1.097, allocations: 352 MB / 0.8021 GB, free: 14.38 MB / 0.5138 GB Notification: Performance of NFInst.instExpressions: time 0.1981/1.295, allocations: 70.3 MB / 0.8708 GB, free: 5.266 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.1162/1.411, allocations: 1.555 MB / 0.8723 GB, free: 3.707 MB / 0.5607 GB Notification: Performance of NFTyping.typeComponents: time 0.0557/1.467, allocations: 23.95 MB / 0.8957 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.03097/1.498, allocations: 7.533 MB / 0.903 GB, free: 7.84 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.01363/1.512, allocations: 5.073 MB / 0.908 GB, free: 2.781 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.04135/1.553, allocations: 28 MB / 0.9353 GB, free: 6.758 MB / 0.6232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.5921/2.145, allocations: 40.78 MB / 0.9752 GB, free: 8.809 MB / 0.6232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02809/2.173, allocations: 12.35 MB / 0.9872 GB, free: 8.805 MB / 0.6232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0307/2.204, allocations: 16.32 MB / 1.003 GB, free: 8.02 MB / 0.6232 GB Notification: Performance of NFPackage.collectConstants: time 0.01666/2.221, allocations: 3.903 MB / 1.007 GB, free: 8.02 MB / 0.6232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0244/2.245, allocations: 5.158 MB / 1.012 GB, free: 8.016 MB / 0.6232 GB Notification: Performance of NFScalarize.scalarize: time 0.03307/2.279, allocations: 14.33 MB / 1.026 GB, free: 6.914 MB / 0.6232 GB Notification: Performance of NFVerifyModel.verify: time 0.04692/2.325, allocations: 16.91 MB / 1.043 GB, free: 2.496 MB / 0.6232 GB Notification: Performance of NFConvertDAE.convert: time 0.08748/2.413, allocations: 57.1 MB / 1.098 GB, free: 13.46 MB / 0.6857 GB Notification: Performance of FrontEnd - DAE generated: time 1.06e-05/2.413, allocations: 0 / 1.098 GB, free: 13.46 MB / 0.6857 GB Notification: Performance of FrontEnd: time 3.517e-06/2.413, allocations: 1.594 kB / 1.098 GB, free: 13.46 MB / 0.6857 GB Notification: Performance of Transformations before backend: time 0.002489/2.416, allocations: 0 / 1.098 GB, free: 13.46 MB / 0.6857 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.11/2.526, allocations: 32.14 MB / 1.13 GB, free: 13.51 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.332e-05/2.526, allocations: 15.97 kB / 1.13 GB, free: 13.49 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03253/2.558, allocations: 5.918 MB / 1.135 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04902/2.607, allocations: 20.97 MB / 1.156 GB, free: 3.422 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002476/2.61, allocations: 1.593 MB / 1.157 GB, free: 1.953 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01367/2.623, allocations: 2.163 MB / 1.16 GB, free: 15.91 MB / 0.7482 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1505/2.774, allocations: 59.25 MB / 1.217 GB, free: 2.586 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002269/2.776, allocations: 248.1 kB / 1.218 GB, free: 2.426 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01307/2.789, allocations: 0.9537 MB / 1.219 GB, free: 1.594 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01464/2.804, allocations: 8.429 MB / 1.227 GB, free: 9.25 MB / 0.8107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.7042/3.508, allocations: 47.87 MB / 1.274 GB, free: 402.3 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.3417/3.85, allocations: 246.1 MB / 1.514 GB, free: 173.3 MB / 0.8108 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05982/3.91, allocations: 27.28 MB / 1.541 GB, free: 146 MB / 0.8108 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01907/3.929, allocations: 17.37 MB / 1.558 GB, free: 128.6 MB / 0.8108 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002656/3.932, allocations: 2.601 MB / 1.56 GB, free: 125.6 MB / 0.8108 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05645/3.988, allocations: 20.63 MB / 1.58 GB, free: 104.9 MB / 0.8108 GB Notification: Performance of pre-optimization done (n=788): time 2.034e-05/3.988, allocations: 0 / 1.58 GB, free: 104.9 MB / 0.8108 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: 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/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:7953:5-7953:89:writable] Error: Internal error Transformation module sort components failed