Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr DroneLibrary_DroneLibrary.Tests.controlModuleTest2.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.controlModuleTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Tests.controlModuleTest2") translateModel(DroneLibrary.Tests.controlModuleTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Tests.controlModuleTest2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.06291/0.06291, allocations: 12.03 MB / 27.53 MB, free: 1.332 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.0009305/0.0009305, allocations: 108 kB / 31.23 MB, free: 4.582 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.001092/0.001092, allocations: 196.3 kB / 35.05 MB, free: 0.7812 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.327/1.327, allocations: 222.9 MB / 261.6 MB, free: 10.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.1691/0.1691, allocations: 13.67 MB / 328.3 MB, free: 2.734 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.02843/0.02843, allocations: 19.58 MB / 415.6 MB, free: 5.699 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3792/0.4077, allocations: 55.38 MB / 471 MB, free: 53.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Tests.controlModuleTest2): time 0.04008/0.4478, allocations: 61.06 MB / 0.5196 GB, free: 11 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03235/0.4802, allocations: 16.44 MB / 0.5357 GB, free: 15.6 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01539/0.4957, allocations: 0.4969 MB / 0.5361 GB, free: 15.51 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.05224/0.5479, allocations: 31.12 MB / 0.5665 GB, free: 10.98 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01974/0.5677, allocations: 7.859 MB / 0.5742 GB, free: 3.148 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01158/0.5793, allocations: 5.414 MB / 0.5795 GB, free: 13.75 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0329/0.6123, allocations: 26.94 MB / 0.6058 GB, free: 2.895 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2814/0.8937, allocations: 44.11 MB / 0.6489 GB, free: 26.52 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01804/0.9118, allocations: 12.99 MB / 0.6616 GB, free: 26.2 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02371/0.9355, allocations: 16.12 MB / 0.6773 GB, free: 24.95 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01457/0.9501, allocations: 4.071 MB / 0.6813 GB, free: 24.95 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01807/0.9682, allocations: 5.401 MB / 0.6866 GB, free: 24.95 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01965/0.9879, allocations: 14.91 MB / 0.7011 GB, free: 22.3 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02586/1.014, allocations: 17.3 MB / 0.718 GB, free: 9.918 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.05402/1.068, allocations: 58.05 MB / 0.7747 GB, free: 8.207 MB / 0.5138 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/1.068, allocations: 0 / 0.7747 GB, free: 8.207 MB / 0.5138 GB Notification: Performance of FrontEnd: time 1.593e-06/1.068, allocations: 2.594 kB / 0.7747 GB, free: 8.207 MB / 0.5138 GB Notification: Performance of Transformations before backend: time 0.001514/1.069, allocations: 0 / 0.7747 GB, free: 8.207 MB / 0.5138 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.08641/1.156, allocations: 34.04 MB / 0.8079 GB, free: 6.375 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/1.156, allocations: 8.031 kB / 0.8079 GB, free: 6.367 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02576/1.182, allocations: 5.798 MB / 0.8136 GB, free: 0.543 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03686/1.219, allocations: 20.8 MB / 0.8339 GB, free: 12.65 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001397/1.22, allocations: 1.797 MB / 0.8357 GB, free: 10.93 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008402/1.228, allocations: 2.454 MB / 0.8381 GB, free: 8.566 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5028/1.731, allocations: 57.23 MB / 0.894 GB, free: 160.1 MB / 0.5764 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001354/1.733, allocations: 233.1 kB / 0.8942 GB, free: 160.1 MB / 0.5764 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00761/1.74, allocations: 1.052 MB / 0.8952 GB, free: 159.4 MB / 0.5764 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01101/1.751, allocations: 6.49 MB / 0.9015 GB, free: 158 MB / 0.5764 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09347/1.845, allocations: 47.52 MB / 0.948 GB, free: 125.4 MB / 0.5764 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.5465/2.391, allocations: 226.6 MB / 1.169 GB, free: 66.01 MB / 0.5764 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06815/2.459, allocations: 27.87 MB / 1.196 GB, free: 57.77 MB / 0.5764 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01895/2.478, allocations: 16.89 MB / 1.213 GB, free: 49.94 MB / 0.5764 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00196/2.48, allocations: 1.297 MB / 1.214 GB, free: 49 MB / 0.5764 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05843/2.539, allocations: 20.51 MB / 1.234 GB, free: 42.66 MB / 0.5764 GB Notification: Performance of pre-optimization done (n=901): time 1.825e-05/2.539, allocations: 3.469 kB / 1.234 GB, free: 42.66 MB / 0.5764 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