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.07154/0.07154, allocations: 12.03 MB / 27.92 MB, free: 2.16 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.001064/0.001064, allocations: 128.2 kB / 31.62 MB, free: 5.23 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.001267/0.001267, allocations: 188.4 kB / 35.43 MB, free: 1.438 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.395/1.395, allocations: 222.9 MB / 262 MB, free: 8.711 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.05813/0.05813, allocations: 13.68 MB / 328.7 MB, free: 0.6328 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.02432/0.02432, allocations: 18.41 MB / 414.6 MB, free: 27.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1001/0.1244, allocations: 55.42 MB / 470 MB, free: 5.457 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Tests.controlModuleTest_fmu_main): time 0.9349/1.059, allocations: 414 MB / 0.8633 GB, free: 0.5078 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.6885/1.748, allocations: 85.31 MB / 0.9466 GB, free: 1.102 MB / 0.6232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.114/1.862, allocations: 1.81 MB / 0.9483 GB, free: 1.102 MB / 0.6232 GB Notification: Performance of NFTyping.typeComponents: time 0.05168/1.914, allocations: 30.36 MB / 0.978 GB, free: 0.6758 MB / 0.6232 GB Notification: Performance of NFTyping.typeBindings: time 0.02109/1.935, allocations: 7.52 MB / 0.9853 GB, free: 168 kB / 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.01368/1.948, allocations: 5.716 MB / 0.9909 GB, free: 52 kB / 0.6232 GB Notification: Performance of NFFlatten.flatten: time 0.04371/1.992, allocations: 28.93 MB / 1.019 GB, free: 13.73 MB / 0.6388 GB Notification: Performance of NFFlatten.resolveConnections: time 0.08915/2.081, allocations: 50.76 MB / 1.069 GB, free: 8.234 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02785/2.109, allocations: 14 MB / 1.082 GB, free: 12.27 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03166/2.141, allocations: 18.03 MB / 1.1 GB, free: 11.66 MB / 0.7013 GB Notification: Performance of NFPackage.collectConstants: time 0.01426/2.155, allocations: 4.891 MB / 1.105 GB, free: 6.77 MB / 0.7013 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01881/2.174, allocations: 6.318 MB / 1.111 GB, free: 0.5898 MB / 0.7013 GB Notification: Performance of NFScalarize.scalarize: time 0.02551/2.2, allocations: 15.87 MB / 1.126 GB, free: 0.7852 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.03559/2.235, allocations: 18.89 MB / 1.145 GB, free: 13.93 MB / 0.7482 GB Notification: Performance of NFConvertDAE.convert: time 0.06452/2.3, allocations: 56.98 MB / 1.201 GB, free: 5.781 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/2.3, allocations: 0 / 1.201 GB, free: 5.781 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.104e-06/2.3, allocations: 0 / 1.201 GB, free: 5.781 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.002362/2.302, allocations: 0 / 1.201 GB, free: 5.781 MB / 0.795 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.1105/2.413, allocations: 34.61 MB / 1.234 GB, free: 3.23 MB / 0.8263 GB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/2.413, allocations: 8.031 kB / 1.234 GB, free: 3.223 MB / 0.8263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.9523/3.365, allocations: 5.857 MB / 1.24 GB, free: 136 MB / 0.8264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05476/3.42, allocations: 23.88 MB / 1.263 GB, free: 134.1 MB / 0.8264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002562/3.423, allocations: 1.798 MB / 1.265 GB, free: 134 MB / 0.8264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01172/3.434, allocations: 2.453 MB / 1.268 GB, free: 134 MB / 0.8264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1489/3.583, allocations: 60.61 MB / 1.327 GB, free: 113.9 MB / 0.8264 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001903/3.585, allocations: 233.1 kB / 1.327 GB, free: 113.8 MB / 0.8264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01078/3.596, allocations: 1.056 MB / 1.328 GB, free: 113.1 MB / 0.8264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01098/3.607, allocations: 6.893 MB / 1.335 GB, free: 110.4 MB / 0.8264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1031/3.71, allocations: 51.02 MB / 1.385 GB, free: 60.09 MB / 0.8264 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.7282/4.438, allocations: 248.6 MB / 1.627 GB, free: 441.1 MB / 0.967 GB Notification: Performance of preOpt comSubExp (simulation): time 0.08365/4.522, allocations: 29.32 MB / 1.656 GB, free: 440 MB / 0.967 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02179/4.544, allocations: 18.17 MB / 1.674 GB, free: 439.9 MB / 0.967 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002017/4.546, allocations: 1.295 MB / 1.675 GB, free: 439.1 MB / 0.967 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.06029/4.606, allocations: 21.44 MB / 1.696 GB, free: 433.7 MB / 0.967 GB Notification: Performance of pre-optimization done (n=901): time 2.442e-05/4.606, allocations: 3.938 kB / 1.696 GB, free: 433.7 MB / 0.967 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:7953:5-7953:89:writable] Error: Internal error Transformation module sort components failed