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.05758/0.05758, allocations: 12.02 MB / 27.79 MB, free: 1.73 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.0008905/0.0008905, allocations: 114.5 kB / 31.49 MB, free: 5.109 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.001133/0.001133, allocations: 196.1 kB / 35.3 MB, free: 1.32 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.235/1.235, allocations: 222.9 MB / 261.8 MB, free: 256 kB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.05504/0.05504, allocations: 13.67 MB / 328.5 MB, free: 3.93 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.02454/0.02454, allocations: 17.46 MB / 413.4 MB, free: 27.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1293, allocations: 55.42 MB / 468.8 MB, free: 6.949 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Examples.Visualize.ModuleTest_Dymola): time 0.785/0.9143, allocations: 354.4 MB / 0.8039 GB, free: 14.2 MB / 0.5138 GB Notification: Performance of NFInst.instExpressions: time 0.1562/1.071, allocations: 71.43 MB / 0.8737 GB, free: 3.184 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.07891/1.15, allocations: 1.574 MB / 0.8752 GB, free: 1.605 MB / 0.5607 GB Notification: Performance of NFTyping.typeComponents: time 0.03943/1.189, allocations: 24.96 MB / 0.8996 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.02051/1.21, allocations: 7.923 MB / 0.9073 GB, free: 3.629 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.01088/1.22, allocations: 5.23 MB / 0.9125 GB, free: 14.4 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.4832/1.704, allocations: 39.57 MB / 0.9511 GB, free: 11.49 MB / 0.6232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.05059/1.754, allocations: 36.7 MB / 0.9869 GB, free: 6.137 MB / 0.6232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01895/1.773, allocations: 9.988 MB / 0.9967 GB, free: 6.133 MB / 0.6232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02347/1.797, allocations: 15.26 MB / 1.012 GB, free: 5.09 MB / 0.6232 GB Notification: Performance of NFPackage.collectConstants: time 0.009727/1.807, allocations: 2.042 MB / 1.014 GB, free: 5.09 MB / 0.6232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01309/1.82, allocations: 4.014 MB / 1.018 GB, free: 5.09 MB / 0.6232 GB Notification: Performance of NFScalarize.scalarize: time 0.01723/1.837, allocations: 12.55 MB / 1.03 GB, free: 3.957 MB / 0.6232 GB Notification: Performance of NFVerifyModel.verify: time 0.02526/1.862, allocations: 15.09 MB / 1.044 GB, free: 14.86 MB / 0.6388 GB Notification: Performance of NFConvertDAE.convert: time 0.05065/1.913, allocations: 49.82 MB / 1.093 GB, free: 2.766 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/1.913, allocations: 3.984 kB / 1.093 GB, free: 2.762 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.082e-06/1.913, allocations: 0 / 1.093 GB, free: 2.762 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.00164/1.915, allocations: 0 / 1.093 GB, free: 2.762 MB / 0.67 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.09217/2.007, allocations: 32.85 MB / 1.125 GB, free: 2.09 MB / 0.7013 GB Notification: Performance of prepare preOptimizeDAE: time 5.066e-05/2.007, allocations: 12.03 kB / 1.125 GB, free: 2.078 MB / 0.7013 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02837/2.035, allocations: 5.994 MB / 1.131 GB, free: 12.05 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0419/2.077, allocations: 21.33 MB / 1.152 GB, free: 7.59 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001673/2.079, allocations: 1.632 MB / 1.154 GB, free: 6.078 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009178/2.088, allocations: 2.22 MB / 1.156 GB, free: 3.98 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.129/2.217, allocations: 59.74 MB / 1.214 GB, free: 6.121 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001423/2.219, allocations: 246.4 kB / 1.214 GB, free: 5.961 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008672/2.227, allocations: 0.9745 MB / 1.215 GB, free: 5.105 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01261/2.24, allocations: 8.447 MB / 1.223 GB, free: 12.74 MB / 0.8107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5642/2.804, allocations: 48.18 MB / 1.271 GB, free: 400.5 MB / 0.8108 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.3388/3.143, allocations: 248.5 MB / 1.513 GB, free: 172.3 MB / 0.8108 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06282/3.206, allocations: 27.83 MB / 1.54 GB, free: 144.4 MB / 0.8108 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02121/3.227, allocations: 17.52 MB / 1.557 GB, free: 126.9 MB / 0.8108 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002944/3.23, allocations: 2.604 MB / 1.56 GB, free: 123.9 MB / 0.8108 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05732/3.287, allocations: 20.89 MB / 1.58 GB, free: 102.9 MB / 0.8108 GB Notification: Performance of pre-optimization done (n=838): time 2.044e-05/3.287, allocations: 0 / 1.58 GB, free: 102.9 MB / 0.8108 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:7947:5-7947:89:writable] Error: Internal error Transformation module sort components failed