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.08033/0.08033, allocations: 12.04 MB / 27.64 MB, free: 2.293 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.0009902/0.0009901, allocations: 95.39 kB / 31.36 MB, free: 5.457 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.001557/0.001557, allocations: 172.5 kB / 35.21 MB, free: 1.629 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.652/1.652, allocations: 223.2 MB / 262.1 MB, free: 9.598 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.05755/0.05755, allocations: 13.7 MB / 329.9 MB, free: 424 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.02116/0.02116, allocations: 17.44 MB / 415.6 MB, free: 28.33 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1408/0.162, allocations: 56.49 MB / 472.1 MB, free: 5.621 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Tests.controlModuleTest2): time 1.245/1.407, allocations: 376.5 MB / 0.8287 GB, free: 7.93 MB / 0.5138 GB Notification: Performance of NFInst.instExpressions: time 0.2527/1.66, allocations: 78.28 MB / 0.9051 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.124/1.784, allocations: 1.8 MB / 0.9069 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.07157/1.856, allocations: 17.74 MB / 0.9242 GB, free: 11.58 MB / 0.6076 GB Notification: Performance of NFTyping.typeBindings: time 0.7594/2.615, allocations: 49.93 MB / 0.9729 GB, free: 13.62 MB / 0.6076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0294/2.645, allocations: 4.136 MB / 0.977 GB, free: 13.55 MB / 0.6076 GB Notification: Performance of NFFlatten.flatten: time 0.09633/2.741, allocations: 58.96 MB / 1.035 GB, free: 14.71 MB / 0.6232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.1078/2.849, allocations: 49.15 MB / 1.083 GB, free: 11.48 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02917/2.878, allocations: 7.907 MB / 1.09 GB, free: 6.328 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02974/2.908, allocations: 12.08 MB / 1.102 GB, free: 13.05 MB / 0.6701 GB Notification: Performance of NFPackage.collectConstants: time 0.009942/2.918, allocations: 0.978 MB / 1.103 GB, free: 12.07 MB / 0.6701 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01483/2.933, allocations: 2.136 MB / 1.105 GB, free: 10.16 MB / 0.6701 GB Notification: Performance of NFScalarize.scalarize: time 0.02466/2.958, allocations: 11.09 MB / 1.116 GB, free: 0.9961 MB / 0.6701 GB Notification: Performance of NFVerifyModel.verify: time 0.02036/2.978, allocations: 5.783 MB / 1.122 GB, free: 14.29 MB / 0.6857 GB Notification: Performance of NFConvertDAE.convert: time 0.07751/3.056, allocations: 48.29 MB / 1.169 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 1.109e-05/3.056, allocations: 2 kB / 1.169 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.106e-06/3.056, allocations: 0 / 1.169 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.002619/3.058, allocations: 0 / 1.169 GB, free: 4.922 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.1037/3.162, allocations: 27.79 MB / 1.196 GB, free: 11.2 MB / 0.7482 GB Notification: Performance of prepare preOptimizeDAE: time 5.448e-05/3.162, allocations: 8.031 kB / 1.196 GB, free: 11.19 MB / 0.7482 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03483/3.197, allocations: 5.897 MB / 1.202 GB, free: 5.461 MB / 0.7482 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1.366/4.563, allocations: 20.44 MB / 1.222 GB, free: 92.36 MB / 0.7483 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.004696/4.568, allocations: 1.801 MB / 1.223 GB, free: 92.3 MB / 0.7483 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.02077/4.588, allocations: 2.45 MB / 1.226 GB, free: 92.3 MB / 0.7483 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2132/4.802, allocations: 57.25 MB / 1.282 GB, free: 85.52 MB / 0.7483 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.003479/4.805, allocations: 230.3 kB / 1.282 GB, free: 85.52 MB / 0.7483 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01942/4.825, allocations: 1.053 MB / 1.283 GB, free: 85.52 MB / 0.7483 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01375/4.838, allocations: 6.496 MB / 1.289 GB, free: 85.44 MB / 0.7483 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1112/4.95, allocations: 47.55 MB / 1.336 GB, free: 66.88 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.8711/5.821, allocations: 226 MB / 1.556 GB, free: 352.5 MB / 0.8733 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06751/5.888, allocations: 28 MB / 1.584 GB, free: 351.5 MB / 0.8733 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02316/5.912, allocations: 16.91 MB / 1.6 GB, free: 351.4 MB / 0.8733 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002517/5.914, allocations: 1.294 MB / 1.602 GB, free: 350.5 MB / 0.8733 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.06128/5.976, allocations: 20.62 MB / 1.622 GB, free: 350.2 MB / 0.8733 GB Notification: Performance of pre-optimization done (n=901): time 4.767e-05/5.976, allocations: 1.125 kB / 1.622 GB, free: 350.2 MB / 0.8733 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:7863:5-7863:89:writable] Error: Internal error Transformation module sort components failed