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.07236/0.07236, allocations: 12.04 MB / 27.65 MB, free: 1.848 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.0008714/0.0008714, allocations: 107.5 kB / 31.38 MB, free: 5.27 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.001158/0.001159, allocations: 180.5 kB / 35.21 MB, free: 1.449 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.551/1.551, allocations: 223.2 MB / 262.1 MB, free: 0.8633 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.05938/0.05938, allocations: 13.7 MB / 329.9 MB, free: 1.121 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.03121/0.03121, allocations: 17.45 MB / 415.6 MB, free: 28.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.157/0.1882, allocations: 56.49 MB / 472.1 MB, free: 5.738 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Examples.Visualize.ModuleTest_Dymola): time 1.1/1.288, allocations: 322.1 MB / 0.7756 GB, free: 68 kB / 0.4982 GB Notification: Performance of NFInst.instExpressions: time 0.196/1.484, allocations: 69.12 MB / 0.8431 GB, free: 8.734 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.1291/1.614, allocations: 1.555 MB / 0.8446 GB, free: 7.176 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.08395/1.698, allocations: 17.04 MB / 0.8612 GB, free: 6.348 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.2007/1.898, allocations: 48.18 MB / 0.9083 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.03368/1.932, allocations: 4.135 MB / 0.9123 GB, free: 7.41 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.6811/2.613, allocations: 59.62 MB / 0.9705 GB, free: 28.55 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0861/2.699, allocations: 41.64 MB / 1.011 GB, free: 24.55 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02096/2.72, allocations: 7.903 MB / 1.019 GB, free: 24.03 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0242/2.745, allocations: 11.86 MB / 1.031 GB, free: 18.22 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.00893/2.754, allocations: 1.006 MB / 1.031 GB, free: 17.21 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01755/2.771, allocations: 2.716 MB / 1.034 GB, free: 15.38 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.02074/2.792, allocations: 10.82 MB / 1.045 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.01546/2.808, allocations: 6.009 MB / 1.051 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.06296/2.871, allocations: 48.27 MB / 1.098 GB, free: 14.77 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 9.768e-06/2.871, allocations: 0 / 1.098 GB, free: 14.77 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.825e-06/2.871, allocations: 2.438 kB / 1.098 GB, free: 14.77 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.002191/2.873, allocations: 0 / 1.098 GB, free: 14.77 MB / 0.6544 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.0893/2.962, allocations: 26.53 MB / 1.124 GB, free: 6.367 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.039e-05/2.962, allocations: 8.031 kB / 1.124 GB, free: 6.359 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03301/2.995, allocations: 6.096 MB / 1.13 GB, free: 0.5078 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0578/3.053, allocations: 20.97 MB / 1.15 GB, free: 4.625 MB / 0.6857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00233/3.055, allocations: 1.633 MB / 1.152 GB, free: 3.699 MB / 0.6857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01602/3.072, allocations: 2.216 MB / 1.154 GB, free: 2.223 MB / 0.6857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.9707/4.042, allocations: 59.75 MB / 1.212 GB, free: 323.1 MB / 0.7327 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002294/4.045, allocations: 244.7 kB / 1.212 GB, free: 323 MB / 0.7327 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01521/4.06, allocations: 0.9781 MB / 1.213 GB, free: 323 MB / 0.7327 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.02024/4.08, allocations: 8.442 MB / 1.222 GB, free: 322.9 MB / 0.7327 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1295/4.21, allocations: 48.16 MB / 1.269 GB, free: 307.3 MB / 0.7327 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.3658/4.576, allocations: 247.9 MB / 1.511 GB, free: 67.24 MB / 0.7327 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06281/4.638, allocations: 27.96 MB / 1.538 GB, free: 39.2 MB / 0.7327 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02375/4.662, allocations: 17.52 MB / 1.555 GB, free: 21.66 MB / 0.7327 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003033/4.665, allocations: 2.597 MB / 1.558 GB, free: 18.72 MB / 0.7327 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.5194/5.185, allocations: 20.97 MB / 1.578 GB, free: 310.1 MB / 0.7327 GB Notification: Performance of pre-optimization done (n=838): time 5.356e-05/5.185, allocations: 0 / 1.578 GB, free: 310.1 MB / 0.7327 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:7863:5-7863:89:writable] Error: Internal error Transformation module sort components failed