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.0657/0.0657, allocations: 12.05 MB / 27.97 MB, free: 2.188 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.0007718/0.0007718, allocations: 95.23 kB / 31.7 MB, free: 5.332 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.001006/0.001006, allocations: 180.4 kB / 35.56 MB, free: 1.492 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.28/1.28, allocations: 223.3 MB / 262.5 MB, free: 0.8867 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.05553/0.05553, allocations: 13.7 MB / 330.3 MB, free: 1.059 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.01872/0.01872, allocations: 17.38 MB / 416.2 MB, free: 27.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.1316, allocations: 56.49 MB / 472.7 MB, free: 5.391 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Tests.controlModuleTest_fmu_main): time 1.172/1.304, allocations: 405.3 MB / 0.8574 GB, free: 40 kB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.6843/1.988, allocations: 85.33 MB / 0.9407 GB, free: 1.062 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.1143/2.102, allocations: 1.801 MB / 0.9425 GB, free: 1.062 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.01011/2.113, allocations: 2.246 MB / 0.9447 GB, free: 1.059 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.02897/2.142, allocations: 7.731 MB / 0.9522 GB, free: 0.6367 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.01485/2.156, allocations: 5.551 MB / 0.9576 GB, free: 0.5273 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.06563/2.222, allocations: 40.69 MB / 0.9974 GB, free: 12.13 MB / 0.6232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.08617/2.308, allocations: 59.17 MB / 1.055 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01837/2.327, allocations: 7.505 MB / 1.062 GB, free: 5.188 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02563/2.352, allocations: 12.32 MB / 1.075 GB, free: 10.66 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.006785/2.359, allocations: 1.09 MB / 1.076 GB, free: 9.566 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01152/2.371, allocations: 2.585 MB / 1.078 GB, free: 7.121 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.01825/2.389, allocations: 11.29 MB / 1.089 GB, free: 11.91 MB / 0.6857 GB Notification: Performance of NFVerifyModel.verify: time 0.02613/2.415, allocations: 13.56 MB / 1.102 GB, free: 14.36 MB / 0.7013 GB Notification: Performance of NFConvertDAE.convert: time 0.05599/2.471, allocations: 54.79 MB / 1.156 GB, free: 8.367 MB / 0.7482 GB Notification: Performance of FrontEnd - DAE generated: time 8.306e-06/2.471, allocations: 4 kB / 1.156 GB, free: 8.363 MB / 0.7482 GB Notification: Performance of FrontEnd: time 3.116e-06/2.471, allocations: 0 / 1.156 GB, free: 8.363 MB / 0.7482 GB Notification: Performance of Transformations before backend: time 0.002125/2.473, allocations: 0 / 1.156 GB, free: 8.363 MB / 0.7482 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.08172/2.555, allocations: 27.41 MB / 1.183 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.907e-05/2.555, allocations: 12.03 kB / 1.183 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03021/2.586, allocations: 5.966 MB / 1.188 GB, free: 6.82 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05577/2.641, allocations: 23.88 MB / 1.212 GB, free: 15.8 MB / 0.8107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002409/2.644, allocations: 1.8 MB / 1.214 GB, free: 14.09 MB / 0.8107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01252/2.656, allocations: 2.457 MB / 1.216 GB, free: 11.72 MB / 0.8107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6248/3.281, allocations: 60.79 MB / 1.275 GB, free: 398.3 MB / 0.8108 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00149/3.283, allocations: 232.3 kB / 1.276 GB, free: 398.2 MB / 0.8108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008842/3.292, allocations: 1.056 MB / 1.277 GB, free: 397.5 MB / 0.8108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01097/3.303, allocations: 6.891 MB / 1.283 GB, free: 394.7 MB / 0.8108 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.102/3.405, allocations: 51.24 MB / 1.333 GB, free: 352.4 MB / 0.8108 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.3089/3.714, allocations: 248.2 MB / 1.576 GB, free: 101.6 MB / 0.8108 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06591/3.78, allocations: 29.48 MB / 1.605 GB, free: 71.97 MB / 0.8108 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02205/3.802, allocations: 18.22 MB / 1.622 GB, free: 53.72 MB / 0.8108 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002023/3.804, allocations: 1.302 MB / 1.624 GB, free: 52.3 MB / 0.8108 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.06276/3.867, allocations: 21.56 MB / 1.645 GB, free: 30.66 MB / 0.8108 GB Notification: Performance of pre-optimization done (n=901): time 2.818e-05/3.867, allocations: 0 / 1.645 GB, free: 30.66 MB / 0.8108 GB [/var/lib/jenkins1/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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:346:7-346:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:107:7-107:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:7947:5-7947:89:writable] Error: Internal error Transformation module sort components failed