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: "" <> buildModelFMU(DroneLibrary.Tests.controlModuleTest_fmu_main,fileNamePrefix="DroneLibrary_DroneLibrary_Tests_controlModuleTest_fmu_main",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(DroneLibrary.Tests.controlModuleTest_fmu_main,fileNamePrefix="DroneLibrary_DroneLibrary_Tests_controlModuleTest_fmu_main",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.07784/0.07784, allocations: 12.03 MB / 27.15 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.001045/0.001045, allocations: 103.4 kB / 30.83 MB, free: 5.34 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: 192.3 kB / 34.63 MB, free: 1.551 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.638/1.638, allocations: 222.9 MB / 261.2 MB, free: 8.621 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.08801/0.08801, allocations: 13.68 MB / 327.9 MB, free: 0.7188 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.02988/0.02988, allocations: 18.45 MB / 413.9 MB, free: 27.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1375/0.1674, allocations: 55.43 MB / 469.3 MB, free: 5.488 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Tests.controlModuleTest_fmu_main): time 1.188/1.356, allocations: 414 MB / 0.8626 GB, free: 0.6445 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.8626/2.218, allocations: 85.42 MB / 0.946 GB, free: 1.113 MB / 0.6232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.1424/2.361, allocations: 1.815 MB / 0.9477 GB, free: 1.113 MB / 0.6232 GB Notification: Performance of NFTyping.typeComponents: time 0.06065/2.421, allocations: 31.55 MB / 0.9786 GB, free: 316 kB / 0.6232 GB Notification: Performance of NFTyping.typeBindings: time 0.02616/2.448, allocations: 7.727 MB / 0.9861 GB, free: 15.8 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.01714/2.465, allocations: 5.553 MB / 0.9915 GB, free: 15.69 MB / 0.6388 GB Notification: Performance of NFFlatten.flatten: time 0.06608/2.531, allocations: 40.34 MB / 1.031 GB, free: 7.555 MB / 0.6388 GB Notification: Performance of NFFlatten.resolveConnections: time 0.07357/2.605, allocations: 44.45 MB / 1.074 GB, free: 1.777 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02886/2.634, allocations: 10.79 MB / 1.085 GB, free: 8.73 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03171/2.665, allocations: 16.46 MB / 1.101 GB, free: 9.707 MB / 0.7013 GB Notification: Performance of NFPackage.collectConstants: time 0.01067/2.676, allocations: 2.383 MB / 1.103 GB, free: 7.324 MB / 0.7013 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01699/2.693, allocations: 3.878 MB / 1.107 GB, free: 3.586 MB / 0.7013 GB Notification: Performance of NFScalarize.scalarize: time 0.02321/2.716, allocations: 13.36 MB / 1.12 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.03833/2.755, allocations: 16.12 MB / 1.136 GB, free: 6.199 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.07715/2.832, allocations: 63.93 MB / 1.198 GB, free: 7.109 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 9.658e-06/2.832, allocations: 2.531 kB / 1.198 GB, free: 7.109 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.344e-06/2.832, allocations: 0 / 1.198 GB, free: 7.109 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.002566/2.834, allocations: 0 / 1.198 GB, free: 7.109 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.1302/2.965, allocations: 34.86 MB / 1.232 GB, free: 4.309 MB / 0.8263 GB Notification: Performance of prepare preOptimizeDAE: time 6.124e-05/2.965, allocations: 8.031 kB / 1.232 GB, free: 4.301 MB / 0.8263 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.02259/2.987, allocations: 3.974 MB / 1.236 GB, free: 412 kB / 0.8263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.6396/3.627, allocations: 7.852 MB / 1.244 GB, free: 443 MB / 0.8264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0594/3.686, allocations: 28.4 MB / 1.272 GB, free: 430.7 MB / 0.8264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002756/3.689, allocations: 1.8 MB / 1.273 GB, free: 429.9 MB / 0.8264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01206/3.701, allocations: 2.452 MB / 1.276 GB, free: 429.1 MB / 0.8264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1422/3.844, allocations: 60.53 MB / 1.335 GB, free: 377.2 MB / 0.8264 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001593/3.845, allocations: 240.5 kB / 1.335 GB, free: 376.9 MB / 0.8264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01151/3.857, allocations: 1.053 MB / 1.336 GB, free: 376 MB / 0.8264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01031/3.867, allocations: 6.893 MB / 1.343 GB, free: 369.1 MB / 0.8264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1122/3.979, allocations: 50.86 MB / 1.393 GB, free: 318.3 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.3911/4.37, allocations: 248.1 MB / 1.635 GB, free: 66.98 MB / 0.8264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06866/4.439, allocations: 29.24 MB / 1.663 GB, free: 37.64 MB / 0.8264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0237/4.463, allocations: 18.1 MB / 1.681 GB, free: 19.52 MB / 0.8264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002339/4.465, allocations: 1.306 MB / 1.682 GB, free: 18.09 MB / 0.8264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.4064/4.872, allocations: 21.36 MB / 1.703 GB, free: 403.8 MB / 0.8264 GB Notification: Performance of pre-optimization done (n=901): time 2.68e-05/4.872, allocations: 1.062 kB / 1.703 GB, free: 403.8 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