Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr DroneLibrary_DroneLibrary.Tests.controlModuleTest.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.Tests.controlModuleTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Tests.controlModuleTest") translateModel(DroneLibrary.Tests.controlModuleTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Tests.controlModuleTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.06906/0.06906, allocations: 12.03 MB / 27.53 MB, free: 1.406 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.0009545/0.0009545, allocations: 113.3 kB / 31.24 MB, free: 4.566 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.001071/0.001071, allocations: 200.3 kB / 35.07 MB, free: 0.7578 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.263/1.263, allocations: 222.9 MB / 261.6 MB, free: 24 kB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.05745/0.05745, allocations: 13.68 MB / 328.3 MB, free: 3.715 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.02315/0.02315, allocations: 19.59 MB / 415.6 MB, free: 25.03 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09263/0.1158, allocations: 55.4 MB / 471 MB, free: 4.387 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Tests.controlModuleTest): time 0.23/0.3459, allocations: 61.05 MB / 0.5196 GB, free: 13.24 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02867/0.3746, allocations: 16.42 MB / 0.5357 GB, free: 12.56 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01249/0.3871, allocations: 0.4967 MB / 0.5361 GB, free: 12.56 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.04348/0.4306, allocations: 31.13 MB / 0.5665 GB, free: 15.84 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01979/0.4504, allocations: 7.864 MB / 0.5742 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0116/0.4621, allocations: 5.418 MB / 0.5795 GB, free: 7.066 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0317/0.4938, allocations: 26.93 MB / 0.6058 GB, free: 0.8555 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05993/0.5538, allocations: 44.06 MB / 0.6488 GB, free: 5.914 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02033/0.5741, allocations: 12.99 MB / 0.6615 GB, free: 9.508 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02296/0.5971, allocations: 16.11 MB / 0.6773 GB, free: 10.23 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01055/0.6077, allocations: 4.07 MB / 0.6812 GB, free: 6.16 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01423/0.622, allocations: 5.402 MB / 0.6865 GB, free: 0.832 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01913/0.6411, allocations: 14.91 MB / 0.7011 GB, free: 1.941 MB / 0.4982 GB Notification: Performance of NFVerifyModel.verify: time 0.2638/0.905, allocations: 17.29 MB / 0.718 GB, free: 60.3 MB / 0.4982 GB Notification: Performance of NFConvertDAE.convert: time 0.05834/0.9634, allocations: 58.04 MB / 0.7746 GB, free: 42.77 MB / 0.4982 GB Notification: Performance of FrontEnd - DAE generated: time 7.895e-06/0.9634, allocations: 0 / 0.7746 GB, free: 42.77 MB / 0.4982 GB Notification: Performance of FrontEnd: time 2.324e-06/0.9634, allocations: 0 / 0.7746 GB, free: 42.77 MB / 0.4982 GB Notification: Performance of Transformations before backend: time 0.001944/0.9654, allocations: 2.906 kB / 0.7746 GB, free: 42.77 MB / 0.4982 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8015 * Number of variables: 8015 Notification: Performance of Generate backend data structure: time 0.09528/1.061, allocations: 34.03 MB / 0.8079 GB, free: 20.29 MB / 0.4982 GB Notification: Performance of prepare preOptimizeDAE: time 3.237e-05/1.061, allocations: 9.719 kB / 0.8079 GB, free: 20.29 MB / 0.4982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02583/1.087, allocations: 5.791 MB / 0.8135 GB, free: 17.38 MB / 0.4982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0369/1.123, allocations: 20.79 MB / 0.8339 GB, free: 1.645 MB / 0.4982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001423/1.125, allocations: 1.802 MB / 0.8356 GB, free: 15.92 MB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009886/1.135, allocations: 2.456 MB / 0.838 GB, free: 13.56 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1356/1.27, allocations: 57.24 MB / 0.8939 GB, free: 2.746 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001656/1.272, allocations: 236.5 kB / 0.8941 GB, free: 2.582 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008999/1.281, allocations: 1.052 MB / 0.8952 GB, free: 1.617 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0113/1.292, allocations: 6.497 MB / 0.9015 GB, free: 11.2 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3128/1.605, allocations: 47.5 MB / 0.9479 GB, free: 170.6 MB / 0.5763 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.5445/2.15, allocations: 226.5 MB / 1.169 GB, free: 68.94 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0668/2.217, allocations: 27.9 MB / 1.196 GB, free: 67.84 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0194/2.236, allocations: 16.88 MB / 1.213 GB, free: 67.73 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00147/2.237, allocations: 1.301 MB / 1.214 GB, free: 66.86 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05658/2.294, allocations: 20.52 MB / 1.234 GB, free: 66.54 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=901): time 1.846e-05/2.294, allocations: 1 kB / 1.234 GB, free: 66.54 MB / 0.5763 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: droneChassis1.bodyCylinder.body.frame_a.r_0[1] = propellerRev.blades.bodyShape4.body.frame_a.r_0[1] + 0.25 * 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:7956:5-7956:89:writable] Error: Internal error Transformation module sort components failed