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.06894/0.06894, allocations: 12.03 MB / 27.01 MB, free: 2.348 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.0007237/0.0007235, allocations: 99.44 kB / 30.73 MB, free: 5.574 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.001178/0.001178, allocations: 180.5 kB / 34.58 MB, free: 1.742 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.426/1.426, allocations: 223.3 MB / 261.5 MB, free: 0.9961 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.05976/0.05976, allocations: 13.69 MB / 329.3 MB, free: 1.16 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.02305/0.02305, allocations: 17.44 MB / 415 MB, free: 28.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1488/0.1718, allocations: 56.49 MB / 471.5 MB, free: 5.758 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Tests.controlModuleTest_fmu_inputs): time 1.117/1.289, allocations: 376.1 MB / 0.8276 GB, free: 8.09 MB / 0.5138 GB Notification: Performance of NFInst.instExpressions: time 0.2328/1.522, allocations: 78.15 MB / 0.904 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.1261/1.648, allocations: 1.8 MB / 0.9057 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0668/1.715, allocations: 17.73 MB / 0.923 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.6513/2.366, allocations: 49.91 MB / 0.9718 GB, free: 13.64 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.02876/2.395, allocations: 4.082 MB / 0.9758 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0844/2.48, allocations: 58.81 MB / 1.033 GB, free: 15.42 MB / 0.6232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.08528/2.565, allocations: 48.96 MB / 1.081 GB, free: 12.33 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02117/2.586, allocations: 7.864 MB / 1.089 GB, free: 7.199 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02609/2.612, allocations: 12.01 MB / 1.1 GB, free: 14.12 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.008019/2.62, allocations: 0.9746 MB / 1.101 GB, free: 13.15 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01488/2.635, allocations: 2.135 MB / 1.103 GB, free: 11.24 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.02191/2.657, allocations: 11.06 MB / 1.114 GB, free: 2.098 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.01778/2.675, allocations: 5.871 MB / 1.12 GB, free: 0 / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.06491/2.74, allocations: 48.18 MB / 1.167 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 9.878e-06/2.74, allocations: 0 / 1.167 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.677e-06/2.74, allocations: 0 / 1.167 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.002921/2.743, allocations: 0 / 1.167 GB, free: 6.734 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.1001/2.843, allocations: 27.61 MB / 1.194 GB, free: 13.19 MB / 0.7482 GB Notification: Performance of prepare preOptimizeDAE: time 5.473e-05/2.843, allocations: 9.234 kB / 1.194 GB, free: 13.18 MB / 0.7482 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03231/2.876, allocations: 5.884 MB / 1.2 GB, free: 7.469 MB / 0.7482 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.6086/3.484, allocations: 20.39 MB / 1.22 GB, free: 361.2 MB / 0.7483 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002588/3.487, allocations: 1.793 MB / 1.221 GB, free: 361.1 MB / 0.7483 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01587/3.503, allocations: 2.443 MB / 1.224 GB, free: 361.1 MB / 0.7483 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1595/3.662, allocations: 57.11 MB / 1.28 GB, free: 336.3 MB / 0.7483 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002404/3.665, allocations: 233.6 kB / 1.28 GB, free: 336.1 MB / 0.7483 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01403/3.679, allocations: 1.048 MB / 1.281 GB, free: 335.1 MB / 0.7483 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.009355/3.688, allocations: 6.492 MB / 1.287 GB, free: 328.7 MB / 0.7483 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1025/3.791, allocations: 47.36 MB / 1.333 GB, free: 281.4 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.3207/4.111, allocations: 225.7 MB / 1.554 GB, free: 53.43 MB / 0.7483 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06361/4.175, allocations: 27.87 MB / 1.581 GB, free: 25.41 MB / 0.7483 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02048/4.196, allocations: 16.79 MB / 1.597 GB, free: 8.602 MB / 0.7483 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00183/4.197, allocations: 1.298 MB / 1.599 GB, free: 7.188 MB / 0.7483 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.3797/4.577, allocations: 20.48 MB / 1.619 GB, free: 327.1 MB / 0.7483 GB Notification: Performance of pre-optimization done (n=891): time 3.436e-05/4.577, allocations: 0 / 1.619 GB, free: 327.1 MB / 0.7483 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: 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/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:7863:5-7863:89:writable] Error: Internal error Transformation module sort components failed