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.06491/0.06491, allocations: 12.02 MB / 26.98 MB, free: 1.914 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.001014/0.001014, allocations: 96.61 kB / 30.7 MB, free: 5.383 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.001219/0.001218, allocations: 179 kB / 34.55 MB, free: 1.559 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.412/1.412, allocations: 223.2 MB / 261.4 MB, free: 9.109 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.05954/0.05954, allocations: 13.69 MB / 329.1 MB, free: 52 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.02237/0.02237, allocations: 17.46 MB / 414.8 MB, free: 28.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/0.1541, allocations: 56.48 MB / 471.3 MB, free: 5.547 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Tests.controlModuleTest_fmu_main): time 1.11/1.264, allocations: 355.1 MB / 0.8071 GB, free: 13.07 MB / 0.5138 GB Notification: Performance of NFInst.instExpressions: time 0.2187/1.483, allocations: 86.71 MB / 0.8918 GB, free: 6.059 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.09142/1.574, allocations: 1.792 MB / 0.8935 GB, free: 4.262 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.07062/1.645, allocations: 18.24 MB / 0.9113 GB, free: 1.934 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.6292/2.274, allocations: 49.13 MB / 0.9593 GB, free: 16.24 MB / 0.6232 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.02835/2.302, allocations: 4.253 MB / 0.9635 GB, free: 16.19 MB / 0.6232 GB Notification: Performance of NFFlatten.flatten: time 0.05751/2.36, allocations: 36.01 MB / 0.9986 GB, free: 15.2 MB / 0.6232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.09453/2.455, allocations: 50.65 MB / 1.048 GB, free: 2.531 MB / 0.6232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01563/2.47, allocations: 6.37 MB / 1.054 GB, free: 14.65 MB / 0.6388 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01629/2.487, allocations: 8.105 MB / 1.062 GB, free: 9.289 MB / 0.6388 GB Notification: Performance of NFPackage.collectConstants: time 0.007452/2.494, allocations: 1.086 MB / 1.063 GB, free: 8.203 MB / 0.6388 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0123/2.506, allocations: 2.271 MB / 1.066 GB, free: 6.215 MB / 0.6388 GB Notification: Performance of NFScalarize.scalarize: time 0.0199/2.526, allocations: 10.37 MB / 1.076 GB, free: 14.87 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.01639/2.543, allocations: 6.438 MB / 1.082 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.07051/2.613, allocations: 55.02 MB / 1.136 GB, free: 14.61 MB / 0.7013 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/2.613, allocations: 0 / 1.136 GB, free: 14.61 MB / 0.7013 GB Notification: Performance of FrontEnd: time 4.638e-06/2.613, allocations: 0 / 1.136 GB, free: 14.61 MB / 0.7013 GB Notification: Performance of Transformations before backend: time 0.002301/2.616, allocations: 5.312 kB / 1.136 GB, free: 14.61 MB / 0.7013 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.1076/2.723, allocations: 28.69 MB / 1.164 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.243e-05/2.723, allocations: 12.03 kB / 1.164 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05421/2.778, allocations: 9.377 MB / 1.173 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06504/2.843, allocations: 25.39 MB / 1.198 GB, free: 13.95 MB / 0.7482 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001929/2.845, allocations: 1.8 MB / 1.199 GB, free: 12.93 MB / 0.7482 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01728/2.862, allocations: 2.452 MB / 1.202 GB, free: 11.29 MB / 0.7482 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6609/3.523, allocations: 61.4 MB / 1.262 GB, free: 331.7 MB / 0.7483 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001991/3.525, allocations: 232 kB / 1.262 GB, free: 331.6 MB / 0.7483 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01299/3.538, allocations: 1.049 MB / 1.263 GB, free: 331.6 MB / 0.7483 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01053/3.548, allocations: 6.894 MB / 1.27 GB, free: 330.4 MB / 0.7483 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1149/3.663, allocations: 51.93 MB / 1.32 GB, free: 295.6 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.3208/3.984, allocations: 248.8 MB / 1.563 GB, free: 44.98 MB / 0.7483 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06682/4.051, allocations: 30 MB / 1.593 GB, free: 14.87 MB / 0.7483 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001945/4.053, allocations: 1.297 MB / 1.594 GB, free: 13.46 MB / 0.7483 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.3437/4.397, allocations: 22.06 MB / 1.616 GB, free: 312.4 MB / 0.7483 GB Notification: Performance of pre-optimization done (n=901): time 2.717e-05/4.397, allocations: 0.625 kB / 1.616 GB, free: 312.4 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:7903:5-7903:89:writable] Error: Internal error Transformation module sort components failed