Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr DroneLibrary_DroneLibrary.Examples.Visualize.ModuleTest_Dymola.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_Dymola,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Examples.Visualize.ModuleTest_Dymola") translateModel(DroneLibrary.Examples.Visualize.ModuleTest_Dymola,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Examples.Visualize.ModuleTest_Dymola") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.08498/0.08498, allocations: 12.03 MB / 27.91 MB, free: 2.16 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.001068/0.001068, allocations: 116.2 kB / 31.62 MB, free: 5.234 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.001472/0.001472, allocations: 196.4 kB / 35.43 MB, free: 1.438 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.411/1.411, allocations: 222.9 MB / 262 MB, free: 8.602 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.05889/0.05889, allocations: 13.69 MB / 328.7 MB, free: 0.6602 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.02735/0.02735, allocations: 18.41 MB / 414.6 MB, free: 27.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.1534, allocations: 55.42 MB / 470 MB, free: 5.484 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Examples.Visualize.ModuleTest_Dymola): time 0.9161/1.07, allocations: 354.4 MB / 0.8051 GB, free: 14.12 MB / 0.5138 GB Notification: Performance of NFInst.instExpressions: time 0.1609/1.23, allocations: 71.24 MB / 0.8747 GB, free: 3.102 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.1001/1.331, allocations: 1.573 MB / 0.8762 GB, free: 1.527 MB / 0.5607 GB Notification: Performance of NFTyping.typeComponents: time 0.04082/1.371, allocations: 24.04 MB / 0.8997 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.02595/1.398, allocations: 7.765 MB / 0.9072 GB, free: 4.391 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0135/1.411, allocations: 5.355 MB / 0.9125 GB, free: 15.05 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.04017/1.451, allocations: 28.72 MB / 0.9405 GB, free: 2.312 MB / 0.6232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.5422/1.993, allocations: 41.46 MB / 0.981 GB, free: 7.555 MB / 0.6232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02316/2.017, allocations: 12.59 MB / 0.9933 GB, free: 7.551 MB / 0.6232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0242/2.041, allocations: 16.59 MB / 1.01 GB, free: 6.648 MB / 0.6232 GB Notification: Performance of NFPackage.collectConstants: time 0.01152/2.052, allocations: 3.972 MB / 1.013 GB, free: 6.648 MB / 0.6232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01515/2.068, allocations: 5.884 MB / 1.019 GB, free: 6.648 MB / 0.6232 GB Notification: Performance of NFScalarize.scalarize: time 0.02268/2.09, allocations: 14.48 MB / 1.033 GB, free: 5.52 MB / 0.6232 GB Notification: Performance of NFVerifyModel.verify: time 0.03765/2.128, allocations: 17.33 MB / 1.05 GB, free: 13.51 MB / 0.6388 GB Notification: Performance of NFConvertDAE.convert: time 0.05307/2.181, allocations: 50.17 MB / 1.099 GB, free: 12.32 MB / 0.6857 GB Notification: Performance of FrontEnd - DAE generated: time 6.321e-06/2.181, allocations: 3.938 kB / 1.099 GB, free: 12.31 MB / 0.6857 GB Notification: Performance of FrontEnd: time 1.834e-06/2.181, allocations: 0 / 1.099 GB, free: 12.31 MB / 0.6857 GB Notification: Performance of Transformations before backend: time 0.001736/2.183, allocations: 0 / 1.099 GB, free: 12.31 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: 8014 * Number of variables: 8014 Notification: Performance of Generate backend data structure: time 0.08984/2.273, allocations: 32.85 MB / 1.131 GB, free: 11.64 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/2.273, allocations: 8.031 kB / 1.131 GB, free: 11.64 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02978/2.303, allocations: 5.99 MB / 1.137 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04012/2.343, allocations: 21.34 MB / 1.158 GB, free: 1.145 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001503/2.344, allocations: 1.629 MB / 1.16 GB, free: 15.63 MB / 0.7482 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009009/2.353, allocations: 2.215 MB / 1.162 GB, free: 13.54 MB / 0.7482 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1356/2.489, allocations: 59.75 MB / 1.22 GB, free: 15.68 MB / 0.8107 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001504/2.491, allocations: 249.3 kB / 1.22 GB, free: 15.52 MB / 0.8107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008962/2.499, allocations: 0.9745 MB / 1.221 GB, free: 14.66 MB / 0.8107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01468/2.514, allocations: 8.446 MB / 1.23 GB, free: 6.305 MB / 0.8107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5622/3.076, allocations: 48.18 MB / 1.277 GB, free: 401.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.311/3.388, allocations: 248.5 MB / 1.519 GB, free: 166.8 MB / 0.8108 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06189/3.449, allocations: 27.83 MB / 1.546 GB, free: 138.9 MB / 0.8108 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01993/3.469, allocations: 17.52 MB / 1.563 GB, free: 121.3 MB / 0.8108 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002603/3.472, allocations: 2.606 MB / 1.566 GB, free: 118.4 MB / 0.8108 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05674/3.529, allocations: 20.88 MB / 1.586 GB, free: 97.43 MB / 0.8108 GB Notification: Performance of pre-optimization done (n=838): time 1.764e-05/3.529, allocations: 0 / 1.586 GB, free: 97.43 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