Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr DroneLibrary_DroneLibrary.Tests.controlModuleTest2.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.controlModuleTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Tests.controlModuleTest2") translateModel(DroneLibrary.Tests.controlModuleTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Tests.controlModuleTest2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.08726/0.08726, allocations: 12.03 MB / 27.91 MB, free: 2.152 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.001346/0.001346, allocations: 119 kB / 31.62 MB, free: 5.238 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.001684/0.001684, allocations: 195.8 kB / 35.43 MB, free: 1.445 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.311/1.311, allocations: 222.9 MB / 262 MB, free: 240 kB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.05732/0.05732, allocations: 13.68 MB / 328.7 MB, free: 3.898 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.02701/0.02701, allocations: 18.42 MB / 414.6 MB, free: 26.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.1369, allocations: 55.42 MB / 470 MB, free: 5.918 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Tests.controlModuleTest2): time 0.9706/1.108, allocations: 414.2 MB / 0.8635 GB, free: 464 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.6606/1.768, allocations: 80.72 MB / 0.9423 GB, free: 1.152 MB / 0.6232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.09897/1.867, allocations: 1.811 MB / 0.9441 GB, free: 1.152 MB / 0.6232 GB Notification: Performance of NFTyping.typeComponents: time 0.05379/1.921, allocations: 30.29 MB / 0.9736 GB, free: 0.7188 MB / 0.6232 GB Notification: Performance of NFTyping.typeBindings: time 0.023/1.944, allocations: 7.325 MB / 0.9808 GB, free: 212 kB / 0.6232 GB Notification: Performance of NFTyping.typeClassSections: time 0.01235/1.957, allocations: 5.131 MB / 0.9858 GB, free: 108 kB / 0.6232 GB Notification: Performance of NFFlatten.flatten: time 0.04472/2.001, allocations: 27.18 MB / 1.012 GB, free: 13.84 MB / 0.6388 GB Notification: Performance of NFFlatten.resolveConnections: time 0.06828/2.07, allocations: 46.34 MB / 1.058 GB, free: 2.004 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02534/2.095, allocations: 13.21 MB / 1.071 GB, free: 6.82 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02863/2.124, allocations: 17.53 MB / 1.088 GB, free: 6.809 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 0.01386/2.138, allocations: 4.07 MB / 1.092 GB, free: 2.738 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01948/2.157, allocations: 5.422 MB / 1.097 GB, free: 13.45 MB / 0.7013 GB Notification: Performance of NFScalarize.scalarize: time 0.0275/2.185, allocations: 15.05 MB / 1.112 GB, free: 14.47 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.03627/2.221, allocations: 17.37 MB / 1.129 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.05482/2.276, allocations: 50.1 MB / 1.177 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 9.588e-06/2.276, allocations: 0 / 1.177 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.346e-06/2.276, allocations: 0 / 1.177 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.002598/2.279, allocations: 0 / 1.177 GB, free: 11.85 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8015 * Number of variables: 8015 Notification: Performance of Generate backend data structure: time 0.1117/2.39, allocations: 34.04 MB / 1.211 GB, free: 9.883 MB / 0.8107 GB Notification: Performance of prepare preOptimizeDAE: time 7.392e-05/2.39, allocations: 8.031 kB / 1.211 GB, free: 9.875 MB / 0.8107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02974/2.42, allocations: 5.788 MB / 1.216 GB, free: 4.051 MB / 0.8107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04747/2.468, allocations: 20.79 MB / 1.237 GB, free: 124 kB / 0.8263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.4133/2.881, allocations: 1.804 MB / 1.238 GB, free: 443.8 MB / 0.8264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01306/2.894, allocations: 2.452 MB / 1.241 GB, free: 443.8 MB / 0.8264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1595/3.054, allocations: 57.24 MB / 1.297 GB, free: 419.1 MB / 0.8264 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002122/3.056, allocations: 226.9 kB / 1.297 GB, free: 419.1 MB / 0.8264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01201/3.068, allocations: 1.054 MB / 1.298 GB, free: 418.4 MB / 0.8264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01042/3.078, allocations: 6.491 MB / 1.304 GB, free: 414.2 MB / 0.8264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09807/3.176, allocations: 47.52 MB / 1.351 GB, free: 367.3 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.2854/3.462, allocations: 226.6 MB / 1.572 GB, free: 138.9 MB / 0.8264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.061/3.523, allocations: 27.86 MB / 1.599 GB, free: 110.9 MB / 0.8264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01893/3.542, allocations: 16.89 MB / 1.616 GB, free: 93.98 MB / 0.8264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002002/3.544, allocations: 1.296 MB / 1.617 GB, free: 92.57 MB / 0.8264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05675/3.601, allocations: 20.52 MB / 1.637 GB, free: 71.97 MB / 0.8264 GB Notification: Performance of pre-optimization done (n=901): time 2.211e-05/3.601, allocations: 0 / 1.637 GB, free: 71.97 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 * accelerometer.relativeAngles.R_rel.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