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.06381/0.06381, allocations: 12.02 MB / 27.52 MB, free: 1.34 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.0009588/0.0009587, allocations: 118.5 kB / 31.23 MB, free: 4.586 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.001186/0.001187, allocations: 194.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.271/1.271, allocations: 222.9 MB / 261.6 MB, free: 28 kB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.05931/0.05931, allocations: 13.68 MB / 328.3 MB, free: 3.699 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.02513/0.02513, allocations: 19.59 MB / 415.6 MB, free: 24.99 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09294/0.1181, allocations: 55.41 MB / 471.1 MB, free: 4.344 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Examples.Visualize.ModuleTest_NoInput): time 0.235/0.3531, allocations: 54.87 MB / 0.5136 GB, free: 13.3 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02958/0.3828, allocations: 15.62 MB / 0.5289 GB, free: 13.1 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01228/0.3951, allocations: 458.2 kB / 0.5293 GB, free: 13.1 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03845/0.4336, allocations: 24.69 MB / 0.5534 GB, free: 4.648 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02191/0.4555, allocations: 8.088 MB / 0.5613 GB, free: 15.41 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01352/0.4691, allocations: 5.334 MB / 0.5665 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.03789/0.507, allocations: 27.83 MB / 0.5937 GB, free: 8.395 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06069/0.5677, allocations: 38.98 MB / 0.6318 GB, free: 2.352 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02217/0.5899, allocations: 12.1 MB / 0.6436 GB, free: 6.805 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02257/0.6125, allocations: 14.94 MB / 0.6582 GB, free: 8.645 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01073/0.6233, allocations: 3.902 MB / 0.662 GB, free: 4.742 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01469/0.638, allocations: 5.131 MB / 0.667 GB, free: 15.69 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01902/0.6571, allocations: 14.17 MB / 0.6808 GB, free: 1.531 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02854/0.6857, allocations: 16.84 MB / 0.6973 GB, free: 0.668 MB / 0.4982 GB Notification: Performance of NFConvertDAE.convert: time 0.5096/1.195, allocations: 56.95 MB / 0.7529 GB, free: 58.58 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/1.195, allocations: 0 / 0.7529 GB, free: 58.58 MB / 0.4983 GB Notification: Performance of FrontEnd: time 2.425e-06/1.195, allocations: 0 / 0.7529 GB, free: 58.58 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 0.001804/1.197, allocations: 0 / 0.7529 GB, free: 58.58 MB / 0.4983 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.09922/1.296, allocations: 32.14 MB / 0.7843 GB, free: 40.05 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/1.296, allocations: 17.8 kB / 0.7843 GB, free: 40.04 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03099/1.327, allocations: 5.913 MB / 0.7901 GB, free: 37 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04275/1.37, allocations: 20.97 MB / 0.8105 GB, free: 23.53 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001588/1.372, allocations: 1.587 MB / 0.8121 GB, free: 22.91 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01332/1.385, allocations: 2.169 MB / 0.8142 GB, free: 21.2 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1335/1.519, allocations: 59.25 MB / 0.8721 GB, free: 8.148 MB / 0.5452 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001427/1.52, allocations: 244 kB / 0.8723 GB, free: 7.992 MB / 0.5452 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01034/1.531, allocations: 0.9558 MB / 0.8732 GB, free: 7.156 MB / 0.5452 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01437/1.545, allocations: 8.432 MB / 0.8815 GB, free: 14.84 MB / 0.5608 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3831/1.928, allocations: 47.87 MB / 0.9282 GB, free: 174.8 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.6396/2.568, allocations: 246.1 MB / 1.169 GB, free: 67.76 MB / 0.5764 GB Notification: Performance of preOpt comSubExp (simulation): time 0.065/2.633, allocations: 27.27 MB / 1.195 GB, free: 66.84 MB / 0.5764 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01964/2.652, allocations: 17.38 MB / 1.212 GB, free: 66.77 MB / 0.5764 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002915/2.655, allocations: 2.601 MB / 1.215 GB, free: 64.76 MB / 0.5764 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.06112/2.716, allocations: 20.63 MB / 1.235 GB, free: 56.13 MB / 0.5764 GB Notification: Performance of pre-optimization done (n=788): time 1.733e-05/2.716, allocations: 0 / 1.235 GB, free: 56.13 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: 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:7956:5-7956:89:writable] Error: Internal error Transformation module sort components failed