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-master/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-master/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-master/package.mo): time 0.06137/0.06137, allocations: 12.04 MB / 28.21 MB, free: 1.82 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.001073/0.001073, allocations: 107.7 kB / 31.93 MB, free: 4.691 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.001276/0.001276, allocations: 196.1 kB / 35.75 MB, free: 0.8828 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.498/1.498, allocations: 222.9 MB / 262.3 MB, free: 20 kB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.05991/0.05991, allocations: 13.67 MB / 329 MB, free: 1.086 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.02821/0.02821, allocations: 19.59 MB / 416.4 MB, free: 25.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1396, allocations: 55.41 MB / 471.8 MB, free: 4.012 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Tests.controlModuleTest_fmu_main): time 0.2912/0.4309, allocations: 60.83 MB / 0.5201 GB, free: 15.32 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03981/0.4707, allocations: 17.85 MB / 0.5375 GB, free: 12.89 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01852/0.4893, allocations: 0.4946 MB / 0.538 GB, free: 12.89 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.04863/0.538, allocations: 31.19 MB / 0.5685 GB, free: 15.73 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0244/0.5625, allocations: 8.059 MB / 0.5763 GB, free: 10.57 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.01441/0.5769, allocations: 5.996 MB / 0.5822 GB, free: 6.215 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0406/0.6175, allocations: 28.49 MB / 0.61 GB, free: 13.31 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0651/0.6827, allocations: 48.38 MB / 0.6573 GB, free: 14.09 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02454/0.7073, allocations: 13.76 MB / 0.6707 GB, free: 0.9102 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02714/0.7345, allocations: 16.63 MB / 0.687 GB, free: 1.023 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01249/0.747, allocations: 4.891 MB / 0.6917 GB, free: 12.13 MB / 0.4982 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01511/0.7621, allocations: 6.298 MB / 0.6979 GB, free: 5.832 MB / 0.4982 GB Notification: Performance of NFScalarize.scalarize: time 0.2627/1.025, allocations: 15.73 MB / 0.7132 GB, free: 69.97 MB / 0.4982 GB Notification: Performance of NFVerifyModel.verify: time 0.03786/1.063, allocations: 18.81 MB / 0.7316 GB, free: 66.3 MB / 0.4982 GB Notification: Performance of NFConvertDAE.convert: time 0.07154/1.134, allocations: 65.32 MB / 0.7954 GB, free: 34.59 MB / 0.4982 GB Notification: Performance of FrontEnd - DAE generated: time 8.706e-06/1.134, allocations: 0 / 0.7954 GB, free: 34.59 MB / 0.4982 GB Notification: Performance of FrontEnd: time 1.793e-06/1.134, allocations: 0 / 0.7954 GB, free: 34.59 MB / 0.4982 GB Notification: Performance of Transformations before backend: time 0.002018/1.136, allocations: 1.125 kB / 0.7954 GB, free: 34.59 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.1003/1.237, allocations: 34.6 MB / 0.8292 GB, free: 11.52 MB / 0.4982 GB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/1.237, allocations: 8.719 kB / 0.8292 GB, free: 11.52 MB / 0.4982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02916/1.266, allocations: 5.866 MB / 0.8349 GB, free: 7.23 MB / 0.4982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04848/1.314, allocations: 23.88 MB / 0.8582 GB, free: 264 kB / 0.5138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002015/1.317, allocations: 1.801 MB / 0.86 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01182/1.328, allocations: 2.453 MB / 0.8624 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3919/1.72, allocations: 60.6 MB / 0.9216 GB, free: 161.7 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002198/1.723, allocations: 236 kB / 0.9218 GB, free: 161.7 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01299/1.736, allocations: 1.052 MB / 0.9228 GB, free: 161.7 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01404/1.75, allocations: 6.895 MB / 0.9296 GB, free: 161.7 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1126/1.862, allocations: 51.02 MB / 0.9794 GB, free: 146.5 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.6235/2.486, allocations: 248.6 MB / 1.222 GB, free: 77.26 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.07132/2.557, allocations: 29.29 MB / 1.251 GB, free: 76.16 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02225/2.579, allocations: 18.19 MB / 1.269 GB, free: 71.68 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001597/2.581, allocations: 1.294 MB / 1.27 GB, free: 70.73 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.06228/2.643, allocations: 21.45 MB / 1.291 GB, free: 61.79 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=901): time 2.09e-05/2.643, allocations: 0 / 1.291 GB, free: 61.79 MB / 0.5919 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:7956:5-7956:89:writable] Error: Internal error Transformation module sort components failed