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.07936/0.07936, allocations: 12.03 MB / 27.3 MB, free: 1.547 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.0007689/0.0007692, allocations: 94.72 kB / 31.04 MB, free: 6.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.001437/0.001437, allocations: 171.8 kB / 34.89 MB, free: 2.535 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.632/1.632, allocations: 223.3 MB / 261.9 MB, free: 6.945 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.0677/0.0677, allocations: 13.7 MB / 329.6 MB, free: 6.328 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.02496/0.02496, allocations: 17.39 MB / 415.6 MB, free: 412 kB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5374/0.5624, allocations: 56.48 MB / 472 MB, free: 50.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Tests.controlModuleTest2): time 1.245/1.808, allocations: 405.5 MB / 0.8569 GB, free: 15.7 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.233/2.041, allocations: 80.75 MB / 0.9358 GB, free: 7.773 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.1272/2.168, allocations: 1.804 MB / 0.9376 GB, free: 5.965 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.01099/2.179, allocations: 2.193 MB / 0.9397 GB, free: 3.766 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.02723/2.206, allocations: 7.547 MB / 0.9471 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.01336/2.22, allocations: 5.011 MB / 0.952 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.05721/2.277, allocations: 39.16 MB / 0.9902 GB, free: 2.984 MB / 0.6388 GB Notification: Performance of NFFlatten.resolveConnections: time 0.7032/2.98, allocations: 56.42 MB / 1.045 GB, free: 19.36 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02211/3.002, allocations: 7.432 MB / 1.053 GB, free: 19.35 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02843/3.031, allocations: 12.23 MB / 1.064 GB, free: 18.74 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.009593/3.04, allocations: 0.9791 MB / 1.065 GB, free: 18.73 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01434/3.055, allocations: 2.398 MB / 1.068 GB, free: 18.73 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.02313/3.078, allocations: 11.18 MB / 1.079 GB, free: 17.61 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0313/3.109, allocations: 12.83 MB / 1.091 GB, free: 13.11 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.1118/3.221, allocations: 57.87 MB / 1.148 GB, free: 12.71 MB / 0.6857 GB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/3.221, allocations: 0 / 1.148 GB, free: 12.71 MB / 0.6857 GB Notification: Performance of FrontEnd: time 7.314e-06/3.221, allocations: 0 / 1.148 GB, free: 12.71 MB / 0.6857 GB Notification: Performance of Transformations before backend: time 0.002458/3.224, allocations: 3.938 kB / 1.148 GB, free: 12.7 MB / 0.6857 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.1048/3.328, allocations: 27.48 MB / 1.175 GB, free: 10.46 MB / 0.7013 GB Notification: Performance of prepare preOptimizeDAE: time 6.444e-05/3.329, allocations: 8.031 kB / 1.175 GB, free: 10.45 MB / 0.7013 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03637/3.365, allocations: 5.892 MB / 1.18 GB, free: 4.52 MB / 0.7013 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05537/3.42, allocations: 20.79 MB / 1.201 GB, free: 0.5938 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002549/3.423, allocations: 1.799 MB / 1.202 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01686/3.44, allocations: 2.458 MB / 1.205 GB, free: 12.51 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1836/3.624, allocations: 57.43 MB / 1.261 GB, free: 1.266 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002015/3.626, allocations: 235.2 kB / 1.261 GB, free: 1.102 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01496/3.641, allocations: 1.059 MB / 1.262 GB, free: 132 kB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01288/3.654, allocations: 6.494 MB / 1.269 GB, free: 9.699 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1289/3.782, allocations: 47.75 MB / 1.315 GB, free: 10.55 MB / 0.8419 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.7656/4.548, allocations: 226.2 MB / 1.536 GB, free: 275.6 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06791/4.616, allocations: 28.04 MB / 1.563 GB, free: 247.5 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02242/4.639, allocations: 16.96 MB / 1.58 GB, free: 230.5 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001682/4.64, allocations: 1.29 MB / 1.581 GB, free: 229.1 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05984/4.7, allocations: 20.64 MB / 1.601 GB, free: 208.4 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=901): time 3.765e-05/4.7, allocations: 0 / 1.601 GB, free: 208.4 MB / 0.8419 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:7947:5-7947:89:writable] Error: Internal error Transformation module sort components failed