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.06386/0.06386, allocations: 12.04 MB / 27.97 MB, free: 2.195 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.0006958/0.0006956, allocations: 90.25 kB / 31.7 MB, free: 5.34 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.001015/0.001015, allocations: 180.4 kB / 35.57 MB, free: 1.496 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.38/1.38, allocations: 223.2 MB / 262.5 MB, free: 9.121 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.05613/0.05613, allocations: 13.69 MB / 330.3 MB, free: 15.92 MB / 270.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.01863/0.01863, allocations: 17.39 MB / 416.2 MB, free: 27.85 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.1358, allocations: 56.48 MB / 472.7 MB, free: 5.176 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Tests.controlModuleTest): time 1.184/1.32, allocations: 405.5 MB / 0.8576 GB, free: 15.8 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.7278/2.047, allocations: 80.72 MB / 0.9364 GB, free: 1.129 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.1049/2.152, allocations: 1.803 MB / 0.9382 GB, free: 1.129 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0098/2.162, allocations: 2.194 MB / 0.9403 GB, free: 1.129 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0259/2.188, allocations: 7.551 MB / 0.9477 GB, free: 0.7031 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.01309/2.201, allocations: 5.009 MB / 0.9526 GB, free: 0.6016 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.07333/2.275, allocations: 40.55 MB / 0.9922 GB, free: 0 / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.09129/2.366, allocations: 56.13 MB / 1.047 GB, free: 1.43 MB / 0.6388 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02112/2.387, allocations: 7.428 MB / 1.054 GB, free: 11.75 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02765/2.415, allocations: 12.25 MB / 1.066 GB, free: 1.387 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.007253/2.422, allocations: 0.9766 MB / 1.067 GB, free: 420 kB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01248/2.435, allocations: 2.393 MB / 1.069 GB, free: 14.15 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.02113/2.456, allocations: 11.17 MB / 1.08 GB, free: 3.043 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0314/2.487, allocations: 12.84 MB / 1.093 GB, free: 6.211 MB / 0.6857 GB Notification: Performance of NFConvertDAE.convert: time 0.05644/2.544, allocations: 48.29 MB / 1.14 GB, free: 6.734 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/2.544, allocations: 0 / 1.14 GB, free: 6.734 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.736e-06/2.544, allocations: 0 / 1.14 GB, free: 6.734 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.001971/2.546, allocations: 4 kB / 1.14 GB, free: 6.73 MB / 0.7325 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.07963/2.625, allocations: 27.48 MB / 1.167 GB, free: 11.13 MB / 0.7638 GB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/2.625, allocations: 8.031 kB / 1.167 GB, free: 11.12 MB / 0.7638 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02852/2.654, allocations: 5.897 MB / 1.173 GB, free: 5.191 MB / 0.7638 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04096/2.695, allocations: 20.8 MB / 1.193 GB, free: 1.258 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001714/2.697, allocations: 1.799 MB / 1.195 GB, free: 15.55 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009561/2.706, allocations: 2.45 MB / 1.197 GB, free: 13.19 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6427/3.349, allocations: 57.44 MB / 1.253 GB, free: 411.3 MB / 0.8108 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001487/3.351, allocations: 232.9 kB / 1.253 GB, free: 411.2 MB / 0.8108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007308/3.358, allocations: 1.057 MB / 1.255 GB, free: 410.5 MB / 0.8108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01065/3.369, allocations: 6.49 MB / 1.261 GB, free: 408.4 MB / 0.8108 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09641/3.465, allocations: 47.76 MB / 1.308 GB, free: 383.5 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.2785/3.744, allocations: 226.1 MB / 1.528 GB, free: 154.8 MB / 0.8108 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06323/3.807, allocations: 28.07 MB / 1.556 GB, free: 126.6 MB / 0.8108 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02083/3.828, allocations: 16.93 MB / 1.572 GB, free: 109.7 MB / 0.8108 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00174/3.83, allocations: 1.292 MB / 1.574 GB, free: 108.2 MB / 0.8108 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05786/3.887, allocations: 20.64 MB / 1.594 GB, free: 87.51 MB / 0.8108 GB Notification: Performance of pre-optimization done (n=901): time 2.019e-05/3.887, allocations: 4 kB / 1.594 GB, free: 87.51 MB / 0.8108 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:7947:5-7947:89:writable] Error: Internal error Transformation module sort components failed