Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr DroneLibrary_DroneLibrary.Tests.chassisTest.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.chassisTest,fileNamePrefix="DroneLibrary_DroneLibrary_Tests_chassisTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(DroneLibrary.Tests.chassisTest,fileNamePrefix="DroneLibrary_DroneLibrary_Tests_chassisTest",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.06946/0.06946, allocations: 12.04 MB / 27.31 MB, free: 1.465 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.0006889/0.0006889, allocations: 88.14 kB / 31.04 MB, free: 6.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.0008092/0.0008093, allocations: 174.4 kB / 34.9 MB, free: 2.535 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.224/1.224, allocations: 223.3 MB / 261.9 MB, free: 6.922 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.05833/0.05833, allocations: 13.7 MB / 329.6 MB, free: 6.301 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.02171/0.02171, allocations: 18.37 MB / 416.7 MB, free: 15.29 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3783/0.4, allocations: 56.47 MB / 473.1 MB, free: 50.3 MB / 350.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Tests.chassisTest): time 1.004/1.404, allocations: 398.8 MB / 0.8515 GB, free: 15.91 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1995/1.604, allocations: 78.91 MB / 0.9285 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.09788/1.702, allocations: 1.765 MB / 0.9302 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.008358/1.71, allocations: 2.052 MB / 0.9323 GB, free: 8.383 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0208/1.731, allocations: 7.26 MB / 0.9393 GB, free: 2.102 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.01053/1.742, allocations: 4.432 MB / 0.9437 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.04453/1.786, allocations: 37.38 MB / 0.9802 GB, free: 10.16 MB / 0.6388 GB Notification: Performance of NFFlatten.resolveConnections: time 0.5532/2.339, allocations: 54.24 MB / 1.033 GB, free: 25.43 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01637/2.356, allocations: 6.948 MB / 1.04 GB, free: 25.43 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02057/2.376, allocations: 11.55 MB / 1.051 GB, free: 25.03 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.006047/2.383, allocations: 0.9204 MB / 1.052 GB, free: 25.03 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01019/2.393, allocations: 2.156 MB / 1.054 GB, free: 25.03 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.01633/2.409, allocations: 10.69 MB / 1.065 GB, free: 23.98 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.02283/2.432, allocations: 12.15 MB / 1.077 GB, free: 19.73 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.07055/2.503, allocations: 53.71 MB / 1.129 GB, free: 0 / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/2.503, allocations: 3.375 kB / 1.129 GB, free: 0 / 0.67 GB Notification: Performance of FrontEnd: time 2.424e-06/2.503, allocations: 64 / 1.129 GB, free: 0 / 0.67 GB Notification: Performance of Transformations before backend: time 0.001945/2.505, allocations: 0 / 1.129 GB, free: 0 / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7595 * Number of variables: 7595 Notification: Performance of Generate backend data structure: time 0.07114/2.576, allocations: 24.2 MB / 1.153 GB, free: 2.465 MB / 0.6857 GB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/2.576, allocations: 8.906 kB / 1.153 GB, free: 2.465 MB / 0.6857 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01921/2.595, allocations: 3.771 MB / 1.156 GB, free: 1.535 MB / 0.6857 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04278/2.638, allocations: 7.67 MB / 1.164 GB, free: 14.33 MB / 0.7013 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0471/2.685, allocations: 24.22 MB / 1.187 GB, free: 13.31 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002438/2.687, allocations: 1.699 MB / 1.189 GB, free: 11.7 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01264/2.7, allocations: 2.299 MB / 1.191 GB, free: 9.48 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1366/2.837, allocations: 54.57 MB / 1.245 GB, free: 1.168 MB / 0.7638 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001708/2.838, allocations: 226.8 kB / 1.245 GB, free: 1.012 MB / 0.7638 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009518/2.848, allocations: 0.9824 MB / 1.246 GB, free: 116 kB / 0.7638 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01055/2.859, allocations: 6.317 MB / 1.252 GB, free: 9.859 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09633/2.955, allocations: 45.37 MB / 1.296 GB, free: 13.07 MB / 0.8263 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.5717/3.527, allocations: 214.1 MB / 1.505 GB, free: 308.4 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06037/3.587, allocations: 25.52 MB / 1.53 GB, free: 282.8 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01904/3.606, allocations: 16.09 MB / 1.546 GB, free: 266.7 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0015/3.608, allocations: 0.9621 MB / 1.547 GB, free: 265.6 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.455e-05/3.608, allocations: 115.8 kB / 1.547 GB, free: 265.5 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=761): time 9.728e-06/3.608, allocations: 0 / 1.547 GB, free: 265.5 MB / 0.8419 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 * propellerRev2.Airframe.R.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