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-master/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-master/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-master/package.mo): time 0.06115/0.06115, allocations: 12.04 MB / 28.21 MB, free: 1.82 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.001011/0.001011, allocations: 107.7 kB / 31.93 MB, free: 4.691 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.001233/0.001234, allocations: 196.1 kB / 35.75 MB, free: 0.8828 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.42/1.42, allocations: 222.9 MB / 262.3 MB, free: 10.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.2083/0.2083, allocations: 13.67 MB / 329 MB, free: 2.598 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.0329/0.0329, allocations: 19.58 MB / 416.4 MB, free: 5.688 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.551/0.5839, allocations: 55.38 MB / 471.7 MB, free: 53.25 MB / 382.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Examples.Visualize.ModuleTest_NoInput): time 0.0413/0.6252, allocations: 54.89 MB / 0.5143 GB, free: 15.25 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03403/0.6593, allocations: 15.64 MB / 0.5296 GB, free: 4.348 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01957/0.6789, allocations: 454.9 kB / 0.53 GB, free: 4.258 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0484/0.7274, allocations: 24.69 MB / 0.5541 GB, free: 8.031 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02534/0.7528, allocations: 8.087 MB / 0.562 GB, free: 300 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01528/0.7681, allocations: 5.334 MB / 0.5672 GB, free: 10.98 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.04363/0.8118, allocations: 27.83 MB / 0.5944 GB, free: 15.22 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06911/0.881, allocations: 38.99 MB / 0.6325 GB, free: 8.75 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3402/1.221, allocations: 12.1 MB / 0.6443 GB, free: 40.36 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02408/1.245, allocations: 14.93 MB / 0.6589 GB, free: 40.28 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01262/1.258, allocations: 3.901 MB / 0.6627 GB, free: 40.28 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01973/1.278, allocations: 5.127 MB / 0.6677 GB, free: 40.28 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.02435/1.302, allocations: 14.19 MB / 0.6815 GB, free: 39.18 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0387/1.341, allocations: 16.84 MB / 0.698 GB, free: 30.14 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.07101/1.412, allocations: 56.96 MB / 0.7536 GB, free: 4.359 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.495e-06/1.412, allocations: 0 / 0.7536 GB, free: 4.359 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.865e-06/1.412, allocations: 0 / 0.7536 GB, free: 4.359 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.002314/1.414, allocations: 0 / 0.7536 GB, free: 4.359 MB / 494.1 MB 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.1074/1.522, allocations: 32.14 MB / 0.785 GB, free: 4.504 MB / 0.5138 GB Notification: Performance of prepare preOptimizeDAE: time 5.184e-05/1.522, allocations: 8.031 kB / 0.785 GB, free: 4.496 MB / 0.5138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03236/1.554, allocations: 5.922 MB / 0.7908 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04836/1.603, allocations: 20.97 MB / 0.8113 GB, free: 10.47 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001945/1.605, allocations: 1.593 MB / 0.8128 GB, free: 8.996 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01236/1.617, allocations: 2.165 MB / 0.8149 GB, free: 6.953 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6051/2.222, allocations: 59.25 MB / 0.8728 GB, free: 162.2 MB / 0.5764 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001351/2.224, allocations: 246.5 kB / 0.873 GB, free: 162.1 MB / 0.5764 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008654/2.232, allocations: 0.9563 MB / 0.874 GB, free: 161.5 MB / 0.5764 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01423/2.246, allocations: 8.429 MB / 0.8822 GB, free: 159.5 MB / 0.5764 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1165/2.363, allocations: 47.87 MB / 0.9289 GB, free: 141 MB / 0.5764 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.6932/3.056, allocations: 246.1 MB / 1.169 GB, free: 70.38 MB / 0.592 GB Notification: Performance of preOpt comSubExp (simulation): time 0.07636/3.133, allocations: 27.28 MB / 1.196 GB, free: 69.12 MB / 0.592 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02488/3.158, allocations: 17.37 MB / 1.213 GB, free: 60.86 MB / 0.592 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003488/3.161, allocations: 2.6 MB / 1.215 GB, free: 58.75 MB / 0.592 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.06317/3.224, allocations: 20.63 MB / 1.236 GB, free: 53.47 MB / 0.592 GB Notification: Performance of pre-optimization done (n=788): time 2.357e-05/3.224, allocations: 0 / 1.236 GB, free: 53.47 MB / 0.592 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: 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/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:7956:5-7956:89:writable] Error: Internal error Transformation module sort components failed