Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr DroneLibrary_DroneLibrary.Tests.simpleHoverTest.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.simpleHoverTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Tests.simpleHoverTest") translateModel(DroneLibrary.Tests.simpleHoverTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Tests.simpleHoverTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.05822/0.05822, allocations: 12.02 MB / 27.79 MB, free: 2.188 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.0009028/0.000903, allocations: 111.4 kB / 31.49 MB, free: 5.301 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.001035/0.001035, allocations: 196.3 kB / 35.3 MB, free: 1.516 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.334/1.334, allocations: 222.9 MB / 261.8 MB, free: 8.645 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.055/0.055, allocations: 13.69 MB / 328.5 MB, free: 0.6836 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.02536/0.02537, allocations: 17.46 MB / 413.4 MB, free: 28.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1402, allocations: 55.42 MB / 468.8 MB, free: 6.547 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Tests.simpleHoverTest): time 0.9565/1.097, allocations: 407.6 MB / 0.8559 GB, free: 7.625 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.2109/1.308, allocations: 79.08 MB / 0.9331 GB, free: 8.98 MB / 0.6232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.1082/1.416, allocations: 1.785 MB / 0.9349 GB, free: 7.191 MB / 0.6232 GB Notification: Performance of NFTyping.typeComponents: time 0.5214/1.937, allocations: 30.74 MB / 0.9649 GB, free: 2.629 MB / 0.6232 GB Notification: Performance of NFTyping.typeBindings: time 0.0233/1.961, allocations: 7.273 MB / 0.972 GB, free: 2.176 MB / 0.6232 GB Notification: Performance of NFTyping.typeClassSections: time 0.01234/1.973, allocations: 4.474 MB / 0.9764 GB, free: 2.082 MB / 0.6232 GB Notification: Performance of NFFlatten.flatten: time 0.05996/2.033, allocations: 38.49 MB / 1.014 GB, free: 0 / 0.6232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.06522/2.099, allocations: 40.01 MB / 1.053 GB, free: 7.18 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02308/2.122, allocations: 10.14 MB / 1.063 GB, free: 14.67 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02747/2.149, allocations: 15.57 MB / 1.078 GB, free: 0.7656 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.009138/2.158, allocations: 2.168 MB / 1.08 GB, free: 14.59 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01305/2.171, allocations: 3.393 MB / 1.084 GB, free: 11.32 MB / 0.6857 GB Notification: Performance of NFScalarize.scalarize: time 0.02006/2.192, allocations: 12.69 MB / 1.096 GB, free: 14.7 MB / 0.7013 GB Notification: Performance of NFVerifyModel.verify: time 0.0338/2.225, allocations: 14.48 MB / 1.11 GB, free: 240 kB / 0.7013 GB Notification: Performance of NFConvertDAE.convert: time 0.05263/2.278, allocations: 47.68 MB / 1.157 GB, free: 1.328 MB / 0.7482 GB Notification: Performance of FrontEnd - DAE generated: time 8.115e-06/2.278, allocations: 0 / 1.157 GB, free: 1.328 MB / 0.7482 GB Notification: Performance of FrontEnd: time 1.704e-06/2.278, allocations: 4 kB / 1.157 GB, free: 1.324 MB / 0.7482 GB Notification: Performance of Transformations before backend: time 0.00199/2.28, allocations: 0 / 1.157 GB, free: 1.324 MB / 0.7482 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7613 * Number of variables: 7613 Notification: Performance of Generate backend data structure: time 0.09357/2.374, allocations: 30.35 MB / 1.186 GB, free: 3.117 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/2.374, allocations: 8.031 kB / 1.186 GB, free: 3.109 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02699/2.401, allocations: 5.595 MB / 1.192 GB, free: 13.48 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0371/2.438, allocations: 19.96 MB / 1.211 GB, free: 10.33 MB / 0.8107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00146/2.439, allocations: 1.693 MB / 1.213 GB, free: 8.719 MB / 0.8107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009916/2.449, allocations: 2.311 MB / 1.215 GB, free: 6.492 MB / 0.8107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6149/3.064, allocations: 54.65 MB / 1.269 GB, free: 429.4 MB / 0.8264 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001924/3.066, allocations: 230.2 kB / 1.269 GB, free: 429.4 MB / 0.8264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009765/3.076, allocations: 0.9857 MB / 1.27 GB, free: 428.7 MB / 0.8264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01024/3.086, allocations: 6.32 MB / 1.276 GB, free: 426.3 MB / 0.8264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08578/3.172, allocations: 45.47 MB / 1.32 GB, free: 400.2 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.2537/3.426, allocations: 215.6 MB / 1.531 GB, free: 182.7 MB / 0.8264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05611/3.482, allocations: 25.92 MB / 1.556 GB, free: 156.6 MB / 0.8264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01764/3.5, allocations: 16.17 MB / 1.572 GB, free: 140.4 MB / 0.8264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001528/3.501, allocations: 1.272 MB / 1.573 GB, free: 139 MB / 0.8264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.679e-05/3.501, allocations: 110.9 kB / 1.573 GB, free: 138.9 MB / 0.8264 GB Notification: Performance of pre-optimization done (n=765): time 9.097e-06/3.501, allocations: 0 / 1.573 GB, free: 138.9 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 * 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