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.07449/0.0745, allocations: 12.01 MB / 27.25 MB, free: 2.137 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.001002/0.001002, allocations: 120.8 kB / 30.95 MB, free: 5.262 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.001723/0.001723, allocations: 196.3 kB / 34.76 MB, free: 1.473 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.373/1.373, allocations: 222.9 MB / 261.3 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.2527/0.2527, allocations: 13.67 MB / 328 MB, free: 3.023 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.03084/0.03084, allocations: 18.45 MB / 414.1 MB, free: 7.23 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5113/0.5421, allocations: 55.39 MB / 469.5 MB, free: 52.19 MB / 382.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Tests.chassisTest): time 1.053/1.595, allocations: 407.3 MB / 0.8562 GB, free: 0.5312 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.1668/1.762, allocations: 79.04 MB / 0.9334 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.09043/1.853, allocations: 1.776 MB / 0.9351 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.046/1.899, allocations: 29.58 MB / 0.964 GB, free: 9.16 MB / 0.6232 GB Notification: Performance of NFTyping.typeBindings: time 0.02301/1.922, allocations: 7.048 MB / 0.9709 GB, free: 3.086 MB / 0.6232 GB Notification: Performance of NFTyping.typeClassSections: time 0.01117/1.933, allocations: 4.56 MB / 0.9754 GB, free: 14.81 MB / 0.6388 GB Notification: Performance of NFFlatten.flatten: time 0.03375/1.967, allocations: 25.42 MB / 1 GB, free: 7.051 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.05403/2.021, allocations: 44.18 MB / 1.043 GB, free: 11.64 MB / 0.7013 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02165/2.042, allocations: 12.45 MB / 1.055 GB, free: 15.75 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02121/2.064, allocations: 16.59 MB / 1.072 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.009092/2.073, allocations: 3.832 MB / 1.075 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01112/2.084, allocations: 5.003 MB / 1.08 GB, free: 7.203 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.01708/2.101, allocations: 14.35 MB / 1.094 GB, free: 8.867 MB / 0.7482 GB Notification: Performance of NFVerifyModel.verify: time 0.02734/2.128, allocations: 16.44 MB / 1.11 GB, free: 8.398 MB / 0.7638 GB Notification: Performance of NFConvertDAE.convert: time 0.8724/3.001, allocations: 55.67 MB / 1.165 GB, free: 99.09 MB / 0.7795 GB Notification: Performance of FrontEnd - DAE generated: time 7.814e-06/3.001, allocations: 0 / 1.165 GB, free: 99.09 MB / 0.7795 GB Notification: Performance of FrontEnd: time 2.154e-06/3.001, allocations: 1.406 kB / 1.165 GB, free: 99.09 MB / 0.7795 GB Notification: Performance of Transformations before backend: time 0.002223/3.003, allocations: 0 / 1.165 GB, free: 99.09 MB / 0.7795 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.1136/3.117, allocations: 30.49 MB / 1.195 GB, free: 86.52 MB / 0.7795 GB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/3.117, allocations: 9.281 kB / 1.195 GB, free: 86.52 MB / 0.7795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.02009/3.137, allocations: 3.772 MB / 1.198 GB, free: 85.59 MB / 0.7795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04457/3.181, allocations: 7.519 MB / 1.206 GB, free: 82.29 MB / 0.7795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0507/3.232, allocations: 24.22 MB / 1.229 GB, free: 76.1 MB / 0.7795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001823/3.234, allocations: 1.69 MB / 1.231 GB, free: 76.05 MB / 0.7795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01666/3.251, allocations: 2.308 MB / 1.233 GB, free: 76 MB / 0.7795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1371/3.388, allocations: 54.41 MB / 1.286 GB, free: 34.15 MB / 0.7795 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001906/3.39, allocations: 234 kB / 1.286 GB, free: 33.98 MB / 0.7795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01385/3.404, allocations: 0.9859 MB / 1.287 GB, free: 33.08 MB / 0.7795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.009895/3.414, allocations: 6.3 MB / 1.294 GB, free: 26.84 MB / 0.7795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09769/3.511, allocations: 45.2 MB / 1.338 GB, free: 14.25 MB / 0.8108 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.6052/4.117, allocations: 214.6 MB / 1.547 GB, free: 376.2 MB / 0.9045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05348/4.17, allocations: 25.43 MB / 1.572 GB, free: 375.1 MB / 0.9045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01568/4.186, allocations: 16.07 MB / 1.588 GB, free: 373.3 MB / 0.9045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001158/4.187, allocations: 0.9555 MB / 1.589 GB, free: 372.7 MB / 0.9045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.581e-05/4.187, allocations: 116.7 kB / 1.589 GB, free: 372.6 MB / 0.9045 GB Notification: Performance of pre-optimization done (n=761): time 9.367e-06/4.187, allocations: 2.688 kB / 1.589 GB, free: 372.6 MB / 0.9045 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:7953:5-7953:89:writable] Error: Internal error Transformation module sort components failed