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.07074/0.07074, allocations: 12.04 MB / 27.66 MB, free: 1.852 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.0007881/0.0007883, allocations: 110.8 kB / 31.37 MB, free: 5.273 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.001292/0.001292, allocations: 176.4 kB / 35.21 MB, free: 1.457 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.751/1.751, allocations: 223.2 MB / 262.1 MB, free: 9.223 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.06056/0.06056, allocations: 13.7 MB / 329.9 MB, free: 20 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.0235/0.0235, allocations: 17.45 MB / 415.6 MB, free: 28.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1459/0.1694, allocations: 56.48 MB / 472.1 MB, free: 5.562 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Tests.controlModuleTest_fmu_inputs): time 1.206/1.376, allocations: 376.1 MB / 0.8283 GB, free: 8.031 MB / 0.5138 GB Notification: Performance of NFInst.instExpressions: time 0.2395/1.615, allocations: 78.15 MB / 0.9046 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.1317/1.747, allocations: 1.804 MB / 0.9063 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.07618/1.823, allocations: 17.73 MB / 0.9236 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.8487/2.672, allocations: 49.89 MB / 0.9724 GB, free: 13.66 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.03303/2.705, allocations: 4.1 MB / 0.9764 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0941/2.799, allocations: 58.81 MB / 1.034 GB, free: 15.25 MB / 0.6232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.1075/2.907, allocations: 48.95 MB / 1.082 GB, free: 12.17 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02773/2.935, allocations: 7.862 MB / 1.089 GB, free: 7.039 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03094/2.966, allocations: 12.03 MB / 1.101 GB, free: 13.93 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.01114/2.977, allocations: 0.9727 MB / 1.102 GB, free: 12.96 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01683/2.994, allocations: 2.124 MB / 1.104 GB, free: 11.06 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.02867/3.023, allocations: 11.07 MB / 1.115 GB, free: 1.91 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.02164/3.044, allocations: 5.887 MB / 1.121 GB, free: 0 / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0742/3.119, allocations: 48.18 MB / 1.168 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 1.122e-05/3.119, allocations: 0.875 kB / 1.168 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of FrontEnd: time 5.21e-06/3.119, allocations: 0 / 1.168 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.002706/3.121, allocations: 0 / 1.168 GB, free: 6.727 MB / 0.7169 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.1042/3.226, allocations: 27.62 MB / 1.195 GB, free: 13.18 MB / 0.7482 GB Notification: Performance of prepare preOptimizeDAE: time 5.002e-05/3.226, allocations: 8.031 kB / 1.195 GB, free: 13.17 MB / 0.7482 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03417/3.26, allocations: 5.876 MB / 1.2 GB, free: 7.461 MB / 0.7482 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.7586/4.018, allocations: 20.39 MB / 1.22 GB, free: 361.7 MB / 0.7483 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002953/4.021, allocations: 1.796 MB / 1.222 GB, free: 361.7 MB / 0.7483 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.02036/4.042, allocations: 2.443 MB / 1.224 GB, free: 361.7 MB / 0.7483 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.197/4.239, allocations: 57.11 MB / 1.28 GB, free: 336.2 MB / 0.7483 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002077/4.241, allocations: 231.6 kB / 1.28 GB, free: 336 MB / 0.7483 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01588/4.257, allocations: 1.055 MB / 1.281 GB, free: 335.1 MB / 0.7483 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01096/4.268, allocations: 6.489 MB / 1.288 GB, free: 328.6 MB / 0.7483 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1075/4.375, allocations: 47.36 MB / 1.334 GB, free: 281.3 MB / 0.7483 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.3332/4.709, allocations: 225.7 MB / 1.554 GB, free: 53.34 MB / 0.7483 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06181/4.771, allocations: 27.86 MB / 1.582 GB, free: 25.33 MB / 0.7483 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0228/4.793, allocations: 16.79 MB / 1.598 GB, free: 8.516 MB / 0.7483 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002429/4.796, allocations: 1.295 MB / 1.599 GB, free: 7.105 MB / 0.7483 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.5237/5.32, allocations: 20.5 MB / 1.619 GB, free: 327.7 MB / 0.7483 GB Notification: Performance of pre-optimization done (n=891): time 2.596e-05/5.32, allocations: 2.156 kB / 1.619 GB, free: 327.7 MB / 0.7483 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:7863:5-7863:89:writable] Error: Internal error Transformation module sort components failed