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.06157/0.06157, allocations: 12.02 MB / 27.8 MB, free: 1.73 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.0009857/0.0009855, allocations: 111.7 kB / 31.48 MB, free: 5.121 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.001093/0.001093, allocations: 200.4 kB / 35.29 MB, free: 1.328 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.325/1.325, allocations: 222.9 MB / 261.8 MB, free: 8.562 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.05588/0.05588, allocations: 13.68 MB / 328.5 MB, free: 0.75 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.02302/0.02302, allocations: 17.46 MB / 413.4 MB, free: 28.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1351, allocations: 55.42 MB / 468.8 MB, free: 6.605 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Tests.controlModuleTest_fmu_main): time 0.9791/1.114, allocations: 414 MB / 0.8621 GB, free: 1.355 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.6741/1.788, allocations: 85.41 MB / 0.9455 GB, free: 1.09 MB / 0.6232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.1096/1.898, allocations: 1.819 MB / 0.9473 GB, free: 1.086 MB / 0.6232 GB Notification: Performance of NFTyping.typeComponents: time 0.0543/1.952, allocations: 31.54 MB / 0.9781 GB, free: 276 kB / 0.6232 GB Notification: Performance of NFTyping.typeBindings: time 0.02442/1.977, allocations: 7.726 MB / 0.9857 GB, free: 15.76 MB / 0.6388 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.01343/1.99, allocations: 5.558 MB / 0.9911 GB, free: 15.64 MB / 0.6388 GB Notification: Performance of NFFlatten.flatten: time 0.05064/2.041, allocations: 40.32 MB / 1.03 GB, free: 7.574 MB / 0.6388 GB Notification: Performance of NFFlatten.resolveConnections: time 0.06422/2.105, allocations: 44.46 MB / 1.074 GB, free: 2.453 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02228/2.128, allocations: 10.8 MB / 1.084 GB, free: 9.406 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02727/2.155, allocations: 16.46 MB / 1.101 GB, free: 10.39 MB / 0.7013 GB Notification: Performance of NFPackage.collectConstants: time 0.009875/2.165, allocations: 2.383 MB / 1.103 GB, free: 8.008 MB / 0.7013 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01442/2.179, allocations: 3.877 MB / 1.107 GB, free: 4.27 MB / 0.7013 GB Notification: Performance of NFScalarize.scalarize: time 0.02329/2.203, allocations: 13.36 MB / 1.12 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.03423/2.237, allocations: 16.03 MB / 1.135 GB, free: 6.969 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.06074/2.298, allocations: 56.65 MB / 1.191 GB, free: 15.13 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 9.067e-06/2.298, allocations: 0 / 1.191 GB, free: 15.13 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.155e-06/2.298, allocations: 4 kB / 1.191 GB, free: 15.12 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.002154/2.3, allocations: 0 / 1.191 GB, free: 15.12 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.1203/2.42, allocations: 34.61 MB / 1.224 GB, free: 12.6 MB / 0.8263 GB Notification: Performance of prepare preOptimizeDAE: time 7.239e-05/2.42, allocations: 15.97 kB / 1.224 GB, free: 12.58 MB / 0.8263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03267/2.453, allocations: 5.859 MB / 1.23 GB, free: 6.688 MB / 0.8263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.522/2.975, allocations: 23.88 MB / 1.254 GB, free: 436.4 MB / 0.8264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001644/2.977, allocations: 1.792 MB / 1.255 GB, free: 435.6 MB / 0.8264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01301/2.99, allocations: 2.454 MB / 1.258 GB, free: 434.9 MB / 0.8264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.141/3.131, allocations: 60.61 MB / 1.317 GB, free: 395.5 MB / 0.8264 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001751/3.132, allocations: 232.8 kB / 1.317 GB, free: 395.3 MB / 0.8264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01144/3.144, allocations: 1.054 MB / 1.318 GB, free: 394.3 MB / 0.8264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.009725/3.154, allocations: 6.896 MB / 1.325 GB, free: 387.5 MB / 0.8264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1067/3.26, allocations: 51.02 MB / 1.375 GB, free: 336.5 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.3321/3.593, allocations: 248.6 MB / 1.617 GB, free: 85.1 MB / 0.8264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06265/3.655, allocations: 29.32 MB / 1.646 GB, free: 55.68 MB / 0.8264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01902/3.674, allocations: 18.18 MB / 1.664 GB, free: 37.47 MB / 0.8264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001847/3.676, allocations: 1.298 MB / 1.665 GB, free: 36.05 MB / 0.8264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0573/3.734, allocations: 21.44 MB / 1.686 GB, free: 14.53 MB / 0.8264 GB Notification: Performance of pre-optimization done (n=901): time 2.182e-05/3.734, allocations: 0 / 1.686 GB, free: 14.53 MB / 0.8264 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