Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr DroneLibrary_DroneLibrary.Tests.controlModuleTest_fmu_inputs.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_fmu_inputs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Tests.controlModuleTest_fmu_inputs") translateModel(DroneLibrary.Tests.controlModuleTest_fmu_inputs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Tests.controlModuleTest_fmu_inputs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.06049/0.06049, allocations: 12.03 MB / 27.91 MB, free: 1.52 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.001082/0.001082, allocations: 111.8 kB / 31.62 MB, free: 4.695 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.001535/0.001535, allocations: 192.4 kB / 35.43 MB, free: 0.9023 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.309/1.309, allocations: 222.9 MB / 262 MB, free: 236 kB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.05797/0.05797, allocations: 13.68 MB / 328.7 MB, free: 3.902 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.03102/0.03102, allocations: 18.41 MB / 414.6 MB, free: 26.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1524, allocations: 55.42 MB / 470 MB, free: 5.914 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Tests.controlModuleTest_fmu_inputs): time 0.8854/1.038, allocations: 413.7 MB / 0.863 GB, free: 0.8555 MB / 0.5451 GB Notification: Performance of NFInst.instExpressions: time 0.1924/1.23, allocations: 80.58 MB / 0.9417 GB, free: 0.7109 MB / 0.6232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.5001/1.73, allocations: 1.805 MB / 0.9435 GB, free: 1.293 MB / 0.6232 GB Notification: Performance of NFTyping.typeComponents: time 0.05081/1.781, allocations: 30.28 MB / 0.9731 GB, free: 0.8555 MB / 0.6232 GB Notification: Performance of NFTyping.typeBindings: time 0.02221/1.804, allocations: 7.304 MB / 0.9802 GB, free: 348 kB / 0.6232 GB Notification: Performance of NFTyping.typeClassSections: time 0.01172/1.815, allocations: 5.081 MB / 0.9851 GB, free: 244 kB / 0.6232 GB Notification: Performance of NFFlatten.flatten: time 0.03888/1.854, allocations: 27.02 MB / 1.012 GB, free: 14.14 MB / 0.6388 GB Notification: Performance of NFFlatten.resolveConnections: time 0.08079/1.935, allocations: 46.16 MB / 1.057 GB, free: 2.93 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02725/1.962, allocations: 13.15 MB / 1.069 GB, free: 7.797 MB / 0.6701 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0299/1.992, allocations: 17.46 MB / 1.087 GB, free: 7.875 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 0.01256/2.005, allocations: 4.062 MB / 1.09 GB, free: 3.812 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01734/2.022, allocations: 5.407 MB / 1.096 GB, free: 14.54 MB / 0.7013 GB Notification: Performance of NFScalarize.scalarize: time 0.02623/2.048, allocations: 15.02 MB / 1.11 GB, free: 15.59 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.03978/2.088, allocations: 17.29 MB / 1.127 GB, free: 14.31 MB / 0.7326 GB Notification: Performance of NFConvertDAE.convert: time 0.05964/2.148, allocations: 49.98 MB / 1.176 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 9.047e-06/2.148, allocations: 0 / 1.176 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.324e-06/2.148, allocations: 7.938 kB / 1.176 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.002338/2.15, allocations: 0 / 1.176 GB, free: 13.15 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7999 * Number of variables: 7999 Notification: Performance of Generate backend data structure: time 0.1151/2.266, allocations: 33.87 MB / 1.209 GB, free: 11.39 MB / 0.8107 GB Notification: Performance of prepare preOptimizeDAE: time 5.962e-05/2.266, allocations: 8.031 kB / 1.209 GB, free: 11.38 MB / 0.8107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03154/2.297, allocations: 5.78 MB / 1.215 GB, free: 5.566 MB / 0.8107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05576/2.353, allocations: 20.73 MB / 1.235 GB, free: 1.703 MB / 0.8263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.4515/2.805, allocations: 1.797 MB / 1.237 GB, free: 442.6 MB / 0.8264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01126/2.816, allocations: 2.439 MB / 1.239 GB, free: 442.6 MB / 0.8264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1579/2.974, allocations: 57.13 MB / 1.295 GB, free: 419 MB / 0.8264 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002049/2.976, allocations: 233.5 kB / 1.295 GB, free: 419 MB / 0.8264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01276/2.989, allocations: 1.051 MB / 1.296 GB, free: 418.3 MB / 0.8264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01189/3.001, allocations: 6.493 MB / 1.303 GB, free: 415.2 MB / 0.8264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0993/3.1, allocations: 47.36 MB / 1.349 GB, free: 368.4 MB / 0.8264 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.3028/3.403, allocations: 226.2 MB / 1.57 GB, free: 140.3 MB / 0.8264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06023/3.463, allocations: 27.75 MB / 1.597 GB, free: 112.4 MB / 0.8264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01754/3.481, allocations: 16.79 MB / 1.613 GB, free: 95.63 MB / 0.8264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001566/3.482, allocations: 1.299 MB / 1.615 GB, free: 94.21 MB / 0.8264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05335/3.536, allocations: 20.41 MB / 1.634 GB, free: 73.72 MB / 0.8264 GB Notification: Performance of pre-optimization done (n=891): time 2.007e-05/3.536, allocations: 0 / 1.634 GB, free: 73.72 MB / 0.8264 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: 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/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:7953:5-7953:89:writable] Error: Internal error Transformation module sort components failed