Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr DroneLibrary_DroneLibrary.Tests.controlModuleTest_fmu_inputs.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_inputs,fileNamePrefix="DroneLibrary_DroneLibrary_Tests_controlModuleTest_fmu_inputs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(DroneLibrary.Tests.controlModuleTest_fmu_inputs,fileNamePrefix="DroneLibrary_DroneLibrary_Tests_controlModuleTest_fmu_inputs",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.07097/0.07097, allocations: 12.02 MB / 27.25 MB, free: 2.125 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.001004/0.001004, allocations: 115.8 kB / 30.95 MB, free: 5.273 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.001121/0.001121, allocations: 188.1 kB / 34.76 MB, free: 1.48 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.258/1.258, allocations: 222.9 MB / 261.3 MB, free: 236 kB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.05556/0.05556, allocations: 13.68 MB / 328 MB, free: 3.891 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.0211/0.0211, allocations: 18.45 MB / 414.1 MB, free: 26.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07721/0.09832, allocations: 55.41 MB / 469.5 MB, free: 5.766 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Tests.controlModuleTest_fmu_inputs): time 0.7018/0.8002, allocations: 413.7 MB / 0.8625 GB, free: 0.7852 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1524/0.9526, allocations: 80.58 MB / 0.9412 GB, free: 0.6328 MB / 0.6232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.3664/1.319, allocations: 1.808 MB / 0.943 GB, free: 1.215 MB / 0.6232 GB Notification: Performance of NFTyping.typeComponents: time 0.04308/1.362, allocations: 30.28 MB / 0.9725 GB, free: 0.793 MB / 0.6232 GB Notification: Performance of NFTyping.typeBindings: time 0.01563/1.378, allocations: 7.308 MB / 0.9797 GB, free: 284 kB / 0.6232 GB Notification: Performance of NFTyping.typeClassSections: time 0.008335/1.386, allocations: 5.083 MB / 0.9846 GB, free: 180 kB / 0.6232 GB Notification: Performance of NFFlatten.flatten: time 0.0351/1.421, allocations: 27.06 MB / 1.011 GB, free: 14.14 MB / 0.6388 GB Notification: Performance of NFFlatten.resolveConnections: time 0.06328/1.485, allocations: 46.15 MB / 1.056 GB, free: 2.766 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01926/1.504, allocations: 13.16 MB / 1.069 GB, free: 7.621 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0202/1.524, allocations: 17.46 MB / 1.086 GB, free: 7.711 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 0.008045/1.532, allocations: 4.055 MB / 1.09 GB, free: 3.656 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01054/1.543, allocations: 5.407 MB / 1.095 GB, free: 14.38 MB / 0.7013 GB Notification: Performance of NFScalarize.scalarize: time 0.0149/1.558, allocations: 15.01 MB / 1.11 GB, free: 15.44 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.02037/1.578, allocations: 17.4 MB / 1.127 GB, free: 14.06 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.04748/1.626, allocations: 58.24 MB / 1.184 GB, free: 4.664 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/1.626, allocations: 4 kB / 1.184 GB, free: 4.66 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.913e-06/1.626, allocations: 4 kB / 1.184 GB, free: 4.656 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.0012/1.627, allocations: 0 / 1.184 GB, free: 4.656 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7999 * Number of variables: 7999 Notification: Performance of Generate backend data structure: time 0.07503/1.702, allocations: 34.11 MB / 1.217 GB, free: 2.625 MB / 0.8107 GB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/1.702, allocations: 8.031 kB / 1.217 GB, free: 2.617 MB / 0.8107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01254/1.715, allocations: 4.555 MB / 1.222 GB, free: 14.14 MB / 0.8263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03718/1.752, allocations: 7.715 MB / 1.229 GB, free: 6.383 MB / 0.8263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3337/2.086, allocations: 25.04 MB / 1.254 GB, free: 440.1 MB / 0.8264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001167/2.087, allocations: 1.802 MB / 1.255 GB, free: 439.4 MB / 0.8264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006966/2.094, allocations: 2.441 MB / 1.258 GB, free: 438.6 MB / 0.8264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08606/2.18, allocations: 57.06 MB / 1.313 GB, free: 403.6 MB / 0.8264 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006711/2.18, allocations: 236.3 kB / 1.314 GB, free: 403.4 MB / 0.8264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002709/2.183, allocations: 1.057 MB / 1.315 GB, free: 402.5 MB / 0.8264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007047/2.19, allocations: 6.492 MB / 1.321 GB, free: 396 MB / 0.8264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06768/2.258, allocations: 47.22 MB / 1.367 GB, free: 348.8 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.2148/2.473, allocations: 225.8 MB / 1.588 GB, free: 120.3 MB / 0.8264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05478/2.528, allocations: 27.67 MB / 1.615 GB, free: 92.51 MB / 0.8264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01524/2.543, allocations: 16.71 MB / 1.631 GB, free: 75.78 MB / 0.8264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001327/2.544, allocations: 1.304 MB / 1.632 GB, free: 74.36 MB / 0.8264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.04934/2.594, allocations: 20.34 MB / 1.652 GB, free: 53.94 MB / 0.8264 GB Notification: Performance of pre-optimization done (n=891): time 1.541e-05/2.594, allocations: 0 / 1.652 GB, free: 53.94 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: droneChassis1.bodyCylinder.body.frame_a.r_0[1] = propellerRev.blades.bodyShape4.body.frame_a.r_0[1] + 0.25 * 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