Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr DroneLibrary_DroneLibrary.Examples.Visualize.ModuleTest_NoInput.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.Examples.Visualize.ModuleTest_NoInput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Examples.Visualize.ModuleTest_NoInput") translateModel(DroneLibrary.Examples.Visualize.ModuleTest_NoInput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Examples.Visualize.ModuleTest_NoInput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.0736/0.0736, allocations: 12.03 MB / 27 MB, free: 2.375 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.0007864/0.0007865, allocations: 102.3 kB / 30.74 MB, free: 5.574 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.001186/0.001186, allocations: 180 kB / 34.57 MB, free: 1.754 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.583/1.583, allocations: 223.2 MB / 261.5 MB, free: 9.551 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.06155/0.06155, allocations: 13.7 MB / 329.3 MB, free: 408 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.02236/0.02236, allocations: 17.45 MB / 415 MB, free: 28.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1552/0.1776, allocations: 56.49 MB / 471.4 MB, free: 5.621 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Examples.Visualize.ModuleTest_NoInput): time 0.9941/1.172, allocations: 319.9 MB / 0.7728 GB, free: 136 kB / 0.4982 GB Notification: Performance of NFInst.instExpressions: time 0.2101/1.382, allocations: 68.22 MB / 0.8394 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.09407/1.476, allocations: 1.539 MB / 0.841 GB, free: 9.711 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.06525/1.541, allocations: 16.97 MB / 0.8575 GB, free: 8.957 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.1542/1.696, allocations: 47.99 MB / 0.9044 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.02524/1.721, allocations: 3.952 MB / 0.9082 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.5841/2.305, allocations: 59.01 MB / 0.9659 GB, free: 31.4 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.07928/2.384, allocations: 41.08 MB / 1.006 GB, free: 27.57 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02356/2.408, allocations: 7.739 MB / 1.014 GB, free: 27.57 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02491/2.433, allocations: 11.68 MB / 1.025 GB, free: 23.42 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.009756/2.443, allocations: 0.9922 MB / 1.026 GB, free: 22.43 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01526/2.458, allocations: 2.056 MB / 1.028 GB, free: 20.93 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.02303/2.481, allocations: 10.73 MB / 1.038 GB, free: 15.94 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0178/2.499, allocations: 5.913 MB / 1.044 GB, free: 14.27 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.05934/2.558, allocations: 47.41 MB / 1.09 GB, free: 5.961 MB / 0.6388 GB Notification: Performance of FrontEnd - DAE generated: time 9.318e-06/2.558, allocations: 4 kB / 1.09 GB, free: 5.957 MB / 0.6388 GB Notification: Performance of FrontEnd: time 3.216e-06/2.558, allocations: 0 / 1.09 GB, free: 5.957 MB / 0.6388 GB Notification: Performance of Transformations before backend: time 0.001939/2.56, allocations: 0 / 1.09 GB, free: 5.957 MB / 0.6388 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7901 * Number of variables: 7901 Notification: Performance of Generate backend data structure: time 0.0806/2.641, allocations: 25.95 MB / 1.116 GB, free: 14.09 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/2.641, allocations: 9.125 kB / 1.116 GB, free: 14.08 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03295/2.674, allocations: 6.017 MB / 1.122 GB, free: 8.305 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05348/2.728, allocations: 20.63 MB / 1.142 GB, free: 12.63 MB / 0.6857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002237/2.73, allocations: 1.601 MB / 1.143 GB, free: 11.73 MB / 0.6857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01427/2.744, allocations: 2.159 MB / 1.146 GB, free: 10.29 MB / 0.6857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1769/2.921, allocations: 59.26 MB / 1.203 GB, free: 2.578 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002369/2.923, allocations: 245.2 kB / 1.204 GB, free: 2.418 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01427/2.938, allocations: 0.95 MB / 1.205 GB, free: 1.59 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.6331/3.571, allocations: 8.435 MB / 1.213 GB, free: 339.3 MB / 0.7327 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1342/3.705, allocations: 47.87 MB / 1.26 GB, free: 327.9 MB / 0.7327 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.3726/4.078, allocations: 245.5 MB / 1.499 GB, free: 81.49 MB / 0.7327 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06132/4.139, allocations: 27.41 MB / 1.526 GB, free: 54.13 MB / 0.7327 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02144/4.161, allocations: 17.39 MB / 1.543 GB, free: 36.73 MB / 0.7327 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002685/4.163, allocations: 2.595 MB / 1.546 GB, free: 33.79 MB / 0.7327 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05692/4.22, allocations: 20.72 MB / 1.566 GB, free: 12.99 MB / 0.7327 GB Notification: Performance of pre-optimization done (n=788): time 2.254e-05/4.22, allocations: 3.938 kB / 1.566 GB, free: 12.98 MB / 0.7327 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: controlModuleTest_fmu_inputs1.droneChassis1.bodyCylinder.body.frame_a.r_0[1] = controlModuleTest_fmu_inputs1.propellerRev.bodyShape5.body.frame_a.r_0[1] + 0.25 * controlModuleTest_fmu_inputs1.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