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.07213/0.07213, allocations: 12.03 MB / 27.3 MB, free: 1.723 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.0007606/0.0007603, allocations: 99.05 kB / 31.05 MB, free: 5.184 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.001231/0.001231, allocations: 184.1 kB / 34.9 MB, free: 1.348 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.692/1.692, allocations: 223.3 MB / 261.9 MB, free: 9.566 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.06853/0.06853, allocations: 13.7 MB / 329.6 MB, free: 296 kB / 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.02233/0.02233, allocations: 17.4 MB / 415.6 MB, free: 27.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1545/0.1769, allocations: 56.49 MB / 472.1 MB, free: 5.262 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Examples.Visualize.ModuleTest_Dymola): time 1.079/1.256, allocations: 346.8 MB / 0.7997 GB, free: 14.45 MB / 0.5138 GB Notification: Performance of NFInst.instExpressions: time 0.214/1.47, allocations: 71.33 MB / 0.8694 GB, free: 8.234 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.1061/1.577, allocations: 1.558 MB / 0.8709 GB, free: 6.672 MB / 0.5607 GB Notification: Performance of NFTyping.typeComponents: time 0.01153/1.588, allocations: 2.232 MB / 0.8731 GB, free: 4.434 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.03037/1.619, allocations: 7.941 MB / 0.8808 GB, free: 13.52 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.01366/1.632, allocations: 5.224 MB / 0.8859 GB, free: 8.613 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.05681/1.689, allocations: 39.57 MB / 0.9246 GB, free: 2.66 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.6879/2.377, allocations: 48.92 MB / 0.9724 GB, free: 9.293 MB / 0.6232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02623/2.403, allocations: 7.4 MB / 0.9796 GB, free: 9.289 MB / 0.6232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0275/2.431, allocations: 12.01 MB / 0.9913 GB, free: 8.422 MB / 0.6232 GB Notification: Performance of NFPackage.collectConstants: time 0.009606/2.441, allocations: 1.003 MB / 0.9923 GB, free: 8.422 MB / 0.6232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01824/2.459, allocations: 2.999 MB / 0.9952 GB, free: 8.418 MB / 0.6232 GB Notification: Performance of NFScalarize.scalarize: time 0.02497/2.484, allocations: 10.92 MB / 1.006 GB, free: 7.289 MB / 0.6232 GB Notification: Performance of NFVerifyModel.verify: time 0.03475/2.519, allocations: 13.08 MB / 1.019 GB, free: 2.738 MB / 0.6232 GB Notification: Performance of NFConvertDAE.convert: time 0.08007/2.599, allocations: 54.47 MB / 1.072 GB, free: 6.352 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 9.327e-06/2.599, allocations: 0 / 1.072 GB, free: 6.352 MB / 0.6544 GB Notification: Performance of FrontEnd: time 4.398e-06/2.599, allocations: 4 kB / 1.072 GB, free: 6.348 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.003605/2.602, allocations: 0 / 1.072 GB, free: 6.348 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.1047/2.707, allocations: 26.22 MB / 1.097 GB, free: 14.11 MB / 0.6857 GB Notification: Performance of prepare preOptimizeDAE: time 6.186e-05/2.707, allocations: 8.031 kB / 1.097 GB, free: 14.1 MB / 0.6857 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03572/2.743, allocations: 6.096 MB / 1.103 GB, free: 8.246 MB / 0.6857 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05238/2.796, allocations: 21.33 MB / 1.124 GB, free: 11.75 MB / 0.7013 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002365/2.798, allocations: 1.63 MB / 1.126 GB, free: 10.23 MB / 0.7013 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01506/2.813, allocations: 2.22 MB / 1.128 GB, free: 8.137 MB / 0.7013 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1813/2.994, allocations: 59.93 MB / 1.187 GB, free: 10.09 MB / 0.7638 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002553/2.997, allocations: 241.5 kB / 1.187 GB, free: 9.938 MB / 0.7638 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01567/3.013, allocations: 0.9774 MB / 1.188 GB, free: 9.082 MB / 0.7638 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01664/3.029, allocations: 8.446 MB / 1.196 GB, free: 0.7227 MB / 0.7638 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.8161/3.845, allocations: 48.38 MB / 1.243 GB, free: 380.5 MB / 0.7952 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.4428/4.288, allocations: 248 MB / 1.485 GB, free: 176.6 MB / 0.7952 GB Notification: Performance of preOpt comSubExp (simulation): time 0.07001/4.358, allocations: 28 MB / 1.513 GB, free: 148.6 MB / 0.7952 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02178/4.38, allocations: 17.56 MB / 1.53 GB, free: 131 MB / 0.7952 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002946/4.383, allocations: 2.597 MB / 1.532 GB, free: 128.1 MB / 0.7952 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.06018/4.443, allocations: 20.99 MB / 1.553 GB, free: 107 MB / 0.7952 GB Notification: Performance of pre-optimization done (n=838): time 1.885e-05/4.443, allocations: 0 / 1.553 GB, free: 107 MB / 0.7952 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:7947:5-7947:89:writable] Error: Internal error Transformation module sort components failed