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.06089/0.06089, allocations: 12.04 MB / 27.54 MB, free: 1.402 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.001343/0.001343, allocations: 113.4 kB / 31.24 MB, free: 4.562 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.001783/0.001783, allocations: 196.4 kB / 35.07 MB, free: 0.7539 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.385/1.385, allocations: 222.9 MB / 261.6 MB, free: 12 kB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.05917/0.05917, allocations: 13.67 MB / 328.3 MB, free: 1.105 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.02596/0.02596, allocations: 19.59 MB / 415.6 MB, free: 25.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0847/0.1107, allocations: 55.42 MB / 471.1 MB, free: 4.008 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Tests.chassisTest): time 0.2171/0.3278, allocations: 57.61 MB / 0.5163 GB, free: 15.47 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02809/0.3559, allocations: 15.19 MB / 0.5311 GB, free: 14.79 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01227/0.3682, allocations: 482.5 kB / 0.5316 GB, free: 14.79 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.04542/0.4137, allocations: 30.34 MB / 0.5612 GB, free: 3.105 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.017/0.4307, allocations: 7.538 MB / 0.5686 GB, free: 14.38 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009576/0.4403, allocations: 4.777 MB / 0.5732 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.03174/0.4721, allocations: 25.26 MB / 0.5979 GB, free: 6.863 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05006/0.5222, allocations: 42.01 MB / 0.6389 GB, free: 13.96 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01795/0.5402, allocations: 12.23 MB / 0.6509 GB, free: 2.293 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02099/0.5612, allocations: 15.2 MB / 0.6657 GB, free: 3.898 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.009513/0.5707, allocations: 3.832 MB / 0.6694 GB, free: 68 kB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0134/0.5842, allocations: 4.974 MB / 0.6743 GB, free: 11.16 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01783/0.602, allocations: 14.21 MB / 0.6882 GB, free: 12.97 MB / 0.4982 GB Notification: Performance of NFVerifyModel.verify: time 0.4259/1.028, allocations: 16.3 MB / 0.7041 GB, free: 67.95 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.05237/1.08, allocations: 55.32 MB / 0.7581 GB, free: 57.57 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 6.772e-06/1.08, allocations: 0 / 0.7581 GB, free: 57.57 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.493e-06/1.08, allocations: 0.5625 kB / 0.7581 GB, free: 57.57 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 0.001734/1.082, allocations: 0 / 0.7581 GB, free: 57.57 MB / 0.4983 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.09592/1.178, allocations: 30.25 MB / 0.7877 GB, free: 38.79 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/1.178, allocations: 11.66 kB / 0.7877 GB, free: 38.79 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02811/1.206, allocations: 5.579 MB / 0.7931 GB, free: 35.99 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03812/1.244, allocations: 19.9 MB / 0.8126 GB, free: 23.57 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001378/1.246, allocations: 1.691 MB / 0.8142 GB, free: 22.87 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01099/1.257, allocations: 2.301 MB / 0.8165 GB, free: 21.35 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1349/1.392, allocations: 54.49 MB / 0.8697 GB, free: 13.35 MB / 0.5452 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001657/1.393, allocations: 231.4 kB / 0.8699 GB, free: 13.19 MB / 0.5452 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009466/1.403, allocations: 0.9863 MB / 0.8709 GB, free: 12.29 MB / 0.5452 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01103/1.414, allocations: 6.304 MB / 0.877 GB, free: 6.059 MB / 0.5452 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3328/1.747, allocations: 45.33 MB / 0.9213 GB, free: 176 MB / 0.5764 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.272/2.019, allocations: 215 MB / 1.131 GB, free: 5.09 MB / 0.5764 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3073/2.326, allocations: 25.5 MB / 1.156 GB, free: 169.8 MB / 0.5764 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01783/2.344, allocations: 16.14 MB / 1.172 GB, free: 168 MB / 0.5764 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001309/2.345, allocations: 0.9575 MB / 1.173 GB, free: 167.4 MB / 0.5764 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.792e-05/2.346, allocations: 116.3 kB / 1.173 GB, free: 167.3 MB / 0.5764 GB Notification: Performance of pre-optimization done (n=761): time 1.044e-05/2.346, allocations: 2.281 kB / 1.173 GB, free: 167.3 MB / 0.5764 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:7956:5-7956:89:writable] Error: Internal error Transformation module sort components failed