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.05976/0.05977, allocations: 12.02 MB / 27.8 MB, free: 2.16 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.0009633/0.0009633, allocations: 113.8 kB / 31.49 MB, free: 5.277 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.001075/0.001075, allocations: 203.4 kB / 35.31 MB, free: 1.484 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.312/1.312, allocations: 222.9 MB / 261.8 MB, free: 8.68 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.05517/0.05517, allocations: 13.69 MB / 328.5 MB, free: 0.7227 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.02238/0.02238, allocations: 17.45 MB / 413.4 MB, free: 28.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1366, allocations: 55.43 MB / 468.8 MB, free: 6.566 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Tests.controlModuleTest_fmu_inputs): time 0.9718/1.108, allocations: 413.7 MB / 0.8619 GB, free: 1.602 MB / 0.5451 GB Notification: Performance of NFInst.instExpressions: time 0.193/1.302, allocations: 80.69 MB / 0.9407 GB, free: 1.34 MB / 0.6232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.5834/1.885, allocations: 1.814 MB / 0.9424 GB, free: 1.82 MB / 0.6232 GB Notification: Performance of NFTyping.typeComponents: time 0.05255/1.938, allocations: 31.47 MB / 0.9732 GB, free: 0.9922 MB / 0.6232 GB Notification: Performance of NFTyping.typeBindings: time 0.02034/1.958, allocations: 7.503 MB / 0.9805 GB, free: 496 kB / 0.6232 GB Notification: Performance of NFTyping.typeClassSections: time 0.01111/1.969, allocations: 4.972 MB / 0.9854 GB, free: 388 kB / 0.6232 GB Notification: Performance of NFFlatten.flatten: time 0.05843/2.028, allocations: 39.88 MB / 1.024 GB, free: 11.56 MB / 0.6388 GB Notification: Performance of NFFlatten.resolveConnections: time 0.06122/2.089, allocations: 41.55 MB / 1.065 GB, free: 10.2 MB / 0.6701 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02316/2.112, allocations: 10.68 MB / 1.075 GB, free: 1.258 MB / 0.6701 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02734/2.139, allocations: 16.31 MB / 1.091 GB, free: 2.488 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 0.01078/2.15, allocations: 2.266 MB / 1.093 GB, free: 228 kB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01522/2.165, allocations: 3.692 MB / 1.097 GB, free: 12.66 MB / 0.7013 GB Notification: Performance of NFScalarize.scalarize: time 0.01906/2.185, allocations: 13.22 MB / 1.11 GB, free: 15.51 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.02886/2.213, allocations: 15.24 MB / 1.125 GB, free: 296 kB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.04591/2.259, allocations: 49.65 MB / 1.173 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 8.366e-06/2.259, allocations: 4 kB / 1.173 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.112e-06/2.259, allocations: 2.062 kB / 1.173 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.001792/2.261, allocations: 0 / 1.173 GB, free: 15.45 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.1022/2.363, allocations: 33.86 MB / 1.206 GB, free: 13.67 MB / 0.8107 GB Notification: Performance of prepare preOptimizeDAE: time 5.348e-05/2.364, allocations: 12.03 kB / 1.206 GB, free: 13.66 MB / 0.8107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02991/2.393, allocations: 5.773 MB / 1.212 GB, free: 7.852 MB / 0.8107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04695/2.44, allocations: 20.73 MB / 1.232 GB, free: 3.98 MB / 0.8263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002102/2.443, allocations: 1.799 MB / 1.234 GB, free: 2.266 MB / 0.8263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.5/2.943, allocations: 2.438 MB / 1.236 GB, free: 446.9 MB / 0.8264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1254/3.068, allocations: 57.13 MB / 1.292 GB, free: 421.5 MB / 0.8264 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00175/3.07, allocations: 237.8 kB / 1.292 GB, free: 421.4 MB / 0.8264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008506/3.078, allocations: 1.051 MB / 1.293 GB, free: 420.7 MB / 0.8264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01003/3.089, allocations: 6.488 MB / 1.3 GB, free: 418.3 MB / 0.8264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09201/3.181, allocations: 47.36 MB / 1.346 GB, free: 371.6 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.2925/3.473, allocations: 226.2 MB / 1.567 GB, free: 143.5 MB / 0.8264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06008/3.533, allocations: 27.74 MB / 1.594 GB, free: 115.6 MB / 0.8264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01831/3.552, allocations: 16.78 MB / 1.61 GB, free: 98.79 MB / 0.8264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001558/3.553, allocations: 1.298 MB / 1.612 GB, free: 97.38 MB / 0.8264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05489/3.608, allocations: 20.41 MB / 1.632 GB, free: 76.88 MB / 0.8264 GB Notification: Performance of pre-optimization done (n=891): time 2.018e-05/3.608, allocations: 4 kB / 1.632 GB, free: 76.88 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:7947:5-7947:89:writable] Error: Internal error Transformation module sort components failed