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.06339/0.06339, allocations: 12.01 MB / 27.79 MB, free: 2.156 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.001003/0.001003, allocations: 111.4 kB / 31.49 MB, free: 5.285 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.001478/0.001479, allocations: 200.2 kB / 35.3 MB, free: 1.492 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.311/1.311, allocations: 222.9 MB / 261.8 MB, free: 8.703 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.05503/0.05503, allocations: 13.67 MB / 328.5 MB, free: 0.707 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.02229/0.02229, allocations: 17.47 MB / 413.4 MB, free: 28.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1225, allocations: 55.41 MB / 468.8 MB, free: 6.543 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Examples.Visualize.ModuleTest_NoInput): time 0.8036/0.9261, allocations: 352 MB / 0.8016 GB, free: 14.39 MB / 0.5138 GB Notification: Performance of NFInst.instExpressions: time 0.1623/1.089, allocations: 70.41 MB / 0.8704 GB, free: 5.551 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.08521/1.174, allocations: 1.559 MB / 0.8719 GB, free: 3.988 MB / 0.5607 GB Notification: Performance of NFTyping.typeComponents: time 0.04179/1.216, allocations: 24.87 MB / 0.8962 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0239/1.24, allocations: 7.723 MB / 0.9037 GB, free: 7.602 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.01316/1.253, allocations: 4.943 MB / 0.9086 GB, free: 2.66 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.4753/1.728, allocations: 38.93 MB / 0.9466 GB, free: 11.7 MB / 0.6232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.05078/1.779, allocations: 36.13 MB / 0.9819 GB, free: 6.512 MB / 0.6232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01987/1.799, allocations: 9.787 MB / 0.9914 GB, free: 6.508 MB / 0.6232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0254/1.824, allocations: 15.02 MB / 1.006 GB, free: 5.641 MB / 0.6232 GB Notification: Performance of NFPackage.collectConstants: time 0.01005/1.834, allocations: 2.016 MB / 1.008 GB, free: 5.641 MB / 0.6232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01364/1.848, allocations: 3.347 MB / 1.011 GB, free: 5.637 MB / 0.6232 GB Notification: Performance of NFScalarize.scalarize: time 0.018/1.866, allocations: 12.44 MB / 1.023 GB, free: 4.535 MB / 0.6232 GB Notification: Performance of NFVerifyModel.verify: time 0.02979/1.896, allocations: 14.75 MB / 1.038 GB, free: 120 kB / 0.6232 GB Notification: Performance of NFConvertDAE.convert: time 0.04853/1.945, allocations: 49.02 MB / 1.086 GB, free: 11.28 MB / 0.6701 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/1.945, allocations: 0 / 1.086 GB, free: 11.28 MB / 0.6701 GB Notification: Performance of FrontEnd: time 1.462e-06/1.945, allocations: 0 / 1.086 GB, free: 11.28 MB / 0.6701 GB Notification: Performance of Transformations before backend: time 0.001691/1.946, allocations: 0 / 1.086 GB, free: 11.28 MB / 0.6701 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.08702/2.033, allocations: 32.14 MB / 1.117 GB, free: 11.32 MB / 0.7013 GB Notification: Performance of prepare preOptimizeDAE: time 6.759e-05/2.033, allocations: 9.531 kB / 1.117 GB, free: 11.31 MB / 0.7013 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03111/2.065, allocations: 5.918 MB / 1.123 GB, free: 5.355 MB / 0.7013 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04808/2.113, allocations: 20.97 MB / 1.143 GB, free: 1.242 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002046/2.115, allocations: 1.596 MB / 1.145 GB, free: 15.77 MB / 0.7326 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01167/2.126, allocations: 2.168 MB / 1.147 GB, free: 13.72 MB / 0.7326 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1468/2.273, allocations: 59.25 MB / 1.205 GB, free: 408 kB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002341/2.276, allocations: 242.2 kB / 1.205 GB, free: 248 kB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01041/2.286, allocations: 0.9567 MB / 1.206 GB, free: 15.41 MB / 0.7951 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01427/2.3, allocations: 8.439 MB / 1.214 GB, free: 7.062 MB / 0.7951 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5242/2.825, allocations: 47.86 MB / 1.261 GB, free: 404.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.3176/3.142, allocations: 246.1 MB / 1.501 GB, free: 186.9 MB / 0.8108 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06142/3.204, allocations: 27.29 MB / 1.528 GB, free: 159.5 MB / 0.8108 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02025/3.224, allocations: 17.37 MB / 1.545 GB, free: 142.1 MB / 0.8108 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002907/3.227, allocations: 2.595 MB / 1.548 GB, free: 139.2 MB / 0.8108 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05717/3.284, allocations: 20.62 MB / 1.568 GB, free: 118.5 MB / 0.8108 GB Notification: Performance of pre-optimization done (n=788): time 1.641e-05/3.284, allocations: 0 / 1.568 GB, free: 118.5 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: 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:7947:5-7947:89:writable] Error: Internal error Transformation module sort components failed