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: translateModel(DroneLibrary.Tests.chassisTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Tests.chassisTest") translateModel(DroneLibrary.Tests.chassisTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Tests.chassisTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.08258/0.08258, allocations: 12.04 MB / 27.31 MB, free: 1.473 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.0007836/0.0007837, allocations: 96.03 kB / 31.05 MB, free: 4.812 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.001469/0.00147, allocations: 176.5 kB / 34.9 MB, free: 0.9766 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.649/1.649, allocations: 223.2 MB / 261.9 MB, free: 9.613 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.06476/0.06476, allocations: 13.7 MB / 329.6 MB, free: 320 kB / 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.0239/0.0239, allocations: 17.4 MB / 415.6 MB, free: 27.82 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1366/0.1606, allocations: 56.48 MB / 472 MB, free: 5.242 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Tests.chassisTest): time 1.376/1.537, allocations: 398.8 MB / 0.8504 GB, free: 6.504 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.2524/1.789, allocations: 78.91 MB / 0.9275 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.1377/1.927, allocations: 1.765 MB / 0.9292 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.01197/1.939, allocations: 2.048 MB / 0.9312 GB, free: 4.203 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.669/2.608, allocations: 7.263 MB / 0.9383 GB, free: 3.77 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.01403/2.622, allocations: 4.429 MB / 0.9426 GB, free: 3.68 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.06187/2.684, allocations: 37.37 MB / 0.9791 GB, free: 2.355 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.09454/2.779, allocations: 54.31 MB / 1.032 GB, free: 12.36 MB / 0.6388 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02328/2.802, allocations: 6.947 MB / 1.039 GB, free: 8.07 MB / 0.6388 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02954/2.832, allocations: 11.55 MB / 1.05 GB, free: 15.78 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.01159/2.843, allocations: 0.918 MB / 1.051 GB, free: 14.86 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01721/2.86, allocations: 2.149 MB / 1.053 GB, free: 13.05 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.02522/2.886, allocations: 10.69 MB / 1.064 GB, free: 4.277 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.03877/2.925, allocations: 12.07 MB / 1.075 GB, free: 9.336 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.08626/3.011, allocations: 51.77 MB / 1.126 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 1.138e-05/3.011, allocations: 4 kB / 1.126 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of FrontEnd: time 4.688e-06/3.011, allocations: 0 / 1.126 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.002542/3.014, allocations: 0 / 1.126 GB, free: 6.32 MB / 0.7169 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.09084/3.104, allocations: 24.01 MB / 1.149 GB, free: 14.27 MB / 0.7482 GB Notification: Performance of prepare preOptimizeDAE: time 5.663e-05/3.105, allocations: 8.031 kB / 1.149 GB, free: 14.26 MB / 0.7482 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03045/3.135, allocations: 5.69 MB / 1.155 GB, free: 8.535 MB / 0.7482 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04883/3.184, allocations: 19.89 MB / 1.174 GB, free: 5.445 MB / 0.7638 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002195/3.186, allocations: 1.691 MB / 1.176 GB, free: 3.84 MB / 0.7638 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01219/3.198, allocations: 2.301 MB / 1.178 GB, free: 1.621 MB / 0.7638 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.7554/3.954, allocations: 54.65 MB / 1.232 GB, free: 415.6 MB / 0.8108 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001887/3.956, allocations: 229.6 kB / 1.232 GB, free: 415.5 MB / 0.8108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01099/3.967, allocations: 0.987 MB / 1.233 GB, free: 415.5 MB / 0.8108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01288/3.98, allocations: 6.306 MB / 1.239 GB, free: 415.4 MB / 0.8108 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1048/4.084, allocations: 45.52 MB / 1.283 GB, free: 394.7 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.3233/4.408, allocations: 214.5 MB / 1.493 GB, free: 188.8 MB / 0.8108 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06405/4.472, allocations: 25.59 MB / 1.518 GB, free: 163.1 MB / 0.8108 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02032/4.492, allocations: 16.15 MB / 1.534 GB, free: 146.9 MB / 0.8108 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001888/4.494, allocations: 0.9548 MB / 1.535 GB, free: 145.9 MB / 0.8108 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001846/4.494, allocations: 114.9 kB / 1.535 GB, free: 145.7 MB / 0.8108 GB Notification: Performance of pre-optimization done (n=761): time 2.182e-05/4.494, allocations: 0 / 1.535 GB, free: 145.7 MB / 0.8108 GB [/var/lib/jenkins/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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:346:7-346:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:107:7-107:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:7947:5-7947:89:writable] Error: Internal error Transformation module sort components failed