Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr DroneLibrary_DroneLibrary.Tests.controlModuleTest.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.controlModuleTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Tests.controlModuleTest") translateModel(DroneLibrary.Tests.controlModuleTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Tests.controlModuleTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.06995/0.06995, allocations: 12.03 MB / 27.01 MB, free: 2.34 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.0007554/0.0007554, allocations: 95.44 kB / 30.73 MB, free: 5.57 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.001228/0.001228, allocations: 184.5 kB / 34.57 MB, free: 1.742 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.529/1.529, allocations: 223.3 MB / 261.5 MB, free: 9.129 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.05845/0.05845, allocations: 13.69 MB / 329.3 MB, free: 20 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.02481/0.02481, allocations: 17.45 MB / 415 MB, free: 28.38 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1464/0.1712, allocations: 56.48 MB / 471.4 MB, free: 5.566 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Tests.controlModuleTest): time 1.17/1.341, allocations: 376.5 MB / 0.828 GB, free: 8.027 MB / 0.5138 GB Notification: Performance of NFInst.instExpressions: time 0.2399/1.581, allocations: 78.29 MB / 0.9045 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.1202/1.701, allocations: 1.8 MB / 0.9063 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0718/1.773, allocations: 17.73 MB / 0.9236 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.6707/2.444, allocations: 49.93 MB / 0.9723 GB, free: 13.65 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.02605/2.47, allocations: 4.13 MB / 0.9764 GB, free: 13.58 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.07657/2.546, allocations: 58.96 MB / 1.034 GB, free: 14.96 MB / 0.6232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.09991/2.646, allocations: 48.94 MB / 1.082 GB, free: 11.85 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02284/2.669, allocations: 7.91 MB / 1.089 GB, free: 6.691 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02539/2.695, allocations: 12.08 MB / 1.101 GB, free: 13.49 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.01025/2.705, allocations: 0.9766 MB / 1.102 GB, free: 12.52 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01442/2.72, allocations: 2.131 MB / 1.104 GB, free: 10.61 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.02111/2.741, allocations: 11.09 MB / 1.115 GB, free: 1.449 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.01502/2.756, allocations: 5.788 MB / 1.121 GB, free: 14.73 MB / 0.6857 GB Notification: Performance of NFConvertDAE.convert: time 0.06415/2.82, allocations: 48.3 MB / 1.168 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/2.82, allocations: 1.203 kB / 1.168 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.033e-06/2.82, allocations: 0 / 1.168 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.002179/2.822, allocations: 0 / 1.168 GB, free: 5.375 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: 8015 * Number of variables: 8015 Notification: Performance of Generate backend data structure: time 0.09783/2.92, allocations: 27.79 MB / 1.195 GB, free: 11.66 MB / 0.7482 GB Notification: Performance of prepare preOptimizeDAE: time 8.569e-05/2.92, allocations: 16.02 kB / 1.195 GB, free: 11.64 MB / 0.7482 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03644/2.957, allocations: 5.889 MB / 1.201 GB, free: 5.918 MB / 0.7482 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.6056/3.562, allocations: 20.44 MB / 1.221 GB, free: 361 MB / 0.7483 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003742/3.566, allocations: 1.798 MB / 1.223 GB, free: 361 MB / 0.7483 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01659/3.583, allocations: 2.456 MB / 1.225 GB, free: 361 MB / 0.7483 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1673/3.75, allocations: 57.25 MB / 1.281 GB, free: 334.3 MB / 0.7483 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001802/3.752, allocations: 232.5 kB / 1.281 GB, free: 334.1 MB / 0.7483 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01421/3.766, allocations: 1.055 MB / 1.282 GB, free: 333.2 MB / 0.7483 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01116/3.777, allocations: 6.486 MB / 1.288 GB, free: 326.7 MB / 0.7483 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09938/3.877, allocations: 47.54 MB / 1.335 GB, free: 279.3 MB / 0.7483 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.3167/4.194, allocations: 226 MB / 1.556 GB, free: 50.96 MB / 0.7483 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06196/4.256, allocations: 28.03 MB / 1.583 GB, free: 22.79 MB / 0.7483 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02235/4.278, allocations: 16.9 MB / 1.599 GB, free: 5.867 MB / 0.7483 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002149/4.28, allocations: 1.299 MB / 1.601 GB, free: 4.453 MB / 0.7483 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.3816/4.662, allocations: 20.62 MB / 1.621 GB, free: 328.3 MB / 0.7483 GB Notification: Performance of pre-optimization done (n=901): time 4.005e-05/4.662, allocations: 0 / 1.621 GB, free: 328.3 MB / 0.7483 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 * accelerometer.relativeAngles.R_rel.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:7863:5-7863:89:writable] Error: Internal error Transformation module sort components failed