Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr DroneLibrary_DroneLibrary.Tests.controlModuleTest_fmu_main.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_main,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Tests.controlModuleTest_fmu_main") translateModel(DroneLibrary.Tests.controlModuleTest_fmu_main,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Tests.controlModuleTest_fmu_main") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.06849/0.06849, allocations: 12.03 MB / 27.53 MB, free: 1.402 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.0009452/0.0009452, allocations: 109.5 kB / 31.24 MB, free: 4.598 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.001155/0.001156, allocations: 196.4 kB / 35.07 MB, free: 0.7852 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.23/1.23, allocations: 222.9 MB / 261.6 MB, free: 16 kB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.05745/0.05745, allocations: 13.68 MB / 328.3 MB, free: 1.105 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.02459/0.02459, allocations: 19.6 MB / 415.6 MB, free: 25.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08364/0.1082, allocations: 55.41 MB / 471.1 MB, free: 4.027 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Tests.controlModuleTest_fmu_main): time 0.2175/0.3258, allocations: 60.83 MB / 0.5194 GB, free: 15.46 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03097/0.3568, allocations: 17.84 MB / 0.5368 GB, free: 12.98 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01466/0.3716, allocations: 0.4948 MB / 0.5373 GB, free: 12.98 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.04401/0.4156, allocations: 31.2 MB / 0.5678 GB, free: 15.81 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02169/0.4373, allocations: 8.055 MB / 0.5756 GB, free: 10.64 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initializeImpureRandom' contains a call to impure function 'Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState'. Notification: Performance of NFTyping.typeClassSections: time 0.01307/0.4504, allocations: 6 MB / 0.5815 GB, free: 6.289 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.03646/0.4869, allocations: 28.49 MB / 0.6093 GB, free: 13.3 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06374/0.5507, allocations: 48.38 MB / 0.6566 GB, free: 14.07 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0213/0.572, allocations: 13.77 MB / 0.67 GB, free: 0.8828 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02338/0.5954, allocations: 16.61 MB / 0.6863 GB, free: 1.02 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01112/0.6066, allocations: 4.891 MB / 0.691 GB, free: 12.12 MB / 0.4982 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01464/0.6212, allocations: 6.302 MB / 0.6972 GB, free: 5.824 MB / 0.4982 GB Notification: Performance of NFScalarize.scalarize: time 0.2442/0.8654, allocations: 15.72 MB / 0.7125 GB, free: 69.98 MB / 0.4982 GB Notification: Performance of NFVerifyModel.verify: time 0.03348/0.8989, allocations: 18.81 MB / 0.7309 GB, free: 66.3 MB / 0.4982 GB Notification: Performance of NFConvertDAE.convert: time 0.06464/0.9636, allocations: 65.32 MB / 0.7947 GB, free: 34.57 MB / 0.4982 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.9636, allocations: 3.938 kB / 0.7947 GB, free: 34.57 MB / 0.4982 GB Notification: Performance of FrontEnd: time 1.844e-06/0.9636, allocations: 0 / 0.7947 GB, free: 34.57 MB / 0.4982 GB Notification: Performance of Transformations before backend: time 0.001829/0.9655, allocations: 1.344 kB / 0.7947 GB, free: 34.57 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: 8014 * Number of variables: 8014 Notification: Performance of Generate backend data structure: time 0.09075/1.056, allocations: 34.6 MB / 0.8285 GB, free: 11.49 MB / 0.4982 GB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/1.056, allocations: 10.75 kB / 0.8285 GB, free: 11.49 MB / 0.4982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02633/1.083, allocations: 5.865 MB / 0.8342 GB, free: 7.273 MB / 0.4982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04388/1.127, allocations: 23.88 MB / 0.8576 GB, free: 304 kB / 0.5138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001644/1.128, allocations: 1.793 MB / 0.8593 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00979/1.138, allocations: 2.458 MB / 0.8617 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3467/1.485, allocations: 60.61 MB / 0.9209 GB, free: 162 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001582/1.486, allocations: 231.7 kB / 0.9211 GB, free: 162 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008328/1.495, allocations: 1.051 MB / 0.9221 GB, free: 162 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01162/1.506, allocations: 6.891 MB / 0.9289 GB, free: 161.9 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1028/1.609, allocations: 51.03 MB / 0.9787 GB, free: 146.7 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.5419/2.151, allocations: 248.6 MB / 1.221 GB, free: 77.41 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06604/2.217, allocations: 29.31 MB / 1.25 GB, free: 76.32 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02053/2.238, allocations: 18.18 MB / 1.268 GB, free: 71.76 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001569/2.239, allocations: 1.296 MB / 1.269 GB, free: 70.81 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05832/2.298, allocations: 21.45 MB / 1.29 GB, free: 61.88 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=901): time 1.665e-05/2.298, allocations: 0 / 1.29 GB, free: 61.88 MB / 0.5919 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: controlModuleTest_fmu_inputs2_1.droneChassis1.bodyCylinder.body.frame_a.r_0[1] = controlModuleTest_fmu_inputs2_1.propellerRev.blades.bodyShape4.body.frame_a.r_0[1] + 0.25 * controlModuleTest_fmu_inputs2_1.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