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.06869/0.06869, allocations: 12.03 MB / 27.53 MB, free: 1.332 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.0009926/0.0009927, allocations: 108 kB / 31.22 MB, free: 4.59 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.001351/0.001351, allocations: 196 kB / 35.05 MB, free: 0.7812 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.268/1.268, allocations: 222.9 MB / 261.6 MB, free: 4 kB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.05917/0.05917, allocations: 13.68 MB / 328.3 MB, free: 1.102 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.02575/0.02575, allocations: 19.6 MB / 415.6 MB, free: 25.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09365/0.1194, allocations: 55.41 MB / 471.1 MB, free: 4.023 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Tests.controlModuleTest_fmu_inputs): time 0.2299/0.3493, allocations: 60.58 MB / 0.5192 GB, free: 15.45 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03055/0.3799, allocations: 16.28 MB / 0.5351 GB, free: 14.02 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01275/0.3927, allocations: 0.4935 MB / 0.5355 GB, free: 14.02 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.04455/0.4373, allocations: 31.12 MB / 0.5659 GB, free: 1.117 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01868/0.456, allocations: 7.832 MB / 0.5736 GB, free: 12.17 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01272/0.4688, allocations: 5.361 MB / 0.5788 GB, free: 8.414 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0325/0.5013, allocations: 26.77 MB / 0.605 GB, free: 1.543 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05924/0.5606, allocations: 43.95 MB / 0.6479 GB, free: 6.734 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02158/0.5822, allocations: 12.93 MB / 0.6605 GB, free: 10.39 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02261/0.6048, allocations: 16.04 MB / 0.6762 GB, free: 11.18 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01286/0.6177, allocations: 4.055 MB / 0.6801 GB, free: 7.121 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01487/0.6326, allocations: 5.38 MB / 0.6854 GB, free: 1.816 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01875/0.6514, allocations: 14.88 MB / 0.6999 GB, free: 2.957 MB / 0.4982 GB Notification: Performance of NFVerifyModel.verify: time 0.2557/0.9071, allocations: 17.22 MB / 0.7167 GB, free: 61.87 MB / 0.4982 GB Notification: Performance of NFConvertDAE.convert: time 0.05222/0.9594, allocations: 57.88 MB / 0.7732 GB, free: 43.97 MB / 0.4982 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.9594, allocations: 1.156 kB / 0.7732 GB, free: 43.97 MB / 0.4982 GB Notification: Performance of FrontEnd: time 1.372e-06/0.9594, allocations: 0 / 0.7732 GB, free: 43.97 MB / 0.4982 GB Notification: Performance of Transformations before backend: time 0.001714/0.9612, allocations: 0 / 0.7732 GB, free: 43.97 MB / 0.4982 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.09489/1.056, allocations: 33.86 MB / 0.8063 GB, free: 21.62 MB / 0.4982 GB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/1.056, allocations: 9.25 kB / 0.8063 GB, free: 21.62 MB / 0.4982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02708/1.083, allocations: 5.773 MB / 0.812 GB, free: 18.71 MB / 0.4982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03749/1.121, allocations: 20.74 MB / 0.8322 GB, free: 2.996 MB / 0.4982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001235/1.122, allocations: 1.8 MB / 0.834 GB, free: 1.281 MB / 0.4982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00999/1.132, allocations: 2.444 MB / 0.8364 GB, free: 14.92 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1414/1.273, allocations: 57.13 MB / 0.8921 GB, free: 4.219 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001607/1.275, allocations: 227.7 kB / 0.8924 GB, free: 4.062 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008784/1.284, allocations: 1.058 MB / 0.8934 GB, free: 3.094 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01086/1.295, allocations: 6.492 MB / 0.8997 GB, free: 12.68 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3634/1.658, allocations: 47.36 MB / 0.946 GB, free: 129.1 MB / 0.5763 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.5914/2.25, allocations: 226.2 MB / 1.167 GB, free: 132.1 MB / 0.6388 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06883/2.319, allocations: 27.73 MB / 1.194 GB, free: 131.1 MB / 0.6388 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01915/2.338, allocations: 16.79 MB / 1.21 GB, free: 131 MB / 0.6388 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001717/2.339, allocations: 1.296 MB / 1.212 GB, free: 130.1 MB / 0.6388 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05835/2.398, allocations: 20.41 MB / 1.232 GB, free: 129.8 MB / 0.6388 GB Notification: Performance of pre-optimization done (n=891): time 1.659e-05/2.398, allocations: 0 / 1.232 GB, free: 129.8 MB / 0.6388 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:7956:5-7956:89:writable] Error: Internal error Transformation module sort components failed