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.07385/0.07385, allocations: 12.03 MB / 27.01 MB, free: 2.344 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.0007644/0.0007646, allocations: 95.44 kB / 30.72 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.001014/0.001013, allocations: 184.5 kB / 34.57 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.528/1.528, allocations: 223.3 MB / 261.5 MB, free: 9.598 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.06275/0.06275, allocations: 13.7 MB / 329.3 MB, free: 436 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.02495/0.02495, allocations: 17.45 MB / 415 MB, free: 28.33 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.1607, allocations: 56.48 MB / 471.4 MB, free: 5.59 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Tests.controlModuleTest_fmu_main): time 1.354/1.515, allocations: 376.3 MB / 0.8279 GB, free: 8.074 MB / 0.5138 GB Notification: Performance of NFInst.instExpressions: time 0.218/1.733, allocations: 82.85 MB / 0.9088 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.1072/1.84, allocations: 1.804 MB / 0.9105 GB, free: 9.332 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.06503/1.905, allocations: 17.74 MB / 0.9279 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.6939/2.599, allocations: 49.93 MB / 0.9766 GB, free: 12.88 MB / 0.6075 GB [/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.02737/2.626, allocations: 4.197 MB / 0.9807 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.08658/2.713, allocations: 60.1 MB / 1.039 GB, free: 10.46 MB / 0.6232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.1048/2.818, allocations: 50.99 MB / 1.089 GB, free: 5.582 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02252/2.841, allocations: 7.991 MB / 1.097 GB, free: 176 kB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02411/2.865, allocations: 12.16 MB / 1.109 GB, free: 6.312 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.008966/2.874, allocations: 1.086 MB / 1.11 GB, free: 5.227 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01395/2.888, allocations: 2.317 MB / 1.112 GB, free: 3.156 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.02268/2.91, allocations: 11.2 MB / 1.123 GB, free: 10 MB / 0.6857 GB Notification: Performance of NFVerifyModel.verify: time 0.01809/2.929, allocations: 6.413 MB / 1.129 GB, free: 7.285 MB / 0.6857 GB Notification: Performance of NFConvertDAE.convert: time 0.06712/2.996, allocations: 54.78 MB / 1.183 GB, free: 8.949 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/2.996, allocations: 0 / 1.183 GB, free: 8.949 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.665e-06/2.996, allocations: 0 / 1.183 GB, free: 8.949 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.002355/2.998, allocations: 0 / 1.183 GB, free: 8.949 MB / 0.7325 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.6582/3.656, allocations: 27.73 MB / 1.21 GB, free: 357.1 MB / 0.7483 GB Notification: Performance of prepare preOptimizeDAE: time 5.901e-05/3.656, allocations: 9.375 kB / 1.21 GB, free: 357.1 MB / 0.7483 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03081/3.687, allocations: 5.966 MB / 1.216 GB, free: 355.7 MB / 0.7483 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05803/3.745, allocations: 23.53 MB / 1.239 GB, free: 352.8 MB / 0.7483 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002377/3.748, allocations: 1.8 MB / 1.241 GB, free: 352.8 MB / 0.7483 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01334/3.761, allocations: 2.446 MB / 1.243 GB, free: 352.7 MB / 0.7483 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1654/3.927, allocations: 60.61 MB / 1.302 GB, free: 303.1 MB / 0.7483 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001563/3.928, allocations: 230 kB / 1.302 GB, free: 302.8 MB / 0.7483 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01194/3.94, allocations: 1.049 MB / 1.303 GB, free: 301.9 MB / 0.7483 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.009581/3.95, allocations: 6.897 MB / 1.31 GB, free: 295 MB / 0.7483 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1069/4.057, allocations: 51.02 MB / 1.36 GB, free: 244.1 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.6335/4.69, allocations: 248.1 MB / 1.602 GB, free: 275.4 MB / 0.7483 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06784/4.758, allocations: 29.43 MB / 1.631 GB, free: 274.3 MB / 0.7483 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0201/4.778, allocations: 18.19 MB / 1.649 GB, free: 274.2 MB / 0.7483 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001459/4.78, allocations: 1.299 MB / 1.65 GB, free: 273.4 MB / 0.7483 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05707/4.837, allocations: 21.54 MB / 1.671 GB, free: 273 MB / 0.7483 GB Notification: Performance of pre-optimization done (n=901): time 2.06e-05/4.837, allocations: 3.812 kB / 1.671 GB, free: 273 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: 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:7863:5-7863:89:writable] Error: Internal error Transformation module sort components failed